LedgerVoucherPost Class [AX 2012]

The LedgerVoucherPost class accommodates posting to the general ledger.

Syntax

class LedgerVoucherPost extends LedgerVoucher

Run On

Server

Methods

  Method Description
Gg820425.pubmethod(en-us,AX.60).gif addAccountingDateToCache Adds a valid accounting date and fiscal calendar period combination to the cache. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif addBalanceDemand (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif addLedgerAccountToCache Adds the ledger account for a ledger dimension to the cache. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif addMainAccountToCache Adds the main account for a valid ledger dimension, accounting date, and posting type combination to the cache. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif addToGeneralJournal Adds the specified information to the general journal. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif addToGeneralJournalEntry Adds the specified information to the general journal. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif addToSubledgerJournalEntry Adds the specified information to the subledger journal. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif addTrans Adds an instance of the LedgerVoucherTransObject class to the collection of transactions. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif addVoucher (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif bankAccountTransSum Creates summarized bank account transactions. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif bankAccountTransSum_BR Creates summarized bank account transactions. (Inherited from LedgerVoucher.)
Gg820425.protmethod(en-us,AX.60).gif bond_incProgress_RU Increments the progress bar during an operation. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif bondLast2_RU Bonds last 2 transactions. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg820425.pubmethod(en-us,AX.60).gif check Performs validation for all the LedgerVoucherObject objects and LedgerVoucherTransObject objects held by the LedgerVoucher object. (Inherited from LedgerVoucher.)
Gg820425.protmethod(en-us,AX.60).gif checkAmountMSTAmountMSTSecundary (Inherited from LedgerVoucher.)
Gg820425.protmethod(en-us,AX.60).gif checkBalanceDemand (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif checkPostingType Checks the posting type. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif checkVoucher Validates an instance of the LedgerVoucherObject class passed in as a parameter. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif createVoucherLinks Creates links in the LedgerTransVoucherLink table between the supplied parent information and the vouchers in the current instance of the LedgerVoucher class. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif deleteFromPool Deletes records from the ledger transaction pool for a specified journal batch number and voucher. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif end Invokes the posting process. (Overrides the end Method.)
Gg820425.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg820425.pubmethod(en-us,AX.60).gif findLedgerVoucherObject Finds and returns the instance of the LedgerVoucherObject class passed in as a parameter. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif findOrCreateReferenceSecCur_RU Finds or creates and returns the instance of the LedgerVoucherObject class for dual warehousing posting layer. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif findReference Finds and returns the LedgerVoucherObject object that matches the specified parameters. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif flushAllWHTInvoiceCompany_IN Used to reset the container value. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif getInternalCollection Gets the internal collection of general journal entries. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif getLedgerAccountFromCache Gets the ledger account of the ledger dimension from the cache. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif getMainAccountFromCache Gets the main account for the ledger dimension, accounting date, and posting type combination from the cache. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif getNextTemporaryRecId Gets a temporary record ID. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg820425.pubmethod(en-us,AX.60).gif getTransferLevel Gets the transfer level. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif getWHTInvoiceCompanyFromCache_IN Get tax withhold amount from cache due to invoice company (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg820425.protmethod(en-us,AX.60).gif initBankAccountTransList (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif isAccountingDateValid Gets a value that indicates whether the accounting date and fiscal calendar period combination is valid. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif lastAmountCur Gets the last known transaction currency amount from a specified instance of the LedgerVoucherObject class. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif lastAmountMST Gets the last known accounting currency amount from a specified instance of the LedgerVoucherObject class. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif lastPostingLayer (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif lastTransDate Sets or retrieves the last known transaction date. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif lastVoucher Sets or retrieves the last known voucher number. (Inherited from LedgerVoucher.)
Gg820425.protmethod(en-us,AX.60).gif new Initializes a new instance of the LedgerVoucher class. (Inherited from LedgerVoucher.)
Gg820425.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.)
Gg820425.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.)
Gg820425.pubmethod(en-us,AX.60).gif numOfVouchers Returns the number of LedgerVoucherObject objects added to the LedgerVoucher. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg820425.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg820425.pubmethod(en-us,AX.60).gif parmAdvancePaymentWHT_IN Used to set the parm method for advance payment for withholding tax. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmAllWHTInvoiceCompany_IN Container used to hold company id for invoice and payment company. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmBackWardAmountWHT_IN Gets or sets the BackWardAmountWHT_IN parameter. (Inherited from LedgerVoucher.)
Gg820425.protmethod(en-us,AX.60).gif parmcheckAuto Gets or sets whether the posting process should automatically call the check method to make a validation before it starts the posting process. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmCheckBank_IN Set Bank flag for banks transaction type. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmCheckBlockedDimensions Gets or sets the CheckBlockedDimensions parameter. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmCheckTransOnInsert Gets or sets the CheckTransOnInsert parameter. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmCompanyId Gets or sets the CompanyId parameter. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmCurrentCompany_IN Gets or sets the CurrentCompany_IN parameter. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmCustomDetailLevel Gets or sets the CustomDetailLevel parameter. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmDetailSummary Sets or retrieves the detailSummary variable. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmInterCompanyTransForST_IN Used to set the value for intercompany transaction. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmIsVATDeferment_IN Gets or sets the IsVATDeferment_IN parameter. (Inherited from LedgerVoucher.)
Gg820425.protmethod(en-us,AX.60).gif parmJournalCheckPost Gets or sets the JournalCheckPost parameter. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmJournalNumber Gets or sets the journal number. (Inherited from LedgerVoucher.)
Gg820425.protmethod(en-us,AX.60).gif parmJournalTableData Gets or sets the JournalTableData parameter. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmLedgerJournalId Gets or sets the LedgerJournalId parameter. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmLedgerPostingMessageLog Gets or sets the LedgerPostingMessageLog parameter. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmLedgerVoucherType_CN Gets or sets the LedgerVoucherType_CN parameter. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmOpeningSheet_ES Gets or sets the openingSheet_ES variable. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmPostedInterCompanyWHT_IN Gets or sets the PostedInterCompanyWHT_IN parameter. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmReversal Gets or sets the Reversal parameter. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmSkipBlockedForManualEntryCheck Gets or sets the SkipBlockedForManualEntryCheck parameter. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmSysModuleDefault Gets or sets the SysModuleDefault parameter. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmTaxWithholdTrans_IN Used to set TmpTaxWithholdTransInterCompany_IN buffer. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmTmpVoucherMap Gets or sets the TmpVoucherMap parameter. (Inherited from LedgerVoucher.)
Gg820425.protmethod(en-us,AX.60).gif parmTransactionLog Sets the type and the text for the entry made to the transaction log upon posting. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmVoucher_CN Gets or sets the Voucher_CN parameter. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmVoucherBeingReversed Gets or sets the voucher number being reversed. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif parmVoucherSeriesCode Gets or sets the VoucherSeriesCode parameter. (Inherited from LedgerVoucher.)
Gg820425.protmethod(en-us,AX.60).gif post Performs posting of the vouchers in an instance of the LedgerVoucher class. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif postBankAccountTrans Posts the list of bank account transactions. (Inherited from LedgerVoucher.)
Gg820425.protmethod(en-us,AX.60).gif releaseCNLedgerVoucher Releases the CN ledger voucher. (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif restoreReferenceSecCur_RU Restores values which were updated in the method findOrCreateReferenceSecCur_RU (Inherited from LedgerVoucher.)
Gg820425.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg820425.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg820425.pubmethod(en-us,AX.60).gif updateWHTInvoiceCompanyToCache_IN Updates withhold tax amount into cache for invoice company (Inherited from LedgerVoucher.)
Gg820425.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.)
Gg820425.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg820425.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)

Top

Remarks

All the appropriate transactions must be passed to the class. Once all transactions are passed, calling the end method will start the validation and posting process.

Inheritance Hierarchy

Object Class
  LedgerVoucher Class
    LedgerVoucherPost Class
      LedgerVoucherPostApprove Class
      LedgerVoucherPostDiff Class
      LedgerVoucherPostExPosting Class

See Also

LedgerVoucher Class

LedgerVoucherCheck Class