Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

How to change status of Production Order to "Report as Finished" using MES integration system

(0) ShareShare
ReportReport
Posted on by 15

Hi All,

I am trying to change the status of a Production Order from "Released" to "Start" to "Report as Finished

I am using MES (Manufacturing Execution System) integration system  feature in MS Dynamics 365.

I have been able to successfully change  the status from "Released" to "Start" .

However , while setting the Production Order status to "Report as Finished" I am facing issues while processing the request in queue in Dynamics 365.

7737.pastedimage1681736680685v1.png

I am sending the following request body to MSDynamics 365

{
  "_companyId": "USMF",
  "_messageQueue": "JmgMES3P",
  "_messageType": "ProdProductionOrderReportFinished",
  "_messageContent": {
    "ProductionOrderNumber": "P000263",
    "ReportFinishedLines": [
      {
        "ItemNumber": "CAR_13",
        "ReportedGoodQuantity": 1,
        "AcceptError": 0,
        "ReportAsFinishedDate": "2023-01-01",
        "EndJob": 0,
        "PickingListProductionJournalNameId": "00994",
        "RouteCardProductionJournalNameId": "00995",
        "AutomaticBOMConsumptionRule": 2,
        "AutomaticRouteConsumptionRule": 2
      }
    ]
  }
}

What am i missing over here . Is there any configuration while processing the request MES integration queue?

What does "Failed Dependency" mean ? How can I get more info on this ?

  • SameerCoolkarni20 Profile Picture
    15 on at
    RE: How to change status of Production Order to "Report as Finished" using MES integration system

    Hi André ,

    Thank you for your help ,that link was super helpful. It seems it was an issue with the request body I was sending.

    Regards,

    Sameer Kulkarni 

  • André Arnaud de Calavon Profile Picture
    295,953 Super User 2025 Season 1 on at
    RE: How to change status of Production Order to "Report as Finished" using MES integration system

    Hi Sameer,

    If you click on the Log link (just above the lower grid), do you then get a descriptive error what might be wrong?

  • SameerCoolkarni20 Profile Picture
    15 on at
    RE: How to change status of Production Order to "Report as Finished" using MES integration system

    Hi André,

    Yes I have gone through this documentation especially this section

    learn.microsoft.com/.../mes-integration

    However , the on processing the request in the MES integration system in the D365 UI , I am getting the error as "Failed dependency " (as shown in the screenshot ).

    Kindly help in that regard.

    Regards,

    Sameer Kulkarni

  • Verified answer
    André Arnaud de Calavon Profile Picture
    295,953 Super User 2025 Season 1 on at
    RE: How to change status of Production Order to "Report as Finished" using MES integration system

    Hi Sameer,

    Have you checked the documentation about the MES integration? Integrate with third-party manufacturing execution systems - Supply Chain Management | Dynamics 365 | Microsoft Learn

  • André Arnaud de Calavon Profile Picture
    295,953 Super User 2025 Season 1 on at
    RE: How to change status of Production Order to "Report as Finished" using MES integration system

    Moved to the Dynamics 365 SCM forum.

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 171 Super User 2025 Season 1

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 140 Super User 2025 Season 1

#3
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 127 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans