PurchOrderLineSourceDocumentLineItem Class [AX 2012]
The PurchOrderLineSourceDocLineItem class provides the required information to handle the distributions and sub-ledger journal account entries for a purchase order 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 PurchOrderLineSourceDocumentLineItem extends SourceDocumentLineItem implements SourceDocumentLineItemIProductQuantity, SourceDocumentLineItemIProduct, SourceDocumentLineItemIInventory, SourceDocumentIChargeSource, SourceDocumentLineItemIProjectRevenue, SourceDocumentLineItemIFixedAsset, SourceDocumentIDataProvider, SourceDocumentLineItemIProductionFlow, SourceDocumentLineItemIFinalize, SourceDocumentIPurchaseOrder, SourceDocumentLineItemIFixedAsset_RU
Microsoft Dynamics AX 2012 R2 (SYS)
class PurchOrderLineSourceDocumentLineItem extends SourceDocumentLineItem implements SourceDocumentLineItemIProductQuantity, SourceDocumentLineItemIProduct, SourceDocumentLineItemIInventory, SourceDocumentIChargeSource, SourceDocumentLineItemIProjectRevenue, SourceDocumentLineItemIFixedAsset, SourceDocumentIDataProvider, SourceDocumentLineItemIProductionFlow, SourceDocumentLineItemIFinalize, SourceDocumentLineItemIFixedAsset_RU
Microsoft Dynamics AX 2012 Feature Pack (SYS)
class PurchOrderLineSourceDocumentLineItem extends SourceDocumentLineItem implements SourceDocumentLineItemIProductQuantity, SourceDocumentLineItemIProduct, SourceDocumentLineItemIInventory, SourceDocumentIChargeSource, SourceDocumentLineItemIProjectRevenue, SourceDocumentLineItemIFixedAsset, SourceDocumentIDataProvider, SourceDocumentLineItemIProductionFlow, SourceDocumentLineItemIFinalize
Microsoft Dynamics AX 2012 (FPK)
class PurchOrderLineSourceDocumentLineItem extends SourceDocumentLineItem implements SourceDocumentLineItemIProductQuantity, SourceDocumentLineItemIProduct, SourceDocumentLineItemIInventory, SourceDocumentIChargeSource, SourceDocumentLineItemIProjectRevenue, SourceDocumentLineItemIFixedAsset, SourceDocumentIDataProvider, SourceDocumentLineItemIProductionFlow, SourceDocumentLineItemIFinalize
Microsoft Dynamics AX 2012 (SYS)
class PurchOrderLineSourceDocumentLineItem extends SourceDocumentLineItem implements SourceDocumentLineItemIProductQuantity, SourceDocumentLineItemIProduct, SourceDocumentLineItemIInventory, SourceDocumentIChargeSource, SourceDocumentLineItemIProjectRevenue, SourceDocumentLineItemIFixedAsset, SourceDocumentIDataProvider, SourceDocumentLineItemIProductionFlow, SourceDocumentLineItemIFinalize
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.) |
| canUseOriginLineDistForChildAmount | Indicates whether origin line distributions can be used for child monetary amount like discount. (Overrides the canUseOriginLineDistForChildAmount Method.) |
| documentsBusinessEvent | Indicates if the SourceDocumentLineItem documents a business event. (Overrides the documentsBusinessEvent Method.) |
| documentsInterCompanyBusinessEvent | Indicates whether the SourceDocumentLineItem documents an intercompany business event. (Inherited from SourceDocumentLineItem.) |
| 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.) |
| existRAssets_RU | performs check of asset existence in purchase line |
| 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.) |
| getIDataProvider | (Inherited from SourceDocumentLineItem.) |
| getLedgerDimensionFromPurchLine | |
| 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. (Inherited from SourceDocumentLineItem.) |
| 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.) |
| initOriginSourceDocumentLineItem | (Overrides the initOriginSourceDocumentLineItem Method.) |
| initPurchTable | |
| initSourceDocumentAmountList | Initializes the document graph for distributing. (Inherited from SourceDocumentLineItem.) |
| initSourceDocumentLineItemAccDistList | Initializes the document graph for distributing. (Inherited from SourceDocumentLineItem.) |
| initSourceDocumentLineMatchingList | (Overrides the initSourceDocumentLineMatchingList Method.) |
| initSourceDocumentLineRelievingList | (Inherited from SourceDocumentLineItem.) |
| ledgerDimensionDefaulAccountFromMarkup | Finds default main account used for posting in ledger. |
| 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.) |
| parmAssetDataAreaId | Gets the AssetDataAreaId parameter. |
| parmAssetGroupDataAreaId | Gets the AssetGroupDataAreaId parameter. |
| parmAssetGroupId | Gets the AssetGroupId parameter. |
| parmAssetId | Gets the AssetId parameter. |
| parmAssetTransactionType | Gets the AssetTransactionType parameter. |
| parmBusinessEventDate | Gets the BusinessEventDate parameter. (Overrides the parmBusinessEventDate Method.) |
| parmCaller | Gets or sets the Caller parameter. (Inherited from SourceDocumentLineItem.) |
| parmCategory | Gets the Category parameter. |
| parmChargeInputAmount | Gets the ChargeInputAmount parameter. |
| parmChargeQuantity | Gets the ChargeQuantity parameter. |
| parmChargeSource | Gets or sets the ChargeSource parameter. |
| 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 | Gets the CopyDistributionReferenceOfOriginal parameter. (Overrides the parmCopyDistributionReferenceOfOriginal Method.) |
| 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. (Inherited from SourceDocumentLineItem.) |
| parmDefaultDimension | Gets the DefaultDimension parameter. (Overrides the parmDefaultDimension Method.) |
| 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.) |
| parmDistributeAmountsToLegalEntities | Gets the DistributeAmountsToLegalEntities parameter. (Inherited from SourceDocumentLineItem.) |
| parmDistributionTemplateRecId | Gets the DistributionTemplateRecId parameter. (Overrides the parmDistributionTemplateRecId Method.) |
| parmExchangeRate1 | Gets the ExchangeRate1 parameter. (Inherited from SourceDocumentLineItem.) |
| parmExchangeRate2 | Gets the ExchangeRate2 parameter. (Inherited from SourceDocumentLineItem.) |
| 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. (Overrides the parmHistoricalExchangeRateDate Method.) |
| parmInventoryDimensionId | Gets the InventoryDimensionId parameter. |
| parmInventTable | Gets the InventTable parameter. |
| parmIsCopyOfOriginSourceDocLineItem | Gets the IsCopyOfOriginSourceDocLineItem parameter. (Inherited from SourceDocumentLineItem.) |
| parmIsDocumentLineEditable | Gets the IsDocumentLineEditable parameter. (Overrides the parmIsDocumentLineEditable Method.) |
| parmIsTaxInChargeInputAmountIncluded | Gets the IsTaxInChargeInputAmountIncluded parameter. |
| parmIsWorkflowEditable | Decides if the source document line is editable for source document framework when workflow is enabled. (Inherited from SourceDocumentLineItem.) |
| parmItemDataAreaId | Gets the ItemDataAreaId parameter. |
| parmItemId | Gets the ItemId parameter. |
| 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. (Overrides the parmLedgerDimensionOverrideAccount Method.) |
| parmLegalEntity | Gets the LegalEntity parameter. |
| parmLegalEntityDataAreaId | Gets the LegalEntityDataAreaId parameter. (Inherited from SourceDocumentLineItem.) |
| parmLegalEntityRecId | Gets the LegalEntityRecId parameter. (Inherited from SourceDocumentLineItem.) |
| parmLineNum | Gets the LineNum parameter. (Overrides the parmLineNum Method.) |
| parmLineOrderByValue | Gets the value of the order by field of the SourceDocumentTmpAmount table. (Inherited from SourceDocumentLineItem.) |
| parmLotId | Gets the LotId 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.) |
| parmPlanReference | Gets the PlanReference parameter. |
| parmProjectActivityNumber | Gets the ProjectActivityNumber parameter. |
| parmProjectCategoryId | Gets the ProjectCategoryId parameter. |
| parmProjectFundingSourceRecId | Gets the ProjectFundingSourceRecId 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 ProjectWorkerRecId parameter. |
| parmPurchTable | Gets or sets the PurchTable parameter. |
| parmQuantity | Gets the Quantity parameter. |
| parmRecordAccountingEvent | Gets the RecordAccountingEvent parameter. (Inherited from SourceDocumentLineItem.) |
| parmSingularLabel | Gets or sets the SingularLabel parameter. (Inherited from SourceDocumentLineItem.) |
| parmSourceDocLineFinalizedDate | Gets the SourceDocLineFinalizedDate parameter. |
| 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.) |
| parmStocked | Gets the Stocked parameter. |
| parmTaxGroup | Gets or sets the TaxGroup parameter. |
| parmTransactionCurrencyCode | Gets the TransactionCurrencyCode parameter. (Overrides the parmTransactionCurrencyCode Method.) |
| parmValueModel | Gets the ValueModel parameter. |
| 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. (Overrides the useOriginalDistributionAmount Method.) |
| 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.) |
| ::parmAccountFromMarkupEventHandler | Sets account and populates with data from the _args value. |
Community Additions
ADD
Show:
Note