Compartir a través de


PdsRebateAgreementLine::selectRebateAgreementLine Method

Gets a rebate agreement line that is used for creating a rebate based on a sales invoice record.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          server public static PdsRebateAgreementLine selectRebateAgreementLine(
            PdsRebateAgreement _rebateAgreement, 
            CustInvoiceTrans _custInvoiceTrans, 
            SalesQty _rebateQty, 
            SalesUnit _salesUnit, 
            CurrencyCode _currency, 
           [AmountCur _rebateAmt])

  Microsoft Dynamics AX 2012 R2 (SYS)
          server public static PdsRebateAgreementLine selectRebateAgreementLine(
            PdsRebateAgreement _rebateAgreement, 
            CustInvoiceTrans _custInvoiceTrans, 
            SalesQty _rebateQty, 
            SalesUnit _salesUnit, 
            CurrencyCode _currency)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          server public static PdsRebateAgreementLine selectRebateAgreementLine(
            PdsRebateAgreement _rebateAgreement, 
            CustInvoiceTrans _custInvoiceTrans, 
            SalesQty _rebateQty, 
            SalesUnit _salesUnit, 
            CurrencyCode _currency)

  Microsoft Dynamics AX 2012 (FPK)
          server public static PdsRebateAgreementLine selectRebateAgreementLine(
            PdsRebateAgreement _rebateAgreement, 
            CustInvoiceTrans _custInvoiceTrans, 
            SalesQty _rebateQty, 
            SalesUnit _salesUnit, 
            CurrencyCode _currency)

Run On

Server

Parameters

Return Value

Type: PdsRebateAgreementLine Table
The PdsRebateAgreementLine record for which to create a rebate.

See Also

Reference

PdsRebateAgreementLine Table