Skip to main content
HI All,

 

Consider there are 3 products A , A-1 and A-2, main product A itself does not have any price.

 

But when the Sales person selects the Product A the pricing of A-1 and A-2 should sum up to create the price of product A in OLI.

 

There are hundreds of product like this.

 

I want to know how would you approach this requirement.

 

Starting from data model.

 

Thanks
1 respuesta
  1. 18 ago 2020, 19:27
    Hi

     

    You have main object Product A. You have sub products A1 and A2!

     

    Assuming A1 and A2 are the child/related object of your main product object.

     

    Have you tried this with Roll up summary?

     

    Basically,you want to sum the amount of child record and want to show on the main product record. This can be done using roll up summary and trigger as well

     

    ​​​​​​Thanks