Allowed dates for sales & purchases
This module lets you restrict the period in which sales and purchase documents can be posted, independently of the allowed posting dates of the general ledger and of the user.
For example, you can close sales for an already consolidated month while keeping purchases open, or the other way round.
- For sales: Sales & Receivables Setup page, General FastTab.
- For purchases: Purchases & Payables Setup page, General FastTab.
The fields are at the top of the General FastTab on both setup pages.
| Field | Description |
|---|---|
| Allow Posting From | First posting date allowed for documents (sales or purchase, depending on the page). If blank, there is no lower limit. |
| Allow Posting To | Last posting date allowed for documents. If blank, there is no upper limit. |
- Open Sales & Receivables Setup (or Purchases & Payables Setup).
- On the General FastTab, fill in Allow Posting From and/or Allow Posting To.
- From now on, documents whose posting date falls outside the range cannot be posted.
- When a sales document (order, invoice, credit memo, return…) is posted, its Posting Date is checked against the dates set in Sales & Receivables Setup; purchase documents are checked against Purchases & Payables Setup.
- If the date is outside the range, posting stops with the message "Posting period not allowed".
- This check is in addition to the standard Business Central allowed posting date checks (General Ledger Setup and User Setup), which still apply.
- The check is skipped for documents posted without general ledger entries (for example orders with the Order without G/L option).