I have requirement in which i need to post some free text invoice, after standard Sales Order Invoicing once we invoice and some issue happens in creation of free text invoice i need to rollback my standard invoice as well for that where i can write code in X++, i am checking SalesFormLetter Classes please give overview on that flow of methods from where i can rollback invocing and runs my custom logic after the standard invoicing is happened..
Thanks in advance,
Yogesh