Share via


PurchReqLine::addCatalogPolicyRuleToCatalogQuery Method

Adds catalog policy filtering to a query.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          client server public static void addCatalogPolicyRuleToCatalogQuery(
            Query _query, 
            RecId _catalogId, 
           [boolean _isConsumption, 
            RefRecId _buyingLegalEntity])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static void addCatalogPolicyRuleToCatalogQuery(
            Query _query, 
            RecId _catalogId, 
           [boolean _isConsumption, 
            RefRecId _buyingLegalEntity])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static void addCatalogPolicyRuleToCatalogQuery(Query _query, RecId _catalogId)

  Microsoft Dynamics AX 2012 (FPK)
          client server public static void addCatalogPolicyRuleToCatalogQuery(Query _query, RecId _catalogId)

  Microsoft Dynamics AX 2012 (SYS)
          client server public static void addCatalogPolicyRuleToCatalogQuery(Query _query, RecId _catalogId)

Run On

Called

Parameters

  • _query
    Type: Query Class
    The query for which to apply the policy.

Remarks

This method is currently used in the PurchReqAddItem form in client and Enterprise Portal. It is also used in the lookupItemId method.

See Also

Reference

PurchReqLine Table