AxdBase.getDataSourceFieldSet Method [AX 2012]

Gets a set that contains the field names in a QueryBuildDataSource class.

Syntax

public Set getDataSourceFieldSet(QueryBuildDataSource _queryBuildDataSource, [boolean _truncateIds])

Run On

Server

Parameters

  • _truncateIds
    Type: boolean
    Only the first 36 characters of a field name are used when adding the field name to the Set

Return Value

Type: Set Class
A set that contains the field names in the QueryBuildDataSource class.

Remarks

You can select fields in a table to use in a query. Use the getDatatSourceFieldSet method to find which fields in a data source are related to a query. The _truncateId parameter is added so that only the first 36 characters of a field name are used to compare field names because the first four characters of the field name are used for the parameter prefix in table classes.

See Also

Reference

AxdBase Class