cancel
Showing results for 
Search instead for 
Did you mean: 

Update Customer invoice with Data from the assigned accounting document

former_member535186
Participant
0 Kudos

Hi Experts,

I Need to retrieve data from assigned accounting document against the customer invoice in BYD, via cloud studio i could found the customer invoice as reference document in the repository explorer.

- The problem is i don't know where i can add the retrieving code and the customer invoice updates statements to update the customer invoice by values.

- Once the Customer invoice is released i can not edit any thing so i need the data to be retrieved while creating the accounting document before realizing the customer invoice.

Plz help.

cianbarrett
Active Participant
0 Kudos

Have you tried to add it in the After-Modify or Before-Save of The Customer Invoice BO? I don't know the order of when the Assigned Accounting Document gets created, but if it's created after the release of the Customer Invoice, I don't think your scenario will be possible.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member535186
Participant
0 Kudos

Thank you for your valuable reply,

I did try to add my retrievals code into after modify or before save, but i should update the invoice to get this actions executed, and for release action validation debugger also not executed, the problem is i don't know exact the step that accounting document is created. and i tried to extend the accounting document itself and try to update the Invoice by web service or directly. but the same problem is i can not change on the customer invoice then.

Regards,