Sort invoices for approval based on project ID

From Micylou WIKI
This is the latest revision of this page; it has no approved revision.
Jump to navigation Jump to search
Source: DataSource
Language: English
Topic: Microsoft
SubTopic: D365
Last Edit By: DochyJP
LastEdit: 2021-08-05
Document type: User Guide
Status: Active
Access: free

Filter invoices

This is a manual on how to filter invoices based on the project ID. You can filter invoices with the ‘advanced filter’.

Initial setup

The first time you use the filter you have to ‘build’ and save it.
From then you can open the saved filter

Build query

Navigate to “invoices to be approved by me”

Invoice approval filtered 01.PNG

Open options > advanced filter or sort

Invoice approval filtered 02.PNG

Open the tab “joins”

Invoice approval filtered 03.PNG

Select “purchase invoices” and click on “add table join”

Invoice approval filtered 04.PNG

Select the record “Vendor invoice lines” > click select
=> You can navigate to this record by filtering on relation = vendor invoice lines

Invoice approval filtered 05.PNG

Scroll down and select the previously added record “vendor invoice lines” > add table join

Invoice approval filtered 06.PNG

Select the record “vendor invoice lines – project information”

Invoice approval filtered 07.PNG

Navigate to the tab “range”

Invoice approval filtered 08.PNG

Add a new line:

  • Table = Vendor invoice lines - project information
  • Derived table = Vendor invoice lines - project information
  • Field = Project ID
Invoice approval filtered 09.PNG

Save the query: modify > save as

Invoice approval filtered 10.PNG

Enter a name for the query and click “ok”

=> The query is now built and saved
=> You have now added the project ID as a possible filter field of the listpage with the invoices to approve

Use query

Filtering invoices

With the function “advanced filter of sort” you van filter the list of invoices to approve.
Open the filter, enter a filter value and click “ok”.
=> The invoices will be filtered

Invoice approval filtered 11.PNG

Initial list of invoices:

Filter value:

Invoice approval filtered 12.PNG

Result: only the invoices which have a line where project ID = NET-VOO-0001 are shown in the list page.

Invoice approval filtered 13.PNG

Filter values

In 1.2.1 the invoices are filtered based on the filter: Project ID = NET-VOO-0001. It is not necessary to filter on exact values on project ID’s and you can enter multiple filter values.

When entering the filter value you can use * as a ‘wildcard’.

  • *NET* = all projects that contain ‘NET’
  • PXM* = all projects that start with ‘PXM’
  • *001 = all projects that end with ‘001’

Use a comma as a separator to enter multiple values in the field “criteria”

Invoice approval filtered 14.PNG

Open saved query

When you open “advanced filter or sort” the previously used query will be shown by default:

Invoice approval filtered 15.PNG

When the filter field “Project ID” is not shown by default you have to adjust the query from “previously used query” to the query that you saved in 1.1.1

Invoice approval filtered 16.PNG