InventDimCtrl::newFromFormValidDataSources Method [AX 2012]

Creates and initializes an instance of the default InventDimCtrl Class handler for forms.

Syntax

client server public static InventDimCtrl newFromFormValidDataSources(FormRun _formRun, Set _validDataSources)

Run On

Called

Parameters

  • _formRun
    Type: FormRun Class
    The form where controls are maintained.
  • _validDataSources
    Type: Set Class
    A set of names (strings) for the data sources in the form to be controlled by this class.

Return Value

Type: InventDimCtrl Class
A standard InventDimCtrl Class instance to use in a form

See Also

Reference

InventDimCtrl Class