web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Expense management: using line level workflow approval prevents posting an expense

(0) ShareShare
ReportReport
Posted on by 30

Hello all, I am struggling to configure the following scenario using expense management workflows.

My client has client-related expenses ("Direct" - for example travel to customer site) and internal expenses ("Internal" for example fitness reimbursement).  They require the ability for users to enter an expense report containing both types of expenses. Internal expenses are approved by various users (for example, fitness reimbursement is approved by the HR department), while Direct expenses are approved by the Worker's manager.  

I configured the following to support this:

1) Workflow type Expense report.  This has a condition to test Expense lines for the presence of any Internal expenses.  If True, go to a workflow of type Expense line item which routes approval to the User group responsible for that type of Internal expense (e.g. HR department).  If False, go to an approval node which seeks approval for the overall expense report from the Worker's manager. 

2) Workflow type Expense line item.  This seeks approval of each expense line from the specific group (e.g. the HR department for fitness reimbursement). 

The workflow works well except one critical issue.  If the expense report has no Internal expenses, the workflow approval skips over the line level approval altogether (which is what I would logically want), and after completion of the Expense report workflow approval, the Approval status on the Expense report is Approved (this is good), but the Approval status on all expense lines is In review (this is not good). This prevents the expense report from posting: "Some expense line is not yet approved. Posting is only allowed after all expense lines are approved"

I don't see any invocation of the line level workflow in either the Expense report (header level) workflow history, or under Org admin>Workflow>Workflow history.   Also I searched LCS for a bug, no results.  I also tried an auto approval node in the Expense line item workflow (at the end), so that if there's a mix of Direct and Internal expense lines, the Direct lines will have an Approval status of Approved and yet would still be approved at the Expense report (header) level by the Worker's manager.  This works well for expense reports with a mix, but doesn't work where there are no Internal expenses (i.e. only Direct expenses).

The alternative would be having users enter expense reports specific to Direct and each type of Internal expense, which my client is not supportive of (obviously).  I suppose another alternative is a second Expense line item workflow which auto approves all expense lines after the first Expense line item workflow is completed.  I will try that and update this string with the results, but that's less than ideal.  

Has anyone faced this issue?  Very much appreciate your help with this!

Aaron Goudreau

PS - I'm working with F&O 10.0.24 (platform version 48)

I have the same question (0)
  • Suggested answer
    AaronGoudreau Profile Picture
    30 on at

    Update: the second expense line approval workflow which auto approves all lines after the first expense line approval workflow fixed this issue. Seems wonky but it works

  • huijij Profile Picture
    19,811 on at

    Thank you for sharing.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 549 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans