TAMVendRebateFindAndCreate Class [AX 2012]
The TAMVendRebateFindAndCreate class serves to create vendor rebates.
| Method | Description | |
|---|---|---|
| calculateSums | Calculates the quantity and amount totals for the rebate based on the vendor invoice transactions. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| createFromTmpVendRebateAgreementLine | Creates vendor rebate records based on the contents of the tmpVendRebateAgreementLine buffer. |
| createRebate | Creates a vendor rebate from a vendor rebate agreement line. |
| createZeroRebate | Creates zero rebate for the purchase orders that do not meet the rebate quantity and amount requirements initially and if the rebate agreemnet has cumulation of periodic. |
| currency | Gets the currency code of the vendor. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| findVendRebateAgreementAndCreate | Finds the TAMVendRebateAgreement table record to create the vendor rebate. |
| findVendRebateAgreementLineAndCreate | Creates a record in the TAMVendRebateTable table based on the vendor rebate agreement line and vendor 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.) |
| new | Initializes a new instance of the TAMVendRebateFindAndCreate 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.) |
| parmVendInvoiceJour | Gets or sets the VendInvoiceJour table record for which the vendor rebate is being created. |
| parmVendInvoiceTrans | Gets or sets the VendInvoiceTrans table records for which the vendor rebate is being created. |
| resetTransSums | Resets the amount and quantity totals for the vendor rebate. |
| run | Processes the creation of rebates for the vendor invoice transactions. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| 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 VendInvoiceJour table record. |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Returns an instance of the TAMVendRebateFindAndCreate class. |
| ::newFromVendInvoiceJour | Creates a new instance of TAMVendRebateFindAndCreate class. |
| ::newFromVendInvoiceTrans | Creates new instance of TAMVendRebateFindAndCreate class. |
Community Additions
ADD
Show: