Skip to Content

Update Customer invoice with Data from the assigned accounting document

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.

Add comment
10|10000 characters needed characters exceeded

  • 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.

  • Get RSS Feed

1 Answer

  • Feb 12 at 12:47 PM

    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,

    Add comment
    10|10000 characters needed characters exceeded