Skip to content

Commit 9a93994

Browse files
authored
Updates from editor
1 parent 2be3201 commit 9a93994

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

support/dynamics-365/supply-chain/procurement/po-workflow-accounting-distribution.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,50 @@
11
---
2-
title: Accounting distribution validation failed error
3-
description: Solves an issue where you can't submit a purchase order for approval after updating a purchase order.
2+
title: Accounting Distribution Validation Failed Error
3+
description: Solves an issue where you can't submit a purchase order for approval after it's updated.
44
ms.reviewer: shubhamshr
5-
ms.date: 05/15/2025
5+
ms.date: 05/19/2025
66
ms.custom: sap:Purchase order procurement and sourcing\Issues with purchase orders
77
---
88
# Workflow approval fails with the "Accounting distribution validation failed" error
99

10-
This article addresses an issue where the workflow approval process for a purchase order fails due to unvalidated accounting distributions. The error occurs when a purchase order is modified and resubmitted without validating accounting distributions, causing the workflow process to stop.
10+
This article addresses an issue where the workflow approval process for a purchase order fails due to unvalidated accounting distributions. The error occurs when the purchase order is modified and resubmitted without the validating accounting distributions, causing the workflow process to stop.
1111

1212
## Symptoms
1313

14-
When you submit a purchase order for approval after [setting it back to Draft](/dynamics365/supply-chain/procurement/purchase-order-approval-confirmation#changing-purchase-orders) and modifying the line item (for example, changing the unit price or the confirmed receipt date), the workflow approval process fails with the following error:
14+
After [setting a purchase order back to "Draft"](/dynamics365/supply-chain/procurement/purchase-order-approval-confirmation#changing-purchase-orders) and modifying the line items (for example, changing the unit price or the confirmed receipt date), when you submit the purchase order for approval, the workflow approval process fails with the following error:
1515

1616
> Stopped (error): Accounting distribution validation failed. Please recall purchase order workflow and rectify accounting distributions. This action can only be completed after the line number 1 is fully distributed.
1717
1818
### Steps to reproduce
1919

2020
1. Create and approve a purchase order for a vendor with change management enabled.
2121
2. Confirm the purchase order.
22-
3. Request a change to revert the purchase order to Draft status.
23-
4. Modify the line item, such as changing the unit price or the confirmed receipt date.
24-
5. Resubmit the purchase order for workflow approval without saving the line item beforehand.
22+
3. Request a change to revert the purchase order to "Draft" status.
23+
4. Modify the line items, for example, changing the unit price or the confirmed receipt date.
24+
5. Resubmit the purchase order for workflow approval without first saving the line items.
2525
6. Observe that the workflow approval fails with the error.
2626

2727
## Cause
2828

29-
When the **Auto calculate totals and accounting distributions** feature is enabled, the system automatically recalculates purchase order totals and accounting distributions when a purchase order is submitted to workflow. This recalculation is part of the workflow validation process and any validation errors will surface in the workflow history. For more information about the feature, see [Procurement and sourcing feature updates](/dynamics365/release-plan/2023wave2/finance-supply-chain/dynamics365-supply-chain-management/procurement-sourcing-feature-state-updates-10036#features-becoming-generally-available-with-the-10036-release).
29+
When the **Auto calculate totals and accounting distributions** feature is enabled, the system automatically recalculates the purchase order totals and accounting distributions when a purchase order is submitted to the workflow. This recalculation is part of the workflow validation process, and any validation errors are displayed in the workflow history. For more information about the feature, see [Procurement and sourcing feature updates](/dynamics365/release-plan/2023wave2/finance-supply-chain/dynamics365-supply-chain-management/procurement-sourcing-feature-state-updates-10036#features-becoming-generally-available-with-the-10036-release).
3030

31-
If there are accounting distribution errors, such as missing financial dimensions or invalid combinations, the system generates a warning or error and prevents the workflow submission until the issue is resolved.
31+
If accounting distribution errors occur, such as missing financial dimensions or invalid combinations, the system generates a warning or error and prevents the workflow submission until the issue is resolved.
3232

3333
## Workaround
3434

35-
To avoid workflow failures due to unvalidated accounting distributions, you can disable the auto calculation feature. This ensures that errors in accounting distributions are identified and resolved before the workflow submission.
35+
To avoid workflow failures due to unvalidated accounting distributions, you can disable the auto calculation feature. This action ensures that errors in accounting distributions are identified and resolved before the workflow submission.
3636

3737
1. Navigate to **Accounts Payable** > **Setup** > **Parameters**.
3838
2. Select the **General** tab.
3939
3. Locate the **Purchase Order Workflow** section.
4040
4. Disable the **Auto calculate totals and accounting distributions** parameter.
4141
5. Save your changes.
4242

43-
By disabling this parameter, the system will prevent you from submitting the purchase order to workflow if there are accounting distribution errors. Instead, it will display a warning, requiring you to fix the distribution errors first. Once the errors are resolved, you can submit the purchase order to workflow, and it will proceed without issues.
43+
By disabling this parameter, the system prevents you from submitting a purchase order to the workflow if there are accounting distribution errors. Instead, it displays a warning, requiring you to fix the distribution errors first. Once the errors are resolved, you can submit the purchase order to the workflow, and it will proceed without issues.
4444

4545
## Additional considerations
4646

47-
If disabling the **Auto calculate totals and accounting distributions** parameter isn't an acceptable option for your organization, ensure that all accounting distribution errors are resolved before submitting the purchase order to workflow.
47+
If disabling the **Auto calculate totals and accounting distributions** parameter is unacceptable to your organization, ensure that all accounting distribution errors are resolved before submitting the purchase order to the workflow.
4848

4949
- Ensure that all required financial dimensions are correctly assigned to the accounting distributions.
5050
- After modifying the purchase order line items, make sure to manually save the changes.

0 commit comments

Comments
 (0)