BeyondERP.Newsletter
Menu

Setup step on the Shelf advice as of date page · Inventory management

Review batches by shelf advice date

Find on-hand batches that pass their shelf advice date by a chosen date.

See how to set it up Back to Inventory management

Used by
Quality control manager, Warehouse manager
Business process
Manage inventory quality
Menu item
PdsInventBatchShelfAdvice
Main table
InventBatch
Data entity
InventItemBatchEntity
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
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 advice 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 isAn inquiry page that lists batches as of a date you choose with their shelf advice date, shelf advice period, batch disposition and inventory quantities, so you can see which stock is past or near its shelf advice date.
What you do hereUse it to find on-hand batches that have reached their shelf advice 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.
ExampleFor example, BEAT checks batches of BEAT-000310 with an As of date of 2026-11-30. Batch B-2605-01, made on 2026-05-01 with a shelf advice period of 180 days, reaches its shelf advice date on 2026-10-28 and still has 240.00 kg on hand, so quality samples it before the next shipment.
Shelf advice as of date page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

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 shelf advice date

Find on-hand batches that pass their shelf advice date by a chosen date.

Steps from Microsoft

  1. Go to Inventory management > Inquiries and reports > Batches > Shelf advice as of date.
  2. Set the As of date, for example the last day of next month, to see what will have passed its shelf advice date by then.
  3. Sort on Shelf advice date and read the inventory quantity of each batch.
  4. For a batch that must not be sold or used, select Reset batch disposition code and choose an unavailable code.
  5. Select Transactions to see where the batch is used, or Display dimensions to show the warehouse and location.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
As of dateThe date the batches are checked against.Checked in Dynamics 3652026-11-30
Manufacturing dateThe batch's date of manufacture; the shelf advice period is added to it to get the shelf advice date.Microsoft Learn 2026-05-01
Shelf advice periodThe number of days after manufacture by which a batch should be checked that it is still fit for use or sale.Microsoft Learn 180
Shelf advice dateManufacturing date plus shelf advice period.Microsoft Learn 2026-10-28
Batch disposition codeThe code that marks the batch as available or unavailable for planning, reservation, picking and shipping.Microsoft Learn QC-HOLD

Common errors and fixes

MessageWhat to do
A batch shows no shelf advice date.The item has no shelf advice 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

  1. Take a batch item with a shelf advice period of 30 days and receive a batch with manufacturing date 30 days ago.
  2. Open Shelf advice as of date with As of date today.
  3. Find the batch.
  4. Check that its Shelf advice date is the manufacturing date plus 30 days and that its quantity matches the on-hand.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Review batches by shelf advice dateSet 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.What happens to batches past their shelf advice date?Reading the list with today's date only, so batches that pass their date before they are shipped aren't caught.Test: Shelf advice as of date lists batches by date

Feature management and licence

Licence or add-inOn the live system, Quality control manager and Warehouse manager use this page.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own batches. Microsoft data model
Can it be undoneReversible: The view changes nothing; disposition code resets can be reset again.
If you change it laterViewing 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 itemPdsInventBatchShelfAdvice Checked in Dynamics 365
FormPdsInventBatchShelfAdvice Checked in Dynamics 365
TableInventBatchShown as “Batches” in Record infoKey field: inventBatchId, itemIdChecked in Dynamics 365
Data entitiesInventItemBatchEntityItem batches Microsoft data model
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 batches past shelf advice datePdsInventBatchShelfAdviceView
  • RoleWarehouse managerWMSWarehouseManager
    • DutyInquire into tracking dimensions masterInventTrackingDimensionsMasterInquire
      • PrivilegeView batches past shelf advice datePdsInventBatchShelfAdviceView
Checked in Dynamics 365
Roles to set it up and use itTo 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 pageOptions: Personalize, Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=PdsInventBatchShelfAdvice
Integrate withInventItemBatchEntity data entity Microsoft data model
Data migrationInventItemBatchEntity Load batches with manufacturing and shelf advice 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
Table definitionInventBatch columns and relations Microsoft data model
Everyone

8Sources

To cite this step: IM-INQA-080, Review batches by shelf advice date. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/IM-INQA-080