LedgerJournalTaxLine Class [AX 2012]
The LedgerJournalTaxLine class is used to feed data to tax to support tax calculations and tax posting.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| defaultExchangeRateDate | Retrieves the default exchange rate date based on the journal defaulting rules. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| findChargeAccount | Finds the appropriate charge account to use based on the account types and the account numbers. |
| findOperationsAccount | Finds the operation account to use based on the ledger journal account type on the journal line for the account and the offset account. |
| getCashDiscountAmount | Gets the cash discount amount. |
| getCashDiscountPercent | Gets the cash discount percentage. |
| getCompanyForLine | Gets the company. |
| getCurrencyExchangeInformation | Gets an instance of the CurrencyExchHelper class that represents the transaction line. |
| getCurrentMiscellaneousCharge | Gets the current miscellaneous charge line. |
| getDefaultDimension | Gets the default dimension from the transaction line. |
| getDefaultTaxDirection | Gets the default tax direction for the transaction. |
| getDestinationCompany | Determines the destination company for an intercompany line. |
| getFirstMiscellaneousCharge | Reads the first miscellaneous charge. |
| getGSTHSTTaxType_CA | Gets the default GST or HST line amount type. |
| getJournalizedLine | Gets the table buffer that represents the journalized line for the transaction. |
| getNextMiscellaneousCharge | Reads the next miscellaneous charge. |
| getOperationLedgerDimension | Gets the operation ledger dimension. |
| getPostingType | Gets the default posting type. |
| getQuantity | Gets the quantity from the transaction line. |
| getSourceLine | Gets the transaction line from the source document. |
| getTaxableInventoriedLine | Gets an object that representing the inventoried transaction line. |
| getTaxCode | Gets the tax code for the transaction line. |
| getTaxGroup | Gets the tax group for the transaction line. |
| getTaxItemGroup | Gets the item tax group for the transaction line. |
| getTaxRateDate | Gets the date to use with the tax to look up tax rates. |
| getTaxWithholdCode_IN | Gets the taxWithhold code for the transaction line. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getTransactionAmount | Gets the transaction line amount. |
| getTransactionCurrency | Gets the transaction line currency. |
| getTransactionText | Gets the transaction text for the transaction line. |
| getUnitAmount | Gets the amount per unit for the transaction line. |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| isOffsetBeingCalculated | Indicates whether the offset account type of a LedgerJournalTrans record is eligible for tax calculations. |
| isPrePayment | Determines whether the transaction line is a prepayment. |
| isPrimaryBeingCalculated | Determines whether the primary account type of a LedgerJournalTrans record is eligible for tax calculations. |
| isVatTaxAgentPrepayment_RU | Determines whether current line is vat tax agent prepayment |
| ledgerDirection | Gets the tax direction. |
| new | |
| 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.) |
| setSignBasedOnAccountType | Sets the tax sign by according to the side of the line on which taxes will be calculated on and the account type. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| supportAmountByUnit | Determines whether the tax calculation engine should calculate tax for the tax code Origin of Amount Per Unit. |
| 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.) |
| useAndConsumption_BR | Returns if the operation is for a final user (or use and consumption) or not. |
| vatTransactionDirection | Determines the appropriate TaxDirection enumeration value, depending on the journal rules. |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::canLineBeCalculated | Indicates whether the current line is eligible for tax calculations. |
| ::checkVatTransaction | Indicates whether the account type or the offset account type of the journal line is ledger and whether a tax account exists based on the ledger account posting group for tax. |
| ::construct | Constructs an instance of the LedgerJournalTaxLine class. |
Community Additions
ADD
Show: