Share via


MCRCustCreditTable::findByVoucher Method

Finds the applicable MCRCustCreditTable record based on the sales order's Voucher number.

Syntax

client server public static MCRCustCreditTable findByVoucher(Voucher _voucher, boolean _forUpdate)

Run On

Called

Parameters

  • _forUpdate
    Type: boolean
    The Boolean used to determine if the record is selected for update.

Return Value

Type: MCRCustCreditTable Table
Returns the credit record that was created for the passed voucher.

Remarks

Does not return the credit for the sales order that a credit was applied to.

See Also

Reference

MCRCustCreditTable Table