Production controlPeriodic tasksRelease to warehouse
action:WHSProdBOMReleaseController
Used by
Production supervisor, Sales clerk
Business process
Automatically release production to the warehouse in Dynamics 365 Supply Chain Management
Menu item
action:WHSProdBOMReleaseController
Setup steps
1 on this page
How this guide was checked
Source
Written from Microsoft's official Dynamics 365 documentation.
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 release respects stock and time fence”, 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
A periodic task that releases bill of materials (BOM) and formula lines to the warehouse as a batch job.
What you do here
Use this task to release BOM and formula lines that still have a quantity to release, for production and batch orders that are released, started or reported as finished.
Example
For example, BEAT releases production order BEAT-000320 for 1,000.00 pcs. The recurring job runs every night with the filter (LessThanDate(2)) on Raw material date. A line needs 100.00 kg, 20.00 kg are reserved and 70.00 kg are available, so the job releases 90.00 kg and creates raw material picking work for them.
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.
When to run it
When to run it
When BOM and formula lines are released to the warehouse by batch job instead of at order release, ahead of the raw material date.
How often
As a recurring batch job; how often depends on your release time fence in the Raw material date filter.
Batch settings
Schedule it as a recurring batch job with a Raw material date filter such as (LessThanDate(2)) so only near-term lines are released each run.
What the output shows
Released BOM and formula lines and the raw material picking work that moves material to the production input location. A line released for less than its remaining quantity means physically reserved and available stock didn't cover it.
Release raw material picking to the warehouse just in time instead of at order release.
Steps from Microsoft
Go to Production control > Periodic tasks > Release to warehouse > Automatic release of BOM and formula lines.
Make sure the Production line release parameter in Production parameters is set to release BOM and formula lines through the batch job or manually; otherwise lines are released with the order.
In the job's query, filter the Raw material date with (LessThanDate(n)) to release only lines needed within the next n days, for example (LessThanDate(2)).
Run it as a recurring batch job; it considers only orders that are Released, Started or Reported as finished.
Review the raw material picking work that was created, and lines that were only partly released because reserved and available stock didn't cover them.
Query filter on the BOM and formula lines. Use the (LessThanDate(n)) function to release only lines needed within the next n days, for example (LessThanDate(2)).Microsoft Learn
(LessThanDate(2))
Production line release
The setting in Production control parameters that decides whether lines are released with the order or only by this batch job or by Release to warehouse.Microsoft Learn
Common errors and fixes
Message
What to do
The job runs but releases no lines
The Production line release parameter is set to release lines as part of the order release, so there is nothing left for the job. Set it to release through the batch job or manually, or release lines with the order instead. Microsoft Learn
A line is released for less than its remaining quantity
The job releases only what the physically reserved and the physically available quantity can cover. Make stock available or reserve it, and the next run releases the rest. Microsoft Learn
Test checklist
Lines inside the time fence show a released quantity.
Raw material picking work exists for the released lines.
Lines outside the Raw material date filter were left unreleased.
Production line release set to batch job or manual, and this job as a recurring batch with a Raw material date filter such as (LessThanDate(2)).The time fence keeps picking work close to when the material is needed, and each run releases only what reserved and available stock covers, so the warehouse doesn't pick for lines that can't be produced.
On this system 2 roles can run this page, among them Production supervisor and Sales clerk. No Feature management feature needs to be turned on for this page.
Checked in Dynamics 365
Solution architect
5Design impact
Shared or per company
Per company: the job works on the production orders of the legal entity you run it in. Production orders are company data (the Production orders entity is not shared in Data management). Checked in Dynamics 365
Can it be undone
Reversible with effort: Cancel the raw material picking work in Warehouse management; released quantities aren't reversed by the job.
If you change it later
Releases remaining quantities on BOM and formula lines up to the physically reserved and available stock, which creates raw material picking work in the warehouse. Microsoft Learn
Technical architect
6Technical
Menu item
action:WHSProdBOMReleaseController
Who can open it
2 security roles. Select a role to see its duties and privileges.
RoleProduction supervisorProdProductionSupervisor
DutyMaintain release of production ordersProdProductionOrderReleaseMaintain
PrivilegeAutomatic release of BOM and formula linesWHSProdAutoReleaseProcess
RoleSales clerkTradeSalesClerk
DutyWHSAutoReleaseToWarehouseMaintain
PrivilegeAutomatic release of BOM and formula linesWHSProdAutoReleaseProcess
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use it
To use itProduction supervisor ProdProductionSupervisorSales clerk TradeSalesClerkGive people one of these roles. On this system, 2 roles can run this page.Checked in Dynamics 365
Load order: Automatic release of BOM and formula lines has no data entity in Data management, because it is a periodic job that changes records that already exist. Set up the recurring batch job again in each environment.Checked in Dynamics 365