Purchase Order Requests list form:
- “Delete Qty from Sale Order” radio button:
- was added to the “Delete Purchase Order Requests” panel;
- was added next to the “Unreserve from Sale Order” action;
- if was checked at least one POR with the type “Direct Sales PO” -> the action is displayed;
- if the radio button is selected, after clicking on the “Continue” button:
- If POR is linked to SO:
- the PO Request is deleted;
- if POR is fully linked to a line item in SO:
- the line item is deleted from the linked Sale Order;
- if POR is partially linked to a line item in SO:
- the line item is decreased from SO;
- the decreased qty = deleted POR qty;
- The log is added to SO:
- [Item Name] was deleted
- POR-XXXX was deleted.
- Reason: [];
- if POR is linked to WO/Item:
- the PO Request is deleted;
- if POR is linked to AO:
- the AO is in Blocking documents;
- the AO is in Blocking documents;
- If POR is linked to SO: