Quote Order Line Item (zqu__QuoteOrderLineItem__c)
The Quote Order Line Item object stores non-subscription items attached to a quote and their related metrics, as returned by the preview response in the Invoices data block.
The Quote Order Line Item (zqu__QuoteOrderLineItem__c) object is designed to store the non subscription items attached to the quote and its related metrics as returned by the preview response. This information is returned in the
Invoices
data block. Below table describes the mapping between the Quote Order Line Item object with the
Invoices
data block as returned in the preview response.
Metric Field |
Preview Result field mapping |
Description |
---|---|---|
Subtotal (Subtotal__c) |
invoices -> invoiceItems -> amountWithoutTax |
Identify the invoice item data block for the corresponding line item element matching the “chargeNumber” with the line item name and “orderLineItemNumber” is not null. Then get the “amountWithoutTax” field value. |
Tax (Tax__c) |
invoices -> invoiceItems -> taxAmount |
Get the “taxAmount” field value. |
Total (Total__c) |
invoices -> invoiceItems -> (amountWithoutTax + taxAmount) |
Sum of “amountWithoutTax” and “taxAmount” value. |