Expose global variables on CU12's integration events
In order to "play nicely" with the posting engine in codeunit 12, we'd like to have access to its global variables when it raises an integration event.
In other words, we'd like the GlobalVarAccess property set to "Yes" for each of the four integration events. Is that possible?
We are adding more integration events into G/L Posting engine and investigating need for exposing global vars. I will follow up on your ask until end of September.
Any news on this? we would need to post additional G/L Entries based on the same General Journal Line. This is not possible currently as there is no way to "update" the NextEntryNo in an instance of CU12 which will lead into a "G/L Entry already exists" error message. The additional entries have to be created when posting and applying a deposit as those are VAT related in some countries.
Looks like exposing of global vars in COD12 is wrong solution for posting of deposit, we'd better develop feature for deposits instead. This functionality exists in NA version already.
This issue appears to have been resolved. Closing issue.