Share via


TAMVendRebateAgreementLine::selectRebateAgreementLineMax Method

Returns the rebate agreement line that has the maximum rebate line break to be is used for creating a rebate based on sales invoice record.

Syntax

server public static TAMVendRebateAgreementLine selectRebateAgreementLineMax(
    TAMVendRebateAgreement _rebateAgreement, 
    VendInvoiceTrans _vendInvoiceTrans, 
    PurchQty _rebateQty, 
    PurchUnit _purchUnit, 
    CurrencyCode _currency, 
    AmountCur _rebateAmt)

Run On

Server

Parameters

Return Value

Type: TAMVendRebateAgreementLine Table
Return the TAMVendRebateAgreementLine record to create a rebate for.

See Also

Reference

TAMVendRebateAgreementLine Table