REPEAT SETRANGE("Source Type","Source Type"); SETRANGE("Source Subtype","Source Subtype"); SETRANGE("Source No.","Source No."); InitSourceDocumentHeader; InitSourceDocumentLines; COMMIT; CounterSourceDocTotal := CounterSourceDocTotal + 1; PostSourceDocument(WhseShptLine); SETRANGE("Source Type"); SETRANGE("Source Subtype"); SETRANGE("Source No."); UNTIL NEXT = 0;
Comments
The shipment are posted invisibly to user.
He push some button, system create Transit Transfer, process all studies of postings etc, and show only Put-aways to user.
But this process ends in posting shipment sometimes (when user was blocked).
Navision in SQL Database.
The second solution would be lock gl table.
Do you have expected cost on?
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I will try your way.
Thanks