InventMov_Vir_GoodsInRoute_Transit_RU.checkDimPhysical Method [AX 2012]

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

Syntax

public boolean checkDimPhysical(
    InventQty _qty, 
    InventDim _inventDim, 
    boolean _finalCheck, 
   [boolean _showError, 
    boolean _checkPalletLocation, 
    Set _specificDimensionsToCheck])

Run On

Called

Parameters

  • _finalCheck
    Type: boolean
    A Boolean value that indicates whether all inventory dimensions must be assigned; optional.
  • _showError
    Type: boolean
    A Boolean value that indicates whether errors must be shown in the Infolog; optional.
  • _checkPalletLocation
    Type: boolean
    A Boolean value that indicates whether the current location of the pallet that is used must be validated; optional.
  • _specificDimensionsToCheck
    Type: Set Class
    A set that contains FieldId values for the validated InventDim table buffer; optional.
    If this parameter is defined, it contains the dimensions to validate. If it is set to nullNothingnullptrunita null reference (Nothing in Visual Basic), all the applicable dimensions are validated.

Return Value

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

Remarks

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

Be aware of the use of the InventUpd.writeInventTransAutoDim method after a call of this method, where the _finalCheck parameter is set to true.

See Also

Reference

InventMov_Vir_GoodsInRoute_Transit_RU Class