Share via


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

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.

See Also

Reference

InventBatch Table