BeyondERP.Newsletter
Menu

Setup step on the Generate purchase orders in batch page · Procurement and sourcing

Schedule purchase order generation from approved requisitions

Create purchase orders from approved requisitions automatically, in batch.

Used by
Information technology manager
Business process
Procure goods and services
Menu item
action:PurchReqPurchaseOrderGenerationBatch
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, “Batch job converts approved requisitions”, 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 job (dialog title on the live system: Schedule batch job for purchase order generation by consolidating approved requisitions) that creates purchase orders from approved requisition lines that don't need manual processing, when the purchasing policy says to run automatic purchase order creation as a batch job.
What you do hereUse this job to create purchase orders from approved requisitions at a time when the system is less busy, and always when budget control is on with automatic purchase order creation.
ExampleFor example, BEAT schedules the job every day at 22:00; on 5 November it converts 37 approved requisition lines worth 18,905.00 USD into 21 purchase orders, while 4 prepayment lines stay on Release approved purchase requisitions.
Generate purchase orders in batch 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

Business processProcure goods and services
Menu pathProcurement and sourcing › Purchase requisitions › Approved purchase requisition processing › Generate purchase orders in batch
Set up firstPurchasing policies Microsoft Learn
Used next byRelease approved purchase requisitions Microsoft Learn
Related pagesAll purchase orders Microsoft Learn
In this process Release approved requisition lines held for manual processing · Check purchase order confirmation update jobs
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 itAfter requisitions are approved, at a quiet time such as overnight. Required when budget control is on and requisitions create purchase orders automatically.
How oftenRecurring, once or several times a day depending on approval volume.
Batch settingsWith budget control and automatic purchase order creation, running it as a batch job prevents a release loop that degrades performance and can make the system unresponsive.
What the output showsPurchase orders for the approved requisition lines that don't need manual processing; those lines become Closed. Held or failed lines stay on Release approved purchase requisitions.

Source: Microsoft Learn

Setup steps on this page

Schedule purchase order generation from approved requisitions

Create purchase orders from approved requisitions automatically, in batch.

Steps from Microsoft

  1. Go to Procurement and sourcing > Purchase requisitions > Approved purchase requisition processing > Generate purchase orders in batch.
  2. Check that Run automatic purchase order creation as a batch job is on in the purchase order creation and demand consolidation policy rule; only approved requisitions that don't need manual processing are picked up.
  3. Enter the Number of purchase requisitions in a single batch task.
  4. Expand Run in the background and set a recurrence outside office hours.
  5. After the run, check Release approved purchase requisitions for lines that were held or failed.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
Number of purchase requisitions in a single batch taskSets how many purchase requisitions each batch task processes. On the live system the field is under Parameters and shows 0 by default.Checked in Dynamics 36550

Common errors and fixes

MessageWhat to do
Requisition release hangs and the system becomes unresponsive after approval.With budget control and Automatically create purchase orders, turn on Run automatic purchase order creation as a batch job and let this job create the orders. Microsoft Learn
Purchase requisition line was pre-encumbered in a fiscal year that is different from the accounting date of the purchase order. Hence, purchase order cannot be created.Convert or cancel open requisitions before the fiscal year closes; requisitions don't roll over. Microsoft Learn

Test checklist

  1. Turn on Run automatic purchase order creation as a batch job in the purchase order creation rule.
  2. Approve two requisitions whose lines don't need manual processing.
  3. Run the job.
  4. Check both requisition lines are Closed and 2 purchase order lines exist.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Schedule purchase order generation from approved requisitionsTurn on Run automatic purchase order creation as a batch job and schedule this job with a recurrence outside office hours, at least daily.With budget control on, release outside batch can loop and freeze the system; in batch, approved requisitions are processed asynchronously.Create purchase orders on approval or in a scheduled batch job?Scheduling the job but leaving the policy option off: the job then finds nothing, because only requisitions sent to batch by the policy are picked up.Test: Batch job converts approved requisitions

Feature management and licence

Feature to turn onConsolidate multiple purchase requisitions into a single purchase order by accounting date
Licence or add-inOn the live system only Information technology manager can run this job, so it is normally scheduled by IT. Learn lists the Feature management feature Consolidate multiple purchase requisitions into a single purchase order by accounting date (10.0.25), which is not supported with budget control.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyRuns over approved requisitions of all buying legal entities that the policy sends to batch; each purchase order is created in the line's buying legal entity. Microsoft Learn
Can it be undoneReversible with effort: Cancel unwanted purchase orders before confirmation.
If you change it laterCreates purchase orders and closes the converted requisition lines. Changing the purchasing policy affects only requisitions processed after the change. Microsoft Learn
Technical architect

6Technical

Menu itemaction:PurchReqPurchaseOrderGenerationBatch Checked in Dynamics 365
FormDialog Checked in Dynamics 365
Who can open it

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

  • RoleInformation technology managerSysServerITManager
    • DutyMaintain batch job to create purchase orders from purchase requisitionPurchReqPurchaseOrderGenBatchEnable
      • PrivilegeMaintain batch process for creating purchase orders from purchase requisitionsPurchReqPurchaseOrderGenBatchMaintain
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 itInformation technology manager SysServerITManagerGive 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:PurchReqPurchaseOrderGenerationBatch
Data migrationLoad order: Generate purchase orders in batch has no data entity in Data management: it is a job and stores no data of its own. Recreate its batch schedule in the new system after go-live.Checked in Dynamics 365
Everyone

8Sources

To cite this step: PS-REQ-120, Schedule purchase order generation from approved requisitions. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/PS-REQ-120