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, “Recalculate an invoice remainder and post the invoice”, 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 correction page where you fix purchase order lines whose status or deliver and invoice remainders don't match their inventory transactions, by recalculating them or editing the remainders directly.
What you do here
Use it when a purchase order can't be invoiced, finalized or closed because of inconsistent line data. It writes straight to the line, so only people who repair purchase order data should have it.
Example
For example, invoicing purchase order PO-003051 for vendor BEAT-000123 stops with the message that the quantity can't be invoiced because inventory transactions with a status of Received are insufficient. The administrator opens line 2 here, sees an invoice remainder of 25.00 against 20.00 received, recalculates the invoice remainder, and the invoice posts.
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 a purchase order line shows wrong remainders or status, for example the order can't be invoiced or finalized because of inconsistent data.
How often
On demand, only for purchase orders with data discrepancies.
What the output shows
The selected purchase order line with recalculated or corrected status and remainder quantities, and the header status updated to match.
Repair the status and remainders of a purchase order line so the order can be invoiced, finalized or closed.
Steps from Microsoft
Go to Procurement and sourcing > Periodic tasks > Clean up > Correct purchase order lines manually.
In the Purchase order field, select the purchase order that can't be invoiced, finalized or canceled.
In the Purchase order lines section, select the line with the discrepancy and compare it with the Inventory transactions section.
On the Action Pane, select Recalculate, then Recalculate deliver remainder, Recalculate invoice remainder or Recalculate status. The remainder recalculations work only for stocked items, not for non-stocked or catch-weight items.
If the remainders are still wrong, edit Deliver remainder, Inventory deliver remainder, Invoice remainder or Inventory invoice remainder directly.
Return to the purchase order and retry the step that failed, such as invoicing or finalizing.
Use the Recalculate actions first and edit the remainder fields directly only if the line still doesn't match its inventory transactions.Recalculation updates line and header status from the existing logic; a hand-typed remainder is only as right as the person who types it.
On the live system no security role includes this page. An administrator must grant the Correct purchase order lines manually duty or privilege on purpose, and only to the people who repair purchase order data.
Reversible with effort: No undo action; recalculate again or edit the fields back.
If you change it later
Changes the status and deliver or invoice remainders of the selected purchase order line, and the order header status is updated to match the new line status. Microsoft Learn
Technical architect
6Technical
Menu item
PurchLineManualCorrectionChecked in Dynamics 365
Form
PurchLineManualCorrectionChecked in Dynamics 365
Table
PurchLineShown as “Purchase order lines” in Record infoKey field: PurchId, LineNumberChecked in Dynamics 365
No security role holds the privileges that grant this page, so only the System administrator role, which is not limited by security, can open it. To give it to others, add one of these privileges to a role.
PrivilegeCorrect purchase order lines manuallyPurchLineManualCorrection
RoleSystem administrator-SYSADMIN-
Checked against Microsoft's standard security setup and a working Dynamics 365 system (version 10.0.49): no role holds these privileges
PurchPurchaseOrderLineV2Entity Loads open purchase order lines. This page only repairs lines after they exist.Load order: Load vendors and released products first, then purchase order headers, then purchase order lines with Purchase order lines V2 before cut-over. Use this page only afterwards, to repair single lines whose remainders don't match their inventory transactions.Load first: Vendors, Released products, Purchase order headersMicrosoft data model