Please assist I’m getting a ‘Date not valid’ error when trying to run the Adjust Cost Item entries batch job. How do I resolve this?

Please assist I’m getting a ‘Date not valid’ error when trying to run the Adjust Cost Item entries batch job. How do I resolve this?
Hi Tich,
From version 5.0, the Adjust Cost – Item Entries batch job assigns a posting date to the value entry it is about to create in the following steps:
Initially the Posting Date of the entry to be created is the same date as the entry it adjusts.
The Posting Date is validated against Inventory Periods and/or General Ledger Setup.
Assignment of Posting Date; If the initial Posting Date is not within allowed posting date range the batch job will assign an allowed Posting Date from either General Ledger Setup or Inventory Period. If both Inventory Periods and allowed posting dates in General Ledger Setup are defined, the later date of the two will be assigned to the Adjustment Value Entry.
For more information please refer to this doc :docs.microsoft.com/.../design-details-inventory-adjustment-value-entry-posting-date