Solved

CTO Set the volume and weight on the Customer order line

  • 3 September 2020
  • 2 replies
  • 237 views

Badge +1
  • Do Gooder (Customer)
  • 0 replies

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

icon

Best answer by ChamilaW 9 September 2020, 07:07

View original

2 replies

Userlevel 7
Badge +24

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.

Userlevel 3
Badge +5

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.

 

 

Reply