Error message: "Posting Date is not within your range of allowed posting dates…"

When using the Adjust Cost - Item Entries batch job you may run into the following error message:

Posting date is not within your range of allowed posting dates

This error message indicates that the user is not allowed to post entries for the date in question, and this can be remedied by changing the user setup.

Change the user setup

User ID Allow Posting From Allow Posting To
EUROPE 2020-09-11 2020-09-30

The user in this case has an allowed posting date range from September 11th to September 30th and is therefore not allowed to post the Adjustment Value Entry with Posting Date September 10th.

Overview of involved posting date setup

Inventory Periods

Ending Date Name Closed
2020-01-31 January 2020 Yes
2020-02-28 February 2020 Yes
2020-03-31 March 2020 Yes
2020-04-30 April 2020 Yes
2020-05-31 May 2020 Yes
2020-06-30 June 2020 Yes
2020-07-31 July 2020 Yes
2020-08-31 August 2020 Yes
2020-09-30 September 2020
2020-10-31 October 2020
2020-11-30 November 2020
2020-12-31 December 2020

General Ledger Setup

Field Value
Allow Posting From: 2020-09-10
Allow Posting To: 2020-09-30
Register Time:
Local Address Format: Post Code

User Setup

User ID Allow Posting From Allow Posting To
USERNAME 2020-09-10 2020-09-30

Assigning a wider allowed posting date range, as in Inventory Period or General Ledger Setup, makes it possible to avoid the conflict that causes the error message. The Adjustment Value Entry with Posting Date September 10th will be posted successfully with this setup.

See Also

Design Details: Posting Date on Adjustment Value Entry
Design Details: Inventory Costing
Design Details: Item Application

--- author: edupont04

ms.topic: include ms.date: 12/20/2021 ms.author: edupont

Business Central on Microsoft Learn