InventUpdate Class [AX 2012]

The InventUpdate class is the engine in the inventory module that updates the status of inventory transactions. The class brings inventory transactions from one status to another.

Syntax

class InventUpdate

Run On

Server

Methods

  Method Description
Gg865246.protmethod(en-us,AX.60).gif allowChangeConsistentDim
Gg865246.protmethod(en-us,AX.60).gif allowChangeDim
Gg865246.protmethod(en-us,AX.60).gif calcEstimatedUnit
Gg865246.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg865246.pubmethod(en-us,AX.60).gif canSkipProductDimensionCheck Controls whether it is safe to skip checking product dimension values.
Gg865246.pubmethod(en-us,AX.60).gif changeInventTransReferences Updates the relationship references of the inventory transaction originator related to the movement.
Gg865246.protmethod(en-us,AX.60).gif checkLocationMixingConstraint Checks the location profile setup of the given inventory dimensions.
Gg865246.pubmethod(en-us,AX.60).gif createInventTransOriginAndReferences Creates the inventory transaction originator for the movement and relationship references.
Gg865246.pubmethod(en-us,AX.60).gif deleteInventTransOriginAndReferences Deletes the inventory transaction originator and related relationship references.
Gg865246.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg865246.protmethod(en-us,AX.60).gif getLedgerDimensionFromDefaultAccount Wraps the DimensionDefaultingService::serviceCreateLedgerDimension method.
Gg865246.pubmethod(en-us,AX.60).gif getNextInventTransToIssue Retrieves the next InventTrans record from the sorted list of transactions to issue.
Gg865246.pubmethod(en-us,AX.60).gif getNextInventTransToReceive
Gg865246.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg865246.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg865246.protmethod(en-us,AX.60).gif initInventTransPosting
Gg865246.pubmethod(en-us,AX.60).gif initInventTransToIssueList Initializes a sorted list that has transactions to issue.
Gg865246.pubmethod(en-us,AX.60).gif initInventTransToReceiveList
Gg865246.protmethod(en-us,AX.60).gif initUpdate
Gg865246.protmethod(en-us,AX.60).gif isRefiningDimension Determines whether the dimension in a specified inventory transaction is refining the specified inventory dimension record.
Gg865246.pubmethod(en-us,AX.60).gif movement
Gg865246.protmethod(en-us,AX.60).gif new
Gg865246.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.)
Gg865246.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.)
Gg865246.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg865246.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg865246.pubmethod(en-us,AX.60).gif parmAllowAutoReserveDim Gets or sets the AllowAutoReserveDim parameter.
Gg865246.pubmethod(en-us,AX.60).gif parmAllowNegativeFinancial Gets or sets the AllowNegativeFinancial parameter.
Gg865246.pubmethod(en-us,AX.60).gif parmAllowNegativePhysical Gets or sets the AllowNegativePhysical parameter.
Gg865246.protmethod(en-us,AX.60).gif parmAllowReserveByDate Gets or sets the AllowReserveByDate parameter.
Gg865246.pubmethod(en-us,AX.60).gif parmAllowReserveOrdered Gets or sets the AllowReserveOrdered parameter.
Gg865246.pubmethod(en-us,AX.60).gif parmAllowReservePhysical Gets or sets the AllowReservePhysical parameter.
Gg865246.pubmethod(en-us,AX.60).gif parmAllowReservePhysUpdateForAllMarked Gets or sets the AllowReservePhysUpdateForAllMarked parameter.
Gg865246.pubmethod(en-us,AX.60).gif parmAllowReserveReduction Gets or sets the AllowReserveReduction parameter.
Gg865246.protmethod(en-us,AX.60).gif parmAllowReserveReversed Gets or sets the AllowReserveReversed parameter.
Gg865246.pubmethod(en-us,AX.60).gif parmBurdenItem Gets or sets the burdenItem parameter.
Gg865246.pubmethod(en-us,AX.60).gif parmDocumentStornoId_RU Gets or sets the DocumentStornoId_RU parameter.
Gg865246.pubmethod(en-us,AX.60).gif parmExchangeRateDate Gets or sets the ExchangeRateDate parameter.
Gg865246.pubmethod(en-us,AX.60).gif parmInventDimQuarantine Gets or sets the InventDimQuarantine parameter.
Gg865246.pubmethod(en-us,AX.60).gif parmInventReceiptForTestRegistrator Gets or sets the InventReceiptForTestRegistrator parameter.
Gg865246.pubmethod(en-us,AX.60).gif parmNeedTransIdTransit_RU Gets or sets the NeedTransIdTransit_RU parameter.
Gg865246.pubmethod(en-us,AX.60).gif parmPhysicalReduction Gets or sets the PhysicalReduction parameter.
Gg865246.pubmethod(en-us,AX.60).gif parmPreferedInventTransRecId Gets or sets the PreferedInventTransRecId parameter.
Gg865246.pubmethod(en-us,AX.60).gif parmProjCostAmountMST Gets or sets the ProjCostAmountMST parameter.
Gg865246.pubmethod(en-us,AX.60).gif parmProjCostAmountMSTSecCur_RU Gets or sets the ProjCostAmountMSTSecCur_RU parameter.
Gg865246.pubmethod(en-us,AX.60).gif parmSkipInventTransSumUp Gets or sets the value that determines if InventTrans records should be summed together.
Gg865246.pubmethod(en-us,AX.60).gif parmTransLinkCache_RU Gets or sets the TransLinkCache_RU parameter.
Gg865246.pubmethod(en-us,AX.60).gif parmWmsMovement Gets or sets the WmsMovement parameter.
Gg865246.protmethod(en-us,AX.60).gif pdsAdjustInventoryQuantity Adjusts inventory quantity for the movement.
Gg865246.protmethod(en-us,AX.60).gif pdsCalculateInventoryQuantityAdjustment Calculates the quantity in inventory unit that has to be adjusted for the current movement because of the update.
Gg865246.protmethod(en-us,AX.60).gif pdsDistributeInventQtyOnMarkedTrans Distributes inventory quantity among related marked transactions.
Gg865246.pubmethod(en-us,AX.60).gif postingFinancial
Gg865246.pubmethod(en-us,AX.60).gif postingFinancialCharge Determines whether the selected financial charge is posted.
Gg865246.pubmethod(en-us,AX.60).gif postingPhysical
Gg865246.pubmethod(en-us,AX.60).gif postingPhysicalCharge Determines whether the selected physical charge is posted.
Gg865246.pubmethod(en-us,AX.60).gif postingPhysicalRevenue
Gg865246.protmethod(en-us,AX.60).gif setParmAllowDefault
Gg865246.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg865246.protmethod(en-us,AX.60).gif setVirtuelProjReferenceTransOriginId
Gg865246.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg865246.protmethod(en-us,AX.60).gif updateDimReserveChange
Gg865246.pubmethod(en-us,AX.60).gif updateDimReservePhysical
Gg865246.protmethod(en-us,AX.60).gif updateDimTransferIssueReceipt
Gg865246.protmethod(en-us,AX.60).gif updateEstimated
Gg865246.protmethod(en-us,AX.60).gif updateInventTransPosting
Gg865246.protmethod(en-us,AX.60).gif updateReserveAgain
Gg865246.protmethod(en-us,AX.60).gif updateReserveAgainTrans
Gg865246.pubmethod(en-us,AX.60).gif updateTransDimIssue Synchronizes the reservation transaction with new inventory dimensions.
Gg865246.pubmethod(en-us,AX.60).gif updateTransDimReceipt
Gg865246.pubmethod(en-us,AX.60).gif updCostAmountLedger
Gg865246.pubmethod(en-us,AX.60).gif updCostAmountPhysical
Gg865246.pubmethod(en-us,AX.60).gif updOperationsAmountLedger
Gg865246.pubmethod(en-us,AX.60).gif updPhysicalAmountLedger
Gg865246.pubmethod(en-us,AX.60).gif updPhysicalRevenueAmountLedger
Gg865246.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.)
Gg865246.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg865246.pubmethod(en-us,AX.60).gif whsForceReserveAgain Reserve the inventory again.
Gg865246.privmethod(en-us,AX.60).gif whsSynchronizeIssueDimPhysical
Gg865246.protmethod(en-us,AX.60).gif whsUpdateDimReserveChange Special check for WHS due to the reservation hierarchy.
Gg865246.protmethod(en-us,AX.60).gif whsUpdateDimReservePhysical Handle order reserved inventory for WHS items
Gg865246.pubmethod(en-us,AX.60).gif whsUpdateWorkTransDimIssue Change work dimensions for WHS.
Gg865246.pubmethod(en-us,AX.60).gif writeInventTrans
Gg865246.protmethod(en-us,AX.60).gif writeInventTransAutoDim
Gg865246.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg865246.pubmethod(en-us,AX.60).gif Gg865246.static(en-us,AX.60).gif ::checkItemPostingDate Validates that an item transaction may be posted on a given transaction date.
Gg865246.pubmethod(en-us,AX.60).gif Gg865246.static(en-us,AX.60).gif ::financialReturn
Gg865246.pubmethod(en-us,AX.60).gif Gg865246.static(en-us,AX.60).gif ::newChangeTransDim
Gg865246.pubmethod(en-us,AX.60).gif Gg865246.static(en-us,AX.60).gif ::physicalReturn
Gg865246.protmethod(en-us,AX.60).gif Gg865246.static(en-us,AX.60).gif ::refreshCallerDatasource
Gg865246.protmethod(en-us,AX.60).gif Gg865246.static(en-us,AX.60).gif ::updateTransDimTransferReceipt

Top

Remarks

Each status has its own class to do the update. The InventUpdate class and the InventMovement class are closely connected. The InventUpdate class uses the InventMovement class as a data carrier to update inventory transactions. By using the StatusReceipt enumeration value and the StatusIssue enumeration value, inventory transactions can be updated to following statuses.

None

None

Purchased

Sold

Received

Deducted

Registered

Picked

Arrived

ReservPhysical

Ordered

ReservOrdered

QuotationReceipt

OnOrder

QuotationIssue

Special behavior of various transactions must be put in the InventMovement class. The InventUpdate class is a generic engine that can be used for any inventory transaction type and calls methods on the InventMovement classes. See the SalesFormLetter_PackingSlip.updateInventory method for an example of how this class is used.

Inheritance Hierarchy

Object Class
  InventUpdate Class
    InventUpd_Arrived Class
    InventUpd_ChangeDimension Class
    InventUpd_ChildReference Class
    InventUpd_DeleteMovement Class
    InventUpd_Estimated Class
    InventUpd_Financial Class
    InventUpd_Physical Class
    InventUpd_Picked Class
    InventUpd_Registered Class
    InventUpd_Reservation Class

See Also

InventUpd_Estimated Class

InventUpd_Arrived Class

InventUpd_Picked Class

InventUpd_Registered Class

InventUpd_Reservation Class

InventUpd_Physical Class

InventUpd_Financial Class