PmfFormCtrl.setDatasources Method [AX 2012]
Sets the data sources that are used in the rule computation process.
public void setDatasources(
Common _datasources1,
[Common _datasources2,
Common _datasources3,
Common _datasources4,
Common _datasources5])
Run On
CalledParameters
- _datasources1
- Type: Common Table
A table buffer that belongs to the first data source instance.
- _datasources2
- Type: Common Table
A table buffer that belongs to the second data source instance.
- _datasources3
- Type: Common Table
A table buffer that belongs to the third data source instance.
- _datasources4
- Type: Common Table
A table buffer that belongs to the fourth data source instance.
- _datasources5
- Type: Common Table
A table buffer that belongs to the fifth data source instance.
Up to five data sources can be specified. When the implementation requires more data sources, additional custom methods should be implemented on the rule implementer class.The method is called by the FormButtonManager class on the rule class that implements the ButtonStateProvider interface.The base implementation sets the stored buffer and data source automatically by using the value of the first parameter.The class then calls the same method on all sub-controls that are associated with this control.
Community Additions
ADD
Show: