Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Batch date change is logged”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
An inquiry page that lists changes to a batch's dates, showing the old and new manufacturing, shelf advice, best before and expiration dates and who made the change.
What you do here
Use it to see why a batch's expiry or best before date moved, for example after a manual correction or a date update job, and who did it.
Example
For example, batch B-2607-02 of BEAT-000412 suddenly passes the expiry check. Shelf date history shows its expiration date was changed from 2027-01-20 to 2026-12-05 by user QC02 on 2026-11-03, after the shelf life period of the item was cut from 200 to 155 days.
The page in Dynamics 365. page title tab to open what to set or check
About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.
Setup steps on this page
Explain changed batch dates
Find who changed a batch's dates and why.
Steps from Microsoft
Go to Inventory management > Inquiries and reports > Batches > Shelf date history.
Filter on the item and batch number whose dates you are checking.
Compare the old and new manufacturing, shelf advice, best before and expiration dates on each line.
Read Created by to see who changed them, and check whether the item's shelf periods were changed at the same time.
The batch whose dates changed.Checked in Dynamics 365
B-2607-02
Old expiration date
The expiration date before the change.Checked in Dynamics 365
2027-01-20
New expiration date
The expiration date after the change; it is manufacturing date plus shelf life period unless entered by hand.Microsoft Learn
2026-12-05
Created by
The user who changed the dates.Checked in Dynamics 365
Common errors and fixes
Message
What to do
Many batches changed dates at once.
A batch date update job ran after the item's shelf periods changed. Check the job history and the released product's period in days before correcting batches. Microsoft Learn
Test checklist
Change the expiration date of one batch.
Open Shelf date history and filter on the batch.
Read the newest line.
Check that the old and new expiration dates match the values before and after your change.
Filter on item and batch and compare old and new dates with any change of the item's shelf periods.Batch dates drive FEFO picking and planning, so an unexplained change moves stock to the front or back of the queue.
On the live system, Quality control manager and Warehouse manager use this page.
Checked in Dynamics 365
Solution architect
5Design impact
Shared or per company
Per company: each legal entity has its own batch date history. Checked in Dynamics 365
Can it be undone
Reversible: Read only.
If you change it later
The page only reads history. Date changes affect FEFO reservation and master planning, which use expiration and best before dates. Microsoft Learn
Technical architect
6Technical
Menu item
QMSInventBatchShelfLifeHistoryChecked in Dynamics 365
Form
QMSInventBatchShelfLifeHistoryChecked in Dynamics 365
Table
QMSInventBatchShelfLifeHistoryShown as “Shelf date history” in Record infoKey field: ItemId, InventBatchIdChecked in Dynamics 365
Who can open it
2 security roles. Select a role to see its duties and privileges.
RoleQuality control managerInventQualityControlManager
DutyInquire into tracking dimensions masterInventTrackingDimensionsMasterInquire
PrivilegeView shelf date historyQMSInventBatchShelfLifeHistory
RoleWarehouse managerWMSWarehouseManager
DutyInquire into tracking dimensions masterInventTrackingDimensionsMasterInquire
PrivilegeView shelf date historyQMSInventBatchShelfLifeHistory
Checked in Dynamics 365
Roles to set it up and use it
To use itQuality control manager InventQualityControlManagerWarehouse manager WMSWarehouseManagerGive people one of these roles. On this system, 2 roles can open this page.Checked in Dynamics 365
Actions on the page
Options: Personalize, Page options, ShareChecked in Dynamics 365
Load order: Shelf date history has no data entity in Data management. History is written when batch dates change. Load batches with their current dates through the batch entity instead.Checked in Dynamics 365