BeyondERP.Newsletter
Menu

Setup page · Accounts payable

Vendor invoice policy rule types

A setup page for the rule types that vendor invoice policies are built from; each rule type has a name, description and query.

Used by
Accounts payable manager, Auditor, Accounting manager and 1 more role
Business process
Define invoicing policies in Dynamics 365 Finance
Menu item
VendInvoicePolicyRuleType
Main table
SysPolicySourceDocumentRuleType
Data entity
VendInvoicePolicyRuleTypeEntity
Setup steps
1 on this page
Show what matters for
PAGE GUIDEWhat the page does and how to use it8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA setup page for the rule types that vendor invoice policies are built from; each rule type has a name, description and query.
What you do hereUse this page to create the policy rule types for vendor invoices before setting up vendor invoice policies.
Vendor invoice policy rule types page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

Step by step, with screenshots

Set up Vendor invoice policy rule types1 screen

Defines the rule types, each tied to a query, that vendor invoice policies use when invoices are posted or submitted to workflow.

  1. Screen 1

    Create the vendor invoice policy rule type

    Go to Accounts payable > Policy setup > Vendor invoice policy rule types

    1. Select New
    2. Enter BEAT-INVOICE as the rule type
    3. Enter the Description, Query name and Document type
    DescriptionInvoice policy
    Query nameVendor invoice
    Document typeVendor invoices
    Create the vendor invoice policy rule type (zoomed on the outlined fields)
    Show the full screenCreate the vendor invoice policy rule type
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to Accounts payable > Policy setup > Vendor invoice policy rule types.
  2. Select New.
  3. Enter a Rule name and a Description.
  4. In the Query name field, select the query the rule is based on.
  5. Save the record.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
Query nameThe query that defines which data the policy rule checks.Microsoft Learn Vendor invoice
DescriptionInvoice policyDescription
Document typeVendor invoices

Test checklist

  1. Create a rule type with a name, description and query.
  2. Use it in a vendor invoice policy for the test company.
  3. Enter an invoice on the Vendor invoice page that breaks the rule and open Policy violations.
  4. Check the violation is listed; then enter the same case in an invoice journal and check no policy check runs.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Vendor invoice policy rule typesOne rule type per check, each tied to the query it needs; include a charges-based rule type when charges codes use Maximum amountPolicies are built from rule types, and validating charges against a charges code's Maximum amount needs a policy rule type based on charges in the vendor invoice policy.Expecting these rules to check invoice journals: vendor invoice policies don't apply to invoices created in the invoice register or invoice journal.

Feature management and licence

Licence or add-inInvoice matching configuration key

Microsoft Learn

Solution architect

5Design impact

Can it be undoneReversible: Rule types can be changed; policies use them the next time an invoice is posted or its policy violations are opened. Microsoft Learn
Technical architect

6Technical

Menu itemVendInvoicePolicyRuleType Checked in Dynamics 365
FormSysPolicySourceDocumentRuleType Checked in Dynamics 365
TableSysPolicySourceDocumentRuleTypeShown as “Policy source document rule type” in Record infoKey field: RecIdChecked in Dynamics 365
Data entitiesVendInvoicePolicyRuleTypeEntityVendor invoice policy rule types Microsoft data model PayrollPremiumEarningPolicyRuleTypeEntityPayroll premium earning policy rule type Microsoft data model
Who can open itPrivilegesMaintain policy rules for vendor invoices VendInvoicePolicyRuleTypeMaintainView policy rules for vendor invoices VendInvoicePolicyRuleTypeViewDutiesInquire into invoice and payment policies VendInvoiceInvoicePaymentPoliciesInquirEnable invoice and payment process VendInvoiceInvoicePaymentProcessEnable
4 security rolesAuditor AuditPolicyManagerAccounting manager LedgerAccountingManagerAccounting supervisor LedgerAccountingSupervisorAccounts payable manager VendInvoiceAccountsPayableManager
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itAccounts payable manager VendInvoiceAccountsPayableManagerAccounting supervisor LedgerAccountingSupervisorTo use itAccounting manager LedgerAccountingManagerAuditor AuditPolicyManagerGive people one of these roles. On this system, 4 roles can open this page.Checked in Dynamics 365
Actions on the pageOptions: Personalize, Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=VendInvoicePolicyRuleType
Integrate withVendInvoicePolicyRuleTypeEntity data entity Microsoft data model
Data migrationVendInvoicePolicyRuleTypeEntity (Vendor invoice policy rule types): shared by all companies, in Microsoft's default template 120 - Accounts payable.PayrollPremiumEarningPolicyRuleTypeEntity (Payroll premium earning policy rule type): shared by all companies.Load order: Microsoft's default template 120 - Accounts payable loads Vendor invoice policy rule types at execution unit 1, level 30, sequence 10. Lower levels load first, and entities at the same level load in sequence order.Load first: the default templates at lower levels (System setup to General ledger)Microsoft Learn
Table definitionSysPolicySourceDocumentRuleType columns and relations Microsoft data model
Everyone

8Sources