MCRCustPaymTable::selectFirstByIDAndType Method
Returns the first record in the payment table that has the passed sales ID and payment type.
Syntax
client server public static MCRCustPaymTable selectFirstByIDAndType(
RecId _recId,
TableId _tableId,
MCRCustPaymType _paymType)
Run On
Called
Parameters
- _recId
Type: RecId Extended Data Type
The record ID used to find the applicable MCRCustPaymTable record.
- _tableId
Type: TableId Extended Data Type
The table ID used to find the applicable MCRCustPaymTable record.
- _paymType
Type: MCRCustPaymType Enumeration
The type of payment used to find the applicable MCRCustPaymTable record.
Return Value
Type: MCRCustPaymTable Table
The first record in the payment table that has the passed sales ID and payment type.
Exceptions
Exception | Condition |
---|---|
Error | _recId, _tableId, and _paymType are required, throw error if not provided. |