TaxWithhold Class [AX 2012]
| Method | Description | |
|---|---|---|
| accumulatedPaymentQueryRun_BR | |
| calcInvoiceTaxAmount | |
| calcInvoiceTaxAmount_TH | This method will calculate the tax amount per invoice. |
| calcNotTaxableByTreaty | |
| calcNotTaxableExpenses | |
| calcPaymentAmtPerLine_TH | This method will calculate the amount to calculate the WHT tax. This amount will be adjusted based on discounts and taxes applied to the invoice line. |
| calcWithholdAmounts | This method will calculate the withholding tax amount for specified tax withholding trans. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| changeInvoiceAmountSettle | |
| changeTaxWithholdAmount | This method will update withholding tax amount for specified withholding tax transaction. |
| checkTaxLimitBaseAmount_BR | Return if its necessary check tax base amount when fetching withholding tax data percentage. |
| createAllTaxWithholdTrans | Calculates tax withholding information. |
| createItemTaxWithholdTrans_TH | Calculates the withholding taxes based on each invoice and tax withholding group and tax withholding item group that is specified on each invoice line. |
| createTaxWithholdTrans | |
| createTaxWithholdTrans_TH | Calculates the withholding taxes based on each invoice and tax withholding group and tax withholding item group that is specified on each invoice line. |
| createTmpTaxWithhold | |
| crossCompanyList_BR | Return company list to be used in crosscompany selects |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| existCalculatedWithholdTax_BR | |
| fillTmpTaxWithhold | |
| findCustVendOpenTrans_BR | |
| findMarkupValue_TH | This method will determine the miscellaneous amount that is associated with the invoice that is used during the WHT calculation. |
| findTmpTaxWithhold | |
| generateTaxWithholdRecord | This method will generate withholding tax transaction when doing settlement based on specified transaction. |
| getAccumulatedPaymentAmount_BR | |
| getCashdisc_TH | Gets the cash discount amount for a vendor transaction. |
| getInvoiceAmountInclDisc_TH | Gets the Final Payment when the WitholdBase amount is specified. |
| getInvoiceAmountSettle_TH | Gets the invoice amount which is used in settlement. |
| getSumOf | Returns the sum of selected taxes for accumulated base in other payment journals that has the tax withhold line edit edit status closed |
| getTaxWithholdGroup | This method will get the withholding tax group for specified customer or vendor transaction. |
| getTaxWithholdPeriodHead_TH | This method will retrieve the surrogate key of the TaxWithholdPeriodHead_TH table for a specified TaxWithholdCode value. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| hasTaxWithholdCalculated_TH | Returns whether exist the tax withhold transaction with the spec transaction id. |
| initFromTaxWithholdCode | Initializes opposite withholding tax transaction from specified withholding tax transaction. |
| initTaxWithholdTrans | Initializes another withholding tax transaction from specified withholding tax transaction. |
| initTaxWithholdTrans_TH | Initializes another withholding tax transaction from specified withholding tax transaction. |
| invoice2Payment | Converts the invoice amount to an amount in the payment currency. |
| invoiceAmount_BR | |
| invoiceHasReturnedTax | |
| isCalculateTaxWithholdingNeeded_TH | This method will determine if the withholding tax needs to be calculated. |
| isCreditPayment_BR | |
| lookupTaxWithholdCode | |
| needsToUnselectAll_BR | |
| 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.) |
| parmLedgerJournalTrans | Gets or sets the LedgerJournalTrans parameter. |
| partyId_BR | |
| printTaxWithholdHeaderInfo | |
| resetWhTaxAmountIfPaymAmountIsLess_BR | |
| roundOffTaxWithholdAmount | This method will round off withholding tax amount for specified withholding tax transaction. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| setWhBaseAmt4PayAmtInMonth_BR | |
| taxWithholdSource_BR | |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| totalAllInvoicesAmountSettled_TH | Calculates the total based amount for all the invoices that are used during the settlement process. |
| totalInvoiceAmountSettled_TH | Determines the sum of all invoices base amount that will be used to determine the WHT tax. |
| totalInvoiceLineAmountSettled_TH | This method will determine the sum of an invoice base amount that will be used to determine WHT tax. |
| updateAllTaxWithholdTransJournal | |
| updateAllTaxWithholdTransSpec | |
| updateSelectedTaxWithholdTrans_BR | Update TaxWithholdIsSelected = true for all selected transactions when taxWithholdAmount != 0, otherwise TaxWithholdIsSelected = false making transactions selectable in another tax calculation |
| 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.) |
| ::allowedReverseTaxWithHold_BR | |
| ::calcTaxWithholdAmount | Calculates the Thailand related all kinds of withholding tax amounts. |
| ::calculateTmpTaxWithhold | |
| ::changeTaxWithholdExpenseAmount | Updates withholding expense amount for specified withholding tax transaction. |
| ::checkUniquewithholdrecord_BR | |
| ::clearCache | Clear cache used by tax withholding calculations. |
| ::construct | |
| ::createCustTransForReverseTaxWithhold | Creates CustTrans records and VendSettlement records to reverse the settled tax withholding transaction. |
| ::createCustVendTransForReverse | Creates CustVendTrans records and CustVendSettlement records to reverse the settled tax withholding transaction. |
| ::createVendTransForReverseTaxWithhold | Creates VendTrans records and VendSettlement records to reverse the settled tax withholding transaction. |
| ::getCustInvoiceTaxWithholdIntersection_BR | |
| ::getInvoiceTaxWithholdIntersection_BR | Returns a map of withhold tax code and realted base amount |
| ::getTaxWithholdIntersection_BR | |
| ::getVendInvoiceTaxWithholdIntersection_BR | |
| ::hasWithhold_BR | |
| ::hideReversedTaxWithholdTransInPair | Updates the offset of reversed TaxWithholdTrans of the specified one to make them have the same status about "Hide in reports". |
| ::lookupTaxWithholdCodeBasedOnGroups | Looks up the withholding tax code based on given withholding tax group and item group. |
| ::markRelatedTaxWithholdSettlement | For all already been marked transactions, mark related withholding tax voucher transactions. |
| ::markRelatedVouchers_BR | Marks releated tax withold settlement records when the payment transaction is marked. |
| ::postTaxWithhold | Posts and settles the tax withholding transaction. |
| ::reverseTaxWithhold | |
| ::reverseTaxWithhold_BR | |
| ::setTaxWithholdSlipNum | |
| ::settleReverseTaxWithhold_BR | |
| ::uncheckWithholdTrans_BR | |
| ::validateExpenseAmount | Indicates whether expense amount of specified withholding tax transaction is valid. |
Community Additions
ADD
Show: