Purchasing agent, Purchasing Agent - Public Sector, Buying agent and 7 more roles
Business process
Manage open purchases
Menu item
action:PurchFinalizeService
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, “Finalize a purchase order whose remaining quantity was canceled”, 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 that sets the purchase orders you select to the approval status Finalized. A finalized purchase order is financially closed and can no longer be changed or processed further.
What you do here
Use it to close, in one run, purchase orders that are fully invoiced or whose remaining quantity was canceled, instead of finalizing each order by hand. It is one-way, so agree the selection with purchasing and finance and try it in a copy of production first.
Example
For example, BEAT canceled the remaining 40.00 units on purchase order PO-001234 for vendor BEAT-000123 after the vendor discontinued the item. At month end the purchasing manager finalizes PO-001234 together with 11 other fully invoiced orders of that vendor in one run, so nobody can receive or invoice against them again.
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 the remaining quantity of the selected orders was canceled, or they are fully received and invoiced, and nothing more will be processed on them.
How often
On demand, for example once a month as part of closing purchase orders that are done.
Batch settings
Run it in the background for large selections so the orders are finalized in one job outside working hours.
What the output shows
Purchase orders with approval status Finalized: financially closed and no longer changeable. An order whose source document header is still In process isn't finalized and is reported with that reason.
Close purchase orders for good once nothing more will be received, invoiced or canceled on them.
Steps from Microsoft
Go to Procurement and sourcing > Periodic tasks > Finalize purchase orders.
Before the run, cancel the remaining quantity on each order you want to close, or make sure it is fully received and invoiced. After an order is confirmed you can't delete it, but you can cancel the remaining quantity and then finalize it.
Enter the Accounting date for the run.
Decide on Only entire purchase order and Only completed lines, then limit the selection to the orders you agreed to close, for example vendor BEAT-000123.
Try the same selection in a copy of production, then run it in production and open each order to check that its approval status is Finalized.
The accounting date the finalize run uses. The dialog proposes today's date.Checked in Dynamics 365
2026-12-31
Only entire purchase order
Yes/No option, No by default. Set it to Yes to finalize a purchase order only as a whole order.Checked in Dynamics 365
Yes
Only completed lines
Yes/No option, No by default. Set it to Yes to limit the run to purchase order lines that are completed.Checked in Dynamics 365
No
Common errors and fixes
Message
What to do
Purchase order <OrderNumber> was not finalized. Source document header has status In process.
The order was canceled but its source document didn't complete. Open the order, select Request change, submit it to workflow and get it approved, confirm it again, and then finalize it. Microsoft Learn
The Finalize action is unavailable, or the order can't be closed, because its line remainders don't match the inventory transactions.
Recalculate or correct the lines in Correct purchase order lines manually, then finalize the order again. Microsoft Learn
Test checklist
Count the orders in your selection, for example 12 orders of vendor BEAT-000123.
Run the job for that selection in a copy of production.
Open All purchase orders and filter on vendor BEAT-000123 and approval status Finalized.
Check that the list shows 12 orders, less any order the run reported as not finalized.
Run it on an agreed, filtered set of orders that are fully invoiced or whose remaining quantity was canceled, and try the same selection in a copy of production first.Finalized orders are financially closed and can no longer be changed, so an order finalized too early can't take its remaining receipt or invoice.
On the live system, 10 security roles can run this page, among them Purchasing agent, Purchasing Agent - Public Sector, Buying agent, Retail service and Project assistant.
Checked in Dynamics 365
Solution architect
5Design impact
Shared or per company
Per company: it finalizes purchase orders of the legal entity you run it in. Checked in Dynamics 365
Can it be undone
Irreversible: A finalized purchase order is financially closed and can no longer be changed.
If you change it later
Sets the selected purchase orders to approval status Finalized. They are financially closed, can no longer be changed and get no further processing, so no later receipt, invoice or cancellation can be posted against them. Microsoft Learn
Technical architect
6Technical
Menu item
action:PurchFinalizeServiceChecked in Dynamics 365
Form
SysOperationTemplateFormChecked in Dynamics 365
Who can open it
10 security roles. Select a role to see its duties and privileges.
RoleBuying agentTradeBuyingAgent
DutyMaintain purchase ordersPurchOrderMaintain
PrivilegeFinalize purchase orderPurchFinalize
RoleLanded cost agentITMAgent
DutyMaintain purchase ordersPurchOrderMaintain
PrivilegeFinalize purchase orderPurchFinalize
RoleProject assistantProjProjectClerk
DutyMaintain purchase ordersPurchOrderMaintain
PrivilegeFinalize purchase orderPurchFinalize
RolePurchasing agentVendPurchasingAgent
DutyMaintain purchase ordersPurchOrderMaintain
PrivilegeFinalize purchase orderPurchFinalize
RolePurchasing Agent - Public SectorVendPurchasingAgent_PSN
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: Finalize purchase orders has no data entity in Data management. It holds no data of its own; it changes the status of existing purchase orders. Don't use it as part of a data load: migrate open purchase orders first and finalize them in the new system only when they are done.Checked in Dynamics 365