Set up Accounts payable workflows

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

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

Some organizations require that journals be approved by a user other than the person who entered the journal. To set up an approval process, you can create a workflow. You can also set up other processes, such as the review of vendor invoices.

A workflow represents a business process. It defines how a document flows through the system and indicates who must complete a task or approve a document. There are several benefits of using the workflow system in your organization:

  • Consistent processes — You can define the approval process for specific documents, such as purchase requisitions and expense reports. Using the workflow system helps to ensure that documents are processed and approved in a consistent and efficient manner.

  • Process visibility — You can track the status, history, and performance metrics of a specific workflow instance. This helps you determine whether changes should be made to the workflow to improve efficiency.

  • Centralized work list — Users can view a centralized work list to view the workflow tasks and approvals assigned to them. This work list is available from the Role Center pages in the Microsoft Dynamics AX client and Enterprise Portal.

Journal workflows

Based on journal names, you can require manual approval, workflow approval, or no approval. Use this information to set up one or more workflow configurations for each journal type. Then select a configuration for each journal name, and activate workflow for that journal. If workflow approval is set up for a journal, additional controls are displayed at the top of the Journal form. These include a yellow information bar, and either a Submit button or an Actions menu. For more information, see Submit a document and Workflow actions.

Some buttons in the Journal and Journal voucher forms are not available when a journal has been submitted for workflow journal approval. When the journal is approved, the options on the Post menu are available, and the other controls and fields in the form are not. If a user edits an approved journal, the workflow status is reset, the options on the Post menu are not available, and the other controls and fields are available. When the changes have been made, the journal must be resubmitted for approval.

The following options are available for payment journals that have a workflow status of Approved:

  • Edit the journal. When changes are completed, you must resubmit the journal for approval.

  • View the journal.

  • Process payments. Only the payment processing options are available.

You can use workflow approvals for the following journals and journal types in Accounts payable.

Journal menu item

Journal type

Invoice register

Invoice register

Invoice approval journal

Approval

Invoice journal

Vendor invoice recording

Payment journal

Vendor disbursement

Draw promissory note journal

Vendor draw promissory note

Redraw promissory note journal

Vendor redraw promissory note

Remittance journal

Vendor bank remittance

Settle promissory note journal

Vendor settle promissory note

For an overview of workflow in Microsoft Dynamics AX, see Overview of the workflow system and Workflow concepts. For information about how to set up journal approvals, see Set up financial journal approvals.

The types of workflows you can create

The following table lists the types of workflows that you can create in Accounts payable.

Type

Purpose

Vendor invoice register journal workflow

Create approval workflows for invoice register journals.

Vendor invoice approval journal workflow

Create approval workflows for invoice approval journals.

Purchase agreement approval

Create approval workflows for purchase agreements.

Note

This control is available only if the Public Sector configuration key is selected.

Vendor invoice

Create workflows for vendor invoice headers. You can view the invoices in the Vendor invoice form.

To use workflows together with vendor invoice policies, make sure that the Post invoice with discrepancies field is set to Allow with warning in the Accounts payable parameters form.

Vendor invoice line

Create workflows for vendor invoice lines. You can view the invoices in the Vendor invoice form.

To use workflows together with vendor invoice policies, make sure that the Post invoice with discrepancies field is set to Allow with warning in the Accounts payable parameters form.

Vendor invoice journal workflow

Create approval workflows for invoice recording journals.

Vendor disbursement journal workflow

Create approval workflows for vendor disbursement journals.

Vendor draw promissory note journal workflow

Create approval workflows for vendor draw promissory note journals.

Vendor redraw promissory note journal workflow

Create approval workflows for vendor redraw promissory note journals.

Vendor bank remittance journal workflow

Create approval workflows for vendor bank remittance journals.

Vendor settle promissory note journal workflow

Create approval workflows for vendor settle promissory note journals.

Automated tasks and manual tasks for vendor invoices

You can use the following workflow tasks to perform an action on a vendor invoice.

Task

Type

Description

Post vendor invoices

Automated

Post vendor invoices automatically. This task can be used together with other tasks. This task should be the last task element in the workflow configuration. If a review or approval process is used, that process should occur before this automated task. For an example of how the Post vendor invoices automatic task is used, see Workflow with a conditional decision.

This automated task does not work with vendor invoices that are in an approval journal. Post approval journals manually.

Evaluate policy rules for invoices

Automated

Evaluate policy violations on vendor invoices. For information about how to use workflow and policies together, see Key tasks: Vendor invoice policies.

If a vendor invoice violates one or more policy rules at the header level, this task reports the violations in the Policy violations form for that invoice. For an example of how the Evaluate policy rules for invoices automatic task is used, see Workflow with a conditional decision.

Review vendor invoice

Manual

Assign this task to a user who can perform a review of vendor invoice lines that are in the vendor invoice. You define the steps for the review in the description section when you create the workflow.

The difference between a review manual task and an approval workflow element is that, if the review manual task is assigned to multiple users, the workflow can continue after any one of those users completes the task. If you assign an approval workflow element to multiple users, all those users must approve the document before the workflow can continue. For more information, see Workflow with multiple users in a task.

Review vendor invoice matching

Manual

Assign this task to a user if the user must review the vendor invoice to determine whether it has invoice matching discrepancies.

The difference between a review manual task and an approval workflow element is that, if the review manual task is assigned to multiple users, the workflow can continue after any one of those users completes the task. If you assign an approval workflow element to multiple users, all those users must approve the document before the workflow can continue. For more information, see Workflow with multiple users in a task.

Automated tasks and manual tasks for vendor invoice lines

You can use the following workflow tasks to perform an action on a vendor invoice line.

Task

Type

Description

Evaluate policy rules for invoice lines

Automated

Evaluate policy violations on vendor invoice lines. This automated task differs from the Evaluate policy rules for invoices task, because it evaluates only policies that use a rule type that is based on the Vendor invoice lines query name. For information about how to use workflow and policies together, see Key tasks: Vendor invoice policies.

If a vendor invoice violates one or more policy rules at the line level, this task reports the violations in the Policy violations form for that invoice. For an example of how the Evaluate policy rules for invoice lines automatic task is used, see Workflow with a conditional decision.

Review vendor invoice line

Manual

Assign this task to a user who can perform a review of vendor invoice lines that are in the vendor invoice. You define the steps for the review in the description section when you create the workflow.

The difference between a review manual task and an approval workflow element is that, if the review manual task is assigned to multiple users, the workflow can continue after any one of those users completes the task. If you assign an approval workflow element to multiple users, all those users must approve the document before the workflow can continue. For more information, see Workflow with multiple users in a task.

Create a workflow

To create a workflow, follow these steps.

  1. Click Accounts payable > Setup > Accounts payable workflows.

  2. On the Action Pane, click New.

  3. Select the type of workflow to create, and then click Create workflow. The workflow editor is displayed. Design the workflow by dragging workflow elements onto the canvas.

  4. Configure each element of the workflow. For more information, see Configure workflow elements.

  5. Repeat steps 2 through 4 to create additional workflows for Accounts payable.

  6. If you are setting up journal workflows, set up journal approvals for specific journals by using the Journal names form. For more information, see Set up financial journal approvals.

Calculated fields and expressions

The following calculated fields and expressions are used with Accounts payable workflow journal approvals. For each workflow, you can set up conditions that include these calculated fields and expressions.

Calculated field

Description

Invoice amount

The total invoice amount for the vendor invoice.

This field is available for Vendor invoice and Vendor invoice line workflows.

Journal credit total

The total credit amount for the whole journal.

This field is available for journal workflows.

Journal debit total

The total debit amount for the whole journal.

This field is available for journal workflows.

Maximum voucher credit amount

The highest credit voucher amount in the journal.

This field is available for journal workflows.

Maximum voucher debit amount

The highest debit voucher amount in the journal.

This field is available for journal workflows.

Minimum voucher credit amount

The lowest credit voucher amount in the journal.

This field is available for journal workflows.

Minimum voucher debit amount

The lowest debit voucher amount in the journal.

This field is available for journal workflows.

Types of participants

You can assign a workflow element to the following groups of participants.

User group

Description

Security role participants

Assign the workflow element to a Microsoft Dynamics AX security role.

User group participants

Assign the workflow element to a Microsoft Dynamics AX user group.

Vendor invoice expenditure participants

Use this group to assign the workflow element to expenditure participants. This option is available for the elements that are associated with Vendor invoice and Vendor invoice line workflows.

See also

Journal names (form)

Key tasks: Vendor invoice policies