Share via


QueryBuildDataSource Class

The QueryBuildDataSource class provides the building blocks that queries are made of.

Syntax

class QueryBuildDataSource extends TreeNode

Run On

Called

Methods

  Method Description
Gg913612.pubmethod(en-us,AX.60).gif addAllFields
Gg913612.pubmethod(en-us,AX.60).gif addDataSource Adds a data source that is embedded in this data source.
Gg913612.pubmethod(en-us,AX.60).gif addDynalink
Gg913612.pubmethod(en-us,AX.60).gif addForeignKeyDynalink
Gg913612.pubmethod(en-us,AX.60).gif addForeignkeyRelation
Gg913612.pubmethod(en-us,AX.60).gif addGroupByField
Gg913612.pubmethod(en-us,AX.60).gif addLink
Gg913612.pubmethod(en-us,AX.60).gif addOrderByField
Gg913612.pubmethod(en-us,AX.60).gif addRange Adds a range to the data source.
Gg913612.pubmethod(en-us,AX.60).gif addRelation
Gg913612.pubmethod(en-us,AX.60).gif addSelectionField
Gg913612.pubmethod(en-us,AX.60).gif addSortField
Gg913612.pubmethod(en-us,AX.60).gif addSortIndex
Gg913612.pubmethod(en-us,AX.60).gif allowAdd
Gg913612.pubmethod(en-us,AX.60).gif AOTadd Creates a subnode to the tree node in the Application Object Tree (AOT). (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTaddExtendedDataType This method is not supported in Microsoft Dynamics AX. If you need to add a subnode of this type, use the instead. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTaddRelation This method is not supported in Microsoft Dynamics AX. If you need to add a subnode of this type, use the instead. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTaddSubNode Creates subnodes for extended data types and relations. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTaddXref (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTAllowEdit (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTbitmapId Returns the resource ID of the bitmap of the tree node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTchildNodeCount Counts the number of child nodes that a given tree node has. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTcompile Compiles this node and its subnodes. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTconfigure (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTdelete Deletes the tree node in the development layer that you are currently working in. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTDrop Creates a copy of a specified tree node as a child to the TreeNode object. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTDuplicate (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTedit Opens the appropriate editor for this node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTendXref (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTfindChild Finds the specified child node of this node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTfirstChild Retrieves the first child of the tree node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTfirstChildEx (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTgetExecutableLineCount Returns the number of executable lines of code for this node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTgetExecutableLines Returns the executable lines of code for this node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTGetModel (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTgetProperties Returns a string containing the properties of the tree node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTgetPropertiesExt (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTgetProperty (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTgetSource Returns the source code of this node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTIncludeInCompare (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTinsert Inserts a node among the subnodes of this node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTIsDirty (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTIsOld Indicates whether this node is from a file found in the old model store. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTIsPersisted Indicates whether this node has been persisted in the model store. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTIsProxyNode (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTiterator Returns an object which can be used to iterate the child nodes of the tree node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTKernelHelpType (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTLayer Returns the layer of the tree node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTLayers Returns a collection of the layers the tree node is defined in. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTload Ensures that the object is loaded. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTmakeXref Compiles this node and its subtree in the AOT, updating the cross-reference system. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTmessageLine Writes text to the Application Object Tree (AOT) Message window. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTMove (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTname Returns the value of the name property of the node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTnewWindow Opens a new AOT tree window with the tree node as the root. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTnextSibling Returns the next node on the same level as the tree node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTObjectNode Indicates whether the node is an application object. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOToverlayBitmapId Returns the resource ID of the overlay in the AOT associated with this node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTparent Returns the parent node of the tree node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTprevious Returns the previous sibling of this tree node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTrefresh Refreshes the node with the latest changes to the .aod file. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTregenerate (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTRename (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTrestore Reloads this node from the disk, if applicable. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTrun Compiles this node and its subtree in the Application Object Tree (AOT). (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTsave Saves an Application Object Tree (AOT) node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTSetModel (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTsetProperties (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTsetPropertiesExt (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTsetProperty (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTsetSource Sets the source code of this node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTshowProperties Opens the property sheet (if not already open) and shows the properties for this node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTtoolTip Returns the tool tip associated with the tree node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTToString (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTtypeStr Returns the internal string code for the element type used in XPO files. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif AOTUtilFileType Retrieves the value of the UtilFileType enumeration type for the TreeNode object. The UtilFileType indicates which kind of file the application object is stored in. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif applObjectId Returns the application object ID, if applicable. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif applObjectLayerMask Returns a bitmask that specifies which layers contain this element. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif applObjectOldLayerMask Returns a bitmask that specifies which layers contain this element in the baseline model store. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif autoHeader
Gg913612.pubmethod(en-us,AX.60).gif autoHeaderDetailLevel
Gg913612.pubmethod(en-us,AX.60).gif autoSum
Gg913612.pubmethod(en-us,AX.60).gif autoSumDetailLevel
Gg913612.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg913612.pubmethod(en-us,AX.60).gif changedNo
Gg913612.pubmethod(en-us,AX.60).gif childDataSourceCount
Gg913612.pubmethod(en-us,AX.60).gif childDataSourceNo
Gg913612.pubmethod(en-us,AX.60).gif clearDynalinks
Gg913612.pubmethod(en-us,AX.60).gif clearLinks
Gg913612.pubmethod(en-us,AX.60).gif clearRange
Gg913612.pubmethod(en-us,AX.60).gif clearRanges Deletes all ranges that are associated with the data source.
Gg913612.pubmethod(en-us,AX.60).gif clearSortIndex
Gg913612.pubmethod(en-us,AX.60).gif company
Gg913612.pubmethod(en-us,AX.60).gif concurrencyModel
Gg913612.pubmethod(en-us,AX.60).gif dynalink
Gg913612.pubmethod(en-us,AX.60).gif dynalinkCount
Gg913612.pubmethod(en-us,AX.60).gif embedded
Gg913612.pubmethod(en-us,AX.60).gif enabled Determines whether to enable or disable the object.
Gg913612.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg913612.pubmethod(en-us,AX.60).gif existsMeanOrExists
Gg913612.pubmethod(en-us,AX.60).gif fetchMode
Gg913612.pubmethod(en-us,AX.60).gif fields
Gg913612.pubmethod(en-us,AX.60).gif file
Gg913612.protmethod(en-us,AX.60).gif finalize
Gg913612.pubmethod(en-us,AX.60).gif findRange
Gg913612.pubmethod(en-us,AX.60).gif firstFast Determines whether to retrieve the first record from the query before the other records.
Gg913612.pubmethod(en-us,AX.60).gif firstOnly
Gg913612.pubmethod(en-us,AX.60).gif getMostRestrictedQueryBuildRangeStatus
Gg913612.pubmethod(en-us,AX.60).gif getNo
Gg913612.pubmethod(en-us,AX.60).gif getNodeInLayer Retrieves a version of the tree node from a specified layer. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg913612.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg913612.pubmethod(en-us,AX.60).gif hashKey (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif id
Gg913612.pubmethod(en-us,AX.60).gif indexIsHint
Gg913612.pubmethod(en-us,AX.60).gif isPartOfSubQueryInBaseQuery
Gg913612.pubmethod(en-us,AX.60).gif joined
Gg913612.pubmethod(en-us,AX.60).gif joinedDataSources
Gg913612.pubmethod(en-us,AX.60).gif joinMode
Gg913612.pubmethod(en-us,AX.60).gif label Gets or sets the label for a control.
Gg913612.pubmethod(en-us,AX.60).gif level
Gg913612.pubmethod(en-us,AX.60).gif link
Gg913612.pubmethod(en-us,AX.60).gif linkCount
Gg913612.pubmethod(en-us,AX.60).gif linkFields
Gg913612.pubmethod(en-us,AX.60).gif makeCopy (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif name Gets or sets the name that is used in code to identify a form, report, table, query, or another Microsoft Dynamics AX application object.
Gg913612.pubmethod(en-us,AX.60).gif new Initializes a new instance of the TreeNode class. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif newObjectName Returns a string that contains the name of the new element. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg913612.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg913612.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg913612.pubmethod(en-us,AX.60).gif oneToOneDataSources
Gg913612.pubmethod(en-us,AX.60).gif orderMode
Gg913612.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg913612.pubmethod(en-us,AX.60).gif parentDataSource
Gg913612.pubmethod(en-us,AX.60).gif policyContext
Gg913612.pubmethod(en-us,AX.60).gif range
Gg913612.pubmethod(en-us,AX.60).gif rangeCount
Gg913612.pubmethod(en-us,AX.60).gif rangeField
Gg913612.pubmethod(en-us,AX.60).gif relations
Gg913612.pubmethod(en-us,AX.60).gif selectionCount
Gg913612.pubmethod(en-us,AX.60).gif selectWithRepeatableRead
Gg913612.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg913612.pubmethod(en-us,AX.60).gif sortClear
Gg913612.pubmethod(en-us,AX.60).gif sortDirection
Gg913612.pubmethod(en-us,AX.60).gif sortField
Gg913612.pubmethod(en-us,AX.60).gif sortFieldCount
Gg913612.pubmethod(en-us,AX.60).gif sortIndex
Gg913612.pubmethod(en-us,AX.60).gif sortIndexCount
Gg913612.pubmethod(en-us,AX.60).gif staticlink Returns a static Link object on the query’s data source.
Gg913612.pubmethod(en-us,AX.60).gif staticlinkCount Gives the number of static links that are defined on the QueryBuildDataSource object.
Gg913612.pubmethod(en-us,AX.60).gif table Gets or sets the table ID that is associated with the object.
Gg913612.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Overrides the toString Method.)
Gg913612.pubmethod(en-us,AX.60).gif treeNodeExport Exports this node and its subtree from the Application Object Tree (AOT). (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif treeNodeName Returns the name of the tree node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif treeNodePath Returns the unique path to the tree node within the Application Object Tree (AOT). (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif treeNodeRelease Releases the tree node explicitly. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif treeNodeType Retrieves an instance of a TreeNodeType class that provides reflection information for the tree node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif unionType
Gg913612.pubmethod(en-us,AX.60).gif uniqueId
Gg913612.pubmethod(en-us,AX.60).gif update Determines whether the records fetched by this data source can be updated.
Gg913612.pubmethod(en-us,AX.60).gif updateNodePermissions (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg913612.pubmethod(en-us,AX.60).gif utilElement Returns a UtilElements record that is related to the node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif utilIdElement Returns a UtilIdElements record that is related to the node. (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif validateNameCharacters (Inherited from TreeNode.)
Gg913612.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg913612.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)

Top

Remarks

Data sources are arranged in hierarchies that define the sequence in which records are fetched from the tables that are assigned to the data sources. Each data source defines the order in which the records are fetched, and also the criteria that must be met by the selected records.

This class lets you create, read, update, and delete X++ code and metadata. Make sure that the user has access to the development security key (SysDevelopment) before this API is called.

Examples

{    QueryBuildDataSource ds;    Query q = new Query();        ds = q.addDataSource(        TableNum(CustTable));}

Inheritance Hierarchy

Object Class
  TreeNode Class
    QueryBuildDataSource Class

See Also

QueryBuildFieldList Class

QueryBuildLink Class

QueryBuildRange Class