PdsRebateFindAndCreate Class [AX 2012]
The PdsRebateFindAndCreate class creates rebates.
| Method | Description | |
|---|---|---|
| calculateSums | Calculates the quantity and amount totals for the rebate based on the customer invoice transactions. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| createFromTmpRebateAgreementLine | Creates rebate records based on the contents of the tmpRebateAgreementLine buffer. |
| createRebate | Creates rebate from a rebate agreement line. |
| createZeroRebate | Creates zero rebate for the sales orders that do not meet the rebate quantity and amount requirements first and if the rebate agreement has accumulation of periodic. |
| currency | Gets the currency code of the customer. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| findPdsRebateAgreementAndCreate | Finds the PdsRebateAgreement table record to create the rebate. |
| findPdsRebateAgreementLineAndCreate | Creates a record in the PdsRebateTable table by using a rebate agreement line and rebate agreement header. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| includeInRebateCalculation | Indicates whether the sales line should be included in the rebate calculation. |
| isRebateInUse | |
| new | Initializes a new instance of the PdsRebateFindAndCreate class. |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| parmCustInvoiceJour | Gets or sets the CustInvoiceJour record for which the rebate is created. |
| parmCustInvoiceTrans | Gets or sets the CustInvoiceTrans table record for which the rebate is created. |
| resetTransSums | Resets the amount and quantity totals for the rebate. |
| run | Processes creating rebates for the customer invoice transactions. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| tamFindBillBackRebateAgreementAndCreate | Finds the PdsRebateAgreement table record to create the rebate for TAM Bill back rebates. |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validate | Validates the CustInVoiceJour table record. |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Creates an instance of the PdsRebateFindAndCreate class. |
| ::createManualRebates | Creates the manual rebates for the customer. |
| ::newFromCustInvoiceJour | Creates new instance of PdsRebateFindAndCreate class. |
| ::newFromCustInvoiceTrans | Creates a new instance of the PdsRebateFindAndCreate class. |
Community Additions
ADD
Show: