TaxableDocument Interface [AX 2012]
The TaxableDocument class is an interface that represents a transaction document that supports tax calculations. Transactions that require taxes to be calculated must implement this interface.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| doTaxGroupExistsForDocument | Determines if tax group are set on any line of the document. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getCurrentLine | Gets an object that implements the TaxableLine interface that represents the current transaction line. |
| getCurrentMiscellaneousCharge | Gets an object which implements the TaxableLine interface that represents the current miscellaneous charge line. |
| getFirstLine | Reads the first transaction line. |
| getFirstMiscellaneousCharge | Reads the first miscellaneous charge line. |
| getInvoiceId | Gets the invoice ID. |
| getJournalizedDocument | Gets the table buffer that represents the journalized document header for the transaction. |
| getLineByRecId | Gets an object that implements the TaxableLine interface that represents the transaction line that is specified by the specified parameter. |
| getModuleType | Gets the module type. |
| getNextLine | Reads the next transaction line. |
| getNextMiscellaneousCharge | Reads the next miscellaneous charge line. |
| getReferenceNumber | Gets the reference number. |
| getSourceCompany | Determines the source company in an intercompany document. |
| getSourceHeader | Gets the table buffer that represents the source document header for the transaction. |
| getTaxIncluded | Gets a flag that indicates whether the line amounts include taxes. |
| getTaxObligationCompany | Gets the company for which we have a tax obligation. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| isPayment | Determines whether the document that is being taxed is a payment. |
| new | Initializes a new instance of the Object class. (Inherited from Object.) |
| 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.) |
| 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.) |
| useSourceDocumentFramework | Indicates whether the current transaction supports the Source Document Framework. |
| useTaxUncommitted | Determines whether taxes should allow the use of the TaxUncommitted table to store taxes which have not yet been journalized. |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
Community Additions
ADD
Show: