TaxWithholdPost_IN Class [AX 2012]
The TaxWithholdPost_IN class is used to post tax withhold data.
| Method | Description | |
|---|---|---|
| addPostingReference | Add a reference to LedgerPostingController object. |
| allowTaxWithholdAdjustmentDelete | Determines if tax withhold posting should delete tax withhold adjustments. |
| allowTaxWithholdUncommittedDelete | Determines if tax withhold posting should delete the TaxWithholdUncommitted_IN records. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| deleteTaxWithholdRegulation | Removes the tax withhold adjustments for the current document. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| existsTax | Checks if the tax data exists. |
| findPostingReference | Find the correct posting reference. |
| getCompanyToPost | Determines the company for which to be posted. |
| getProjLedgerDimension | Determines the project related ledger dimension. |
| getSalesPurchJournalLineFromTmpTax | Gets sales purch journal line from temporary tax. |
| getSalesPurchJournalLineFrTaxUnCommitted | This method is used to get sales purch journal line based on the invent Id. |
| getTaxWithholdTransactionReason | |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| headingRecId | Gets the heading rec id. |
| headingTableId | Gets the heading table id. |
| initLedgerPosting | Initialize the ledger posting. |
| journalNum | Gets the ledger journal id. |
| moveSourceDocLineOwnerToTaxWithHoldTrans | Changes the owner of the source document line records from TaxWithHoldUncommitted_IN to TaxWithHoldTrans_IN. |
| moveTaxLineToNewOwner | Moves all of the tax lines for the given document to a new document. |
| 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.) |
| overrideVoucherOnPost | Determines whether posting should override the voucher when it posts to the TaxWithholdTrans_IN table. |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| post | The post method of the TaxWithholdPost_IN class. |
| postAsPerCompany | Posts tax withhold as per company. |
| postFindPostingReference | Determines if withhold tax posting should attempt to find the correct posting reference using the voucher and transdate on the withhold tax line. |
| postToLedger | Posts to the ledger using either the subledger or the legacy method of posting. |
| postToTaxWithHoldTrans | Posts a TaxWithholdTrans_IN record. |
| saveAndPostFromSubLedgerJournalLinesWHT | Posts withhold tax amounts to TaxWithholdTrans_IN and the ledger using TaxWithholdUncommitted_IN and SubLedgerJournalLines. |
| 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. |
| 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. |
| saveAndPostWHT | This method is the main entry point to post to TaxWithholdTrans_IN and to post withhold tax amounts to the Ledger. |
| setCPOrigRefRecid | Sets the value of original refenrence record Id. |
| setCreditNoteAmount | |
| setExchRates | Gets and sets the currency and exchange rate information about withhold tax. |
| setInvoiceAccount | Sets invoice account information. |
| setInvoiceAndPaymentData | Sets invoice and payment data. |
| setInvoiceCompany | Sets invoice company. |
| setInvoiceVoucher | Sets invoice voucher information. |
| setJournalLineCompany | Sets journal line company. |
| setLedgerData | Sets the ledger data information. |
| setPaymentAccount | Sets payment account information. |
| setPaymentCompany | Sets payment company information. |
| setSpecRefRecid | Sets spec reference rec id. |
| setSpecTransBuffer | Sets the spec trans buffer. |
| setTaxWithholdAmount | Sets tax withhold amount. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| setVoucherInterCompany | Sets interCompany voucher |
| setVoucherSettle | Sets settle voucher for CP direct settlement |
| setWHTContainerData | Sets WHT container data. |
| sourceRecId | Returns the RecId of the transaction line that is currently being posted. |
| sourceTableId | Returns the TableId of the transaction that is to be taxed. |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| totalTaxWithholdAmount | This method returns the actual withhold tax amount. |
| 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. |
| updateTaxWithholdTrans | Updates tax withhold transaction. |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| 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. |
| useTaxUncommitted | Determines whether the TaxWithholdPost_IN class should use the TaxWithholdUncommitted_IN table. |
| validate | Validates the instance of the TaxWithholdPost_IN class. |
| validateWithholdTax | Determines if multiple taxtypes attached to transaction lines. |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::newForSourceType | Retrieves a newly derived TaxWithholdPost_IN record based on the transaction. |
| ::newForSourceTypeWithTaxCalculation | Retrieves a new derived TaxWithholdPost_IN record that is based on the transaction. |
| ::taxTotalVoucherDate | Gets the tax total voucher date. |
Community Additions
ADD
Show: