InventBatch::validateVendBatchId Method
Verifies whether the specified vendor batch number is valid for the specified product or batch.
Syntax
client server public static boolean validateVendBatchId(
ItemId _itemId,
InventBatchId _inventBatchId,
PdsVendBatchId _vendBatchId)
Run On
Called
Parameters
- _itemId
Type: ItemId Extended Data Type
Product number.
- _inventBatchId
Type: InventBatchId Extended Data Type
Batch number (optional).
- _vendBatchId
Type: PdsVendBatchId Extended Data Type
Vendor batch number.
Return Value
Type: boolean
true if the specified vendor batch number is valid; otherwise false.
Remarks
If the batch number parameter is not specified then the validation will succeed if the specified vendor batch number is valid for any of the product's batches.
If the vendor batch number is not specified the validation will succeed.