Symptom
You have created a Work Distribution Rule for Sales Unit for Sales to enable the automatic determination of the sales unit in the sales order, however, a new sales order is still not determining the sales unit automatically determines a different Sales Unit than expected.
Environment
SAP Business ByDesign
Reproducing the Issue
Follow the steps below to reproduce the issue:
- Go to the Sales Orders work center.
- Create a New Sales Order from Common Tasks.
- Add the Account in the sales order.
- You find that the Sales Unit is not picked automatically in the sales order or a different Sales Unit than expected is determined.
Follow the steps below to check if the Work Distribution Rule (Sales Unit for Sales) is maintained:
- Go to the Organizational Management work center.
- Go to the Work Distribution view.
- Go to the Organizational Work Distribution subview.
- Select Sales Unit for Sales.
- Select the Edit button.
- You find that the required rule is already maintained.
Cause
In the Work Distribution rule (i. e. Sales Unit for Sales) created, you have added the condition of company,
according to rule if the seller company in the sales order is XYZ then pick the sales unit ABC (XYZ represents the ID of seller company and ABC represents the ID of the sales unit).
If you try to create the sales order and add the Seller company manually in the Involved Party tab then the sales unit ABC will be picked automatically (as the rule suggest if company = XYZ, then pick sales unit = ABC).
Now you may have a question that why Seller company is not getting picked in the sales order first, follow the below steps to understand this point:
- Go to the Business Configuration work center.
- Go to the Overview view.
- Search for the Involved Parties for Sales Orders activity.
- Open the activity and select Seller -> Select Maintain Determination button.
- You can see the determination selected is based on Company of Sales Unit.
Due to the above configuration whenever you try to create the sales order, system will only pick the Seller if the Sales Unit is added.
But due to the rule maintained in the Work Distribution (Sales Unit for Sales), the Sales Unit will only be picked in the order if Company (Seller) is available in the sales order.
Resolution
To clear this deadlock situation, you can remove the condition for Company from the Work Distribution rule (Sales Unit for Sales) and maintain a different condition that applies for your scenario:
- Go to the Organizational Management work center.
- Go to the Work Distribution view.
- Go to the Organizational Work Distribution subview.
- Select the Sales Unit for Sales.
- Select the Edit button.
- Remove the company condition from Company subtab.
- Save your changes.
Or alternatively ensure that the company is determined first and not based on the Sales Unit in the Involved Parties for Sales Orders activity by activating step Step 5 -> Company of Logged on User for the Seller Party.
With the above changes, now if you create a sales order, the sales unit will be determined as expected.
See Also
See also the following Blog for more details: Party Role Determination in a Sales Document
Keywords
Seller; Company; Sales Unit; Work Distribution Rule; wrong; determined; incorrect , KBA , AP-SLO-SO , Sales Order , How To