Configure ERP Integration
Configure ERP Integration
The following table provides the sequence of steps that you must perform to configure ERP integration. You must provide your UAA credentials to perform these steps.
Step Number | Description | Notes |
---|---|---|
1 | Provide mapping details of a work order, process order, or material. | This step is required if the work order, process order, or material details are stored in a B2MML or XML file. It is used by the ERP Transformation service to convert the file to a JSON file. |
2 | Connect to the ERP Integration database by configuring the database settings, and insert records. | This step is required. After the integration, work orders, process orders, and materials are automatically imported to the ERP Integration database. |
3 | Configure the ERP Scheduler service parameters. | This step is optional. It is used to change the default value of the time interval at which the ERP Scheduler service polls the ERP Integration database. |
4 | Configure the ERP Import service parameters. | This step is optional. It is used to change the default values of parameters used in the service (such as names of property categories and groups). |
Provide Mapping Details
About This Task
If you want to send work order, process order, or material details in a B2MML or an XML file, you must map the fields using an XSL document. When you install Plant Applications, a default XSL file is provided. The supported XSL version is 1.0.
Procedure
Results
ERP Integration Database Settings
You must connect the ERP system with the ERP Integration database for work order, process order, and material records to be imported automatically into the ERP Integration database. These records are stored in the erp_integration_inbound_messages table.
Refer to your ERP integration system implementation guide for details on connecting to the integration database. Provide the following details when you integrate the ERP system with the ERP Integration database:
- Database: Microsoft SQL Server 2016
- Default name: SOADB
- Schema name: erp
- Default schema: erp
Configuration Parameters in the ERP Scheduler Service
You can configure the following parameters in the ERP Scheduler service.
Parameter | Description |
---|---|
erp.scheduler.service.importJobPoll.milliseconds | The interval (in milliseconds) at which the ERP Schedule service polls the ERP Integration database for new inbound messages. The default value is 30000. |
erp.scheduler.service.importJobStatusPoll.milliseconds | The interval (in milliseconds) at which the ERP Schedule service polls the ERP Integration database for in-process messages. The default value is 30000. |
Configuration Parameters in the ERP Import Service
You can configure the following parameters in the ERP Import service.
Note: Before you configure the parameters related to custom property groups and categories, you must create them in Plant Applications. The maximum number of properties that you can create per property group is 2000. For more information, refer to Property Definition.
Parameter | Description |
---|---|
Workorder_post_delete_delay | The duration after which importing a work order of the same name will replace the existing work order. Note: This parameter is applicable only for importing work orders. |
Workorder_property_category_name | The name of the category to which property groups belong. The default value is Route_Workorder_Category. |
Workorder_property_group_name | The name of the group to which work order properties belong. The default value is Route_Workorder_Group. |
Material_property_category_name | The name of the category to which material property groups belong. The default value is Route_Material_Category. |
Material_property_group_name | The name of the group to which material properties belong. The default value is Route_Material_Group. |
maximumCacheSize | The maximum number of entries that the cache can contain. The default value is 100. |
cacheExpireAfterWrite |
Specifies that each entry be removed from the cache after a fixed duration after one of the following events occur:
The default value is 5 minutes. |