Restrict Back Date entries in Business Central

Restrict Back Date entries in Business Central:

(1) In this blog we will get to know, how to restrict back-date entries in D365 BC. For this, Microsoft provides two solutions as explained below:

  • General Ledger Setup: By using this feature, the restriction for back-date entries has been activated for all users, as shown.
General Ledger Setup to Restrict Back Date entries in d365 bc
  • User Setup: By using this feature, the restrictions for back-date entries have been activated for a particular user, as shown.
User Setup to Restrict Back Date entries in D365 BC
Note:- D365 BC Standard system algorithm, first check the User Setup dates and then General Ledger Setup dates. If User Setup dates are defined then general ledger setup dates are not considered.

(2) Now discuss the permanent back date restriction according to the Accounting Date wise, for this small customization required.

(3) Create one field in the Accounting Period table and the same is shown on the page by creating an extension, as shown.

  • Accounting Period Table Extension:
Accounting Period Table Extension in D365 BC
  • Accounting Period Page Extension:
Accounting Period Page Extension in D365 BC
  • Call Event for restricting accounting-related entries as shown.
Call Event for restricting accounting-related entries in D365 BC
Call Event for restricting accounting-related entries in Business Central
Business Central Call Event for restricting accounting-related entries
Call Event for restricting accounting-related entries in Business Central D365
  • Call Event for restricting Item or inventory-related entries as shown.
Call Event for restricting Item or inventory-related entries D365 BC
Call Event for restricting Item or inventory-related entries in BC D365
BC D365 Call Event for restricting Item or inventory-related entries
Business Central Call Event for restricting Item or inventory-related entries

(4) After doing the above development steps, publish the extension and open the Business Central D365, and open the Accounting Period page, as shown.

Accounting Period page in D365 BC

(5) In the above image, the July 22 date is restricted for entries, when you try to post entries, the system shows an error.


AL Object Designer feature in Visual Studio Environment in D365 BC
Codeunit categories into SubType Property in D365 BC
Analyze Process Performance in Business Central
Creation of Inventory Setup in D365 BC
Reverse Purchase Receipt in Business Central D365
Creation of Number Series in Business Central
Creation of Manufacturing Setup in D365 Business Central
Java Tutorial

Leave a Reply