RetailCashDeclaration::find Method
Finds the specified record in the RetailCashDeclaration table by using the specified parameter values.
Syntax
client server public static RetailCashDeclaration find(
RetailStatementId _statementId,
CurrencyCode _currencyCode,
RetailCoinNoteTotal _type,
AmountCur _amountCur,
LineNum _lineNum,
RetailTotalLine _totalLine,
[boolean _forUpdate])
Run On
Called
Parameters
- _statementId
Type: RetailStatementId Extended Data Type
The statement number of the cash declaration record to find.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency of the cash declaration record to find.
- _type
Type: RetailCoinNoteTotal Extended Data Type
The type of the cash declaration record to find.
- _amountCur
Type: AmountCur Extended Data Type
The amount in transaction currency of the cash declaration record to find.
- _lineNum
Type: LineNum Extended Data Type
The line number of the cash declaration record to find.
- _totalLine
Type: RetailTotalLine Extended Data Type
The total line of the cash declaration record to find.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: RetailCashDeclaration Table
A record in the RetailCashDeclaration table; otherwise, an empty record.