Schedule purchase order generation from approved requisitions
Procurement and sourcingPurchase requisitionsApproved purchase requisition processing
action:PurchReqPurchaseOrderGenerationBatch
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 is
A 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 here
Use 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.
Example
For 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.
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
After requisitions are approved, at a quiet time such as overnight. Required when budget control is on and requisitions create purchase orders automatically.
How often
Recurring, once or several times a day depending on approval volume.
Batch settings
With 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 shows
Purchase 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.
Schedule purchase order generation from approved requisitions
Create purchase orders from approved requisitions automatically, in batch.
Steps from Microsoft
Go to Procurement and sourcing > Purchase requisitions > Approved purchase requisition processing > Generate purchase orders in batch.
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.
Enter the Number of purchase requisitions in a single batch task.
Expand Run in the background and set a recurrence outside office hours.
After the run, check Release approved purchase requisitions for lines that were held or failed.
Number of purchase requisitions in a single batch task
Sets 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 365
50
Common errors and fixes
Message
What 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
Turn on Run automatic purchase order creation as a batch job in the purchase order creation rule.
Approve two requisitions whose lines don't need manual processing.
Run the job.
Check both requisition lines are Closed and 2 purchase order lines exist.
Turn 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.
Consolidate multiple purchase requisitions into a single purchase order by accounting date
Licence or add-in
On 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.
Runs 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 undone
Reversible with effort: Cancel unwanted purchase orders before confirmation.
If you change it later
Creates 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 item
action:PurchReqPurchaseOrderGenerationBatchChecked in Dynamics 365
Form
DialogChecked in Dynamics 365
Who can open it
1 security role. Select a role to see its duties and privileges.
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 it
To use itInformation technology manager SysServerITManagerGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Load 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
Checked in a working Dynamics 365 system, version 10.0.49: the menu item, form, table and security, the page.
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