Web service does not consider correct Price List for a Sales Document.
SAP Business ByDesign.
Reproducing the Issue
- Go to work center Sales Orders.
- Go to view Sales Orders.
- Select the Sales Order XYZ with status In Preparation. (XYZ represents the Sales Order ID created via web service).
- Click on Edit and View All buttons.
- Navigate to Items Tab.
The Item List Price is not cheapest one according to maintained on the Price Lists.
In the payload, only account ID and product ID information is being provided. Based on this the system is only able to identify the Base Price List since Base PL needs only Product ID.
In order to get the Customer Group Specific List, Customer Group is a mandatory field which is not being passed in the payload and hence the system is not able to retrieve that information.
When we create any Sales Document, Sales Organization and Distribution Channel are automatically picked up, which in turn determines the Customer Group, so this issue will not happen when creating a Sales Doc.
Since in the webservice we explicitly provide info about the fields, Customer Group Specific Price List would need Sales Org and Dist. Channel information to be provided in the payload for it to determine the Customer Group and fetch the correct price value in return.
Base price list; Sales Order; Price List; Web Services; XML , KBA , SRD-CRM-ORD , Orders & Contracts , How To