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.

NoteNote

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

  MethodDescription
Gg923566.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg923566.pubmethod(en-us,AX.60).gif createSourceDocumentLineRelieving Creates source document lines to relieve upstream document postings. (Inherited from SourceDocument.)
Gg923566.pubmethod(en-us,AX.60).gif documentsBusinessEvent
Gg923566.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg923566.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg923566.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg923566.protmethod(en-us,AX.60).gif initialize Initializes instance variables in the current instance of the SourceDocument class. (Inherited from SourceDocument.)
Gg923566.protmethod(en-us,AX.60).gif initializeDocumentGraph Initializes the document graph that sequences parent and child SourceDoucmentLine records and their associated maps. (Inherited from SourceDocument.)
Gg923566.protmethod(en-us,AX.60).gif initializeImplementation Initializes the instance variables. (Overrides the initializeImplementation Method.)
Gg923566.privmethod(en-us,AX.60).gif initInvoiceAccount
Gg923566.protmethod(en-us,AX.60).gif initSourceDocumentAmountList Initializes the document graph for distributing. (Inherited from SourceDocument.)
Gg923566.protmethod(en-us,AX.60).gif initSourceDocumentLineItemAccDistList Initializes the document graph for distributing. (Inherited from SourceDocument.)
Gg923566.protmethod(en-us,AX.60).gif new Initializes a new instance of the SourceDocument class. (Inherited from SourceDocument.)
Gg923566.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.)
Gg923566.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.)
Gg923566.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg923566.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg923566.pubmethod(en-us,AX.60).gif parmAccountingDate Gets the AccountingDate parameter. (Overrides the parmAccountingDate Method.)
Gg923566.pubmethod(en-us,AX.60).gif parmBusinessEventDate Gets the BusinessEventDate parameter. (Overrides the parmBusinessEventDate Method.)
Gg923566.pubmethod(en-us,AX.60).gif parmChargeInputAmount Gets the ChargeInputAmount parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmChargeQuantity Gets the ChargeQuantity parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmChargeSource Gets or sets the ChargeSource parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmCompletedSourceRelationType Gets the table ID that owns the source document after completion or posting. (Inherited from SourceDocument.)
Gg923566.pubmethod(en-us,AX.60).gif parmCurrentVoucher Gets or sets the CurrentVoucher parameter. (Overrides the parmCurrentVoucher Method.)
Gg923566.pubmethod(en-us,AX.60).gif parmDefaultDimension Gets the DefaultDimension parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmDiscCode Gets the DiscCode parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmDiscDataAreaId Gets the DiscDataAreaId parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmDiscDirection Gets the DiscDirection parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmDistributionTemplateRecId Gets the DistributionTemplateRecId parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmDocumentDate Gets the DocumentDate parameter. (Inherited from SourceDocument.)
Gg923566.pubmethod(en-us,AX.60).gif parmDocumentNumber Gets the DocumentNumber parameter. (Overrides the parmDocumentNumber Method.)
Gg923566.pubmethod(en-us,AX.60).gif parmExchangeRate1 Gets the ExchangeRate1 parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmExchangeRate2 Gets the ExchangeRate2 parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmFinalizedVoucher Gets or sets the FinalizedVoucher parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmFinalizeTransactionText Gets the FinalizeTransactionText parameter.
Gg923566.pubmethod(en-us,AX.60).gif 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.)
Gg923566.pubmethod(en-us,AX.60).gif parmIsCorrection Gets the IsCorrection parameter. (Inherited from SourceDocument.)
Gg923566.pubmethod(en-us,AX.60).gif parmIsDocumentEditable Gets the IsDocumentEditable parameter. (Overrides the parmIsDocumentEditable Method.)
Gg923566.pubmethod(en-us,AX.60).gif parmIsStornoForReversal_RU Gets the IsStornoForReversal_RU parameter. (Inherited from SourceDocument.)
Gg923566.pubmethod(en-us,AX.60).gif parmIsTaxInChargeInputAmountIncluded Gets the IsTaxInChargeInputAmountIncluded parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmLabel Gets or sets the Label parameter. (Inherited from SourceDocument.)
Gg923566.pubmethod(en-us,AX.60).gif parmPartyAccount Gets the PartyAccount parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmPeriodCloseTransactionText Gets the PeriodCloseTransactionText parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmPeriodCloseVoucher Gets the PeriodCloseVoucher parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmPeriodOpenTransactionText Gets the PeriodOpenTransactionText parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmPeriodOpenVoucher Gets the PeriodOpenVoucher parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmPostingProfile Gets the PostingProfile parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmProjId Gets the ProjId parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmPseudoDocumentNumber Gets the pseudo document number if the real document number does not exist yet. (Inherited from SourceDocument.)
Gg923566.pubmethod(en-us,AX.60).gif parmPurchaseType Gets the PurchaseType parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmPurchTable Gets or sets the PurchTable parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmReferenceSourceDocument Gets the ReferenceSourceDocument parameter. (Inherited from SourceDocument.)
Gg923566.pubmethod(en-us,AX.60).gif parmSingularLabel Gets or sets the SingularLabel parameter. (Inherited from SourceDocument.)
Gg923566.pubmethod(en-us,AX.60).gif parmSingularLabelId Gets the label ID for the singular label of the implementation table. (Inherited from SourceDocument.)
Gg923566.pubmethod(en-us,AX.60).gif parmSkipAccountValidation Gets the SkipAccountValidation parameter. (Inherited from SourceDocument.)
Gg923566.pubmethod(en-us,AX.60).gif parmSourceDocumentAmountList Gets the SourceDocumentAmountList parameter. (Inherited from SourceDocument.)
Gg923566.pubmethod(en-us,AX.60).gif parmSourceDocumentFinalizedDate Gets the SourceDocumentFinalizedDate parameter.
Gg923566.pubmethod(en-us,AX.60).gif parmSourceDocumentHeader Gets the SourceDocumentHeader parameter. (Inherited from SourceDocument.)
Gg923566.pubmethod(en-us,AX.60).gif parmSourceDocumentLineItemAccDistList Gets the SourceDocumentLineItemAccDistList parameter. (Inherited from SourceDocument.)
Gg923566.pubmethod(en-us,AX.60).gif parmSourceDocumentType Gets the SourceDocumentType parameter. (Inherited from SourceDocument.)
Gg923566.pubmethod(en-us,AX.60).gif parmTransactionText Gets the TransactionText parameter. (Overrides the parmTransactionText Method.)
Gg923566.protmethod(en-us,AX.60).gif retrieveTransactionTxt Retrieves the transaction text for the purchase order and the specified LedgerTransTxt value.
Gg923566.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg923566.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg923566.protmethod(en-us,AX.60).gif traverseDocumentGraph Traverses SourceDocumentLine records by iterating associated child maps and populating a SourceDocumentLineItemList object. (Inherited from SourceDocument.)
Gg923566.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.)
Gg923566.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg923566.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg923566.pubmethod(en-us,AX.60).gif yearEndBusinessEvent
Top

Object Class
  SourceDocument Class
    PurchaseOrderSourceDocument Class

Community Additions

ADD
Show: