Hello,
has anyone a proven solution for the following recursion error:
Our client wants to reverse the journal of a close income statement, that has been posted with dimensions and additional reporting currency. They get the error, that NAV is running out of memory because of to many recursive function calls.
In the debuggers call stack you can see that the not subscribed event trigger OnAfterInsertGlobalGLEntry() of codeunit 12 has been fired from within function FinishPosting more then 4900 times.
Our temporary solution was commenting out the OnAfterInsertGlobalGLEntry() event trigger call in codeunit12.FinishPosting(). After that it works as it should.
IMO it seems to be not a very stable solution how events are implementetd then. It can't be the solution that the size of general journals to reverse depends on the NAV servers memory?!
Best regards,
Marco
*This post is locked for comments