PurchaseOrderSourceDocument Class [AX 2012]
The PurchaseOrderSourceDoc class provides the information to handle the distributions and subledger journal lines of a PurchTable record that is generated from a purchase order.
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 PurchaseOrderSourceDocument extends SourceDocument implements SourceDocumentIParty, SourceDocumentIAccountingRule, SourceDocumentIDataProvider, SourceDocumentIChargeSource, SourceDocumentIFinalize, SourceDocumentIYearEnd, SourceDocumentIDiscount, SourceDocumentIPurchaseOrder
Microsoft Dynamics AX 2012 R2 (SYS)
class PurchaseOrderSourceDocument extends SourceDocument implements SourceDocumentIParty, SourceDocumentIAccountingRule, SourceDocumentIDataProvider, SourceDocumentIChargeSource, SourceDocumentIFinalize, SourceDocumentIYearEnd, SourceDocumentIDiscount
Microsoft Dynamics AX 2012 Feature Pack (SYS)
class PurchaseOrderSourceDocument extends SourceDocument implements SourceDocumentIParty, SourceDocumentIAccountingRule, SourceDocumentIDataProvider, SourceDocumentIChargeSource, SourceDocumentIFinalize, SourceDocumentIYearEnd, SourceDocumentIDiscount
Microsoft Dynamics AX 2012 (FPK)
class PurchaseOrderSourceDocument extends SourceDocument implements SourceDocumentIParty, SourceDocumentIAccountingRule, SourceDocumentIDataProvider, SourceDocumentIChargeSource, SourceDocumentIFinalize, SourceDocumentIYearEnd, SourceDocumentIDiscount
Microsoft Dynamics AX 2012 (SYS)
class PurchaseOrderSourceDocument extends SourceDocument implements SourceDocumentIParty, SourceDocumentIAccountingRule, SourceDocumentIDataProvider, SourceDocumentIChargeSource, SourceDocumentIFinalize, SourceDocumentIYearEnd, SourceDocumentIDiscount
Run On
Server| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| createSourceDocumentLineRelieving | Creates source document lines to relieve upstream document postings. (Inherited from SourceDocument.) |
| documentsBusinessEvent | |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initialize | Initializes instance variables in the current instance of the SourceDocument class. (Inherited from SourceDocument.) |
| initializeDocumentGraph | Initializes the document graph that sequences parent and child SourceDoucmentLine records and their associated maps. (Inherited from SourceDocument.) |
| initializeImplementation | Initializes the instance variables. (Overrides the initializeImplementation Method.) |
| initInvoiceAccount | |
| initSourceDocumentAmountList | Initializes the document graph for distributing. (Inherited from SourceDocument.) |
| initSourceDocumentLineItemAccDistList | Initializes the document graph for distributing. (Inherited from SourceDocument.) |
| new | Initializes a new instance of the SourceDocument class. (Inherited from SourceDocument.) |
| 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.) |
| parmBusinessEventDate | Gets the BusinessEventDate parameter. (Overrides the parmBusinessEventDate Method.) |
| parmChargeInputAmount | Gets the ChargeInputAmount parameter. |
| parmChargeQuantity | Gets the ChargeQuantity parameter. |
| parmChargeSource | Gets or sets the ChargeSource parameter. |
| parmCompletedSourceRelationType | Gets the table ID that owns the source document after completion or posting. (Inherited from SourceDocument.) |
| parmCurrentVoucher | Gets or sets the CurrentVoucher parameter. (Overrides the parmCurrentVoucher Method.) |
| parmDefaultDimension | Gets the DefaultDimension parameter. |
| parmDiscCode | Gets the DiscCode parameter. |
| parmDiscDataAreaId | Gets the DiscDataAreaId parameter. |
| parmDiscDirection | Gets the DiscDirection parameter. |
| parmDistributionTemplateRecId | Gets the DistributionTemplateRecId parameter. |
| parmDocumentDate | Gets the DocumentDate parameter. (Inherited from SourceDocument.) |
| parmDocumentNumber | Gets the DocumentNumber parameter. (Overrides the parmDocumentNumber Method.) |
| parmExchangeRate1 | Gets the ExchangeRate1 parameter. |
| parmExchangeRate2 | Gets the ExchangeRate2 parameter. |
| parmFinalizedVoucher | Gets or sets the FinalizedVoucher parameter. |
| parmFinalizeTransactionText | Gets the FinalizeTransactionText parameter. |
| parmHonorDocumentHeaderEditable | This method returns whether the PurchaseOrderSourceDocument implementation of SourceDocument is honoring the method parmIsDocumentEditable.This is used by the AccountingDistributionViewModel when setting the reset button on the AccountingDistribution form. (Overrides the parmHonorDocumentHeaderEditable Method.) |
| parmIsCorrection | Gets the IsCorrection parameter. (Inherited from SourceDocument.) |
| parmIsDocumentEditable | Gets the IsDocumentEditable parameter. (Overrides the parmIsDocumentEditable Method.) |
| parmIsStornoForReversal_RU | Gets the IsStornoForReversal_RU parameter. (Inherited from SourceDocument.) |
| parmIsTaxInChargeInputAmountIncluded | Gets the IsTaxInChargeInputAmountIncluded parameter. |
| parmLabel | Gets or sets the Label parameter. (Inherited from SourceDocument.) |
| parmPartyAccount | Gets the PartyAccount parameter. |
| parmPeriodCloseTransactionText | Gets the PeriodCloseTransactionText parameter. |
| parmPeriodCloseVoucher | Gets the PeriodCloseVoucher parameter. |
| parmPeriodOpenTransactionText | Gets the PeriodOpenTransactionText parameter. |
| parmPeriodOpenVoucher | Gets the PeriodOpenVoucher parameter. |
| parmPostingProfile | Gets the PostingProfile parameter. |
| parmProjId | Gets the ProjId parameter. |
| parmPseudoDocumentNumber | Gets the pseudo document number if the real document number does not exist yet. (Inherited from SourceDocument.) |
| parmPurchaseType | Gets the PurchaseType parameter. |
| parmPurchTable | Gets or sets the PurchTable parameter. |
| parmReferenceSourceDocument | Gets the ReferenceSourceDocument parameter. (Inherited from SourceDocument.) |
| parmSingularLabel | Gets or sets the SingularLabel parameter. (Inherited from SourceDocument.) |
| parmSingularLabelId | Gets the label ID for the singular label of the implementation table. (Inherited from SourceDocument.) |
| parmSkipAccountValidation | Gets the SkipAccountValidation parameter. (Inherited from SourceDocument.) |
| parmSourceDocumentAmountList | Gets the SourceDocumentAmountList parameter. (Inherited from SourceDocument.) |
| parmSourceDocumentFinalizedDate | Gets the SourceDocumentFinalizedDate parameter. |
| parmSourceDocumentHeader | Gets the SourceDocumentHeader parameter. (Inherited from SourceDocument.) |
| parmSourceDocumentLineItemAccDistList | Gets the SourceDocumentLineItemAccDistList parameter. (Inherited from SourceDocument.) |
| parmSourceDocumentType | Gets the SourceDocumentType parameter. (Inherited from SourceDocument.) |
| parmTransactionText | Gets the TransactionText parameter. (Overrides the parmTransactionText Method.) |
| retrieveTransactionTxt | Retrieves the transaction text for the purchase order and the specified LedgerTransTxt value. |
| 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 SourceDocumentLine records by iterating associated child maps and populating a SourceDocumentLineItemList object. (Inherited from SourceDocument.) |
| 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.) |
| yearEndBusinessEvent |
Community Additions
ADD
Show:
Note