BeyondERP.Newsletter
Menu

Setup step on the Confirm purchase orders page · Procurement and sourcing

Schedule the purchase order confirmation batch job

Use the job to confirm approved purchase orders in bulk on a schedule.

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 isA 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 hereUse this periodic task to confirm purchase orders in bulk, often on a recurring batch schedule.
ExampleFor 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.
Confirm purchase orders 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 approved purchase orders must be confirmed in bulk, for example at the end of each day or before supplier cutoff times.
How oftenOn a recurring schedule that fits your order volume and vendor lead times; in busy systems not more often than every 10 minutes.
Batch settingsRun it as a recurring batch job with Late selection set to Yes and vendors on hold excluded in the query.
What the output showsPurchase 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.

Source: Microsoft Learn

Setup steps on this page

Schedule the purchase order confirmation batch job

Use the job to confirm approved purchase orders in bulk on a schedule.

Steps from Microsoft

  1. Go to Procurement and sourcing > Purchase orders > Purchase order confirmation > Confirm purchase orders.
  2. On the Settings FastTab, set Print to Current to send each confirmation as soon as its order is confirmed, or After to confirm all orders first.
  3. Set Print purchase order to Yes and Use print management destination to No if confirmations are emailed through Printer setup.
  4. Set Late selection to Yes so each run picks up the newest approved orders.
  5. Select Select, join Vendors through VendTable : InvoiceVendor and add the range Vendor hold = No, because the job fails on vendors on hold.
  6. Schedule it as a recurring batch job and review the results in Purchase order confirmations.

Source: Microsoft Learn

Fields on the page

FieldWhat it means
PrintCurrent 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 orderPrints or sends the purchase order confirmation after each order is confirmed.Microsoft Learn
Use print management destinationUses the standard print management destination instead of the printer setup on this page.Microsoft Learn
Late selectionPicks up the most recent purchase orders each time the batch job runs.Microsoft Learn

Common errors and fixes

MessageWhat 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

  1. Purchase order confirmations shows a journal for each order the run picked up.
  2. Orders of vendors on hold were left out and the job didn't fail.
  3. Confirmation emails or prints reached the destination you set.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Schedule the purchase order confirmation batch jobPrint = 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.How are confirmations sent to vendors?Looking for earlier runs on an order's Confirmations page; it only holds the staging records of the current run. The history is in Purchase order confirmations.Test: Batch confirms approved orders and skips vendors on hold

Feature management and licence

Licence or add-inOn 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 companyPer company: the job confirms purchase orders of the legal entity it runs in. Microsoft Learn
Can it be undoneHard to reverse: Confirmed orders can't be deleted.
If you change it laterSets 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 itemaction:PurchFormLetter_PurchaseOrder Checked in Dynamics 365
FormPurchEditLines Checked 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
  • RoleRental coordinator agentRentalCoordinatorAgent
    • DutyMaintain purchase ordersPurchOrderMaintain
      • PrivilegeProcess purchase order print/updatePurchFormLetter_PurchaseOrderProcess
    • DutyMaintain rental purchase ordersRentalPurchOrderMaintain
      • PrivilegeProcess purchase order print/updatePurchFormLetter_PurchaseOrderProcess
  • RoleRental managerRentalManager
    • DutyMaintain purchase ordersPurchOrderMaintain
      • PrivilegeProcess purchase order print/updatePurchFormLetter_PurchaseOrderProcess
    • DutyMaintain rental purchase ordersRentalPurchOrderMaintain
      • PrivilegeProcess purchase order print/updatePurchFormLetter_PurchaseOrderProcess
  • RoleRental purchasing managerRentalPurchasingManager
    • DutyMaintain purchase ordersPurchOrderMaintain
      • 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 itTo 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
Developer

7Developer

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

8Sources

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