User Tools

Site Tools


en:cobi.wms:setting_up_the_team_counting_service_inventorycountingservice

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
en:cobi.wms:setting_up_the_team_counting_service_inventorycountingservice [2026/02/18 13:18] – [1. Preparations (Management Database)] thuthen:cobi.wms:setting_up_the_team_counting_service_inventorycountingservice [2026/02/18 13:28] (current) thuth
Line 76: Line 76:
 As soon as the data is successfully transferred to the service, the user can continue working in the app immediately without any wait time. As soon as the data is successfully transferred to the service, the user can continue working in the app immediately without any wait time.
  
 +===== 6. Subsequent Configuration (appsettings.json) =====
 +If it becomes necessary to adjust the configuration after the initial installation (e.g., if the SAP password changes or a different port is to be used for Hangfire), the setup does not need to be run again. \\
 +You can make the changes directly in the configuration file.
  
 +Navigate to the installation directory of the Windows service (usually located under ''C:\COBI.wms-inventorycounting-service'' or similar) and open the **''appsettings.json''** file with a text editor (as Administrator).
 +
 +The configuration is divided into different blocks. Here is an overview of the most important fields and their functions:
 +
 +  * Kestrel -> Endpoints -> Http -> Url: The port on which the service and the Hangfire dashboard run (Default: ''http://0.0.0.0:61000''). Change the port number at the end here if the default port is already in use.
 +  * SAP -> Server: Address and port of the SAP server.
 +  * SAP -> Database: Name of the SAP company database.
 +  * SAP -> User / Password: The credentials for SAP Business One.
 +  * SAP -> DatabaseType: The selected database type (e.g., ''dst_HANADB'' or ''dst_MSSQL2016'').
 +  * Jobs -> UpdateInventoryCountingJobCron: The interval (cron expression) for asynchronous processing.
 +  * Hangfire -> User / Password: The access data for the monitoring dashboard.
 +  * Api -> Key: The authentication key for the connection between the handheld scanner and the service.
 +
 +> **Important: Handling Passwords** \\
 +> If you want to change a password (e.g., in the `"SAP"` or `"Hangfire"` block), simply enter the new password in **plain text** into the ''appsettings.json'' file. Save the file and restart the Windows service via the Services management (''services.msc''). \\
 +> Upon starting, the service automatically detects the plain text and immediately **hashes** the password. If you open the file again afterwards, you will only see the unreadable hash value instead of your password.
en/cobi.wms/setting_up_the_team_counting_service_inventorycountingservice.txt · Last modified: by thuth

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki