Share via


InventTransWMS_Register::updateInventFromMovementServer Method [AX 2012]

Converts the proposed changes into real inventory updates for a specified inventory movement.

Syntax

server protected static boolean updateInventFromMovementServer(
    InventMovement _movement, 
    TmpInventTransWMS _tmpInventTransWMS, 
    container _mapQtyByTmpInventTransWMSPacked, 
    container _mapInventTransInventTransOriginPacked, 
    InventTransWMSRegistrationObserver _inventTransWMSRegistrationObserver)

Run On

Server

Parameters

  • _mapQtyByTmpInventTransWMSPacked
    Type: container
    A packed map that contains detail information to the pending records.
  • _mapInventTransInventTransOriginPacked
    Type: container
    A packed map that contains inventory transaction to origin mapping.

Return Value

Type: boolean
true if the update is successful; otherwise, false.

Exceptions

Exception Condition
Error

The requested quantity cannot be updated due to missing InventTrans records with the right status.

See Also

Reference

InventTransWMS_Register Class