Policy rule type (form)

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Click Compliance and internal controls > Setup > Audit > Policy rule type.

–or–

Click Human resources > Setup > Policies > Benefit eligibility policy rule types

This form is available only if Microsoft Dynamics AX 2012 R2 or AX 2012 R3 is installed.

–or–

Click Payroll > Setup > Earnings > Premium earning policy rule types.

This form is available only if Microsoft Dynamics AX 2012 R3 Cumulative Update 8 is installed and the Payroll configuration key is selected.

–or–

Click Accounts payable > Setup > Policies > Vendor invoice policy rule types.

Use this form to create or change policy rule types for the audit, benefit eligibility, premium earning, and vendor invoice policies that are defined for your organization. Policies are collections of business rules that you define to help control business processes and enforce the overall business strategy. The policy rule types define the document and query parameters that are used when you define specific policy rules.

Note

This topic includes information about features that were added or changed for cumulative update 6 or later for Microsoft Dynamics AX 2012 R2. This information also applies to AX 2012 R3.

Tasks that use this form

Key tasks: Audit policies

Key tasks: Benefit eligibility policies

Premium earning setup tasks

Key tasks: Vendor invoice policies

The following tables provide descriptions for the controls in this form.

Note

The controls that appear in this form may vary depending on how the form was opened.

Buttons

Button

Description

New

Create a policy rule type.

Delete

Delete the selected policy rule type.

Fields

Field

Description

Rule name

Enter a name for the policy rule type.

Description

Enter a description for the policy rule type.

Query name

Select the default Application Object Tree (AOT) query to use as the starting point for creating policy rules of this policy rule type. The query indicates the source document that the policy rule type is defined for.

Policy rule types for audit policies

Query

Source document

AuditPolicyExpenseHeader (Expense report)

Expense report headers

AuditPolicyExpenseLine (Expense report line)

Expense report lines

AuditPolicyExpenseList (Expense report monitored employees)

Expense reports

Use this query together with the List search query type to create audit policy rules that evaluate expense reports for specific employees. When you use this option, specify the employees as monitored entities in the Additional options form.

In cumulative update 6 for Microsoft Dynamics AX 2012 R2 or later, specify the monitored entities in the Audit policy rule form.

AuditPolicyKeyword (Expense report header with line)

Expense report headers

Policy rules that are based on this query are used to evaluate expense report headers against criteria that is specified on the expense report line. When you use this query, the violations are created against the header, not the individual lines.

AuditPolicyPurchLine (Purchase order line)

Purchase order lines

AuditPolicyPurchList (Purchase order monitored vendors)

Purchase orders

Use this query together with the List search query type to create audit policy rules that evaluate purchase orders for specific vendors. When you use this option, specify the vendor accounts as monitored entities in the Additional options form.

In cumulative update 6 for Microsoft Dynamics AX 2012 R2 or later, specify the monitored entities in the Audit policy rule form.

AuditPolicyPurchTable (Purchase order)

Purchase order headers

AuditPolicyPurchTableHeaderLine (Purchase order header with line)

Purchase order headers

Policy rules that are based on this query are used to evaluate purchase order headers against criteria that is specified on the purchase order line. When you use this query, the violations are created against the header, not the individual lines.

AuditPolicyVendInvoiceHeader (Vendor invoice)

Vendor invoice headers

AuditPolicyVendInvoiceHeaderLine (Vendor invoice header with line)

Vendor invoice headers

Policy rules that are based on this query are used to evaluate vendor invoice headers against criteria that is specified on the vendor invoice line. When you use this query, the violations are created against the header, not the individual lines.

AuditPolicyVendInvoiceLine (Vendor invoice line)

Vendor invoice lines

AuditPolicyVendInvoiceList (Vendor invoice monitored vendors)

Vendor invoices

Use this query together with the List search query type to create audit policy rules that evaluate vendor invoices for specific vendors. When you use this option, specify the vendor accounts as monitored entities in the Additional options form.

In cumulative update 6 for Microsoft Dynamics AX 2012 R2 or later, specify the monitored entities in the Audit policy rule form.

Policy rule type for benefit eligibility policies

Query

Source document

HcmBenefitEligibilityExpressionSetup (Benefit eligibility)

This option is available only if Microsoft Dynamics AX 2012 R2 or AX 2012 R3 is installed.

Worker profiles

Policy rule type for premium earning policies

Query

Source document

Premium earnings

Earnings statement

Policy rule types for vendor invoice policies

Query

Source document

VendInvoicePolicyHeader (Vendor invoice)

Invoice headers

VendInvoicePolicyLine (Vendor invoice lines)

Invoice lines

VendInvoicePolicyMiscCharge (Charges)

Charges

When you use this option, specify the charges code to evaluate in the Policy rules form, and specify the criteria in the Charges code form.

Document type

The type of source document that is associated with the query.

Query type

Select the type of database query that users can build when they create audit policy rules that use this policy rule type.

  • Conditional – Use this query type to create audit policy rules that evaluate source document attributes against specified values.

  • Aggregate – Use this query type to create audit policy rules that evaluate multiple source documents or source document lines against a policy rule by aggregating numeric values.

  • Sampling – Use this query type to create audit policy rules that randomly select the specified percentage of the source documents to evaluate for policy violations.

  • Duplicate – Use this query type to create audit policy rules that evaluate source documents for duplicate entries.

  • List search – Use this query type together with the AuditPolicyExpenseList, AuditPolicyPurchList, or AuditPolicyVendInvoiceList queries to create audit policy rules that evaluate source documents for specific entities. The root document of the query defines the document that is being audited. The query must contain a join with the DirParty table. When you select this option, specify the monitored entities in the Additional options form.

    In cumulative update 6 for Microsoft Dynamics AX 2012 R2 or later, specify the monitored entities in the Audit policy rule form.

  • Keyword search – Use this query type to create audit policy rules that evaluate source documents to determine whether they contain certain words. When you select this option, specify the prohibited words in the Additional options form.

    In cumulative update 6 for Microsoft Dynamics AX 2012 R2 or later, specify the prohibited words in the Audit policy rule form.

Legal entity field

Select the field in the source document that identifies the legal entity.

Document date reference

Select the field in the source document that identifies the date when documents are selected for audit.

See also

Setting up audit policies

About audit policy rules

Additional options (form)

Audit policy rule (form)

Benefit eligibility rules (form)

Policy rule: Vendor invoice (form)

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).