Finds the specified record in the InventItemBarcode table for the specified variant and bar code.
Syntax
server public static InventItemBarcode findRetailUseForPrinting(
ItemId itemId,
RetailVariantId variantId,
UnitOfMeasureSymbol unitId,
UseForPrinting useForPrinting,
[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.
- useForPrinting
Type: UseForPrinting Extended Data Type
A Boolean value that indicates whether to use for printing.
- _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.