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
SSebSSeb 

update from apex

            
            OpportunityLineItem prod;
            prod =  [Select Quantity, productcode, Nav_Inventory__c  From OpportunityLineItem where Opp_Line_Item_Id__c =:oli.Opp_Line_Item_Id__c];
            
           prod.Old_Quantity__c= prod.Quantity;

           update prod;
SSebSSeb
I have this update in my apex class but the update is not working - not sure what i am doing wrong.