Skip to main content

Hi All,

I have a functionality where in I have to do some custom calculations on one of the specific user action on Quote Line Editor.  

Before going deep I would like to give you the exact user action at which this calculation should happen:

Click on "Edit Lines" button on Quote --> QLE opens up --> Click "Add Product" button on QLE --> Select a Product and then click on "Select" button over top.

 

So at the "Select" button click I have to get the run time field values of all the selected products and pass it to the Apex method. For this I am using custom script or we can say Quote calculator plugin(QCP).

There is one behavior which i have observed: The out of the box fields are getting passed but the custom fields are not getting passed until and unless i mention them in the "Quote Line Fields" field of custom scripts record.

Please not i am not referring the custom fields anywhere in the JavaScript code of 

QCP. I just need to pass them to apex method.

My doubt here is, is it the expected behavior and are there any other alternatives to do this?00

#Quote Line Editor #QCP

답변 1개