MCRCustCreditTable::findByRecID Method
Finds the MCRCustCreditTable record based on the SalesTable RecID.
Syntax
client server public static MCRCustCreditTable findByRecID(RecId _recId, boolean _forUpdate)
Run On
Called
Parameters
- _recId
Type: RecId Extended Data Type
The SalesTable RecID to find the applicable MCRCustCreditTable record.
- _forUpdate
Type: boolean
The Boolean used to determine if the record is selected for update; optional.
Return Value
Type: MCRCustCreditTable Table
The credit record that was created for the passed sales ID.
Remarks
Does not return the credit for the sales order that a credit was applied to.