SAP Message 8A128 - Date error: Document date &1 inconsistent with last-assigned date &2

Diagnosis
The date that was entered for the document is earlier than the lastassigned date of the official document number.
To generate an official document number with date control, enter adocument date that is later than the last assigned date of the officialdocument number.

System Response
The system will not allow you to post this document.

Procedure
Ensure that the date in the document is filled correctly.