Share via


InventMovement.checkDimPhysical Method [AX 2012]

Validates the physical dimensions of a given InventDim table buffer for the current movement.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          public boolean checkDimPhysical(
            InventQty _qty, 
            InventDim _inventDim, 
            boolean _finalCheck, 
           [boolean _showError, 
            boolean _checkPalletLocation, 
            Set _specificDimensionsToCheck])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public boolean checkDimPhysical(
            InventQty _qty, 
            InventDim _inventDim, 
            boolean _finalCheck, 
           [boolean _showError, 
            boolean _checkPalletLocation, 
            Set _specificDimensionsToCheck])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public boolean checkDimPhysical(
            InventQty _qty, 
            InventDim _inventDim, 
            boolean _finalCheck, 
           [boolean _showError, 
            boolean _checkPalletLocation])

  Microsoft Dynamics AX 2012 (FPK)
          public boolean checkDimPhysical(
            InventQty _qty, 
            InventDim _inventDim, 
            boolean _finalCheck, 
           [boolean _showError, 
            boolean _checkPalletLocation])

  Microsoft Dynamics AX 2012 (SYS)
          public boolean checkDimPhysical(
            InventQty _qty, 
            InventDim _inventDim, 
            boolean _finalCheck, 
           [boolean _showError, 
            boolean _checkPalletLocation])

Run On

Called

Parameters

  • _finalCheck
    Type: boolean
    A Boolean flag that indicates if all inventory dimension must have been assigned; optional.
  • _showError
    Type: boolean
    A Boolean value that indicates if errors must be shown in the infolog; optional.
  • _checkPalletLocation
    Type: boolean
    A Boolean value that indicates if current location of the pallet used must be validated; optional.
  • _specificDimensionsToCheck
    Type: Set Class
    A set that contains FieldId values for the validated InventDim table buffer.
    If defined, contains the dimensions to be validated; If set to null, all the applicable dimensions are validated; optional.

Return Value

Type: boolean
true if the validation passes; otherwise, false.

Remarks

if argument finalCheck is set to true, it's expected that all dimensions are assigned to the inventory transaction as they should be before posting.

Please know usage of method InventUpd.writeInventTransAutoDim() after call of this method with finalCheck=True.

See Also

Reference

InventMovement Class