Share via


AxdPurchaseRequisition.initQueryFromQuery Method [AX 2012]

Initializes the query associated with the document based on the specified criteria values.

Syntax

public void initQueryFromQuery(AifQueryCriteria _queryCriteria, AxdXmlWriter _axdXmlWriter)

Run On

Server

Parameters

  • _axdXmlWriter
    Type: AxdXmlWriter Class
    The Xml writer that contains a schema to validate the query criteria elements against.

Remarks

The values from the AifQueryCriteria class in the _queryCriteria parameter are copied as query ranges on the query that are associated with the document. Ranges may only be specified on the root data source or any data source with inner join relations to the root data source.

This method is called from the framework for documents that support the AifActionType::queryDocuments and AifActionType::QueryEntityKeys enumeration values.

See Also

Reference

AxdPurchaseRequisition Class