CashDisc::findByCompany Method
Finds the specified record in the CashDisc table.
Syntax
client server public static CashDisc findByCompany(
CompanyId _company,
CashDiscCode _cashDiscCode,
[boolean _forUpdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _company
Type: CompanyId Extended Data Type
The company ID of the cash discount record.
- _cashDiscCode
Type: CashDiscCode Extended Data Type
The cash discount ID of the cash discount record.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
- _concurrencyModel
Type: ConcurrencyModel Enumeration
A concurrency model to use; optional.
Return Value
Type: CashDisc Table
A record in the CashDisc table; otherwise, an empty record.