Symptom
You want to change the sales order reference in an automatic created project invoice request but you get an error message 'Cannot update sales order reference; sales order items already assigned'.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to the Project Management Work Center.
- Navigate to the Invoice Preparation - Not Invoiced Time and Expenses view.
- Select project XYZ (XYZ is the identification of the project).
- Click the New - Automatic Project Invoice Request button.
- Navigate to the General tab.
- Remove sales order ID ABC (ABC is the identification of the sales order) and insert sales order ID DEF (DEF is the identification of the sales order), then you will get the error.
Cause
The error message states that the line items mentioned in the project invoice request XYZ belong to the sales order which is currently maintained in the Sales Order field.
If you now try to change the sales order reference to DEF the system will first check the line items in the project invoice request and as they belong to the sales order ABC system will throw the error message.
Resolution
You first need to delete the line items in the Items tab for the project invoice request and then insert the sales order ID DEF in the General tab.
Keywords
Cannot Update Sales Order Reference, Sales Order Items Already Assigned, Project Invoice Request , KBA , AP-PRO , Project Processing , How To