BeyondERP.Newsletter
Menu

Setup step on the Pegging event processing page · Production control

Process event kanbans in batch

Create event kanbans for rules whose event setting is Batch.

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 isA 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 hereUse 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.
ExampleFor 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.
Pegging event processing 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 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 oftenAs a recurring batch job, often enough that minimum stock and sales line events are covered in time.
Batch settingsRun it as a recurring batch job and raise the Number of batch tasks when many event rules must be processed.
What the output showsNew 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.

Source: Microsoft Learn

Setup steps on this page

Process event kanbans in batch

Create event kanbans for rules whose event setting is Batch.

Steps from Microsoft

  1. Go to Production control > Periodic tasks > Kanban job batch processing > Pegging event processing.
  2. 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.
  3. Use By source requirement to process only one sales order or one kanban and the events pegged to it.
  4. Set the Number of batch tasks to spread the processing over parallel tasks when it runs in batch.
  5. Open the kanban rule and look at the Kanbans section for the kanbans that were created.

Source: Microsoft Learn

Fields on the page

FieldWhat it means
By kanban rulesLimits processing to rules of a production flow, rules ending with an activity, or one kanban rule.Microsoft Learn
By source requirementLimits processing to one sales order or one kanban and the events pegged to it.Microsoft Learn
Number of batch tasksHow many parallel tasks process event kanbans when the job runs in batch.Microsoft Learn

Common errors and fixes

MessageWhat to do
No kanban is created for a requirementThe 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

  1. Kanbans appear on the event kanban rules.
  2. Kanbans are pegged to the expected source requirement.
  3. Rules outside the filter got no new kanbans.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Process event kanbans in batchRun 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.Should event kanbans be created immediately or in batch?Setting rules to Batch without scheduling this job. No event kanbans are created and the demand isn't covered.Test: Minimum stock event creates a kanban

Feature management and licence

Licence or add-inOn 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 companyPer company: it creates kanbans for the event rules of the legal entity you run it in. Microsoft data model
Can it be undoneReversible with effort: Delete kanbans created in error before their jobs start.
If you change it laterCreates 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 itemaction:ReqEventProcessBatchKanban Checked in Dynamics 365
FormDialog Checked in Dynamics 365
Who can open it

5 security roles. Select a role to see its duties and privileges.

  • RoleMaterials managerInventMaterialsManager
    • DutyEnable kanban execution processKanbanExecutionProcessEnable
      • PrivilegeCreate batch job for kanban eventKanbanEventBatchCreate
  • RoleProduction plannerReqProductionPlanner
    • DutyMaintain kanban scheduleKanbanScheduleMaintain
      • PrivilegeCreate batch job for kanban eventKanbanEventBatchCreate
  • RoleProduction supervisorProdProductionSupervisor
    • DutyEnable kanban execution processKanbanExecutionProcessEnable
      • PrivilegeCreate batch job for kanban eventKanbanEventBatchCreate
  • RoleSales clerkTradeSalesClerk
    • DutyMaintain sales events kanban executionKanbanExecutionSalesEventsMaintain
      • PrivilegeCreate batch job for kanban eventKanbanEventBatchCreate
  • RoleShop supervisorJmgShopSupervisor
    • DutyEnable kanban execution processKanbanExecutionProcessEnable
      • 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 itTo 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
Developer

7Developer

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

8Sources