TAMVendRebateAgreementLine::selectRebateAgreementLine Method
Returns the rebate agreement line that is used for creating a rebate based on sales invoice record.
Syntax
server public static TAMVendRebateAgreementLine selectRebateAgreementLine(
TAMVendRebateAgreement _rebateAgreement,
VendInvoiceTrans _vendInvoiceTrans,
PurchQty _rebateQty,
PurchUnit _purchUnit,
CurrencyCode _currency,
AmountCur _rebateAmt)
Run On
Server
Parameters
- _rebateAgreement
Type: TAMVendRebateAgreement Table
A TAMVendRebateAgreement record.
- _vendInvoiceTrans
Type: VendInvoiceTrans Table
A VendInvoicetrans record.
- _rebateQty
Type: PurchQty Extended Data Type
The Rebate quantity.
- _purchUnit
Type: PurchUnit Extended Data Type
The purchase unit.
- _currency
Type: CurrencyCode Extended Data Type
The currency.
- _rebateAmt
Type: AmountCur Extended Data Type
The Rebate amount.
Return Value
Type: TAMVendRebateAgreementLine Table
Return the TAMVendRebateAgreementLine record to create a rebate for.