TaxRegulation Class [AX 2012]
The TaxRegulation class is used for calculating tax on tax adjustment or regulation. On a sales order, purchase order, and free-text order, users can adjust or control the taxation of the invoice amount.
| Method | Description | |
|---|---|---|
| allocateAmount | Calculates the allocated tax amount and updates the transactions in the TmpTaxRegulation table. |
| calcAndSaveTaxInCostPrice | Updates the transactions in the specified TmpTaxRegulation table with the tax that is to be included in the cost price. |
| calcManualInserted | Calculates the TaxInCostPriceCur, TaxAmount, and TaxBaseAmountCur fields in the TmpTaxWorkTrans table. |
| calcTaxInCostPrice | Calculates the sales tax for the cost price. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| compositeSchemeEnabled_IN | Gets the composite scheme status. |
| createSumsFromTmp | Totals the transactions in the TmpTaxWorkTrans table, and inserts the result into records in the TmpTaxRegulation table. |
| createSumsFromTmp_IN | Inserts a tmpTaxRegulation record, based on a tmpTaxWorkTrans record. |
| customsAllocateAmount_IN | Allocates an adjusted amount to a tmpTaxRegulation record. |
| deleteTaxWithholdUncommitted_IN | Deletes withholding tax uncommitted data. |
| determineSignForAdjustmentAllocation | |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getCustomsTotalRegulationAmount_IN | Updates the SourceRegulateAmountCustoms_IN parameter. |
| getNonRecoverablePercent | Retrieves a non-recoverable percentage for India VAT that is based on the tmpTaxWorkTrans field. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getTotalRegulationAmount | Updates the total regulated amount in the TmpTaxRegulation table. |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initValue | Sets some of the fields in the TmpTaxRegulation table upon initialization. |
| isImportExportOrder_IN | Validates whether the order is an import order or an export order. |
| 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.) |
| pack | Serializes the current instance of the TaxRegulation class. |
| parmSourceRecId | Gets or sets the SourceRecId parameter. |
| parmSourceTableId | Gets or sets the SourceTableId parameter. |
| removeTaxRegulationForHeader | Removes the tax adjustments for a source document. |
| removeTaxRegulationForLine | Removes a tax adjustment for a single source document line. |
| resetOverrideCalculatedTax | Resets the tax amounts to the calculated tax amounts for a specified tax adjustment. |
| resetTaxRegulation | Runs through the TmpTaxWorkTrans and TmpTaxRegulation tables and resets some of the fields by updating the fields by using a default value. |
| resetTaxRegulationForHeader | Resets the tax amounts to the calculated tax amounts for a source document. |
| resetTaxRegulationForLine | Resets the tax amounts to the calculated tax amounts for a single source document line. |
| saveTaxRegulation | Calculates the tax regulation and inserts it into transactions in the TmpTaxWorkTrans Table table. |
| setLedgerJournalTrans | Sets a LedgerJournalTransSource value to be equal to the specified parameter. |
| setOverrideCalculatedTax | Sets the override calculated tax value for a specified tax adjustment record. |
| setTax | |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| setTmpTaxWorkTransTmpData | |
| taxLinesExist | Retrieves the taxLinesExist value. |
| taxRegulationTotal | Retrieves the TaxRegulationTotal value. |
| tmpTaxRegulation | Retrieves the TmpTaxRegulation value. |
| tmpTaxRegulationDetail | Retrieves the detailed tax adjustments. |
| tmpTaxWorkTrans | |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| totalSourceRegulateAmountCustoms_IN | Returns the totalSourceRegulateAmountCustoms value. |
| unpack | Deserializes the packedClass parameter value to an instance of the TaxRegulation class. |
| updateExchangeRateTaxAmounts | Updates a TmpTaxRegulation record by using the TmpTaxWorkTrans records. |
| updateOverrideCalculatedTax | Updates the override calculated tax value for a specified tax adjustment record. |
| updateSourceBaseAmountCurRegulated | Updates the adjusted amount origin for the specified tax adjustment record with the specified new adjusted amount origin. |
| updateTaxRegulationAmount | Updates the tax adjustment amount for a specified tax adjustment record by using a specified new tax adjustment amount. |
| updateTaxRegulationFiscalValue_BR | Updates the tax fiscal value for the specified tax adjustment record with the specified new tax fiscal value adjustment. |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::adjustTaxInvoice | |
| ::newTaxRegulation | Initializes and retrieves a new instance of the TaxRegulation class. |
Community Additions
ADD
Show: