Need to do some operations when the status of an SO is changed to Cancelled...?

Hi

Need to do some operations when the status of an SO is changed to Cancelled…?

Let me know where I can customize that…?

The code in \Classes\SalesLineType\update will update the saleStatus in SalesTable

if (salesLine.SalesStatus != salesLine_Orig.SalesStatus)

salesTable.updateBackStatus();

You can add your code after this by checking, if the salesTable status is cancelled.