BeyondERP.Newsletter
Menu

Workflow page · Accounts payable

Accounts payable workflows

The Accounts payable list of workflow configurations, where workflows such as the vendor invoice workflow, the invoice journal approval and the proposed vendor changes workflow are created and versioned.

Read the guide Back to Accounts payable

Used by
Accounts payable manager, Vendor account manager, Accounting supervisor and 2 more roles
Business process
Process supplier invoices
Menu item
WorkflowConfigurationVend
Main table
WorkflowTable
Data entity
None for this page's own settings
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page, the demo records and the values in the screenshots.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements. Some of it is Dynamics AX 2012 documentation, an earlier version.
Tests
A ready-to-run test, “Vendor bank change goes to approval”, to confirm this setup in your own test environment.
Show what matters for
PAGE GUIDEWhat the page does and how to use it9 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isThe Accounts payable list of workflow configurations, where workflows such as the vendor invoice workflow, the invoice journal approval and the proposed vendor changes workflow are created and versioned.
What you do hereUse this page to create, edit and activate the workflows that route Accounts payable documents and vendor changes for approval.
ExampleFor example, BEAT turns on vendor approvals for the bank account fields and creates a Proposed vendor changes workflow. When a clerk changes a vendor's bank account, the change is held as a proposal until the approver accepts it.
Accounts payable workflows 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 Accounts payable workflows1 screen

Use this page to set up workflow configurations, such as for journal approvals and purchase requisitions.

  1. Screen 1

    Create the vendor invoice approval workflow

    Go to Accounts payable > Setup > Accounts payable workflows

    1. Check that number sequences exist for the Workflow area's Workflow ID and Instance ID references (Organization administration > Number sequences); without them the workflow can't be saved
    2. Select New and select Vendor invoice workflow
    3. Allow the workflow editor to open (it is a desktop app started from the browser)
    4. Drag Approve vendor invoice onto the canvas and connect Start to the approval and the approval to End
    5. In Basic settings, enter the name and submission instructions
    6. In Activation, select Set the conditions for running this workflow and add the condition
    7. Open Step 1 of the approval: enter the work item subject and instructions, and on Assignment choose User and add the approver
    8. Select Save and close, enter version notes and select Activate the new version
    1ID000003
    NameVendor invoice approval
    TypeVendProcessInvoice
    Activation conditionVendor invoices.Invoice amount > 1000000 EUR
    ApproverAdmin
    Active version1.0.1.0

    Check The workflow shows an active version and no error in Status.

    Create the vendor invoice approval workflow (zoomed on the outlined fields)
    Show the full screenCreate the vendor invoice approval workflow
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to Accounts payable > Setup > Accounts payable workflows.
  2. Select New.
  3. Select the workflow type, such as Proposed vendor changes workflow.
  4. Design the workflow in the editor so that it matches your approval process.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
IDThe workflow ID, taken from the Workflow ID number sequence when the workflow is saved.Microsoft Learn 000003
NameThe name of the workflow configuration.Checked in Dynamics 365Vendor invoice approvalName
TypeThe workflow type the workflow is based on.Microsoft Learn VendProcessInvoiceTemplateName
Activation conditionThe condition that decides when this workflow is used. When several workflows share one workflow type, the conditions choose which one runs; if none is met, the default workflow is used.Microsoft Learn Vendor invoices.Invoice amount > 1000000 EUR
ApproverWho the approval step of the workflow is assigned to, such as a user, a role or a position in a hierarchy.Microsoft Learn Admin
Active versionThe version of the workflow that is active. Only an active version accepts documents that users submit.Microsoft Learn 1.0.1.0

Common errors and fixes

MessageWhat to do
The workflow can't be savedSet up number sequences for the Workflow ID and Instance ID references of the Workflow area under Organization administration > Number sequences, then save the workflow again. Microsoft Learn
A vendor field changes without going to approvalOnly fields with the Enable check box selected on the Vendor approval FastTab of Accounts payable parameters are held as proposed changes. Select Enable for the field. Microsoft Learn
The Post the vendor invoice using a batch task doesn't post invoicesTurn on the Vendor invoice batch posting parameter in Feature management, and make the task the last element of the vendor invoice workflow. Microsoft Learn

Test checklist

  1. Turn on Enable vendor approvals in Accounts payable parameters and enable the Bank account field for approval.
  2. Create and activate a Proposed vendor changes workflow.
  3. Change a vendor's enabled field and check that the Proposed changes page appears and the field keeps its old value.
  4. Submit and approve the change, then check that the vendor field shows the new value.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Accounts payable workflowsBuild each workflow, resolve every error and warning, then activate the new versionA workflow version can only be made active once all errors and warnings are resolved, and users can only submit documents to an active workflow.Which Accounts payable documents need a workflow?Dynamics 365 can't save a workflow until number sequences are set up for the Workflow area's Workflow ID and Instance ID references. Check them first under Organization administration > Number sequences.Test: Vendor bank change goes to approval

Feature management and licence

Licence or add-inIn this system 5 roles can open this page, among them Accounting supervisor, Information technology manager, Purchasing manager and Accounts payable manager.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyThe workflow table is shared by all legal entities, and each workflow record stores the company it belongs to. Microsoft data model
Can it be undoneReversible: Workflows are versioned: a new version can be saved without activating it, and the active version can be changed later. Microsoft Learn
If you change it laterA workflow only takes effect once its version is activated, and only for documents submitted afterwards. With several workflows of the same type, the activation conditions decide which one runs, so a new condition can move documents to another approval path. Microsoft Learn
Technical architect

6Technical

Menu itemWorkflowConfigurationVend Checked in Dynamics 365
FormWorkflowTableListPageRnr Checked in Dynamics 365
TableWorkflowTableShown as “Workflow configurations” in Record infoKey field: RecIdChecked in Dynamics 365
Data entitiesWorkflowVersionEntityWorkflow version (Workflow versions, shared by all companies) Microsoft data model
Who can open it

5 security roles. Select a role to see its duties and privileges.

  • RoleAccounting supervisorLedgerAccountingSupervisor
    • DutyEnable invoice and payment processVendInvoiceInvoicePaymentProcessEnable
      • PrivilegeAuthor Vendor management workflowsWorkflowAuthorVendWorkflows
  • RoleInformation technology managerSysServerITManager
    • DutyMaintain workflow and alerts settingsWorkflowAlertsSettingsMaintain
      • PrivilegeAuthor Vendor management workflowsWorkflowAuthorVendWorkflows
  • RolePurchasing managerTradePurchasingManager
    • DutyEnable vendor processVendVendorProcessEnable
      • PrivilegeAuthor Vendor management workflowsWorkflowAuthorVendWorkflows
  • RoleAccounts payable managerVendInvoiceAccountsPayableManager
    • DutyEnable invoice and payment processVendInvoiceInvoicePaymentProcessEnable
      • PrivilegeAuthor Vendor management workflowsWorkflowAuthorVendWorkflows
    • DutyEnable vendor processVendVendorProcessEnable
      • PrivilegeAuthor Vendor management workflowsWorkflowAuthorVendWorkflows
  • RoleVendor account managerVendVendorAccountManager
    • DutyEnable vendor processVendVendorProcessEnable
      • PrivilegeAuthor Vendor management workflowsWorkflowAuthorVendWorkflows
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itAccounts payable manager VendInvoiceAccountsPayableManagerAccounting supervisor LedgerAccountingSupervisorPurchasing manager TradePurchasingManagerVendor account manager VendVendorAccountManagerInformation technology manager SysServerITManagerGive people one of these roles. On this system, 5 roles can open this page.Checked in Dynamics 365
Actions on the pageWorkflow: Manage, HierarchyOptions: Personalize, Page options, ShareChecked in Dynamics 365
Security administrator · Solution architect

7Advanced Security configuration

Each button below opens a menu item. Start from a standard security role, or from an empty one, and choose what the new role gets for each button: remove it, or an access level. Then create the file that System administration > Security > Security configuration > Data > Import reads. The file holds a copy of the role and copies of only the duties and privileges that change. Everything else stays the standard object.

This demo uses Microsoft's standard roles. To do the same on your own system, with your own roles, use the Chrome extension or the bookmark.

Human resource assistant (HcmHumanResourceAssistant) can use 5 of these buttons. You can also give it buttons it does not have.

Workflow tab

On your own system, the Advanced Security configuration bookmark does the same with your real roles, including your own: click a button on the live page to see who can use it and what to change.

Built from Microsoft's standard security definitions for version 10.0.49 and the buttons seen on this page in a working system. Add-ons, your own roles and later versions can differ. Beyond ERP is not affiliated with Microsoft. Buttons without a menu item, such as Post, are not listed: security roles cannot change them this way.

Developer

8Developer

Open it by URLhttps://<your-environment>/?mi=WorkflowConfigurationVend
Data migrationWorkflowVersionEntity Workflow versions; shared by all companies.Load order: Set up the number sequences for Workflow ID and Instance ID first, then the workflows, then activate the version you want to use.Load first: Number sequences (Workflow area)Checked in Dynamics 365
Table definitionWorkflowTable columns and relations Microsoft data model
Everyone

9Sources