Sales Order List form:
- “Close” button:
- was added to the button panel at the top;
- was added for the tabs:
- If the “Show buckets as tabs on PO/SO” checkbox is checked:
- Pending PO;
- In Process;
- Ready To Ship;
- Partial Shipped;
- Shipped;
- If the “Show buckets as tabs on PO/SO” checkbox is unchecked:
- Open;
- If the “Show buckets as tabs on PO/SO” checkbox is checked:
- if at least on Order is checked -> the button is clickable;
- after clicking on the button:
- OMS pop-up is opened:
- Text: “Not Shipped qty will voided and unallocated to stock. Are you sure you want to close Sale Orders?”;
- Required “Reason” textarea;
- Buttons:
- Cancel:
- is always clickable;
- after clicking on the button -> the pop-up is closed and Order isn’t closed;
- OK:
- if the “Reason” textarea isn’t empty -> the button is clickable;
- after clicking:
- the pop-up is closed;
- Order is in status “Closed”;
- The filled Reason is displayed in logs on the Sale order edit form.
- Cancel:
- OMS pop-up is opened: