We are trying to update Contract Line DFFs that store different values like Preventive Maintenance qty, Months billed etc. When we update this, we expect that the price, subtotal also should get updated. Also, we are updating annualized amount stored at the subline DFF as attribute1 using okc_contract_pub.update_contract_line.
We are doing all the price calculations using the APIs :
Since the subtotal is getting recalculated, the tax should also change. Note that the subtotal is getting recalculated at all the places i.e. at subline, top line and the header.
The tax amount is getting recalculated only at the subline level and not reflecting either at the Line or header level.