InventDimCtrl::newFromFormValidDataSource Method [AX 2012]
Creates and initializes an instance of the default InventDimCtrl class handler for forms.
Syntax
client server public static InventDimCtrl newFromFormValidDataSource(FormRun _formRun, DataSourceName _validDataSourceName)
Run On
Called
Parameters
- _formRun
Type: FormRun Class
The form where controls are maintained.
- _validDataSourceName
Type: DataSourceName Extended Data Type
A data source name in the form to be controlled by this class.
Return Value
Type: InventDimCtrl Class
An instance of the InventDimCtrl class to be used in a form