Hi Experts,
I have a requirement . If user change the Sales Price in Sales Line then a Dialog open and user select the Reason Code .
After that My SalesLine data will get saved in Custom History Table.
So I need to save the OriginalPrice(Previous Value which got changed) and Updated Price(New Value) in History Table.
How Can I achive this -
I used - salesLine.orig().SalesPrice
But it is saving the Original Value of Sales Price field every time I update that field for a particular record.