VendTransCashDisc::findLargestCashDisc Method
Finds the VendTransCashDisc record with the largest applicable discount.
Syntax
client server public static VendTransCashDisc findLargestCashDisc(TableId _refTableId, RefRecId _refRecId)
Run On
Called
Parameters
- _refTableId
Type: TableId Extended Data Type
The reference table ID of the VendTransCashDisc record to find.
- _refRecId
Type: RefRecId Extended Data Type
The reference record ID of the VendTransCashDisc record to find.
Return Value
Type: VendTransCashDisc Table
The VendTransCashDisc record that is found for the open transaction record.