
1 respuesta
I do not have an example trigger but this is a pretty straight forward trigger that you would get the Id of the opportunities you want to recalculate the line item prices. Then query all of the opportunity line items associated with those opportunity ids. Then update each of the unit prices and then update the line items.If you have specific Apex code that you are having issues with, please include it here and we can try to help you get it working correctly.NOTE: When including code please use the "Add a code sample" button (icon <>) to increase readability and make referencing code easier.