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