HcmSkillMappingSearch.checkAddSecondaryDataSource Method [AX 2012]

Indicates whether the specified QueryBuildDataSource object qualifies to be added to the new Query object.

Syntax

protected boolean checkAddSecondaryDataSource(QueryBuildDataSource _originalDataSource)

Run On

Called

Parameters

Return Value

Type: boolean
true if the operation is successful; otherwise, false.

Remarks

A secondary data source in the HcmSkillMappingSearch query can only be added to the new query if there are range values in the query that match the hierarchy of the data source.

A secondary data source in the HcmSkillMappingSearch query is a data source that is an immediate child data source to the HcmPersonView data source.

If a secondary data source or any if the child data sources contain range values then the complete secondary data source qualifies to be added to the new query.

See Also

Reference

HcmSkillMappingSearch Class