InventItemBarcode::findRetail Method
Finds the specified record in the InventItemBarcode table for the specified variant number and unit.
Syntax
server public static InventItemBarcode findRetail(
ItemId itemId,
RetailVariantId variantId,
UnitOfMeasureSymbol unitId,
RetailShowForItem showForItem,
[boolean _update])
Run On
Server
Parameters
- itemId
Type: ItemId Extended Data Type
The ID of the item.
- variantId
Type: RetailVariantId Extended Data Type
The ID of the variant.
- unitId
Type: UnitOfMeasureSymbol Extended Data Type
The ID of the unit.
- showForItem
Type: RetailShowForItem Extended Data Type
A Boolean value that indicates whether to show the product.
- _update
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: InventItemBarcode Table
A record in the InventItemBarcode table; otherwise, an empty record.