PmfFormCtrl.enableDSField Method [AX 2012]
Enables or disables the specified field in the data source.
protected void enableDSField(FieldId _fieldId, boolean _enable)
Run On
CalledParameters
- _fieldId
- Type: FieldId Extended Data Type
The field ID of field to enable or disable.
- _enable
- Type: boolean
true to enable the field for input; otherwise, false.
This is a convenience method to enable, to disable, or to assign the skip property for a field in the associated data source. The form data source must be specified through one of the data source event methods or explicitly through the PmfFormCtrl.setDatasources method before it calls this method. The field ID must be valid for the table that is referenced by this data source.When the specified field is disabled for input, the skip attribute is enabled.
Community Additions
ADD
Show: