Symptom
How to maintain the Reason for Rejection in Project Based Sales Order items.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to the Sales Order work center.
- Go to the Sales Order view.
- Search for ABC (ABC represents the Sales Order's ID).
- Click in Edit button.
- Click in View All button.
- Navigate to Items tab.
- Select the item line which is of type project based items like Service - fixed price (project), Service - time and material (project), etc.
You can see that the Reason for Rejection is no longer editable.
Cause
Cause 1:
The Sales Order cannot be canceled if it is invoiced or it is delivery finished. The Reason for rejection field of the sales order item could be set/editable only if the invoicing status is Not Started and delivery is not Finished.
Cause 2:
The Delivery status is finished as the relevant project tasks has the status Closed or Completed, you have to revoke the closure for the project and cancel the sales order.
Resolution
Resolution for Cause 1:
To revoke the Invoice status, you have to make Invoice Status as Not Started for that you have to cancel the follow-up documents like project invoice request and customer invoice.
To revoke the Delivery status, you need to edit the referenced project task, change the status back to Release by selecting Revoke Close/Completion.
Once these are done, the Reason for Rejection field will be enabled, and you can maintain a value to cancel the line.
If you want to cancel the entire sales order then you have to revert all the items Invoice Status as Not Started.
Please note, that are not able to revoke the completion status in project tasks if there are Project Invoice Requests with the status In Preparation. In this case you will have to delete these Project Invoice Requests first or Invoice them.
Resolution for Cause 2:
- Go to the Project Management work center.
- Go to the Projects view.
- Find relevant project.
- Go to Project Plan tab then select the Revoke Closure/revoke completion in Project Status.
- Ensure the status of project task is released
- Save.
After this, we expect the delivery status of the sales order to be in 'Not started' status ,so you can set the Reason for Rejection on item level of the sales order,and finish the Customer Invoice to complete the sales order.
Once done you can complete/close the project using same steps by selecting complete/close in Project status.
See Also
For cancellation of non-project based items in Sales Order, please refer to KBA 1755905 - You are not able to Cancel a Sales Order
Keywords
Project, Sales Order, Reason for Rejection, Revoke Closure , KBA , AP-SLO-PRO , Sales order project processing , How To