Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “A failed MES message can be fixed and reprocessed”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
A monitoring page that lists the messages received from third-party manufacturing execution systems (MES) through the MES integration API, so you can follow their processing and fix any that fail.
What you do here
Use this page to review the incoming MES messages for starting production orders, reporting produced or scrapped quantities, material and time consumption and ending orders, and to find, fix and reprocess messages that have failed.
Example
For example, when material consumption is registered in the MES, the resulting message posts the same consumption in Supply Chain Management so that inventory stays current for planning and sales.
The page in Dynamics 365. page title tab to open what to set or check
About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.
Setup steps on this page
Monitor MES integration messages
Use this page to follow the messages a third-party MES sends and to fix and reprocess the ones that fail.
Steps from Microsoft
Go to Production control > Setup > Manufacturing execution > Manufacturing execution system integration.
Filter Message state on Failed to see the messages the batch job couldn't process after three attempts.
Select a message and open the Log tab to read why it failed, and the Message content tab to see what the MES sent.
Fix the cause in Supply Chain Management, for example the production order status or a missing journal name, then select Process, or Cancel the message if the MES will resend it.
The type of message received from the MES, such as start, report as finished, picking list, route card or end production order.Microsoft Learn
ProdProductionOrderReportFinished
Message queue
The queue the message is processed in; MES messages are in the Manufacturing Execution 3rd Party queue.Microsoft Learn
Manufacturing Execution 3rd Party
Message state
Queued, Processed, Canceled or Failed. A message is set to Failed after three processing attempts.Microsoft Learn
Failed
Message content
A filter that searches the content of the messages, for example a production order number.Microsoft Learn
P000123
Common errors and fixes
Message
What to do
MES messages stay Queued and nothing is posted
Messages are processed by the message processor batch job. Set up a recurring Message processor batch job for the Manufacturing Execution 3rd Party queue. Microsoft Learn
A message is set to Failed
Open the Log tab, fix the cause in Supply Chain Management and select Process. The batch job tries each message three times before it sets it to Failed. Microsoft Learn
Test checklist
Check the Time and attendance license key is enabled on License configuration.
Send a ProdProductionOrderStart message for a released production order to /api/services/SysMessageServices/SysMessageService/SendMessage.
Open Manufacturing execution systems integration and check the message is processed and the order is started.
Send a ProdProductionOrderReportFinished message with a good quantity and check the quantity is reported as finished.
Send a message with an unknown order number and check it ends in Failed status after retries.
A recurring message processor batch job for the Manufacturing Execution 3rd Party queue, an alert on Failed messages, and cleanup of processed messages set on Message queue setupLearn says messages are processed by batch, failed messages need action, alerts can notify the person responsible, and processed messages should be cleaned up to keep performance.
Per company: each message is sent with a company ID and is processed in that legal entity. Microsoft Learn
Can it be undone
Reversible: Failed messages can be fixed and processed again; canceled ones can be queued again.
If you change it later
Processed and cancelled MES messages build up over time and should be cleaned up periodically, otherwise performance and data management can suffer. Microsoft Learn
Technical architect
6Technical
Menu item
JmgMES3PMessageProcessorMessageChecked in Dynamics 365
Form
JmgMES3PMessageProcessorMessageChecked in Dynamics 365
Table
JmgMES3PMessageShown as “MESSAGES” in Record infoChecked in Dynamics 365
Who can open it
1 security role. Select a role to see its duties and privileges.
To set it up or change itShop supervisor JmgShopSupervisorGive people one of these roles. On this system, 1 role can open this page.Checked in Dynamics 365
Actions on the page
(Action Pane without tabs): Process, Edit, Cancel, QueueChecked in Dynamics 365
Load order: Manufacturing execution system integration has no data entity in Data management, so its messages can't be loaded from a file. They are created by the MES through the API (SysMessageService); reference data goes to the MES through data entities or OData.Microsoft Learn