Order Delta TCB - Discounts
This topic explains how Order Delta Metrics calculates the delta of gross and net TCB, factoring in discounts.
Order Delta Metrics uses the GrossAmount field to store the delta of the gross TCB before and after an order is placed, and uses the NetAmount field to store the delta of TCB net of discounts.
With the above example, if there is also a 20% discount applied to the regular charge, the OrderDeltaTcb becomes:
|
StartDate |
EndDate |
RatePanChargeId |
GrossAmount |
NetAmount |
|---|---|---|---|---|
|
2021-02-16 |
2021-03-01 |
4028fc827a0e48c1017a0e4dccc60002 (for RPC-2) |
$30.2 |
$24.16 |
|
2021-02-16 |
2021-03-01 |
4028fc827a0e48c1017a0e58b9330014 (for RPC-1) |
-$23.2 |
-$18.56 |
See the following diagram for more details: