The steps you need to follow for implementing COBI.wms depend on the type of your SAP Business One installation. Follow the steps under the section that describes your environment.
If you have an on-premises or private cloud installation of SAP Business One with Service Layer available (which means it is either based on SAP HANA, or the version of SAP Business One is 10.0 or newer) then follow these steps:
INSERT
statement from the Management Database INSERT
statement from the Management Database documentationdocumentationWarning: The use of Integration Framework with COBI.wms is deprecated and highly discouraged for new installations. Most new COBI.wms features are only available when using Service Layer.
If you have an on-premises or private cloud installation of SAP Business One Version 9.3 or older, based on Microsoft SQL Server then please refer to the following steps. Note that the Integration Framework must be installed already.
APIURL
field of the SAP Business One company connection added to the Management DatabaseIf you are using SAP Business One from a public cloud (SAP-hosted or partner-hosted) then first of all, your cloud provider must make Service Layer accessible. Talk to your provider for details about this.
Additionally, to make all features of COBI.wms available and for better performance, the app needs to create a number of SQL Queries over Service Layer. This requires SAP Business One Version 10 FP2011 or newer. Also, you either need a superuser to create the SQL Queries, or a user with the permission Modify SQL Queries in Service Layer which is only available starting with FP2108. Please see the section Creating SQL Queries below for more details.
To configure the connection of the app to your SAP Business One cloud account, open cobiwms-config.html in a new tab of your browser, and follow these steps:
When connecting to a cloud deployment of SAP Business One, COBI.wms cannot establish a direct database connection and instead has to request all data over Service Layer. To improve the functionality and performance of these data requests, the app can create a number of SQL Queries while logging in to a company database.
This is done by checking Update SQL Queries in the login screen, below the login button, before logging in. (This will create the Queries if they were not created yet, and update them to the newest version if they were already created but not up-to-date, so it's recommended to do this once for every new version of COBI.wms.)
For this SQL Query creation/update to work correctly, the SAP user you've entered for the connection settings (see step 3 of the previous section) has to be either a superuser, or have the permission Modify SQL Queries in Service Layer under the “General” category. This permission is only available since SAP Business One Version 10 FP2108. In older versions, you must use a superuser.
There are some steps you might need to take which are independent of the SAP Business One installation: