Customize Save function for a module

I have to make some modifications in the save function of revenue line items module. What is the best way to achieve that on OnDemand Version.

Parents Reply Children
  • I have made the revenue line item unit price editable using dependency metadata. Now when the save is called , it calls a function to get unit price from product catalog and hence overwrite my inputted value again from product catalog.

    I know that function which is doing so in save method. So i wanted to remove that line of code . It is happening only when we create a record, not on edit.

    Can u tell me how can i remove that line of code from save function