cancel
Showing results for 
Search instead for 
Did you mean: 

copy MA line item to Sub agreement

jenny_slay
Participant
0 Kudos

Hi All,

To meet one of our custom requirement, we are developing MA Save event script which will copy all the line item detail of main master agreement and copy to linked sub-agreement. I had refer the script posted which has similar requirement, however it has got following limitation, I need input to overcome this:

  • System try to generate a new set of line item any changes in the main master agreement. Example: I have first create a Sub-agreement from the main master agreement which has 5 line item, the script will successfully copy the main master agreement 5 line items to sub-agreement. Now if I do any changes(such as MA description) in the main master agreement, the script try to create a new set of 5 line item rather updating the previously created 5 line item. We thought for the option to include the logic for delete all the sub-agreement and re-load every time any change in main MA, but we are integrating sub-agreement to backend ECC system, it will have negative impact
  • Also I am not finding any suitable API for line item deleting flag

Any help would be appreciated

Jenny

Accepted Solutions (0)

Answers (1)

Answers (1)

jenny_slay
Participant
0 Kudos

help pls