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
- _rebateAgreement
Type: PdsRebateAgreement Table
A PdsRebateAgreement record.
- _custInvoiceTrans
Type: CustInvoiceTrans Table
A CustInvoicetrans record.
- _rebateQty
Type: SalesQty Extended Data Type
A SalesQty value that specifies the rebate quantity.
- _salesUnit
Type: SalesUnit Extended Data Type
A SalesUnit value.
- _currency
Type: CurrencyCode Extended Data Type
A CurrencyCode value.
- _rebateAmt
Type: AmountCur Extended Data Type
Return Value
Type: PdsRebateAgreementLine Table
The PdsRebateAgreementLine record for which to create a rebate.