SysOperationController.getOriginalQuery Method [AX 2012]
Gets the original query that can be used in the SysQuery form.
protected container getOriginalQuery(str queryKey, QueryName _queryName)
Run On
CalledParameters
- queryKey
- Type: str
Key identifying the query control.
- _queryName
- Type: QueryName Extended Data Type
Name of query.
Method caches the original query. If cache miss, then gets the query from AOT.
If AOT query does not have any data source, then it is being used as a place holder and the query data source is added in controller code. So we will then get the query from the data contract and use this as the original query.
Community Additions
ADD
Show: