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, “Shelf life as of date lists batches by date”, 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 batches as of a date you choose with their expiration date, shelf life period, batch disposition and inventory quantities, so you can see which stock is past or near its expiration date.
What you do here
Use it to find on-hand batches that have reached their expiration date on a given date and act on them, for example by resetting the batch disposition code so they can't be reserved or shipped.
Example
For example, on 2026-11-15 BEAT reviews batches of BEAT-000412 as of 2026-12-31. Batch B-2606-07, made on 2026-06-01 with a shelf life period of 200 days, expires on 2026-12-18 and holds 75.00 boxes, so it is reset to an unavailable disposition code before it can be shipped.
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
Review batches by expiration date
Find on-hand batches that pass their expiration date by a chosen date.
Steps from Microsoft
Go to Inventory management > Inquiries and reports > Batches > Shelf life as of date.
Set the As of date, for example the last day of next month, to see what will have passed its expiration date by then.
Sort on Expiration date and read the inventory quantity of each batch.
For a batch that must not be sold or used, select Reset batch disposition code and choose an unavailable code.
Select Transactions to see where the batch is used, or Display dimensions to show the warehouse and location.
The code that marks the batch as available or unavailable for planning, reservation, picking and shipping.Microsoft Learn
QC-HOLD
Common errors and fixes
Message
What to do
A batch shows no expiration date.
The item has no shelf life period in days on the released product, or the batch was created before it was set. Set the period, then update the batch dates. Microsoft Learn
Test checklist
Take a batch item with a shelf life period of 30 days and receive a batch with manufacturing date 30 days ago.
Open Shelf life as of date with As of date today.
Find the batch.
Check that its Expiration date is the manufacturing date plus 30 days and that its quantity matches the on-hand.
Set the As of date ahead, for example to the end of next month, and review the list weekly; block batches that must not ship with an unavailable disposition code.The As of date decides which batches count as past their date; using today shows only what is already too late to act on.
Reversible: The view changes nothing; disposition code resets can be reset again.
If you change it later
Viewing changes nothing. Reset batch disposition code changes whether the batch can be planned, reserved, picked and shipped, as set on the disposition code. Microsoft Learn
Technical architect
6Technical
Menu item
PdsInventBatchShelfLifeChecked in Dynamics 365
Form
PdsInventBatchShelfLifeChecked in Dynamics 365
Table
InventBatchShown as “Batches” in Record infoKey field: inventBatchId, itemIdChecked in Dynamics 365
2 security roles. Select a role to see its duties and privileges.
RoleQuality control managerInventQualityControlManager
DutyInquire into tracking dimensions masterInventTrackingDimensionsMasterInquire
PrivilegeView batches past expiration datePdsInventBatchShelfLifeView
RoleWarehouse managerWMSWarehouseManager
DutyInquire into tracking dimensions masterInventTrackingDimensionsMasterInquire
PrivilegeView batches past expiration datePdsInventBatchShelfLifeView
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
InventItemBatchEntity Load batches with manufacturing and expiration dates before the opening on-hand journal that uses them.Load order: Load released products with their shelf periods, then batches through Item batches, then opening on-hand per batch with an inventory journal.Load first: Released products, Tracking dimension groupsMicrosoft Learn