TaxWithholdCalculation_IN Class [AX 2012]
Class is used to calculate withholding tax for India.
Syntax
class TaxWithholdCalculation_IN
Run On
Server
Methods
Method | Description | |
---|---|---|
amountPerCompany | Gets the settled amount per company. | |
amountToSettle | Gets amount to be settled. | |
calcCashDisc | Calculates the cash discount. | |
calcTaxAdvancePayment | Calculates tax advance payment information. | |
calculateAmount | Gets the formula for the withholdtax calculation as string with amounts and delimiters replaced. | |
calculateTax | Calculate tax information. | |
calculateTaxWithholdAmount | Gets the container with the formula for taxWithholdAmount and TaxAmountOrigin. | |
canCalculateTCS | Checks if TCS taxes are applicable to the combination of journals. | |
canCalculateTDS | Checks if TDS taxes are applicable to the combination of journals. | |
canCalculateWHTForCC | returns true if withhold taxes are applicable; otherwise false. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
creditNoteCalculation | Calculates withholding taxes for CreditNote. | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
getAccountType | ||
getGrossAmountConsideringThreshold | Calculates the GrossAmount for the WithholdTax calculation based on the threshold limit. | |
getMaintainExistingTaxUncommitted | Retrieves the maintainExistingTaxUncommitted value that indicates whether new records will be added to the TaxWithholdUncommitted_IN table. | |
getTaxWithholdThresholdHandler | ||
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
getValueForPerTransThresholdCompare | Calculates the ValueForOneShotThresholdCompare | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
init | Loads the TaxWithholdUncommitted_IN records into the TmpTaxWithholdWorkTrans_IN buffer. | |
initGrossAmount | Initialize the gross amount. | |
insertIntoTaxTrans | ||
insertIntoTmpWorkTrans | Inserts calculated withholding tax into TmpTaxWithholdWorkTrans_IN. | |
isCreditNote | Checks if the calculation contains credit note. | |
isSettled | Indicates whether transaction has been settled. | |
isWHTParameterMarked | Indicates whether corresponding withholding tax parameter is marked. | |
loadFromTaxWithholdUncommitted | Loads tax records from the TaxWithholdUncommitted_IN table into the TmpTaxWithholdWorkTrans_IN table. | |
new | Initializes a new instance of the TaxWithholdCalculation_IN 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.) | |
parmCustInvoiceTransRecId | Gets or sets the CustInvoiceTransRecId parameter. | |
parmHeadingRecID | Gets or sets the RecID of the Header table. | |
parmHeadingTableID | Gets or sets the Table ID of the Header table. | |
parmInvoiceLineRecID | Gets or sets the RecID of the Invoice line table. | |
parmRateOfDeduction | Gets or sets the RateOfDeduction parameter. | |
parmTaxModuleType | Gets or sets the TaxModuleType parameter. | |
parmTaxWithholdTransRecId | Gets or sets the TaxWithholdTransRecId parameter. | |
parmTmpTaxWithholdWorkTrans | Gets or sets the TmpTaxWithholdWorkTrans parameter. | |
parmTmpTransLineWithholdGrossAmount | Gets or sets the RecID of the tmpTransLineWithholdGrossAmount. | |
parmUseTaxUncommitted | Gets or sets the tax withhold uncommitted value. | |
parmVoucher | Gets or Sets Voucher | |
rateOfDeduction | Calculates the witholding tax rate for specified withholding tax group and transaction date. | |
roundOffTaxWithholdAmount | ||
setExchRates | Sets the exchange rates. | |
setInvoiceAccount | Sets the AccountNum value. | |
setInvoiceAndPaymentData | Sets the invoice and payment details to class variables. | |
setInvoiceCompany | Sets the invoiceCompany value. | |
setInvoiceVoucher | Sets the InvoiceVoucher to classVariable. | |
setJournalLineCompany | Sets the JournalLine Company. | |
setPaymentAccount | Sets Payment AccountNum. | |
setPaymentCompany | Sets the Payment CompanyId. | |
setSpecRefRecid | Sets SpecTrans RefRecId. | |
setSpecTransBuffer | Sets SpecTrans buffer. | |
setTaxValueDataMaps | ||
setTaxWithholdAmount | Sets total TaxWithholdAmount for a journal. | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
settleSales | Gets the container with paymentAmount attached for the invoice and TaxWithholdType. | |
setWHTContainerData | Sets the WHT container date. | |
taxExists | Checks if the tax exists. | |
taxWithhold | Gets the tax withhold information. | |
taxWithholdAdvancePayment | Calculates tax WithholdAmount for Advance payment. | |
taxWithholdAdvancePaymentCalc | Calculates tax WithholdAmount for Advance payment. | |
taxWithholdBank | Calculates withholding taxes for Bank transactions. | |
taxWithholdCustomer | Calculates withholding TaxAmount for Customer transaction. | |
taxWithholdLedger | Calculates withholding taxes for Ledger Transaction. | |
taxWithholdVendor | Calculates withholding taxes for vendor transactions. | |
tmpTaxWithholdWorkTrans | Sets/Gets TmpTaxWithholdWorkTrans_IN buffer. | |
tmpTransLineWithholdGrossAmount | Gets the temporary trans line withhold gross amount. | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
totalTaxAmountOriginCur | Gets the total Amount Origin in transaction currency for all the lines. | |
totalTaxWithhold | Calculates withholding tax. | |
totalTaxWithholdAmount | Gets the total tax withhold amount. | |
updateTaxWithholdTrans | Updates the TaxWithholdCalculated and OverlookThreshold fields of TaxWithholdTrans_IN table. | |
updateTaxWithholdUncommitted | Delete all tax withhold uncommitted records for the document and insert the new TaxWithhold Uncommitted records. | |
updateTaxWithholdWorkRegulation | Updates TaxWithholdWorkRegulation_IN table with the destination tableId and recId. | |
updateTmpWorkTransByTaxValueData | ||
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
useSubLedgerJournalLines | Determines whether the current transaction to calculate supports the SubLedgerDistributions or SubLedgerJournalLines records. By default, this base implementation is that they do not support them. As the individual transaction support the sub-ledger, they must override this method and return true. | |
useTaxWithHoldUncommitted | Determines whether the Tax class should use the TaxWithholdUncommitted_IN table. | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::checkRecoverableAccount | Checks if the withhold taxes calculated on journal are recoverable. | |
::evaluate | The evaluate function. | |
::findLedgerInterCompany | Finds the LedgerInterCompany record. | |
::getVendorInformation | sets the container with values from either open transactions or ledgerJournalTrans | |
::newForSourceType | Creates new instance of the TaxWithholdCalculation_IN class for source type. | |
::newForSourceTypeWithTaxUncommitted | Creates new instance of the TaxWithholdCalculation_IN class for source type with tax uncommitted. | |
::setDirection | Sets the sign of the TaxAmount. | |
::setLedgerData | Sets ledger data information. | |
::tcsAccount | Gets the tcs tax posting Account. | |
::tdsAccount | Gets the tds tax posting Account. | |
::validateTDSZeroRate | Validate if the selected tds group is zero rate, and the code rate here is specific for field TaxWithholdValue |
Top
Inheritance Hierarchy
Object Class
TaxWithholdCalculation_IN Class
TaxWithholdCalcFreeInvoice_IN Class
TaxWithholdCalcProj_IN Class
TaxWithholdCalcPurch_IN Class
TaxWithholdCalcSales_IN Class
TaxWithholdJournal_IN Class