Enable DOM integration for orders
To integrate the store to use an external distributed order management System to process orders, set configurations. We can use the Administration Console to enable message transfers to and from the external order management system.Note: The Administration Console works on Microsoft Internet Explorer 10, 11, and Microsoft Edge only when run in compatibility mode.
Procedure
- Open the Administration Console.
- On the Site/Store Selection page, select Site.
- Select Configuration > Message Types.
- Create a message type configuration to transfer orders to an external order management system.
- Click New.
- In the Message type menu, select Message for external order system.
- In the Transport menu, select WebServices over HTTP.
- In the Device format menu, select Webservices.
- Click Next.
- Submit the URL, User Name, and Password used to connect to the external order system. Enter the URL in the form, http://hostname:port/contextroot/servlets.
- Click Finish to save the configuration.
- Create a message type configuration to get orders from an external order management system.
- Click New.
- In the Message type menu, select Message for GetOrder from external order system.
- In the Transport menu, select WebServices over HTTP.
- In the Device format menu, select Webservices.
- Click Next.
- Submit the URL, User Name, and Password used to connect to the external order system. Enter the URL in the form, http://hostname:port/contextroot/servlets.
- Click Finish to save the configuration.
- Close the Administration Console.
- If we are not using Sterling Order Management, then configure the order component configuration file.
- Open the profiles/default/installedApps/localhost/ts.ear/xml/config/com.ibm.commerce.order/wc-admin-component.xml file.
- Change the OMSProvider property to GeneralOMS. For example,
<_config:property name="OMSProvider" value="GeneralOMS"/>
- Enable external order management integration by running the following SQL.
- To enable for all stores:
update STORECONF set value='Y' where name='is_ext_order_system' and storeent_id=0;
- To enable for a specific store:
insert into STORECONF (STOREENT_ID, NAME, VALUE) values (storeId, 'is_ext_order_system','Y');
- Enable SideBySideIntegration for the store.
- Open the Management Center.
- Select Management Center Tools > Store Management.
- Click Stores.
- Double-click the store.
- Go to the Orders tab and select the Sterling OMS integration option.
- Click Save.