Levels of Coexistence
Coexistence of ERP applications with the platform can be achieved at different levels. This document is based on the philosophy laid out in the coexistence strategy paper (https://docs.google.com/document/d/13GhdnIkoeeT-t94jb61nB3WY-ZKUk--EQzFnvheWW0E/edit#) published a year back.
Level 1
Only a basic level of integration with the platform will be there at this level. Some of the platform services like the user service, MDMS service, tenant service and access control services will be used here. Main integration points are-
- Single Sign-on/out with the platform
- A common set of user, citizen and employee registries
- Sign in and sign out will be done from the platform.
- Authorization to menu links from the platform
- Role-based access control will be done using the access control service in the platform
- Menu links for platform modules as well as ERP modules will be listed in the same menu tree link
- On click of any menu links, the page will open in the right iframe.
- Referring to the common masters from the platform
- Platform level masters like -Department, Tenant, Designation and boundary to be accessed from the platform in the ERP
- All finance-related masters will be referred to in the platform using REST API calls.
- Master data like bank, bank account, Fund, chartofaccounts will be accessed using a REST API call from the Finance server.
- Elastic search index to be created in the same ES server where the platform is pushing the data. This way the dashboards can have an integrated view of things.
- Offline the data will be pushed to the Elastic search server using the ES REST APIs in the platform.
- Using the ES service in the ERP data can be pushed online to the ES server.
- Inbox items to be available in a single place for different applications across platform and ERP
- The platform is using a role-based workflow and ERP is using position based workflow.
- Inbox for will be two different lists, one for the platform entities and another one for ERP entities. (There is scope for making both the list into one list)
Level 2
This is a special case where all ERP applications will be clubbed into a single package and deployed. For instance, Finance and Water & Sewerage are two applications that are running as separate ERPs. Keeping Finance ERP as the base ERP add the W&S application into this one. This way there will be only one application server hosting both the modules. Also, the code base will be a single one. Here the main integration points with the platform will remain the same as that of Level 1 except the integration with Finance is not required. Instead, there will be direct API calls for Finance masters.
Level 2
This will be a closer level of integration with the platform. All the platform services will be used in the ERP, just the core application related stuff will remain in the ERP. UIs will be rendered from the ERP itself. Beyond Level 1 coexistence billing and collections will be covered at this level.
- Integrate with platform demand and billing services
- Any demand generated from the ERP application will be done using the demand and billing services of the platform.
- The billing cycle will be configured in the platform for these services.
- Integrate with platform collection service including payment gateway integrations
- Any collections made in the ERP application should use the collection service in the platform and receipts are to be created in the platform.
- Receipt print will be rendered from the collection service.
- Online payments where payment gateway is involved will use the same services as that of the platform.
Level 3
This level will integrate with the workflow engine of the platform.
- Integrate with the platform workflow service
- Call the workflow service from the platform for any workflow in the application. This way the position based workflow in the ERP will be replaced with the role-based workflow from the platform.
- Render the workflow items of various entities in the platform and ERP together in the Inbox.
- All features of the platform workflow like the SLA and escalation can be utilized for the ERP entities also.
- Using MDMS service for defining the configuration and master data in the ERP
- State-level and ULB level configurations and master data can be kept in the platform using the MDMS service
Level 4
This level will actually try to reuse all the core services in the platform over and above Level 3. Few of the integrations can be-
- Use the File store service from the platform
- Instead of using the ERP document management feature, use the file storage service from the platform for uploading and tracking of all documents.
- This way all the documents will reside in the same location and management and tracking becomes easier.
- Integrate with platform Indexer Service
- Use the indexer yaml file to define the ES index and push the data to the ES server using the platform indexer service.
- PII data handling (data security and privacy)
- Enhanced services of the platform like the data masking can be easily accommodated for any ERP entities using the platform service.
- Other core services like notification services, encryption service, telemetry service etc, can be used from the platform.