BeyondERP.Newsletter
Menu

Setup step on the Automatic release of BOM and formula lines page · Production control

Release BOM lines to the warehouse by batch

Release raw material picking to the warehouse just in time instead of at order release.

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 isA periodic task that releases bill of materials (BOM) and formula lines to the warehouse as a batch job.
What you do hereUse 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.
ExampleFor 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.
Automatic release of BOM and formula lines 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.

When to run it

When to run itWhen BOM and formula lines are released to the warehouse by batch job instead of at order release, ahead of the raw material date.
How oftenAs a recurring batch job; how often depends on your release time fence in the Raw material date filter.
Batch settingsSchedule 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 showsReleased 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.

Source: Microsoft Learn

Setup steps on this page

Release BOM lines to the warehouse by batch

Release raw material picking to the warehouse just in time instead of at order release.

Steps from Microsoft

  1. Go to Production control > Periodic tasks > Release to warehouse > Automatic release of BOM and formula lines.
  2. 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.
  3. 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)).
  4. Run it as a recurring batch job; it considers only orders that are Released, Started or Reported as finished.
  5. 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.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
Raw material dateQuery 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 releaseThe 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

MessageWhat to do
The job runs but releases no linesThe 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 quantityThe 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

  1. Lines inside the time fence show a released quantity.
  2. Raw material picking work exists for the released lines.
  3. Lines outside the Raw material date filter were left unreleased.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Release BOM lines to the warehouse by batchProduction 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.When should BOM and formula lines be released to the warehouse?Leaving Production line release on order release and still scheduling this job. Lines are then released with the order and the job finds nothing to do.Test: Batch release respects stock and time fence

Feature management and licence

Licence or add-inOn 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 companyPer 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 undoneReversible with effort: Cancel the raw material picking work in Warehouse management; released quantities aren't reversed by the job.
If you change it laterReleases 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 itemaction: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 itTo use itProduction supervisor ProdProductionSupervisorSales clerk TradeSalesClerkGive people one of these roles. On this system, 2 roles can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=action:WHSProdBOMReleaseController
Data migrationLoad 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
Everyone

8Sources