MCRCustCreditTable::findByOrigSalesIDTransID Method
Finds the applicable MCRCustCreditTable based on the passed SalesID and InventTransID.
Syntax
client server public static MCRCustCreditTable findByOrigSalesIDTransID(SalesId _salesId, InventTransId _inventTransId)
Run On
Called
Parameters
- _salesId
Type: SalesId Extended Data Type
The SalesID of the sales order for which a customer credit was applied.
- _inventTransId
Type: InventTransId Extended Data Type
The InventTransID of the sales order for which a customer credit was applied.
Return Value
Type: MCRCustCreditTable Table
The price match record that was created for the passed sales ID and inventTransID. Does not return the credit for the sales order that a credit was applied to.