Verifying OrderRequestItem by id
Once the requested quantity_on_hand has been withdrawn, the "new object" is an item of the order request. Verify request item UI should allow using orderRequestItem.id
because this ID is the unique identifier of the item.
OrderRequestItem
labels and barcodes
The barcode for individual OrderRequestItem
will use ORI:
prefix (ORI:{orderRequestItem.id}
).
When the scanned barcode starts with ORI:
the code must search for OrderRequestItem
with the id
from the scanned value.
Manual selection
In the form, include a dropdown before the scanner with options:
- Inventory
- Request Item
to let the user select what barcodes they are scanning -- in case they are not using the ORI:
prefix. When Request Item is selected, the code looks for ORI
, otherwise for Inventory
.