CTO Set the volume and weight on the Customer order line
Hi,
Is it possible to somehow set the volume and weight on the customer order line of a configured part based on the characteristic values? If you for example enter the dimensions of the product as char values the weight and volume need to be calculated.
Kind regards Kristian
Page 1 / 1
I think the best approach is a custom event. I did something similar recently, where there was a CTO characteristic for Supplier, and we wanted to update the Supplier on the customer order line when this was set.
There is no direct data setup to achieve this in the core application. However, It is possible to setup a sales rule to call a custom method.
What you see in the LOV (see screenshot) are the 5 demo methods shipped with CFGRUL. Demo methods can be a good inspiration to write a method to calculate weight/volume.
component - cfgrul
utility package - ConfigSalesRuleExternal You have to add to the view and implement the logic in plsql file.