Share via


InventMov_Purch.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

  • _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.

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 be aware of usage of method InventUpd.writeInventTransAutoDim() after call of this method with finalCheck=true.

See Also

Reference

InventMov_Purch Class