Prevent commits
This module makes posting of purchase documents (orders, invoices, credit memos and return orders) safer. During standard posting, Business Central permanently saves some intermediate changes to the document before posting is complete, in particular:
- automatic release of the document;
- calculation of the invoice discount;
- preliminary checks and updates of the document.
With this module active, these intermediate saves are skipped: the whole posting runs as a single operation.
The module requires no setup and adds no pages, fields or actions. Post the purchase document as usual (Post or Post and Print action).
- If posting succeeds, the result is the same as standard posting.
- If posting stops because of an error, the purchase document stays exactly as it was before posting: it is not left released and it does not keep recalculated invoice discounts or other partial updates.
- This also allows posting to run inside other processes without intermediate saves interfering with them.