[Calculate TCB in Ramp Interval Metrics] process flow
This topic explains how Zuora calculates TCB in Ramp Interval Metrics by mapping and segmenting rating results to specific Ramp Intervals.
-
Zuora's TCB calculation engine uses the same rating rule as that of the Zuora's rating and billing engine (RBE) to generate rating results. See Define Billing Rules , Processing Discount Charges , and Proration for more information about Zuora's rating rule.
Map each rating result to a specific Ramp Interval according to whether the time period of the rating result falls into the time period of the Ramp Interval.
-
If the time period of a rating result spans over multiple Ramp Intervals, this rating result will be further segmented and then mapped to the corresponding Ramp Interval. The rating result amount distribution is based on the time length ratio of the overlap period to the rating result length period.
Group the rating results and segmented rating results by charge segments for each Ramp Interval. Return the added up value per charge segment per Interval as the TCB in the Ramp Interval Metrics. See Segmented rate plan charges for more information about charge segments.