WHSWorkExecuteDisplay.getDefaultDimValue Method [AX 2012]

Determines if for specified dim criteria there is more than one value for a inventory dimension field in physical inventory.

Syntax

protected container getDefaultDimValue(
    InventDim _inventDimCriteria, 
    FieldId _dimFieldId, 
    ItemId _itemId)

Run On

Called

Parameters

  • _inventDimCriteria
    Type: InventDim Table
    The inventory dimension criteria.
  • _itemId
    Type: ItemId Extended Data Type
    The Id of the item which we are trying determine if inventory allows defaulting of the next dimension.

Return Value

Type: container
A container with the values: InventDim record with the _dimFieldId filled if there is only a single value based on the query; otherwise, it returns a blank inventDim. A boolean value to determine if a prompt is needed.

See Also

Reference

WHSWorkExecuteDisplay Class