PmfFormCtrl_BOMRouteCopyDialog.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

Called

Parameters

_datasources1
Type: Common Table
A Common table buffer that corresponds to the first instance of a data source.
_datasources2
Type: Common Table
A Common table buffer that corresponds to the second instance of a data source.
_datasources3
Type: Common Table
A Common table buffer that corresponds to the third instance of a data source.
_datasources4
Type: Common Table
A Common table buffer that corresponds to the fourth instance of a data source.
_datasources5
Type: Common Table
A Common table buffer that corresponds to the fifth instance of a data source.

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 an instance of the FormButtonManager class on the rule class that implements the ButtonStateProvider interface.

Community Additions

ADD
Show: