Compartir a través de


PdsRebateAgreementLine::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 PdsRebateAgreementLine selectRebateAgreementLineMax(
    PdsRebateAgreement _rebateAgreement, 
    InventDim _inventDim, 
    ItemId _itemId, 
    SalesQty _rebateQty, 
    SalesUnit _salesUnit, 
    CurrencyCode _currency, 
    AmountCur _rebateAmt)

Run On

Server

Parameters

Return Value

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

See Also

Reference

PdsRebateAgreementLine Table