Production controlPeriodic tasksKanban job batch processing
action:ReqEventProcessBatchKanban
Used by
Materials manager, Production planner, Production supervisor and 2 more roles
Business process
Create Kanbans in Dynamics 365 Supply Chain Management
Menu item
action:ReqEventProcessBatchKanban
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. Some of it is Dynamics AX 2012 documentation, an earlier version.
Tests
A ready-to-run test, “Minimum stock event creates a kanban”, 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 batch page that creates or updates event kanbans for pegging events, such as sales lines, kanban lines and minimum-stock replenishment, for kanban rules whose event setting is Batch.
What you do here
Use this page to generate the kanbans that event kanban rules require, either for all rules or limited to a production flow, activity, kanban rule or a single source requirement, and to run it on a schedule with several parallel batch tasks.
Example
For example, with a withdrawal rule whose Stock replenishment event is Batch and an item coverage minimum of 200 pieces, running this job creates a transfer kanban when on-hand inventory falls below the minimum.
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 event kanban rules have their event setting on Batch, for example a stock replenishment event that should create kanbans when stock drops below the minimum.
How often
As a recurring batch job, often enough that minimum stock and sales line events are covered in time.
Batch settings
Run it as a recurring batch job and raise the Number of batch tasks when many event rules must be processed.
What the output shows
New or updated event kanbans pegged to their source requirements, such as sales lines, kanban lines or minimum stock. No kanban means the rule's event setting isn't Batch or no event was triggered.
Create event kanbans for rules whose event setting is Batch.
Steps from Microsoft
Go to Production control > Periodic tasks > Kanban job batch processing > Pegging event processing.
Limit the run By kanban rules to one production flow, rules ending with an activity, or a single kanban rule, or leave it open to process all event rules.
Use By source requirement to process only one sales order or one kanban and the events pegged to it.
Set the Number of batch tasks to spread the processing over parallel tasks when it runs in batch.
Open the kanban rule and look at the Kanbans section for the kanbans that were created.
Limits processing to rules of a production flow, rules ending with an activity, or one kanban rule.Microsoft Learn
By source requirement
Limits processing to one sales order or one kanban and the events pegged to it.Microsoft Learn
Number of batch tasks
How many parallel tasks process event kanbans when the job runs in batch.Microsoft Learn
Common errors and fixes
Message
What to do
No kanban is created for a requirement
The rule's event setting isn't Batch, or the event wasn't triggered (for example stock didn't fall below the minimum in Item coverage). Check the Events section of the rule. Microsoft Learn
Test checklist
Kanbans appear on the event kanban rules.
Kanbans are pegged to the expected source requirement.
Run it as a recurring batch, often enough to cover minimum stock and sales line events in time, and raise Number of batch tasks when many event rules exist.Rules with the Batch event setting create kanbans only when this job runs, so the schedule decides how quickly demand turns into kanbans.
On this system 5 roles can run this page, among them Production supervisor, Shop supervisor, Production planner and Materials manager. 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: it creates kanbans for the event rules of the legal entity you run it in. Microsoft data model
Can it be undone
Reversible with effort: Delete kanbans created in error before their jobs start.
If you change it later
Creates or updates event kanbans for rules whose event setting is Batch, which creates kanban jobs in the production flow. Microsoft Learn
Technical architect
6Technical
Menu item
action:ReqEventProcessBatchKanbanChecked in Dynamics 365
Form
DialogChecked in Dynamics 365
Who can open it
5 security roles. Select a role to see its duties and privileges.
PrivilegeCreate batch job for kanban eventKanbanEventBatchCreate
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 ProdProductionSupervisorShop supervisor JmgShopSupervisorProduction planner ReqProductionPlannerMaterials manager InventMaterialsManagerSales clerk TradeSalesClerkGive people one of these roles. On this system, 5 roles can run this page.Checked in Dynamics 365
Load order: Pegging event processing has no data entity in Data management, because it is a periodic job that changes records that already exist. Run it again in the target environment after kanban rules and open requirements are loaded.Checked in Dynamics 365