Skip to Content

Welcome!

Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

Sign up

You need to be registered to interact with the community.
This question has been flagged
1 Reply
27 Views

I need to find a direct technical method for changing the Account on a Invoice record that is already in 'Posted' status.

I am fully aware that the standard, supported process is to issue a credit note and then rebill the correct account. However, for specific operational reasons, I am looking for the steps to perform a direct data update.

Could someone outline the required DML operations or provide an Apex script example? I am particularly interested in understanding all the necessary related objects that must be updated alongside the Invoice header to ensure data consistency (e.g., blng__InvoiceLine__c, and any other critical records). I am looking for the "how-to," including which triggers might need to be bypassed or considered.

Thank you

Avatar
Discard

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!