SalesTable::findSalesIdSalesType Method
Finds a SalesTable record, depending on the specified sales ID and sales type.
Syntax
client server public static SalesTable findSalesIdSalesType(
SalesId salesId,
SalesType salesType,
[boolean _forUpdate])
Run On
Called
Parameters
- salesId
Type: SalesId Extended Data Type
A sales ID.
- 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.