function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rolando EstevesRolando Esteves 

Any possible way to control the auto-sort of opportunity line items

Hi,

 

Im trying to sort opportunity products in the opportunity realated list. I know there is a button to do this manually. But i want to be able to sort the items with apex code. I know there is a field named: SortOrder for the object opportunity Line item, sadly it is a read only field.

 

Is there any work around for this????

 

Thanks for any help,

 

REG