Skip to main content

Notifications

Supply chain | Supply Chain Management, Commerce
Answered

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

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 ?

  • 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
    André Arnaud de Cal... 291,253 Super User 2024 Season 2 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?

  • 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
    André Arnaud de Cal... 291,253 Super User 2024 Season 2 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
    André Arnaud de Cal... 291,253 Super User 2024 Season 2 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans