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 :
Microsoft Dynamics AX (Archived)

DAX 2009 invoice approval workflow issue

(0) ShareShare
ReportReport
Posted on by 815

I’m trying to setup an hierarchy based assignment for an invoice approval journal workflow.

 

When I go to the WF configuration assignment form, I choose hierarchy based option, and then in the combo ‘start from’ there is a list:

1)      approved by

2)      Rejected by

3)      Reported as ready by

4)      …..

5)      …..

 

I choose, start from ‘approved by’. Then I fill in ledgerJournalTable.ApprovedBy field with a user ID and submit a journal for a workflow.

 

Then I get an error message ‘Stopped (error): Employee not found.  Verify that the user has an employee ID code.’

 

I assume, that probably the field ‘approved by’ in the WF configuration refers to another field in the journal.

 

Anyway, can anybody suggest how to correctly use this feature (hierarchy based assignment) in the invoice approval journal workflow configuration?

 

Any ideas much appreciated.

 

Sasha.

 

*This post is locked for comments

I have the same question (0)
  • Mohamed Amine HAMDAOUI Profile Picture
    540 on at

    Hi,

    According to the error message, the user is no assigned to an employee. Verify that all users in the hierarchy haves an employee relation in all companies.

    1. Administration > Commons forms > Users 
    2. For every user
      1. Button > User Relation
      2. Tab > General
      3. Check that the field employee is filled

     Best regards,

    --------------------
    Mohamed Amine HAMDAOUI
    Dynamics Ax Technical Consultant
    Vi-One North Africa - VISEO Group
    Mail : mhamdaoui@viseo.net

  • Sasha Profile Picture
    815 on at

    Well, everything is ok with the users and employees, I use the hierarchy based assignment in the same company in the Purchase requisition process.

    I start from the requisitioner and everything is working as it supposes to.But in the invoice approval journal with the same users, employees and setup it doesn’t. It seems like ledgerJournalTable.ApprovedBy field is not the one WF runtime takes into account when processes hierarchy based assignment for invoice approval journal WF configuration. 

    Any further ideas?

    Kind regards,Sasha. 

     

  • Sasha Profile Picture
    815 on at

    Issue solved.

    Field approvedBy should be added to the DS of the underlying WF document query.

     

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans