SalesLine::findItemIdVariantId Method
Finds the specified record in the SalesLine table.
Syntax
client server public static SalesLine findItemIdVariantId(
SalesId salesId,
ItemId itemId,
RetailVariantId variantId,
[LineNum lineNum,
boolean update])
Run On
ClientOrServer
Parameters
- salesId
Type: SalesId Extended Data Type
A SalesId value.
- itemId
Type: ItemId Extended Data Type
An ItemId value.
- variantId
Type: RetailVariantId Extended Data Type
A RetailVariantId value.
- lineNum
Type: LineNum Extended Data Type
A line number; optional.
- update
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: SalesLine Table
A record in the SalesLine table; otherwise, an empty record.