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.

class TaxRegulation

Run On

Server

  MethodDescription
Gg784084.pubmethod(en-us,AX.60).gif allocateAmount Calculates the allocated tax amount and updates the transactions in the TmpTaxRegulation table.
Gg784084.pubmethod(en-us,AX.60).gif calcAndSaveTaxInCostPrice Updates the transactions in the specified TmpTaxRegulation table with the tax that is to be included in the cost price.
Gg784084.pubmethod(en-us,AX.60).gif calcManualInserted Calculates the TaxInCostPriceCur, TaxAmount, and TaxBaseAmountCur fields in the TmpTaxWorkTrans table.
Gg784084.pubmethod(en-us,AX.60).gif calcTaxInCostPrice Calculates the sales tax for the cost price.
Gg784084.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg784084.pubmethod(en-us,AX.60).gif compositeSchemeEnabled_IN Gets the composite scheme status.
Gg784084.pubmethod(en-us,AX.60).gif createSumsFromTmp Totals the transactions in the TmpTaxWorkTrans table, and inserts the result into records in the TmpTaxRegulation table.
Gg784084.pubmethod(en-us,AX.60).gif createSumsFromTmp_IN Inserts a tmpTaxRegulation record, based on a tmpTaxWorkTrans record.
Gg784084.pubmethod(en-us,AX.60).gif customsAllocateAmount_IN Allocates an adjusted amount to a tmpTaxRegulation record.
Gg784084.pubmethod(en-us,AX.60).gif deleteTaxWithholdUncommitted_IN Deletes withholding tax uncommitted data.
Gg784084.pubmethod(en-us,AX.60).gif determineSignForAdjustmentAllocation
Gg784084.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg784084.pubmethod(en-us,AX.60).gif getCustomsTotalRegulationAmount_IN Updates the SourceRegulateAmountCustoms_IN parameter.
Gg784084.pubmethod(en-us,AX.60).gif getNonRecoverablePercent Retrieves a non-recoverable percentage for India VAT that is based on the tmpTaxWorkTrans field.
Gg784084.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg784084.pubmethod(en-us,AX.60).gif getTotalRegulationAmount Updates the total regulated amount in the TmpTaxRegulation table.
Gg784084.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg784084.pubmethod(en-us,AX.60).gif initValue Sets some of the fields in the TmpTaxRegulation table upon initialization.
Gg784084.pubmethod(en-us,AX.60).gif isImportExportOrder_IN Validates whether the order is an import order or an export order.
Gg784084.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg784084.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg784084.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg784084.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg784084.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg784084.pubmethod(en-us,AX.60).gif pack Serializes the current instance of the TaxRegulation class.
Gg784084.privmethod(en-us,AX.60).gif parmSourceRecId Gets or sets the SourceRecId parameter.
Gg784084.privmethod(en-us,AX.60).gif parmSourceTableId Gets or sets the SourceTableId parameter.
Gg784084.protmethod(en-us,AX.60).gif removeTaxRegulationForHeader Removes the tax adjustments for a source document.
Gg784084.protmethod(en-us,AX.60).gif removeTaxRegulationForLine Removes a tax adjustment for a single source document line.
Gg784084.protmethod(en-us,AX.60).gif resetOverrideCalculatedTax Resets the tax amounts to the calculated tax amounts for a specified tax adjustment.
Gg784084.pubmethod(en-us,AX.60).gif resetTaxRegulation Runs through the TmpTaxWorkTrans and TmpTaxRegulation tables and resets some of the fields by updating the fields by using a default value.
Gg784084.protmethod(en-us,AX.60).gif resetTaxRegulationForHeader Resets the tax amounts to the calculated tax amounts for a source document.
Gg784084.protmethod(en-us,AX.60).gif resetTaxRegulationForLine Resets the tax amounts to the calculated tax amounts for a single source document line.
Gg784084.pubmethod(en-us,AX.60).gif saveTaxRegulation Calculates the tax regulation and inserts it into transactions in the TmpTaxWorkTrans Table table.
Gg784084.pubmethod(en-us,AX.60).gif setLedgerJournalTrans Sets a LedgerJournalTransSource value to be equal to the specified parameter.
Gg784084.protmethod(en-us,AX.60).gif setOverrideCalculatedTax Sets the override calculated tax value for a specified tax adjustment record.
Gg784084.pubmethod(en-us,AX.60).gif setTax
Gg784084.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg784084.pubmethod(en-us,AX.60).gif setTmpTaxWorkTransTmpData
Gg784084.pubmethod(en-us,AX.60).gif taxLinesExist Retrieves the taxLinesExist value.
Gg784084.pubmethod(en-us,AX.60).gif taxRegulationTotal Retrieves the TaxRegulationTotal value.
Gg784084.pubmethod(en-us,AX.60).gif tmpTaxRegulation Retrieves the TmpTaxRegulation value.
Gg784084.pubmethod(en-us,AX.60).gif tmpTaxRegulationDetail Retrieves the detailed tax adjustments.
Gg784084.pubmethod(en-us,AX.60).gif tmpTaxWorkTrans
Gg784084.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg784084.pubmethod(en-us,AX.60).gif totalSourceRegulateAmountCustoms_IN Returns the totalSourceRegulateAmountCustoms value.
Gg784084.pubmethod(en-us,AX.60).gif unpack Deserializes the packedClass parameter value to an instance of the TaxRegulation class.
Gg784084.pubmethod(en-us,AX.60).gif updateExchangeRateTaxAmounts Updates a TmpTaxRegulation record by using the TmpTaxWorkTrans records.
Gg784084.pubmethod(en-us,AX.60).gif updateOverrideCalculatedTax Updates the override calculated tax value for a specified tax adjustment record.
Gg784084.pubmethod(en-us,AX.60).gif updateSourceBaseAmountCurRegulated Updates the adjusted amount origin for the specified tax adjustment record with the specified new adjusted amount origin.
Gg784084.pubmethod(en-us,AX.60).gif updateTaxRegulationAmount Updates the tax adjustment amount for a specified tax adjustment record by using a specified new tax adjustment amount.
Gg784084.pubmethod(en-us,AX.60).gif updateTaxRegulationFiscalValue_BR Updates the tax fiscal value for the specified tax adjustment record with the specified new tax fiscal value adjustment.
Gg784084.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg784084.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg784084.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg784084.pubmethod(en-us,AX.60).gif Gg784084.static(en-us,AX.60).gif ::adjustTaxInvoice
Gg784084.pubmethod(en-us,AX.60).gif Gg784084.static(en-us,AX.60).gif ::newTaxRegulation Initializes and retrieves a new instance of the TaxRegulation class.
Top

This class works in cooperation with the TmpTaxRegulation table.

Community Additions

ADD
Show: