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

Community site session details

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

Stopped (error): Unable to determine the next valid target source document line accounting status

(2) ShareShare
ReportReport
Posted on by 74

Good Day Dynamics Community,

On the Purchase Order workflow we are getting the following error. Purchase order approval status is 'In review' and Purchase order status is 'Open order':


Stopped (error): Unable to determine the next valid target source document line accounting status. The desired status was Draft, the current status is Finalized. The model determines the next step to be to Draft, however the only valid transitions from the current state are to one of the following:  Finalized.

I ran the Budget checks and then tried resuming the workflow twice, but received the same error message.

Please let me know if anyone has encountered this error and if you were able to resolve it.

Thanks in advance!

KDS

I have the same question (0)
  • Wyman Profile Picture
    95 on at
    Stopped (error): Unable to determine the next valid target source document line accounting status
    We receive this error on a large percentage of our POs.  Is this the only option to fix the error.  It is unproductivty to have to run this process for each PO.  It causes resource restrictions in our IT team and creates a backlog for the accounting team.  
  • Suggested answer
    CU13021035-0 Profile Picture
    2 on at
    Stopped (error): Unable to determine the next valid target source document line accounting status
    Error: Unable to determine the next valid target source document line accounting status. The desired status was Completed, the current status is Finalized. The model determines the next step to be to Completed, however the only valid transitions from the current state are to one of the following: Finalized.
     
    Solution: Navigate to Procurement & Sourcing > Periodic Tasks > Cleanup > Purchase Order distribution Reset. Enter the purchase order number and press ok. 
     
    This solution works in most scenarios.
     
    Thank you.
  • RodrigueK Profile Picture
    10 on at
    RE: Stopped (error): Unable to determine the next valid target source document line accounting status

    Hi Steven J. Rice,

    I was experiencing the same issue, and I followed the solution you provided and my issue got fixed after restting the Purchase Order Distributions.

    Thanks, that was very helpfull!

  • TheRIP Profile Picture
    5 on at
    RE: Stopped (error): Unable to determine the next valid target source document line accounting status

    Thanks for the tip about the periodic task. It fixed a situation where we were unable to do anything to a PO that was complaining about being under- or overdistributed.

  • KDS Profile Picture
    74 on at
    RE: Stopped (error): Unable to determine the next valid target source document line accounting status

    Hi Steven,

    Thanks for the response!

    If I recall, I think I tried that too with the same results; it didn't fix them all. :(

    Kind Regards,

    KDS

  • Steven J. Rice Profile Picture
    66 on at
    RE: Stopped (error): Unable to determine the next valid target source document line accounting status

    Hi KDS,

    I had some luck running this cleanup job after speaking with MS for some of the POs that were throwing this error. Requested Change on the PO so that it was in Draft, then ran this clean up job. Unfortunately it didn't fix all of the POs.

    Procurement & Sourcing > Periodic Tasks > Cleanup > Purchase Order Distrobution Cleanup

    pastedimage1628521717854v1.png

    Thanks,

    Steven

  • KDS Profile Picture
    74 on at
    RE: Stopped (error): Unable to determine the next valid target source document line accounting status

    Good Day All,

    According to Microsoft, this was fixed in version 10.0.17.

    Best Regards,

    KDS

  • KDS Profile Picture
    74 on at
    RE: Stopped (error): Unable to determine the next valid target source document line accounting status

    Hi Jason,

    I heard this was fixed in 10.0.17.

    Hope this will help!

    Best Regards,

    KDS

  • Jason Greene - Dynamics Beyond Profile Picture
    20 on at
    RE: Stopped (error): Unable to determine the next valid target source document line accounting status

    We are getting same error on 10.0.0.16.  Waiting to hear back from Microsoft on the fix

  • ToddB Profile Picture
    on at
    RE: Stopped (error): Unable to determine the next valid target source document line accounting status

    Hi Steven and Amineit,

    If you are also experiencing this issue, I would recommend opening a support ticket as well.

    Thank you in advance.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,340

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 640 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans