Does anyone know of an easy way or re-opening and / or releasing many orders (both sales and purchase) at once without doing it one by one from each order
The code unit only seems to work when called from a specific sales header
you can write a processing only report with sales header / purchase header data items, and have it call the reopen/release functions. then you can run the report and filter on which headers should be impacted.
Comments
Filter on the status field "OPEN" now hold down Ctrl-F11
It will zip thru releasing all open orders.
http://www.BiloBeauty.com
http://www.autismspeaks.org
Releaseit.RUN("Sales Header");
Where Releaseit is the Release Sales Document codeunit.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book