PdsFormCtrl_WHSBatchAttribReserve.setDatasources Method [AX 2012]

Sets the datasources that are to be 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
Form Data source used by class - InventTrans
_datasources2
Type: Common Table
A table buffer (Common) belonging to the 2nd datasource instance.
Default value - null.
_datasources3
Type: Common Table
A table buffer (Common) belonging to the 3rd datasource instance.
Default value - null.
_datasources4
Type: Common Table
A table buffer (Common) belonging to the 4th datasource instance.
Default value - null.
_datasources5
Type: Common Table
A table buffer (Common) belonging to the 5th datasource instance.
Default value - null.

Up to 5 datasources can be passed. If the implementation requires more datasources additional custom methods should be implemented on the rule implementer class.

The method is called by FormButtonManager on the rule class implementing the ButtonStateProvider interface.

Community Additions

ADD
Show: