Hello All,
It's been a while since my last post.
I have a following issue with posting of the purchase invoice in the NAV 5.0 SP1.
I have added a code in the codeunit 90 that posts two additional lines for the vendor.
To post general journal line, I'm using standard code:
GenJnlPostLine.RunWithCheck(GenJnlLine,TempJnlLineDim);
The strange thing is that, when the error message occurs (connected with the dimension restriction - codeunit 11)
during this stage of posting, the rollback of transaction is not performed, and the posted purchase header and lines are created.
Can anyone tell me what I'm doing wrong?
Best regards,
JTPro
Comments
RIS Plus, LLC
MVP - Business Apps
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.