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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Purchase invoice - workflow approval status is not updated

(0) ShareShare
ReportReport
Posted on by 117

hi all, 

(Ax2012R2) I have the following situation: a purchase-invoice  (PO invoice) is submitted to our WF and runs through all the WF-elements. Out of the WF it goes to a sub-WF which manages the approval. Once the WF enters the sub-WF the invoice-status goes to "in review". The approver completes the WF-element by approving. The WF throws the following error:

pastedimage1598597965453v2.png

28.08.2020 06:37:07:
Stopped (error): Action failed: Purchase invoice XXD1762 does not have the expected state Posted
Details:
Transition to Posted not allowed: Purchase invoice XXD1762 does not have the expected state Approved

My initial thoughts were that someone changed the pending supplier-invoice after the approval was completed and therefore the approval became invalid. So i have recalled the WF and resubmitted it again. Currently the WF is again at the approval WF-step. As a test i opened the pending supplier invoice as i expect that Ax will give me the usual message that this invoice is locked for editing and that if you choose to edit, you have to recall the WF and resubmit. But i am able to open the pending invoice and no question is asked. ....

So i went to verify the workflow approval status for the invoice approval journal created and i noticed that the workflow approval status remains in "draft" while this should be "in review". (as to other invoices in the similar WF position).

pastedimage1598597885899v1.png

I double-checked the parameters on the journal in the setup and it is connected to the correct worfklow.

Has anyone encountered similar behavior or know why the workflow approval status does not get updated as it should?

Looking  forward to your feedback, 

kind regards, 

Jo

I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 663

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 439 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 337 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans