SalesTable::findSalesIdLocationSalesType Method
Finds a SalesTable record, depending on the specified sales ID, location, and sales type.
Syntax
client server public static SalesTable findSalesIdLocationSalesType(
SalesId salesId,
RetailLocationEx2 location,
SalesType salesType,
[boolean _forUpdate])
Run On
Called
Parameters
- salesId
Type: SalesId Extended Data Type
A sales ID.
- location
Type: RetailLocationEx2 Extended Data Type
A location.
- salesType
Type: SalesType Enumeration
A sales type.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: SalesTable Table
A SalesTable record if found; otherwise, an empty record.