ReqQueryBuildHelper.setLink Method [AX 2012]

Sets a link between two data sources, clearing the previous links of the child data source.

public void setLink(
    QueryBuildDataSource _qbdsChild, 
    FieldId _childFieldId, 
    QueryBuildDataSource _qbdsParent, 
    FieldId _parentFieldId)

Run On

Called

Parameters

_qbdsChild
Type: QueryBuildDataSource Class
The child data source to add the link to.
_childFieldId
Type: FieldId Extended Data Type
The ID of the linked field in the child data source.
_qbdsParent
Type: QueryBuildDataSource Class
The parent data source.
_parentFieldId
Type: FieldId Extended Data Type
The ID of the linked field in the parent data source.

Community Additions

ADD
Show: