RouteTableForm.setDatasources Method [AX 2012]
Sets the data sources to be used for rule evaluation.
Syntax
public void setDatasources(
Common _datasources1,
[Common _datasources2,
Common _datasources3,
Common _datasources4,
Common _datasources5])
Run On
Called
Parameters
- _datasources1
Type: Common Table
- _datasources2
Type: Common Table
- _datasources3
Type: Common Table
- _datasources4
Type: Common Table
- _datasources5
Type: Common Table
Remarks
The rules implemented in the RouteTableForm class perform evaluation on a table buffer which is obtained from a form data source.
This method allows you to set up the data sources to be used by the rule implementer helper class during rule evaluation. Up to 5 data sources can be passed. If the implementation requires more data sources, additional custom methods should be implemented on the rule implementer class.