TrvExpTransSourceDocLineItem Class [AX 2012]
The TrvExpTransSourceDocLineItem class provides the information to handle the distributions and sub-ledger journal account entries for an expense report line.
Note |
|---|
|
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using. |
Microsoft Dynamics AX 2012 R3
class TrvExpTransSourceDocLineItem extends SourceDocumentLineItem implements SourceDocumentLineItemIProjectTransDate, SourceDocumentLineItemIExpenseReport, SourceDocumentLineItemIProductQuantity, SourceDocumentLineItemIAccDateUpdateable, SourceDocumentLineItemIDescription
Microsoft Dynamics AX 2012 R2 (SYS)
class TrvExpTransSourceDocLineItem extends SourceDocumentLineItem implements SourceDocumentLineItemIProjectRevenue, SourceDocumentLineItemIExpenseReport, SourceDocumentLineItemIProductQuantity, SourceDocumentLineItemIDescription
Microsoft Dynamics AX 2012 Feature Pack (SYS)
class TrvExpTransSourceDocLineItem extends SourceDocumentLineItem implements SourceDocumentLineItemIProjectRevenue, SourceDocumentLineItemIExpenseReport, SourceDocumentLineItemIProductQuantity
Microsoft Dynamics AX 2012 (FPK)
class TrvExpTransSourceDocLineItem extends SourceDocumentLineItem implements SourceDocumentLineItemIProjectRevenue, SourceDocumentLineItemIExpenseReport, SourceDocumentLineItemIProductQuantity
Microsoft Dynamics AX 2012 (SYS)
class TrvExpTransSourceDocLineItem extends SourceDocumentLineItem implements SourceDocumentLineItemIProjectRevenue, SourceDocumentLineItemIExpenseReport, SourceDocumentLineItemIProductQuantity
Run On
Server| Method | Description | |
|---|---|---|
| calculateDefaultDimension | Calculates the default dimension for the line. (Overrides the calculateDefaultDimension Method.) |
| calculateLegalEntityRecId | (Overrides the calculateLegalEntityRecId Method.) |
| calculateSourceDocumentAmountMap | Calculates the amount map for the line. (Overrides the calculateSourceDocumentAmountMap Method.) |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| canLineMatchAmountExceedReferenceDist | Check if the total line match amount can exceed the reference distribution amount. (Overrides the canLineMatchAmountExceedReferenceDist Method.) |
| canUpdateAccountingDate | Check if the accounting date can be updated when it lies in a closed period. |
| canUseOriginLineDistForChildAmount | Indicates whether origin line distributions can be used for child monetary amount like discount. (Inherited from SourceDocumentLineItem.) |
| documentsBusinessEvent | Indicates whether the SourceDocumentLineItem class documents a business event. (Overrides the documentsBusinessEvent Method.) |
| documentsInterCompanyBusinessEvent | Indicates whether the SourceDocumentLineItem documents an intercompany business event. (Overrides the documentsInterCompanyBusinessEvent Method.) |
| doUseMatchListOnCheckForDervInputChg | Specifies whether a matched list should be used for checking whether dimension derivation input has changed. (Inherited from SourceDocumentLineItem.) |
| doUseMatchListOnCheckMainAccDervInputChg | Specifies whether a matched list should be used for checking whether main account derivation input has changed. (Inherited from SourceDocumentLineItem.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getAccDistListForMonetaryAmount | Gets the accounting distributions for the collection of monetary amounts. (Inherited from SourceDocumentLineItem.) |
| getDataProvider | Gets the source document component that provides data to accounting processes. (Inherited from SourceDocumentLineItem.) |
| getDefaultAccountFromExpenseCategory | |
| getIDataProvider | (Inherited from SourceDocumentLineItem.) |
| getParentAccDistListForMonetaryAmount | Gets the parent accounting distributions for the specified monetary amount. (Inherited from SourceDocumentLineItem.) |
| getRelievedAmountOfMonetaryAmount | Gets the total relieved amount of a monetary amount. (Inherited from SourceDocumentLineItem.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| hasAmountResolutionInputChanged | Determines whether the amount resolution relevant information has changed. (Inherited from SourceDocumentLineItem.) |
| hasDimensionDerivationInputChanged | This method determines whether changes to the source document line implementation should force a new dimension to be redefaulted. (Inherited from SourceDocumentLineItem.) |
| hasMainAccDerivationInputChanged | This method determines whether changes to the source document line implementation should force a new main account to be redefaulted. (Overrides the hasMainAccDerivationInputChanged Method.) |
| hasMatchedMainAccDerivationInputChanged | This method determines whether changes to the matched source document line implementation should force a new main account to be redefaulted. (Inherited from SourceDocumentLineItem.) |
| honorMainAccDerivInputChangedInReversal | This method can be used to determine whether or not hasMainAccDerivationInputChanged should be honored in the reversal scenario. (Inherited from SourceDocumentLineItem.) |
| initAccountingDistributionList | Initializes an AccountingDistributionList class for the SourceDocumentLineItem class. (Inherited from SourceDocumentLineItem.) |
| initChildSourceDocumentLineItemList | Initializes the document graph for distributing. (Inherited from SourceDocumentLineItem.) |
| initialize | Initializes the instance variables. (Inherited from SourceDocumentLineItem.) |
| initializeDataProvider | Initializes the source document data provider. (Inherited from SourceDocumentLineItem.) |
| initializeDocumentGraph | Initializes the source document graph. (Inherited from SourceDocumentLineItem.) |
| initializeExchangeRates | Initializes the exchange rates. (Inherited from SourceDocumentLineItem.) |
| initializeImplementation | Initializes the instance variables. (Overrides the initializeImplementation Method.) |
| initializeInterCompanyLedgerDimension | Calculates the ledger dimension when intercompany is enabled and the project is not attached to the expense report. |
| initOriginSourceDocumentLineItem | (Overrides the initOriginSourceDocumentLineItem Method.) |
| initProject | |
| initSourceDocumentAmountList | Initializes the document graph for distributing. (Inherited from SourceDocumentLineItem.) |
| initSourceDocumentLineItemAccDistList | Initializes the document graph for distributing. (Inherited from SourceDocumentLineItem.) |
| initSourceDocumentLineMatchingList | Returns a SourceDocumentLineMatchingList object that contains the source document line of the travel requisition line to which the expense line is mapped. (Overrides the initSourceDocumentLineMatchingList Method.) |
| initSourceDocumentLineRelievingList | (Inherited from SourceDocumentLineItem.) |
| isNonPrimaryItemizedLine | |
| new | Initializes a new instance of the SourceDocumentLineItem class. (Inherited from SourceDocumentLineItem.) |
| 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.) |
| parmAccountingDate | Gets the AccountingDate parameter. (Overrides the parmAccountingDate Method.) |
| parmAccountingDistributionList | Gets or sets the AccountingDistributionList parameter. (Inherited from SourceDocumentLineItem.) |
| parmBusinessEventDate | Gets the BusinessEventDate parameter. (Inherited from SourceDocumentLineItem.) |
| parmCaller | Gets or sets the Caller parameter. (Inherited from SourceDocumentLineItem.) |
| parmChildSourceDocumentLineItemList | Gets the ChildSourceDocumentLineItemList parameter. (Inherited from SourceDocumentLineItem.) |
| parmCompletedSourceRelationType | Gets the ID of the table that owns the source document line after completion or posting. (Inherited from SourceDocumentLineItem.) |
| parmCopyDistributionReferenceOfOriginal | Decides whether the distribution reference information from original source document can be copied. (Inherited from SourceDocumentLineItem.) |
| parmCurrentStateContainer | Gets the CurrentStateContainer parameter. (Inherited from SourceDocumentLineItem.) |
| parmCurrentStateDataAmountResolution | Gets the CurrentStateDataAmountResolution parameter. (Inherited from SourceDocumentLineItem.) |
| parmCurrentStateDataDimensionDerivation | Gets the CurrentStateDataDimensionDerivation parameter. (Inherited from SourceDocumentLineItem.) |
| parmCurrentStateDataMainAccDerivation | Gets the CurrentStateDataMainAccDerivation parameter. (Overrides the parmCurrentStateDataMainAccDerivation Method.) |
| parmDefaultDimension | Gets the DefaultDimension parameter. (Inherited from SourceDocumentLineItem.) |
| parmDeferredTaxAccount | Retrieve the appropriate main account for Hungarian Deferred Taxes (Inherited from SourceDocumentLineItem.) |
| parmDeriveMainAccount | Determines if the derivation information for the Main account has changed. (Inherited from SourceDocumentLineItem.) |
| parmDescription | Gets the Description parameter. |
| parmDistributeAmountsToLegalEntities | Gets the DistributeAmountsToLegalEntities parameter. (Overrides the parmDistributeAmountsToLegalEntities Method.) |
| parmDistributionTemplate | Gets the DistributionTemplate parameter. |
| parmDistributionTemplateRecId | Gets the DistributionTemplateRecId parameter. (Inherited from SourceDocumentLineItem.) |
| parmExchangeRate1 | Gets the ExchangeRate1 parameter. (Overrides the parmExchangeRate1 Method.) |
| parmExchangeRate2 | Gets the ExchangeRate2 parameter. (Inherited from SourceDocumentLineItem.) |
| parmExpenseLine | Gets the ExpenseLine parameter. |
| parmForceOriginalMainAccountDerivation | Determines if the main account will be rederived on the document's original creation even when hasMainAccountDerivationInputChanged returns false. (Inherited from SourceDocumentLineItem.) |
| parmHasMatchedAccountingDistribution | Gets the HasMatchedAccountingDistribution parameter. (Inherited from SourceDocumentLineItem.) |
| parmHistoricalExchangeRateDate | Gets the HistoricalExchangeRateDate parameter. (Inherited from SourceDocumentLineItem.) |
| parmIsCopyOfOriginSourceDocLineItem | Gets the IsCopyOfOriginSourceDocLineItem parameter. (Inherited from SourceDocumentLineItem.) |
| parmIsDocumentLineEditable | Gets the IsDocumentLineEditable parameter. (Overrides the parmIsDocumentLineEditable Method.) |
| parmIsWorkflowEditable | Decides if the source document line is editable for source document framework when workflow is enabled. (Inherited from SourceDocumentLineItem.) |
| parmLabel | Gets or sets the Label parameter. (Inherited from SourceDocumentLineItem.) |
| parmLedger | Gets the Ledger parameter. (Inherited from SourceDocumentLineItem.) |
| parmLedgerDimensionDefaultAccount | Gets or sets the LedgerDimensionDefaultAccount parameter. (Overrides the parmLedgerDimensionDefaultAccount Method.) |
| parmLedgerDimensionOverrideAccount | Gets the LedgerDimensionOverrideAccount parameter. (Inherited from SourceDocumentLineItem.) |
| parmLegalEntityDataAreaId | Gets the LegalEntityDataAreaId parameter. (Inherited from SourceDocumentLineItem.) |
| parmLegalEntityRecId | Gets the LegalEntityRecId parameter. (Inherited from SourceDocumentLineItem.) |
| parmLineNum | Gets the LineNum parameter. (Inherited from SourceDocumentLineItem.) |
| parmLineOrderByValue | Gets the value of the order by field of the SourceDocumentTmpAmount table. (Inherited from SourceDocumentLineItem.) |
| parmMappedToRequisitionLineRecId | Gets the MappedToRequisitionLineRecId parameter. |
| parmOriginSourceDocumentLineItem | Gets the OriginSourceDocumentLineItem parameter. (Inherited from SourceDocumentLineItem.) |
| parmParentAccountingDistributionList | Gets or sets the ParentAccountingDistributionList parameter. (Inherited from SourceDocumentLineItem.) |
| parmParentSourceDocumentLine | Gets the ParentSourceDocumentLine parameter. (Inherited from SourceDocumentLineItem.) |
| parmParentSourceDocumentLineItem | Gets or sets the ParentSourceDocumentLineItem parameter. (Inherited from SourceDocumentLineItem.) |
| parmProjectActivityNumber | Gets the ProjectActivityNumber parameter. |
| parmProjectCategoryId | Gets the ProjectCategoryId parameter. |
| parmProjectFundingSourceRecId | Gets the ProjectFundingSourcerecord ID parameter. |
| parmProjectId | Gets the ProjectId parameter. |
| parmProjectItemSalesTaxGroup | Gets the ProjectItemSalesTaxGroup parameter. |
| parmProjectLineProperty | Gets the ProjectLineProperty parameter. |
| parmProjectSalesCurrencyCode | Gets the ProjectSalesCurrencyCode parameter. |
| parmProjectSalesPrice | Gets the ProjectSalesPrice parameter. |
| parmProjectSalesTaxGroup | Gets the ProjectSalesTaxGroup parameter. |
| parmProjectSalesUnit | Gets the ProjectSalesUnit parameter. |
| parmProjectTransactionId | Gets the ProjectTransactionId parameter. |
| parmProjectWorkerRecId | Gets the ProjectWorkerrecord ID parameter. |
| parmProjTransDate | Gets the ProjTransDate parameter. |
| parmQuantity | Gets the Quantity parameter. |
| parmRecordAccountingEvent | Gets the RecordAccountingEvent parameter. (Inherited from SourceDocumentLineItem.) |
| parmSingularLabel | Gets or sets the SingularLabel parameter. (Inherited from SourceDocumentLineItem.) |
| parmSourceDocument | Gets the SourceDocument parameter. (Inherited from SourceDocumentLineItem.) |
| parmSourceDocumentAmountList | (Inherited from SourceDocumentLineItem.) |
| parmSourceDocumentAmountMap | Gets the SourceDocumentAmountMap parameter. (Inherited from SourceDocumentLineItem.) |
| parmSourceDocumentHeaderRecId | Gets the SourceDocumentHeaderRecId parameter. (Inherited from SourceDocumentLineItem.) |
| parmSourceDocumentLine | Gets the SourceDocumentLine parameter. (Inherited from SourceDocumentLineItem.) |
| parmSourceDocumentLineImplementation | Gets the SourceDocumentLineImplementation parameter. (Inherited from SourceDocumentLineItem.) |
| parmSourceDocumentLineItemAccDistList | Gets the SourceDocumentLineItemAccDistList parameter. (Inherited from SourceDocumentLineItem.) |
| parmSourceDocumentLineItemConstraint | Gets the SourceDocumentLineItemConstraint parameter. (Inherited from SourceDocumentLineItem.) |
| parmSourceDocumentLineMatchingList | Gets the SourceDocumentLineMatchingList parameter. (Inherited from SourceDocumentLineItem.) |
| parmSourceDocumentLineRelievingList | Gets the SourceDocumentLineRelievingList parameter. (Inherited from SourceDocumentLineItem.) |
| parmSourceDocumentLineStatus | Gets or sets the SourceDocumentLineStatus parameter. (Inherited from SourceDocumentLineItem.) |
| parmTransactionCurrencyCode | Gets the TransactionCurrencyCode parameter. (Overrides the parmTransactionCurrencyCode Method.) |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| traverseDocumentGraph | Traverses the SourceDocumentLine tables and associated child maps that populate a SourceDocumentLineItemList class. (Inherited from SourceDocumentLineItem.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| useOriginalDistributionAmount | Indicates whether origin line distributions amount can be used. (Inherited from SourceDocumentLineItem.) |
| useSourceDocumentAmountMatchDist | Check if matched source document amount accounting distributions can be used to derive ledger dimensions. (Inherited from SourceDocumentLineItem.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::convertToLedgerDimension | This method gives the ledger dimension for a specified accounting type and account. |
Community Additions
ADD
Show:
Note