BeyondERP.Newsletter
Menu

Setup step on the Subcontracting documents page · Production control

Create subcontracting purchase documents

Create purchase orders and receipt advices for subcontracted kanban activities.

Used by
Production supervisor
Business process
Subcontract services using production in Dynamics 365 Supply Chain Management
Menu item
action:LeanDocumentServiceCreate
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, “Monthly subcontracting documents”, 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 page that creates purchase orders and receipt advices for subcontracted services, based on the kanban jobs of subcontracted production flow activities.
What you do hereUse this page to generate the purchase documents for subcontractors in bulk or on a batch schedule, filtering jobs by production flow, activity, dates and minimum job status, and grouping jobs into purchase lines by day, month or all.
ExampleFor example, run the job at month end to create one purchase line per service for all jobs of the month and receipt advices for the jobs that were completed.
Subcontracting documents 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 subcontracted kanban jobs exist and the subcontractor's purchase orders or receipt advices must be created for a period.
How oftenPer purchasing or invoicing period agreed with the subcontractor, often as a recurring batch job.
Batch settingsRun it as a recurring batch job per production flow so documents for completed jobs are created each period.
What the output showsRelease purchase orders for the subcontracted service based on the kanban jobs, and receipt advices for completed jobs. Missing lines usually mean the jobs are below the minimum job status or outside the date range.

Source: Microsoft Learn

Setup steps on this page

Create subcontracting purchase documents

Create purchase orders and receipt advices for subcontracted kanban activities.

Steps from Microsoft

  1. Go to Production control > Periodic tasks > Kanban job batch processing > Subcontracting documents.
  2. Select the Production flow and, if needed, the Plan activity to limit the kanban jobs to one subcontracted activity.
  3. Enter the From date and To date and select the Minimum job status that jobs must have to be included.
  4. Select Release purchase orders and choose in Aggregate purchase lines by whether jobs are grouped into purchase lines per day, per month or all together.
  5. Select Receipt advices to create receipt documents for completed jobs, then review the purchase orders and receipt advices for the subcontractor.

Source: Microsoft Learn

Fields on the page

FieldWhat it means
Production flowLimits the jobs to one production flow.Microsoft Learn
Plan activityLimits the jobs to one activity of the flow.Microsoft Learn
From dateEarliest expected or actual start date of the jobs.Microsoft Learn
To dateLatest expected or actual end date of the jobs.Microsoft Learn
Minimum job statusOnly jobs at this status or higher are included.Microsoft Learn
Release purchase ordersCreates purchase orders for the selected jobs.Microsoft Learn
Aggregate purchase lines byHow jobs are grouped into purchase order lines: none, day, month or all.Microsoft Learn
Receipt advicesCreates receipt advices for the selected jobs.Microsoft Learn

Common errors and fixes

MessageWhat to do
Some kanban jobs aren't on the purchase orderOnly jobs at or above the Minimum job status and inside the From date and To date are included. Widen the dates or wait until the jobs reach the status. Microsoft Learn

Test checklist

  1. Purchase order lines exist for the selected jobs.
  2. Lines are grouped as chosen in Aggregate purchase lines by.
  3. Receipt advices exist for completed jobs.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Create subcontracting purchase documentsRun it per production flow at each invoicing period agreed with the subcontractor, aggregating purchase lines by the same period (day or month), with Receipt advices on for completed jobs.One purchase line per period matches the subcontractor's invoice, and posting receipt advices puts the service value into the flow's WIP for backflush costing.How should purchase lines for subcontracted kanban jobs be grouped?Running it with a minimum job status below completed and creating receipt advices for work that isn't done.Test: Monthly subcontracting documents

Feature management and licence

Licence or add-inOn this system 1 role can run this page, among them Production supervisor. 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: purchase orders and receipt advices are created in the legal entity of the production flow. Microsoft Learn
Can it be undoneReversible with effort: Change or delete the documents before posting.
If you change it laterPosting the receipt advices created here books the service value into the WIP accounts of the production flow, which feeds the period's backflush costing. Microsoft Learn
Technical architect

6Technical

Menu itemaction:LeanDocumentServiceCreate Checked in Dynamics 365
FormLeanDocumentServiceCreation Checked in Dynamics 365
Who can open it

1 security role. Select a role to see its duties and privileges.

  • RoleProduction supervisorProdProductionSupervisor
    • DutyMaintain service receipts kanban executionKanbanExecutionServiceReceiptsMaintain
      • PrivilegeMaintain receipt advices for lean manufacturing servicesLeanDocumentReceiptMaintain
    • DutyMaintain kanban purchase orders scheduleKanbanSchedulePurchaseOrdersMaintain
      • PrivilegeMaintain purchase orders for lean manufacturing servicesLeanDocumentPurchaseOrderMaintain
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 ProdProductionSupervisorGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=action:LeanDocumentServiceCreate
Data migrationLoad order: Subcontracting documents has no data entity in Data management, because it is a periodic job that changes records that already exist. Open purchase orders for subcontracted services move with the purchasing entities; create new documents for kanban jobs in the target environment.Checked in Dynamics 365
Everyone

8Sources

To cite this step: PC-RPER-150, Create subcontracting purchase documents. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/PC-RPER-150