You have created a sales order with 3 line items among which only one sales order line item has green ATP status and the other two line items have red ATP status.
In the sales order, you have selected the Complete Delivery check box and Single Delivery-Full Quantity setting.
Reproducing the Issue
- Go to the Sales Orders work center.
- Go to the Sales Orders view.
- Show All Sales Orders.
- Search and open the Sales Order XYZ (XYZ represents the affected Sales Order).
- Go to the Items tab.
Check the affected Items. Some of them have been delivered in partial quantities and not in full quantities. The Delivery status is set to Finished.
Ideally Sales Order should not be Released in the Customer Demand unless all the line items have green ATP status although the Release button is still enabled.
If you perform Force Confirmation in Actions then the Customer Demand will be Released without any errors.
The reason why the Sales Order has the status Completed even though the Products have been only partially delivered is because of the Delivery Rule you have set for the Sales Order.
The Delivery Rule for Sales Order line items is defined as Single Delivery - Full Quantity, this means that you are expecting/or you intend to delivery all the Products in the Sales Order only in a Single Delivery.
So once a single Outbound Delivery is created against the Sales Order with this Delivery Rule, the Delivery status of the Sales Order will be updated to Finished. Therefore the status of the Sales Order is also Completed.
System is behaving as expected.
KBA , AP-SLO , Sales Order Processing , How To