AxdBase.getQueryName Method [AX 2012]
Returns the name of the query that will be used. For example, the query that corresponds to the Axd document.
Syntax
public QueryName getQueryName()
Run On
Server
Return Value
Type: QueryName Extended Data Type
The query that corresponds to the Axd document.
Remarks
The getQueryName method is implemented on the AxdBase Class. The method must be overridden by the document class if the corresponding query does not have the same name as the document class itself. For example, the AxdSalesOrder query corresponds to the AxdSalesOrder document class.
Examples
The following example shows how to get the AxdSalesOrder query name.
AxdBase axdBase =
AxdBase::newClassId(classNum(AxdSalesOrder));
QueryName queryName;
queryName = axdBase.getQueryName();