I have try add post handler subscription method for "Sales order to Tax Invoice generation". My question is "Which table going to insert/update during this action?"
*This post is locked for comments
I have try add post handler subscription method for "Sales order to Tax Invoice generation". My question is "Which table going to insert/update during this action?"
*This post is locked for comments
I don't think that the process creates new customers (CustTable)? Are you sure you are on the correct form where you can see the Tax Invoices?
I have handle the "custTable" form insert and update through subscription of "Pre/Post" handler, that could be added to the "cutTable" table insert and update method. But "Sales order to Tax Invoice generation" process run in batch process so difficult to handle. It mean need update existing code of "SalesFormLetter".
Go to Tools - Options - Development and uncheck "Execute business operations in CIL". Then the debugger should kick in. After debugging, set the checkbox back.
Yes, I have debugging and add breakpoints checked in "custInvoiceTrans, custInvoiceTable". But It's couldn't trigger!.
There is a general process to find answer to all such questions: debugging.
Where do you see the Tax invoice that is created (I suppose) from this process? Check out the name of that form, and the name of the data source table. Then put breakpoint in the insert method of that table, and run "Sales order to Tax Invoice generation" process again. Now you will see the call stack in debugger, and perhaps can find a place for your event handler.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156