InventMov_Prod.checkInventDimForInventDimField Method [AX 2012]
Validates the physical dimensions of a given InventDim table buffer for the passed InventDim table field.
Syntax
protected boolean checkInventDimForInventDimField(
InventQty _qty,
InventDim _inventDim,
InventDimGroupFieldSetup _inventDimGroupFieldSetup,
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.
- _inventDimGroupFieldSetup
Type: InventDimGroupFieldSetup Class
The inventDim field that is validated.
- _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 containing 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.