By Clay Li on Tuesday, 27 April 2021
Category: Feature

How to Implement an ERP Integration in Calem

​In the coming release of R21a, the Calem API has been extended to support the implementation of ERP (Enterprise Resource Planning solution) integration. Inventory integration is used as an example in this blog. Here is the data flow of the integration.

Direction Object
​Calem to ERP​Requisitions for spare parts created, and approved in Calem.
​ERP to Calem​Purchase Orders (POs) created, and approved in ERP
​Calem to ERP​Transactions of Parts/services received against POs. 
​Calem to ERPOther inventory transactions: a) checkout of parts/services to work orders; b) return parts/services to vendors; c) return of  unused parts checked out; c) physical count of parts; d) off-site repairs and receipts; and e) on-site repairs and receipts.

1. Calem to ERP

Events and listeners are used to send requisitions and transactions to ERP. The standard event generator will generate an event with data from a single record. A custom event generator is used in this example to generate both REQ and its line items, and also to format the JSON data fields based on requirements.

1.1 REQ Data Change Event

A data change event is generated when an object is edited. We will go through the example for REQ. The setup process is similar for inventory transactions ("cm_in_tran" table).

1.2 Event Listener 

The event listener defines the end point of the web service of ERP application.

2. ERP to Calem

The PO data is sent to Calem via standard Calem REST API.

3. Integration Processes

The use cases above demonstrate the two-way integration between an ERP and Calem. The successful implementation of an integration project involves the following processes.

  1. Calem Implementation
    • Calem has been implemented
    • Maintenance operations run on Calem
    • Integration requirements are learned and identified
  2. Develop Integration Specification
    • Define use cases for integration
    • Define technical data exchange specification for integration
  3. Implementation of Integration
    • Get teams together including Calem, vendor and client.
    • Implement and test the integration per specification
    • Training and support for the integration

Additional Resources

Related Posts