PdsBatchAttributes::pdsCheckBatchAtribReserve Method
Determines whether the inventory batch can be reserved based on batch attributes.
Syntax
client server public static boolean pdsCheckBatchAtribReserve(
ItemId _itemId,
CustAccount _custAcct,
InventBatchId _inventBatchId,
[TmpPdsBatchAttribSelect _prevAttrSel])
Run On
Called
Parameters
- _itemId
Type: ItemId Extended Data Type
The item for which to retrieve batch attributes.
- _custAcct
Type: CustAccount Extended Data Type
The customer for which to retrieve batch attributes.
- _inventBatchId
Type: InventBatchId Extended Data Type
The inventory batch to validate.
- _prevAttrSel
Type: TmpPdsBatchAttribSelect Table
A PdsBatchAttribAttribSelect record that will be used instead of standard attributes; optional.
Return Value
Type: boolean
true if the inventory batch can be reserved; otherwise, false.
Remarks
This method lets the user use the attribute list from the batch attributes reservation form instead of the standard attribute combinations from item and customer attributes.