Prerequisites for Excercise 2
This exercise will simulate an ERP response to retrieve multiple production orders. We will retrieve the production orders and save them as Work Order objects in the MES software.
- This provider assumes you have the OEE and Production modules installed with an MES database. If that is not the case, investigate the Getting Set Up section of the Practical Tutorial.
- This provider assumes you have OEE Materials assigned to Production Lines. If that is not the case, investigate the OEE Practical Tutorial.
- Exercise 2 will consume an example endpoint on your local server. Ensure you have the following RESTful Provider on your system:
Navigate to Providers → RESTful Endpoints → Instructor Tools → getProductionOrders
- If this exists, nothing further is needed. Skip to the next page.
- If this does not exist, create a new structure with the endpoint to match:

- Open the endpoint getProductionOrders and match the following settings:

- Paste the following into the do_GET(request) script function:
do_GET body
Python |
|