SalesLine.update function has been called incorrectly
My goal is to change the calculation of line Amount on Sales Line by multiplying a custom field ‘NoOfMonths’ to the value of line amount. I have created an extension of SalesLine table and used the update() method to fulfill the requirement. Following is my code: