Hi everyone!
Is it possible to wrap two intrinsic transactions into one by any means? For example, posting output lines and then posting consumption lines consecutively must be regarded as one transaction because in the consumption process, intermediate products created in the output will be consumed. If consumption fails for any reason (because of inventory insufficiency or any error), posting of output lines must also be rolled back for the sake of consistency.
Cem Karaer @ Pargesoft
Dynamics NAV Developer since 2005
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Dynamics NAV Developer since 2005
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Dynamics NAV Developer since 2005
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Dynamics NAV Developer since 2005
add RAW material consumption lines, add Output lines for PO1, add consumption lines, add output lines for PO2 etc. Try to post the journal. It will be one transaction. You only need to be sure, that you are posting the lines in correct order (consumption on lowest level, output of first level, consumption on second level, output of second level etc.) and do not forget to have correct serial or lot nos. on the consumption and output lines if you are using tracking. Check the flushing method on the items etc.
In my opinion the problem is elsewhere than you are thinking now... COMMIT have no effect to visibility of data in same process, only for other NAV clients...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
RIS Plus, LLC
MVP - Business Apps