Welcome to Zuora Product Documentation

Explore our rich library of product information

Quote Charge Summary (zqu__QuoteChargeSummary__c)

The Quote Charge Summary object stores delta metrics from the preview response, mapping them to the OrderMetrics data block.

The Quote Charge Summary (zqu__QuoteChargeSummary__c) object is designed to store the delta metrics as returned by the preview response. The delta metrics are returned in the OrderMetrics data block. Below table describes the mapping between the Quote Charge Summary object with the OrderMetrics data block as returned in the preview response.

Metric Field

Preview Result field mapping

Description

Delta MRR (DeltaMRR__c)

orderMetrics -> orderActions -> orderMetrics -> mrr -> amount

Identify the OrderMetrics data block for the corresponding charge (based on the “chargeNumber” & “OrderAction” type field) and get the “mrr.amount” field value with condition “mrr.type” = “Regular”.

Unrounded Delta MRR (UnroundedDeltaMRR__c)

orderMetrics -> orderActions -> orderMetrics -> mrr -> amountWithoutRounding

Get the “mrr.amountWithoutRounding” field value with condition “mrr.type” = “Regular”.

Delta MRR Start Date (DeltaMRRStartDate__c)

orderMetrics -> orderActions -> orderMetrics -> mrr -> startDate

Get the “mrr.startDate” field value with condition “mrr.type” = “Regular”.

Delta MRR End Date (DeltaMRREndDate__c)

orderMetrics -> orderActions -> orderMetrics -> mrr -> endDate

Get the “mrr.endDate” field value with condition “mrr.type” = “Regular”.

Delta Discount MRR (DeltaDiscountMRR__c)

orderMetrics -> orderActions -> orderMetrics -> mrr -> amount

Get the “mrr.amount” field value with condition “mrr.type” = “Discount”.

Unrounded Delta Discount MRR (UnroundedDeltaDiscountMRR__c)

orderMetrics -> orderActions -> orderMetrics -> mrr -> amountWithoutRounding

Get the “mrr.amountWithoutRounding” field value with condition “mrr.type” = “Discount”.

Delta Discount MRR Start Date (DeltaDiscountMRRStartDate__c)

orderMetrics -> orderActions -> orderMetrics -> mrr -> startDate

Get the “mrr.startDate” field value with condition “mrr.type” = “Discount”.

Delta Discount MRR End Date (DeltaDiscountMRREndDate__c)

orderMetrics -> orderActions -> orderMetrics -> mrr -> endDate

Get the “mrr.endDate” field value with condition “mrr.type” = “Discount”.

Delta TCV (DeltaTCV__c)

orderMetrics -> orderActions -> orderMetrics -> tcv -> amount

Get the “tcv.amount” field value with condition “tcv.type” = “Regular”.

Unrounded Delta TCV (UnroundedDeltaTCV__c)

orderMetrics -> orderActions -> orderMetrics -> tcv -> amountWithoutRounding

Get the “tcv.amountWithoutRounding” field value with condition “tcv.type” = “Regular”.

Segment Delta TCV (SegmentDeltaTCV__c)

orderMetrics -> orderActions -> orderMetrics -> tcv -> amount

Get the “tcv.amount” field value with condition “tcv.type” = “Regular” and “startDate” = Order Action Date of the product action. Based on the current data, this data is usually the first data block if multiple records are returned.

Delta TCV Start Date (DeltaTCVStartDate__c)

orderMetrics -> orderActions -> orderMetrics -> tcv -> startDate

Get the “tcv.startDate” field value with condition “tcv.type” = “Regular”.

Delta TCV End Date (DeltaTCVEndDate__c)

orderMetrics -> orderActions -> orderMetrics -> tcv -> endDate

Get the “tcv.endDate” field value with condition “tcv.type” = “Regular”.

Delta Discount TCV (DeltaDiscountTCV__c)

orderMetrics -> orderActions -> orderMetrics -> tcv -> amount

Get the “tcv.amount” field value with condition “tcv.type” = “Discount”.

Unrounded Delta Discount TCV (UnroundedDeltaDiscountTCV__c)

orderMetrics -> orderActions -> orderMetrics -> tcv -> amountWithoutRounding

Get the “tcv.amountWithoutRounding” field value with condition “tcv.type” = “Discount”.

Delta Discount TCV Start Date (DeltaDiscountTCVStartDate__c)

orderMetrics -> orderActions -> orderMetrics -> tcv -> startDate

Get the “tcv.startDate” field value with condition “tcv.type” = “Discount”.

Delta Discount TCV End Date (DeltaDiscountTCVEndDate__c)

orderMetrics -> orderActions -> orderMetrics -> tcv -> endDate

Get the “tcv.endDate” field value with condition “tcv.type” = “Discount”.

Delta TCB (DeltaTCB__c)

orderMetrics -> orderActions -> orderMetrics -> tcb -> amount

Get the “tcb.amount” field value with condition “tcb.type” = “Regular”.

Unrounded Delta TCB (UnroundedDeltaTCB__c)

orderMetrics -> orderActions -> orderMetrics -> tcb -> amountWithoutRounding

Get the “tcb.amountWithoutRounding” field value with condition “tcb.type” = “Regular”.

Segment Delta TCB (SegmentDeltaTCB__c)

orderMetrics -> orderActions -> orderMetrics -> tcb -> amount

Get the “tcb.amount” field value with condition “tcb.type” = “Regular” and “startDate” = Order Action Date of the product action. Based on the current data, this data is usually the first data block if multiple records are returned.

Delta TCB Start Date (DeltaTCBStartDate__c)

orderMetrics -> orderActions -> orderMetrics -> tcb -> startDate

Get the “tcb.startDate” field value with condition “tcb.type” = “Regular”.

Delta TCB End Date (DeltaTCBEndDate__c)

orderMetrics -> orderActions -> orderMetrics -> tcb -> endDate

Get the “tcb.endDate” field value with condition “tcb.type” = “Regular”.

Delta Discount TCB (DeltaDiscountTCB__c)

orderMetrics -> orderActions -> orderMetrics -> tcb -> amount

Get the “tcb.amount” field value with condition “tcb.type” = “Discount”.

Unrounded Delta Discount TCB (UnroundedDeltaDiscountTCB__c)

orderMetrics -> orderActions -> orderMetrics -> tcb -> amountWithoutRounding

Get the “tcb.amountWithoutRounding” field value with condition “tcb.type” = “Discount”.

Delta Discount TCB Start Date (DeltaDiscountTCBStartDate__c)

orderMetrics -> orderActions -> orderMetrics -> tcb -> startDate

Get the “tcb.startDate” field value with condition “tcb.type” = “Discount”.

Delta Discount TCB End Date (DeltaDiscountTCBEndDate__c)

orderMetrics -> orderActions -> orderMetrics -> tcb -> endDate

Get the “tcb.endDate” field value with condition “tcb.type” = “Discount”.

Delta TCB Tax (DeltaTCBTax__c)

orderMetrics -> orderActions -> orderMetrics -> tcb -> tax

Get the “tcb.tax” field value with condition “tcb.type” = “Regular”.

Delta Discount TCB Tax (DeltaDiscountTCBTax__c)

orderMetrics -> orderActions -> orderMetrics -> tcb -> tax

Get the “tcb.tax” field value with condition “tcb.type” = “Discount”.

Delta Quantity (DeltaQuantity__c)

orderMetrics -> orderActions -> orderMetrics -> quantity -> amount

Identify the OrderMetrics data block for the corresponding charge (based on the “chargeNumber” & “OrderAction” type field) and get the “quantity.amount” field value based on latest end date.