PmfFormCtrl_InventQOTable_QOTable.setDatasources Method [AX 2012]

Sets the datasources that will be used in rule computation.

public void setDatasources(
    Common _datasources1, 
   [Common _datasources2, 
    Common _datasources3, 
    Common _datasources4, 
    Common _datasources5])

Run On

Client

Parameters

_datasources1
Type: Common Table
A Common table buffer that belongs to the first datasource instance.
_datasources2
Type: Common Table
A Common table buffer that belongs to the second datasource instance; optional.
_datasources3
Type: Common Table
A Common table buffer that belongs to the third datasource instance; optional.
_datasources4
Type: Common Table
A Common table buffer that belongs to the fourth datasource instance; optional.
_datasources5
Type: Common Table
A Common table buffer that belongs to the fifth datasource instance; optional.

Up to five datasources can be passed. When the implementation requires more datasources 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.

Community Additions

ADD
Show: