For the bulk assign actions “Create PO Request” or “Use In Stock & Create PO Request” for the group of Items to the Actions multi-button on the SO edit form were added buttons:
- Create PO Request button
- disabled if no one item is checked
- after clicking on the action, for all checked items should be selected Create PO Request action
- “Use in stock & create PO request”
- disabled if no one item is checked
- after clicking on the action:
- if item fully in stock or non inventory/service item with switched of “Create PO request” checkbox:
- will be selected “Use in stock” action
- if item not in stock or non inventory/service item with switched on “Create PO request” checkbox:
- will be selected “Create PO request” action
- if item fully in stock or non inventory/service item with switched of “Create PO request” checkbox: