For: Customers · Partners · Integrators
orderManager sits between order entry and production. How it is integrated depends on whether a system creates orders, receives them, or provides the data associated with them. This page describes common integration patterns to help you choose the right one for your scenario.
ERP Integration
An ERP system is the system of record for customers, commercial orders, and delivery dates. It uses orderManager in two directions:
- To orderManager: Create customers and import orders as
OrderDetailsJSON. See Use Case: Manage Customers and Use Case: Import Orders. - From orderManager: Read changed and released orders incrementally, for example, for order confirmations and delivery planning. See Use Case: Synchronize Orders with the ERP System.
Configurator and Online Shop Integration
An order configurator, online shop, or sales tool creates orders from configured products. It reads library items and master data to display the assortment, calculates prices using the orderManager library, and imports the completed order. Set source in the order to identify the originating system. If omitted, orderManager records HG Connect as the source. See Use Case: Calculate Prices.
CAD/CAM Integration
A third-party CAD/CAM system transfers orders for designed projects to orderManager, as it does for productionManager. It should import orders as OrderDetails JSON, like any other source system. If it already creates project archives for HOMAG software, it can also import the same ZIP file. The project.xml in the archive follows the HOMAG Import Specification. This is supported but is not the standard method.
MES and Production Planning
An MES or production planning system in work preparation receives orders released by orderManager. It reads newly released orders using releasedSince and then reads the order details, including groups, positions, and configuration data if configurationData=true. It maintains its own checkpoint so each released order is processed exactly once. See the “Respond to Released Orders” option in Use Case: Synchronize Orders with the ERP System.
Keep the central release in mind: process only orders in the ReadyForProduction state or later, and treat orders in the InProgress state as final because they can no longer be changed in orderManager.
Master Data and Configuration Data Integration
A PIM, ERP, or materials management system is the system of record for sales items and product configuration values. It maintains sales items through the Sales API and writes configuration values to custom tables. Custom tables linked to materialManager are updated through synchronization instead. See Use Case: Manage Sales Items and Use Case: Manage Configuration Data.
Partner Integration
A software provider or integration partner offers the orderManager integration as part of its own product for many customers. Partners authenticate using a partner ID provided by HOMAG, and each customer creates an authorization key for the partner. See Authentication.
Choose a Pattern
| You are a … | Typical pattern |
|---|---|
| ERP provider | Customer and order import, status synchronization, partner authentication |
| Configurator or online shop provider | Price calculation and order import, partner authentication |
| Third-party CAD/CAM provider | Order import as JSON (project archives as an alternative), partner authentication |
| MES or production planning provider | Read released orders and order details, partner authentication |
| Manufacturer connecting its own ERP system | Customer and order import, status synchronization, customer authentication with one subscription |
| Manufacturer maintaining its own product data | Sales items and custom tables, customer authentication |
| System integrator | Any of the patterns above, depending on the customer's systems |
API reference: Authentication describes authentication and subscription models.
