Share via


PmfFormCtrl_BOMPartOf.setDatasources Method [AX 2012]

Sets the data sources that are that will be used in rule computation.

Syntax

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 belongs to the first data source instance.
  • _datasources2
    Type: Common Table
    A Common table buffer that belongs to the second data source instance; optional.
  • _datasources3
    Type: Common Table
    A Common table buffer that belongs to the third data source instance; optional.
  • _datasources4
    Type: Common Table
    A Common table buffer that belongs to the fourth data source instance; optional.
  • _datasources5
    Type: Common Table
    A Common table buffer that belongs to the fifth data source instance; optional.

Remarks

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.The method is called by FormButtonManager on the rule class implementing the ButtonStateProvider interface.

See Also

Reference

PmfFormCtrl_BOMPartOf Class