AxdBase.checkInventDim Method [AX 2012]
Validates the document class for the inventory dimension to be created as part of the current service invoked.
Syntax
public boolean checkInventDim(
AxInventDim _axInventDim,
ItemId _itemId,
[InventTable _inventTable,
boolean _showErrorIfFailed,
Set _dimFieldIdSetAllowEmpty])
Run On
Server
Parameters
- _axInventDim
Type: AxInventDim Class
The service class creating the inventory dimensions.
- _itemId
Type: ItemId Extended Data Type
The ID of the item for which the dimension is applied.
- _inventTable
Type: InventTable Table
The fetched InventTable record of the item specified in the _itemId parameter.
- _showErrorIfFailed
Type: boolean
A boolean value indicating whether to show an error on failed validation.
- _dimFieldIdSetAllowEmpty
Type: Set Class
A set of field numbers that are allowed to be empty for the current document.
Return Value
Type: boolean
true if the document class for the inventory dimension contains a valid definition for an applicable inventory dimension; otherwise false.