TaxWithholdPost_IN Class [AX 2012]

The TaxWithholdPost_IN class is used to post tax withhold data.

class TaxWithholdPost_IN

Run On

Server

  MethodDescription
JJ794082.protmethod(en-us,AX.60).gif addPostingReference Add a reference to LedgerPostingController object.
JJ794082.protmethod(en-us,AX.60).gif allowTaxWithholdAdjustmentDelete Determines if tax withhold posting should delete tax withhold adjustments.
JJ794082.protmethod(en-us,AX.60).gif allowTaxWithholdUncommittedDelete Determines if tax withhold posting should delete the TaxWithholdUncommitted_IN records.
JJ794082.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
JJ794082.protmethod(en-us,AX.60).gif deleteTaxWithholdRegulation Removes the tax withhold adjustments for the current document.
JJ794082.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
JJ794082.protmethod(en-us,AX.60).gif existsTax Checks if the tax data exists.
JJ794082.protmethod(en-us,AX.60).gif findPostingReference Find the correct posting reference.
JJ794082.protmethod(en-us,AX.60).gif getCompanyToPost Determines the company for which to be posted.
JJ794082.pubmethod(en-us,AX.60).gif getProjLedgerDimension Determines the project related ledger dimension.
JJ794082.pubmethod(en-us,AX.60).gif getSalesPurchJournalLineFromTmpTax Gets sales purch journal line from temporary tax.
JJ794082.pubmethod(en-us,AX.60).gif getSalesPurchJournalLineFrTaxUnCommitted This method is used to get sales purch journal line based on the invent Id.
JJ794082.privmethod(en-us,AX.60).gif getTaxWithholdTransactionReason
JJ794082.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
JJ794082.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
JJ794082.pubmethod(en-us,AX.60).gif headingRecId Gets the heading rec id.
JJ794082.pubmethod(en-us,AX.60).gif headingTableId Gets the heading table id.
JJ794082.protmethod(en-us,AX.60).gif initLedgerPosting Initialize the ledger posting.
JJ794082.pubmethod(en-us,AX.60).gif journalNum Gets the ledger journal id.
JJ794082.privmethod(en-us,AX.60).gif moveSourceDocLineOwnerToTaxWithHoldTrans Changes the owner of the source document line records from TaxWithHoldUncommitted_IN to TaxWithHoldTrans_IN.
JJ794082.protmethod(en-us,AX.60).gif moveTaxLineToNewOwner Moves all of the tax lines for the given document to a new document.
JJ794082.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
JJ794082.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.)
JJ794082.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.)
JJ794082.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
JJ794082.protmethod(en-us,AX.60).gif overrideVoucherOnPost Determines whether posting should override the voucher when it posts to the TaxWithholdTrans_IN table.
JJ794082.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
JJ794082.protmethod(en-us,AX.60).gif post The post method of the TaxWithholdPost_IN class.
JJ794082.pubmethod(en-us,AX.60).gif postAsPerCompany Posts tax withhold as per company.
JJ794082.protmethod(en-us,AX.60).gif postFindPostingReference Determines if withhold tax posting should attempt to find the correct posting reference using the voucher and transdate on the withhold tax line.
JJ794082.privmethod(en-us,AX.60).gif postToLedger Posts to the ledger using either the subledger or the legacy method of posting.
JJ794082.protmethod(en-us,AX.60).gif postToTaxWithHoldTrans Posts a TaxWithholdTrans_IN record.
JJ794082.protmethod(en-us,AX.60).gif saveAndPostFromSubLedgerJournalLinesWHT Posts withhold tax amounts to TaxWithholdTrans_IN and the ledger using TaxWithholdUncommitted_IN and SubLedgerJournalLines.
JJ794082.protmethod(en-us,AX.60).gif saveAndPostFromTaxWHTUncommitted This method is the main entry point to post to TaxWithholdTrans_IN and to post withhold tax amounts to the Ledger using TaxWithholdUncommitted_IN.
JJ794082.protmethod(en-us,AX.60).gif saveAndPostFromTmpTaxWHTWorkTrans This method is the main entry point to post to TaxWithholdTrans_IN and to post withhold tax amounts to the Ledger using TmpTaxWithholdWorkTrans_IN.
JJ794082.pubmethod(en-us,AX.60).gif saveAndPostWHT This method is the main entry point to post to TaxWithholdTrans_IN and to post withhold tax amounts to the Ledger.
JJ794082.pubmethod(en-us,AX.60).gif setCPOrigRefRecid Sets the value of original refenrence record Id.
JJ794082.privmethod(en-us,AX.60).gif setCreditNoteAmount
JJ794082.pubmethod(en-us,AX.60).gif setExchRates Gets and sets the currency and exchange rate information about withhold tax.
JJ794082.pubmethod(en-us,AX.60).gif setInvoiceAccount Sets invoice account information.
JJ794082.pubmethod(en-us,AX.60).gif setInvoiceAndPaymentData Sets invoice and payment data.
JJ794082.pubmethod(en-us,AX.60).gif setInvoiceCompany Sets invoice company.
JJ794082.pubmethod(en-us,AX.60).gif setInvoiceVoucher Sets invoice voucher information.
JJ794082.pubmethod(en-us,AX.60).gif setJournalLineCompany Sets journal line company.
JJ794082.pubmethod(en-us,AX.60).gif setLedgerData Sets the ledger data information.
JJ794082.pubmethod(en-us,AX.60).gif setPaymentAccount Sets payment account information.
JJ794082.pubmethod(en-us,AX.60).gif setPaymentCompany Sets payment company information.
JJ794082.pubmethod(en-us,AX.60).gif setSpecRefRecid Sets spec reference rec id.
JJ794082.pubmethod(en-us,AX.60).gif setSpecTransBuffer Sets the spec trans buffer.
JJ794082.pubmethod(en-us,AX.60).gif setTaxWithholdAmount Sets tax withhold amount.
JJ794082.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
JJ794082.pubmethod(en-us,AX.60).gif setVoucherInterCompany Sets interCompany voucher
JJ794082.pubmethod(en-us,AX.60).gif setVoucherSettle Sets settle voucher for CP direct settlement
JJ794082.pubmethod(en-us,AX.60).gif setWHTContainerData Sets WHT container data.
JJ794082.pubmethod(en-us,AX.60).gif sourceRecId Returns the RecId of the transaction line that is currently being posted.
JJ794082.pubmethod(en-us,AX.60).gif sourceTableId Returns the TableId of the transaction that is to be taxed.
JJ794082.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
JJ794082.pubmethod(en-us,AX.60).gif totalTaxWithholdAmount This method returns the actual withhold tax amount.
JJ794082.pubmethod(en-us,AX.60).gif updateAndPost This method is the main entry point to execute transaction specific logic and to post to TaxWithholdTrans_IN and to post withhold tax amounts to the Ledger.
JJ794082.pubmethod(en-us,AX.60).gif updateTaxWithholdTrans Updates tax withhold transaction.
JJ794082.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.)
JJ794082.pubmethod(en-us,AX.60).gif useSubLedgerJournalLines Returns a Boolean value that indicates whether the current transaction being posted supports the SubLedgerDistributions or SubLedgerJournalLines. By default, the base implementation is that the transactions do not support sub-ledgers. If the individual transactions support sub-ledgers, they will have to override this and return true.
JJ794082.pubmethod(en-us,AX.60).gif useTaxUncommitted Determines whether the TaxWithholdPost_IN class should use the TaxWithholdUncommitted_IN table.
JJ794082.protmethod(en-us,AX.60).gif validate Validates the instance of the TaxWithholdPost_IN class.
JJ794082.protmethod(en-us,AX.60).gif validateWithholdTax Determines if multiple taxtypes attached to transaction lines.
JJ794082.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
JJ794082.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
JJ794082.pubmethod(en-us,AX.60).gif JJ794082.static(en-us,AX.60).gif ::newForSourceType Retrieves a newly derived TaxWithholdPost_IN record based on the transaction.
JJ794082.pubmethod(en-us,AX.60).gif JJ794082.static(en-us,AX.60).gif ::newForSourceTypeWithTaxCalculation Retrieves a new derived TaxWithholdPost_IN record that is based on the transaction.
JJ794082.pubmethod(en-us,AX.60).gif JJ794082.static(en-us,AX.60).gif ::taxTotalVoucherDate Gets the tax total voucher date.
Top

Community Additions

ADD
Show: