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