Quote Ramp Interval (zqu__QuoteRampInterval__c)
The Quote Ramp Interval object stores interval metrics from the preview response, mapping them to the IntervalMetrics data block.
Quote Ramp Interval (zqu__QuoteRampInterval__c) object is designed to store the interval metrics as returned by the preview response. This information is returned in the IntervalMetrics data block. Below table describes the mapping between the Quote Ramp Interval object with the
IntervalMetrics
data block as returned in the preview response.
Metric Field |
Preview Result field mapping |
Description |
---|---|---|
Inline Discount (zqu__Inline_Discount__c) |
NA (Doesn’t depend on Preview Response) |
Calculated on Quote Studio screen |
Interval Discount (zqu__Interval_Discount__c) |
invoices -> invoiceItems -> amountWithoutTax |
SUM (invoiceItems.amountWithoutTax) of all the invoiceItems data blocks where “processingType” = “Discount” and date range is within the interval. |
Interval Subtotal (zqu__Interval_Subtotal__c) |
invoices -> invoiceItems -> amountWithoutTax |
SUM (invoiceItems.amountWithoutTax) of the invoiceItems data blocks where “processingType” = “Charge” and date range is within the interval. |
Interval Tax (zqu__Interval_Tax__c) |
invoices -> invoiceItems -> taxAmount |
SUM (invoiceItems.taxAmount) of the invoicelitems data blocks where date range is within the interval |
Interval Total (zqu__Interval_Total__c) |
Interval Subtotal + Interval Tax - Interval Discount |
Interval Subtotal + Interval Tax - Interval Discount |
Gross TCB (zqu__Gross_TCB__c) |
rampMetrics -> intervals -> grossTcb |
Get the “interval” from “intervals” list, then get the “interval.grossTcb” field value |
Gross TCV (zqu__Gross_TCV__c) |
rampMetrics -> intervals -> grossTcv |
Get the “interval” from “intervals” list, then get the “interval.grossTcv” field value |
Net TCB (zqu__Net_TCB__c) |
rampMetrics -> intervals -> netTcb |
Get the “interval” from “intervals” list, then get the “interval.netTcb” field value |
Net TCV (zqu__Net_TCV__c) |
rampMetrics -> intervals -> netTcv |
Get the “interval” from “intervals” list, then get the “interval.netTcv” field value |
Discount TCB (zqu__Discount_TCB__c) |
rampMetrics -> intervals -> discountTcb |
Get the “interval” from “intervals” list, then get the “interval.discountTcb” field value |
Discount TCV (zqu__Discount_TCV__c) |
rampMetrics -> intervals -> discountTcv |
Get the “interval” from “intervals” list, then get the “interval.discountTcv” field value |