How to display total of amount and total of PPN from detail product  in the section field?

Question

How to display total of amount and total of PPN from detail product  in the section field?

 

Answer

You can implement it either by Business-process, or by additional developing. 



In case of business-process you can try adding signal starting BP on adding the record to the object "Product in order", then reading the Order from it and adding the value to existing one. The same can be done for deleting the product in order.

Like 0

Like

Share

2 comments

It will be helpful if anyone can share the steps on the coding part to get the calculation from detail to the main object instead of the business process way?

 

Hello Amritha Mayan Gorky,

 

There is an inbuilt code in the application responsible for updating the amount in order in case the quantity of any product in the "Products" detail on the order page is modified. You need to study the logic behind the refreshAmount method from the BaseOrderPage that does this refresh.

Show all comments