Schedule the purchase order confirmation batch job
Procurement and sourcingPurchase ordersPurchase order confirmation
action:PurchFormLetter_PurchaseOrder
Used by
Purchasing agent, Purchasing Agent - Public Sector, Buying agent and 7 more roles
Business process
Procure goods and services
Menu item
action:PurchFormLetter_PurchaseOrder
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 confirms approved orders and skips vendors on hold”, 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 (the Confirm purchase order dialog) that confirms many approved purchase orders at once and creates a purchase order confirmation journal for each, printed or emailed as set up.
What you do here
Use this periodic task to confirm purchase orders in bulk, often on a recurring batch schedule.
Example
For example, BEAT schedules the job every evening at 18:00 with Late selection on and vendors on hold excluded, so the 37 orders approved that day, worth 48,200.00, are confirmed and emailed to the vendors before their next-day cutoff.
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 approved purchase orders must be confirmed in bulk, for example at the end of each day or before supplier cutoff times.
How often
On a recurring schedule that fits your order volume and vendor lead times; in busy systems not more often than every 10 minutes.
Batch settings
Run it as a recurring batch job with Late selection set to Yes and vendors on hold excluded in the query.
What the output shows
Purchase orders set to Confirmed, each with a purchase order confirmation journal, printed or emailed as set up. An order that stays Approved usually failed a credit management or budget check, falls under change management, or belongs to a vendor on hold.
Current sends each confirmation as soon as its order is confirmed; After confirms all the orders first and then sends the confirmations.Microsoft Learn
Print purchase order
Prints or sends the purchase order confirmation after each order is confirmed.Microsoft Learn
Use print management destination
Uses the standard print management destination instead of the printer setup on this page.Microsoft Learn
Late selection
Picks up the most recent purchase orders each time the batch job runs.Microsoft Learn
Common errors and fixes
Message
What to do
The batch job fails when it reaches an order for a vendor on hold.
Add a join to Vendors (VendTable : InvoiceVendor) and the range Vendor hold = No in the Purchase update query. Microsoft Learn
No confirmations were sent although some orders were confirmed.
With Print set to After, or Use print management destination set to Yes, one failing order can stop sending for the whole batch. Use Current with the local printer setup. Microsoft Learn
Test checklist
Purchase order confirmations shows a journal for each order the run picked up.
Orders of vendors on hold were left out and the job didn't fail.
Confirmation emails or prints reached the destination you set.
Print = Current, Print purchase order = Yes, Use print management destination = No, Late selection = Yes, vendors on hold excluded; recurrence not more often than every 10 minutes in busy systems.Current keeps one failing order from stopping all confirmations, Late selection picks up new orders each run, and on-hold vendors otherwise make the job fail.
On the live system, Purchasing agent, Buying agent, Purchasing Agent - Public Sector, Project assistant and Retail service use this page.
Checked in Dynamics 365
Solution architect
5Design impact
Shared or per company
Per company: the job confirms purchase orders of the legal entity it runs in. Microsoft Learn
Can it be undone
Hard to reverse: Confirmed orders can't be deleted.
If you change it later
Sets the selected purchase orders to Confirmed, creates confirmation journals and accounting distributions, and runs order and budget checks where enabled. Microsoft Learn
Technical architect
6Technical
Menu item
action:PurchFormLetter_PurchaseOrderChecked in Dynamics 365
Form
PurchEditLinesChecked in Dynamics 365
Who can open it
10 security roles. Select a role to see its duties and privileges.
RoleBuying agentTradeBuyingAgent
DutyMaintain purchase ordersPurchOrderMaintain
PrivilegeProcess purchase order print/updatePurchFormLetter_PurchaseOrderProcess
RoleLanded cost agentITMAgent
DutyMaintain purchase ordersPurchOrderMaintain
PrivilegeProcess purchase order print/updatePurchFormLetter_PurchaseOrderProcess
RoleProject assistantProjProjectClerk
DutyMaintain purchase ordersPurchOrderMaintain
PrivilegeProcess purchase order print/updatePurchFormLetter_PurchaseOrderProcess
RolePurchasing agentVendPurchasingAgent
DutyMaintain purchase ordersPurchOrderMaintain
PrivilegeProcess purchase order print/updatePurchFormLetter_PurchaseOrderProcess
RolePurchasing Agent - Public SectorVendPurchasingAgent_PSN
DutyMaintain purchase ordersPurchOrderMaintain
PrivilegeProcess purchase order print/updatePurchFormLetter_PurchaseOrderProcess
PrivilegeProcess purchase order print/updatePurchFormLetter_PurchaseOrderProcess
RoleRetail serviceRetailService
DutyMaintain purchase ordersPurchOrderMaintain
PrivilegeProcess purchase order print/updatePurchFormLetter_PurchaseOrderProcess
RoleRetail store managerRetailStoreManager
DutyMaintain purchase ordersPurchOrderMaintain
PrivilegeProcess purchase order print/updatePurchFormLetter_PurchaseOrderProcess
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 itPurchasing agent VendPurchasingAgentPurchasing Agent - Public Sector VendPurchasingAgent_PSNBuying agent TradeBuyingAgentRetail service RetailServiceProject assistant ProjProjectClerkGive people one of these roles. On this system, 10 roles can run this page.Checked in Dynamics 365
Load order: Confirm purchase orders has no data entity in Data management. It confirms existing purchase orders; open orders load through Purchase order headers V2 and lines V2, and are then confirmed in the new system.Microsoft Learn
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-PO-130, Schedule the purchase order confirmation batch job. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/PS-PO-130