In NAV2016 the posting of large Gen. Journals (>5.000 Lines) is nearly unpossible.
Line Check, Balance Check an the posting itselfs is fast als allways, but deleting the gen. Journal lines is terrible slow.
I found the Problem in 2 Subscriber Functions in Codeunit 1535 and 1550, which are called at every delete.
After deleting this functions the posting process performs normally.
Hopefully in future CUs the event-functions are more performant.
*This post is locked for comments
Thanks, Johanes.
Your solution is work. While others are not.
I tried to remark the code, but still bad performance.
Try to delete this function, or change it to non event, could work.
I delete 3 functions:
COD 1550
RemoveGenJournalLineRestrictionsBeforeDelete
COD 1535
DeleteApprovalEntriesAfterDeleteGenJournalLine
DeleteApprovalCommentsAfterDeleteGenJournalLine
There is a performance fix for this now:
markbrummel.wordpress.com/.../performance-issue-with-workflow-solution
Had the same problem, and solved it by deleting a bunch of event subscribers in codeunit 1535 and 1550.
For details: forum.mibuso.com/.../nav2016-long-wait-after-having-reached-100-when-posting-g-l-journal
If you are not using Workflows in General Journal Lines, Try commenting below line in Table 81 and see if it helps.
Table 81 - OnDelete() Trigger
//ApprovalsMgmt.OnCancelGeneralJournalLineApprovalRequest(Rec);
Pl. do thorough testing in test environment prior implementing solution in Live.
Hi Johannes,
I have the same issue but in CU8.
Please, can you give me more details about what you changed?
Kind regards
Hi,
yes - in CU3 it is the same Problem.
hi,
can you test posting with NAV 2016 CU3 ?
NAV 2016 CU3 released today
community.dynamics.com/.../cumulative-update-3-for-microsoft-dynamics-nav-2016-has-been-released
Thank you Johannes!
Hi Johannes,
thank's for sharing this.
with best regards
Jens
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,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156