LedgerVoucherTransObject Class [AX 2012]

The LedgerVoucherTransObject class represents a single transaction in an individual voucher.

Syntax

class LedgerVoucherTransObject implements SysPackable

Run On

Called

Methods

  Method Description
Gg820475.privmethod(en-us,AX.60).gif addTaxRelationship
Gg820475.pubmethod(en-us,AX.60).gif addTaxTransRelationship Adds a relationship to the specified TaxTrans record.
Gg820475.privmethod(en-us,AX.60).gif addTaxUncommittedRelationship Adds a relationship to the specified TaxUncommitted record.
Gg820475.pubmethod(en-us,AX.60).gif addTaxWHTTransRelationship_IN Adds a tax transaction relationship.
Gg820475.pubmethod(en-us,AX.60).gif addToGeneralJournal Adds the transaction to the general journal.
Gg820475.protmethod(en-us,AX.60).gif addToSubledgerJournal Adds the transaction to the subledger journal.
Gg820475.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg820475.privmethod(en-us,AX.60).gif check Determine whether the date, account, and dimension values for a single ledger line are valid to post it.
Gg820475.pubmethod(en-us,AX.60).gif checkData Validates the ledger posting transaction.
Gg820475.privmethod(en-us,AX.60).gif checkDebitCredit Validates that the debit or credit requirement.
Gg820475.privmethod(en-us,AX.60).gif checkRounding Validates that the transaction amounts are correctly rounded.
Gg820475.pubmethod(en-us,AX.60).gif clone
Gg820475.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg820475.pubmethod(en-us,AX.60).gif getAdjustedTransferLevel
Gg820475.pubmethod(en-us,AX.60).gif getLedgerPostingTransaction Gets the LedgerPostingTransactionTmp record for the current object.
Gg820475.pubmethod(en-us,AX.60).gif getProjectPostingTransaction This method is obsolete.
Gg820475.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg820475.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg820475.privmethod(en-us,AX.60).gif initFromInterunitAccountEntry
Gg820475.pubmethod(en-us,AX.60).gif initFromLedgerPostingTransaction Initializes the current object from the LedgerPostingTransactionTmp record.
Gg820475.pubmethod(en-us,AX.60).gif initFromLedgerVoucherObject Initializes the parameters of an instance of the LedgerVoucherObject class.
Gg820475.pubmethod(en-us,AX.60).gif invertAmounts Inverts the sign of the amounts of the current object.
Gg820475.pubmethod(en-us,AX.60).gif isCredit Gets a value that indicates whether this is a credit.
Gg820475.pubmethod(en-us,AX.60).gif isInterunitAdjustment Gets a value that indicates whether the current object is an interunit adjustment.
Gg820475.pubmethod(en-us,AX.60).gif isModified Gets a value that indicates whether the current object was modified.
Gg820475.pubmethod(en-us,AX.60).gif isPosted Gets a value that indicates whether the current object is posted.
Gg820475.pubmethod(en-us,AX.60).gif level Returns the current level of allocation regarding the calling LedgerVoucherObject object.
Gg820475.pubmethod(en-us,AX.60).gif markAsInterunitAdjustment Marks the current object as an interunit adjustment.
Gg820475.privmethod(en-us,AX.60).gif new
Gg820475.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.)
Gg820475.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.)
Gg820475.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg820475.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg820475.pubmethod(en-us,AX.60).gif pack Serializes the current instance of the LedgerVoucherTransObject class.
Gg820475.pubmethod(en-us,AX.60).gif parmAccountingCurrencyAmount Gets or sets the AccountingCurrencyAmount parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmAccrualInfo Sets the accrualRefTableid and accrualRecRecId variables.
Gg820475.pubmethod(en-us,AX.60).gif parmAllocateLevel Gets or sets the AllocateLevel parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmAllocationLevel Gets or sets the AllocationLevel parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmAmountCur Gets or sets the AmountCur parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmAmountMST Gets or sets the transaction amount in the functional currency.
Gg820475.pubmethod(en-us,AX.60).gif parmAmountMSTSecondary Gets or sets the AmountMSTSecondary parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmCorrect Gets or sets the Correct parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmCurrencyCode Gets or sets the currency code of the transaction.
Gg820475.pubmethod(en-us,AX.60).gif parmCustomTransferLevel Gets or sets the CustomTransferLevel parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmDiscardLastTransTxt Gets or sets the DiscardLastTransTxt parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmExchangeRateDate Gets or sets the ExchangeRateDate parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmGeneralJournalAccountEntry Gets or sets the GeneralJournalAccountEntry parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmHistoricalExchangeRateDate Gets or sets the HistoricalExchangeRateDate parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmIgnoreAllocation Gets or sets the IgnoreAllocation parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmInterunitReference Gets or sets the InterunitReference parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmIsBridgingPosting Gets or sets the IsBridgingPosting parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmIsCorrection Gets or sets the IsCorrection parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmIsExchangeAdjustment Gets or sets the IsExchangeAdjustment parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmIsTaxWithholdParametersEnabled_IN Gets or sets the IsTaxWithholdParametersEnabled_IN parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmLedgerDetailLevel Gets or sets the LedgerDetailLevel parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmLedgerDimensionId Gets or sets the LedgerDimensionId parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmLedgerEntry Gets or sets the LedgerEntry parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmLedgerPostingType Gets or sets the LedgerPostingType parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmParentTempRecId Gets or sets the ParentTempRecId parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmPaymentReference Gets or sets the PaymentReference parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmPaymMode Gets or sets the PaymMode parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmPostingType Gets or sets the PostingType parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmProjLedger Gets or sets the ProjLedger parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmQty Gets or sets the Qty parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmQuantity Gets or sets the Quantity parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmReasonCode Gets or sets the ReasonCode parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmReasonRefRecID Gets or sets the ReasonRefRecID parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmRecId Gets or sets a value that is used for custom summarization.
Gg820475.pubmethod(en-us,AX.60).gif parmReportingCurrencyAmount Gets or sets the ReportingCurrencyAmount parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmSkipBlockedForManualEntryCheck Gets or sets the SkipBlockedForManualEntryCheck parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmSkipDimensionValidation Gets or sets the SkipDimensionValidation parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmSourceRecId Gets or sets the SourceRecId parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmSourceTableId Gets or sets the SourceTableId parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmTaxLinks Gets or sets the TaxLinks parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmTaxParentReferenceRecId Gets or sets the TaxParentReferenceRecId parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmTaxParentReferenceTableId Gets or sets the TaxParentReferenceTableId parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmTaxWHTLinks_IN Gets or sets the TaxWHTLinks_IN parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmTempRecId Gets or sets the TempRecId parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmText Gets or sets the Text parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmThisIsARoundingTrans Gets or sets the ThisIsARoundingTrans parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmTransactionCurrencyAmount Gets or sets the TransactionCurrencyAmount parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmTransactionCurrencyCode Gets or sets the TransactionCurrencyCode parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmTransferLevel Gets or sets the TransferLevel parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmTransTxt Gets or sets the TransTxt parameter.
Gg820475.pubmethod(en-us,AX.60).gif parmUseTaxParentTaxUncommitted Gets or sets the UseTaxParentTaxUncommitted parameter.
Gg820475.pubmethod(en-us,AX.60).gif performInterunitBalancing Performs balancing for the interunit dimensions of the current object.
Gg820475.pubmethod(en-us,AX.60).gif post Makes the transaction a permanent part of the general ledger.
Gg820475.privmethod(en-us,AX.60).gif setIsCredit Sets whether this is a debit or credit.
Gg820475.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg820475.pubmethod(en-us,AX.60).gif taxTransGenJourAcctEntryCollection_RU Returns collection of association with tax transactions
Gg820475.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg820475.pubmethod(en-us,AX.60).gif unpack Deserializes the _packedClass parameter value to an instance of the LedgerVoucherTransObject class.
Gg820475.pubmethod(en-us,AX.60).gif updateSignSide Updates the sign and the side of the current object.
Gg820475.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.)
Gg820475.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg820475.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg820475.pubmethod(en-us,AX.60).gif Gg820475.static(en-us,AX.60).gif ::create Initializes a new instance of the LedgerVoucherTransObject class from a packed class.
Gg820475.pubmethod(en-us,AX.60).gif Gg820475.static(en-us,AX.60).gif ::newAdjustmentDefault Initializes a new instance of the LedgerVoucherTransObject class for an accounting currency amount or reporting currency amount adjustment.
Gg820475.pubmethod(en-us,AX.60).gif Gg820475.static(en-us,AX.60).gif ::newBasicDefault Initializes a new instance of the LedgerVoucherTransObject class that uses a ledger posting reference for defaulting.
Gg820475.pubmethod(en-us,AX.60).gif Gg820475.static(en-us,AX.60).gif ::newBasicMST_RU Initializes a new instance of the LedgerVoucherTransObject class using a ledger posting reference for an accounting currency amount
Gg820475.pubmethod(en-us,AX.60).gif Gg820475.static(en-us,AX.60).gif ::newBasicSecondary_RU Initializes a new instance of the LedgerVoucherTransObject class using a ledger posting reference for an accounting currency amount
Gg820475.pubmethod(en-us,AX.60).gif Gg820475.static(en-us,AX.60).gif ::newGeneralJournal Initializes a new instance of the LedgerVoucherTransObject class from a general journal entry.
Gg820475.pubmethod(en-us,AX.60).gif Gg820475.static(en-us,AX.60).gif ::newLedgerAllocationItem Initializes a new instance of the LedgerVoucherTransObject class from a ledger allocation item.
Gg820475.pubmethod(en-us,AX.60).gif Gg820475.static(en-us,AX.60).gif ::newLedgerPostingTransaction Initializes a new instance of the LedgerVoucherTransObject class.
Gg820475.pubmethod(en-us,AX.60).gif Gg820475.static(en-us,AX.60).gif ::newSubLedgerJournalAccountEntryDefault Initializes a new instance of the LedgerVoucherTransObject class by using a ledger posting reference for defaulting.
Gg820475.pubmethod(en-us,AX.60).gif Gg820475.static(en-us,AX.60).gif ::newTransactionAccountingAmountsDefault Initializes a new instance of the LedgerVoucherTransObject class that has a transaction currency amount, an accounting currency amount, and a ledger posting reference for defaulting.
Gg820475.pubmethod(en-us,AX.60).gif Gg820475.static(en-us,AX.60).gif ::newTransactionAmountDefault Initializes a new instance of the LedgerVoucherTransObject class by using a transaction currency amount and a ledger posting reference for defaulting.
Gg820475.pubmethod(en-us,AX.60).gif Gg820475.static(en-us,AX.60).gif ::newTransLedgerJournal Creates a new LedgerVoucherTransObject object that is based on a specified LedgerJournalTrans record.
Gg820475.pubmethod(en-us,AX.60).gif Gg820475.static(en-us,AX.60).gif ::newTransLedgerJournalForCashDisc

Top

Remarks

The transaction is stored in a temporary instance of a LedgerEntry Table record buffer. The temporary transaction is inserted into the database during posting and made a permanent record.

Inheritance Hierarchy

Object Class
  LedgerVoucherTransObject Class

See Also

LedgerVoucherObject Class

LedgerVoucherTransList Class