InventMov_Sales.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
- _qty
Type: InventQty Extended Data Type
A quantity used to validate the physical dimensions.
- _inventDim
Type: InventDim Table
The InventDim table buffer to validate.
- finalCheck
Type: boolean
- _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
Return Value
Type: boolean
true if the validation passes; otherwise, false.
Remarks
If the finalCheck value is true, then it is expected that all dimensions are assigned to the inventory transaction as they should be before it posts.
Please consider usage of the InventUpd.writeInventTransAutoDim method after you call this method with the finalCheck set to true.