User Tools

Site Tools


cobi.wms:architecture

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
cobi.wms:architecture [2021/06/24 09:05] – created tkammercobi.wms:architecture [2023/08/01 05:00] (current) tkammer
Line 1: Line 1:
-====== COBI.wms Architecture ======+====== Architecture Overview ======
  
-COBI.wms can connect to SAP Business One through various methods as explained in the following sections.+The COBI.wms Android app can receive its configuration from various sources, and it can connect to SAP Business One through various methodsas explained in the following sections.
  
-===== Direct DB connection + Integration Framework =====+===== App configuration sources ===== 
 + 
 +The following sections describe the ways you can deploy the app's configuration, such as the list of SAP Business One company databases it will offer in the login screen and how it should connect to each of them. 
 + 
 +==== Management Database ==== 
 + 
 +In the Settings screen of the app, you can find the tab **Management DB** at the top.  Under this tab, you can enter the IP address (or host-name) of an MS SQL Server or SAP HANA installation, on which you've created the [[Management Database|COBI.wms Management Database]]. 
 + 
 +Usually, entering the IP address, database user, and database password should be enough to connect; leave the other fields empty unless really needed. 
 + 
 +When you set up the app this way, the actual configuration will be received from the [[Management Database]].  Please see the linked page for details on how to set it up correctly. 
 + 
 +==== In-app company list ==== 
 + 
 +//**NOTE:** This configuration mechanism will soon be deprecated.  Please only use it for connecting to cloud-based deployments of SAP Business One, where currently no other option is available.// 
 + 
 +In the Settings screen of the app, when you select the **Companies** tab at the top, you can directly enter a list of SAP Business One companies into the app.  This list of companies corresponds to the data you would normally enter in the **Companies** table of the COBI.wms Management Database. 
 + 
 +When you set up the app this way, various features associated with the Management Database will not be available, such as license and permission management. 
 + 
 +===== SAP Business One connection types ===== 
 + 
 +The following sections describe the ways in which the app can connect to an SAP Business One database, regardless of where the app receives its configuration from. 
 + 
 +==== Direct DB connection + Integration Framework ====
  
 In this connection variant, the app will open a direct database connection for reading data from SAP Business One, and will use the Integration Framework to make bookings and updates. In this connection variant, the app will open a direct database connection for reading data from SAP Business One, and will use the Integration Framework to make bookings and updates.
Line 9: Line 33:
 This option should only be used when Service Layer is not available. This option should only be used when Service Layer is not available.
  
-===== Direct DB connection + Service Layer =====+Note that if you're using SAP HANA, you must install [[HANA Proxy]] to allow the app to use direct DB queries. 
 + 
 +==== Direct DB connection + Service Layer ====
  
 In this connection variant, the app will open a direct database connection for reading data from SAP Business One, and will use the Service Layer to make bookings and updates. In this connection variant, the app will open a direct database connection for reading data from SAP Business One, and will use the Service Layer to make bookings and updates.
Line 15: Line 41:
 This is the most preferable connection method.  It should be used if a direct database connection can be established (on-premises or private cloud deployment) and Service Layer is available. This is the most preferable connection method.  It should be used if a direct database connection can be established (on-premises or private cloud deployment) and Service Layer is available.
  
-===== Service Layer only =====+Note that if you're using SAP HANA, you must install [[HANA Proxy]] to allow the app to use direct DB queries. 
 + 
 +==== Service Layer only ==== 
 + 
 +In this variant, the app will use Service Layer for all communication with SAP Business One.  Reading data through Service Layer does not offer the same performance as direct database queries, so this connection method should only be used when a direct database connection cannot be established. 
 + 
 +===== Diagrams ===== 
 + 
 +The following diagrams might help you in better understanding the architecture of COBI.wms with regard to configuration deployment and SAP Business One connection. 
 + 
 +==== On-premises (or private cloud) with MS SQL Server ==== 
 + 
 +{{architecture-onprem-mssql.svg}} 
 + 
 +===On-premises (or private cloud) with SAP HANA ==== 
 + 
 +{{architecture-onprem-hana.svg}}
  
-The app will use Service Layer for all communication with SAP Business One.  Reading data through Service Layer does not offer the same performance as direct database queries, so this connection method should only be used when a direct database connection cannot be established. 
  
cobi.wms/architecture.1624518302.txt.gz · Last modified: 2021/06/24 09:05 by tkammer

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki