PdsRebatePaymentPost::construct Method [AX 2012]

Initializes a new instance of the PdsRebatePaymentPost class based on the rebate transaction type.

client server public static PdsRebatePaymentPost construct(PdsRebateTransaction _rebateTransType)

Run On

Called

Parameters

_rebateTransType
Type: PdsRebateTransaction Enumeration
The PdsRebateTransaction enumeration value that specifies the rebate transaction type for payment.

Return Value

Type: PdsRebatePaymentPost Class
A new instance of the PdsRebatePaymentPost class.

ExceptionCondition
Error

A PdsRebateTransaction enumeration value other than CreditNote and PassToAP was specified.

Show: