groovy script to map tax amount from order management to subscription management — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood: Oracle Cloud SCM and Purchasing

groovy script to map tax amount from order management to subscription management

We are trying to map the estimated tax for the order(ChargeCurrencyExtendedAmount_Custom)to the subscription estimated tax(EstimatedTax_Custom)at the product level with the groovy script below. We are unable to see any value populate at OOB Standard estimated tax field in subscription.


if (OrderChargeComponents.OrderChargeComponentPriceElementCode == 'QP_EXCLUSIVE_TAX'){
SubProd.EstimatedTax_Custom = sum(OrderChargeComponents.ChargeCurrencyExtendedAmount_Custom)
}

 Could you please help us with groovy script to map the above two fields. We are expecting total 8+1.6 estimated tax in subscription. We did service mappings and added in alogrithm.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!