PCDataSourceEventNotify.onRuntimeMetadataChanged Method [AX 2012]

Executes when the metadata properties are dynamically changed in the attached data source.

protected void onRuntimeMetadataChanged(
    FormObjectSet _sender, 
    str _changedDatasourceName, 
    str _referencedDatasourceName, 
    FieldId _changedFieldId, 
    DataSourceMetadataChangeType _changeType)

Run On

Client

Parameters

_sender
Type: FormObjectSet Class
The attached data source.
_changedDatasourceName
Type: str
The current name of the attached data source.
_referencedDatasourceName
Type: str
The current name of the referenced data source.
_changedFieldId
Type: FieldId Extended Data Type
The ID of the metadata field that changed the value.
_changeType
Type: DataSourceMetadataChangeType Enumeration
The type of metadata changed that occurred.

To add a handler to this method, implement a method on the listener class by using the following declaration: public void onRuntimeMetadataChanged(FormObjectSet _sender, str _changedDatasourceName, str _referencedDatasourceName, fieldId _changedFieldId, DataSourceMetadataChangeType _changeType).

Community Additions

ADD
Show: