BxLogistics installation part 1 - BxEngine

This is the start of the installation of BxLogistics/BxSales/BxLabels. Part 1 consists of the installation of BxEngine.

The installation of BxLogistics, BxSales and BxLabels can be split into different areas;
  1. BxEngine service installation on a server - which is the main component in our Bx solution.
  2. Integration setup towards ERP in BxAdmin and connection of handheld terminals with BxMobile and/or connection of printers in BxSmartPrintPro.
Part 1 - BxEngine - Installation of BxEngine, this article
Part 2 - BxAdmin - Setup in BxAdmin (this article does also include setup towards Visma.net)
Part 3 - BxMobile - Installation handheld terminals, can be done regardless of part 1 and 2.
Part 4 - Pairing BxMobile - Pairing of handheld terminals/BxMobile, depended on part 1 to 3.
Part 5 - BxSmartPrintPro - This can be installed regardless of part 1 to 4.

If you're looking to move an already existing BxLogistics/BxEngine installation, it is described here (link/article coming soon xx)

Are you installing an extra BxEngine service on the same server, press HERE.

Installation demands BxEngine

BxEngine must be installed on a Windows server or PC. Our database demands a Microsoft SQL server (SQL Express/Standard and so on), and the BxEngine service demands .NET Framework 4.8. It is recommended to run with Windows Server 2012R2/Windows 8.1 and SQL 2012R2 or more recent.

Windows 7/Server 2008R2 and SQL 2008R2 will still work, but there are no guarantees that any future updates of BxEngine will function on this plattform. 7/2008R2 is no longer supported by Microsoft.

This is what you need for part 1:


         BxEngine Installation file

Can be downloaded from our partner portal https://partner.bxsoftware.no/
Demands login to the portal, if you don't have an account, you can contact us on support@bxsoftware.no and we will create a user account for you as long as you exist as a dealer of our solutions.

Open up Home and look for Downloads up in the right corner.

Download the "BxEngine for BxLogistics/BxSales/BxStockCount" file that can be found under Releases in Home.
image-132

License key for BxEngine

You can find the license key under Licenses. Search for a customer to find the licenses and press the license key button to copy the license.

Admin access on applications server

BxEngine is often installed on the same server as app server for the ERP solution, but can also be installed in other places, depending on which ERP system is being used.

i.ex:

  • Visma Global: Needs access to SDK / API to Visma Global, therefore it is almost always installed on the Visma Global app server.
  • Visma Business: Needs access to the EDI area for Visma Business, either on the same machine or via a UNC / network address. Access is also needed for VB installation catalogue if you are using VBS instead of EDI.

    • By using UNC path to EDI or VBS tracks, a service user must be added with access to the specific areas on the BxEngine service.
  • SAP B1: If BxEngine is installed on a different server than the SAP server, you need to install SQL Server Native Tools 20xx and SAP DI API SDK as well.
  • Visma.net: Only needs access to the BxEngine SQL database, integration setup is done with a user login/integration user in Visma.net, token generating. Can be installed wherever it is preferrable as long as there is an MS-SQL server available.
  • Uni Økonomi Desktop: Must be installed on the same server as theUni import service for BX is installed, usually on the Uni Økonomi serveren.
      

Admin access on SQL server

It is not strictly necessary with a straightforward admin-access, but you need access to create an SQL database and an SQL user, and in addition - the newly created user must also get the necessary accesses, which is described further down on this page.

   

Firewall/port openings

Usually port 443 out - more information about that here.

Creating a SQL database and user

BxEngine demands its own database for saving - amongst other things - configuration data, logging and some operative data like stock count results.

BxEngine will usually also collect data from an ERP database, so you will need the rights to read this database.

  • BxEngine database - Here, you will give your database a name and click OK.
    bxloginstdel1bxeng2 bxloginstdel1bxeng3
  • BxEngine login - General - Make sure there's an SQL Server authentication, and turn off "Enforce password policy". If you don't turn it off, it will lead to passwords expiring, which will lead the business to a halt, or that you must log in again and create a new password first before you can move forward inside the BxEngine service setup. Default database is added to the BxEngine database created in the previous step.

    bxloginstdel1bxeng4
    • User Mapping - Ownership to the BxEngine database
      • db_owner
      • default schema dbo
      • If it's set up towards Visma.net you only need db_owner on the BxEngine database - you can then skip the next step and move straight to "Installation".
      bxloginstdel1bxeng5
    • Reading right for the ERP database
      • db_datareader
      • default schema i.ex. dbo (Visma Business/NET/SAP/Uni) or company name (Visma Global)
      • If it's set up towards Visma.net you only need db_owner in the BxEngine database
      • If it's to be integrated towards Uni Micro ERP, it's also necessary with db_datawriter access
      bxloginstdel1bxeng6
  • As a set standard, the BxEngine database name is BxEngine, but if it is installed at an ASP supplier with joint database agencies, the ASP supplier often wants the base to follow a given name standard - i.ex KundeNavn_BxEngine_Prod
  • The BxEngine-database does not need to be on the same database server as the ERP system

Installation

Start the BxEngine.msi file that you downloaded earlier and follow the instructions, it is only Next -> Choose wanted installation catalogue -> Next -> Complete.

When the installation is complete, you can start the BxEngine Monitor via the icon that should now have appeared on the desktop. Be patient, on some servers/PC's it can take a second before the program actually boots up.

When the BxEngine Monitor appears, you will first encounter a setup box. It will ask for a license key and information about the BxEngine database.

  • License key: Retrieved from main license in the partner portal -> licenses
  • SQL Server: SQL Server\eventuell instans
  • Database: BxEngine - Remember! It's important that it's set to the BxEngine database
  • bruker: bxengine - the user you've just created
  • passord: **********

bxloginstdel1bxeng7

It's important that the bxengine user has db_owner access on the BxEngine database, both during installation and operation, as the database structure is susceptible to change during upgrades.

  • It's not the ERP database that is to be added here, only the database that BxEngine will create its own columns in.
  • Do not use easily guessed passwords! It is recommended to use a generated password that will be used only for this user account.
  • It is not possible to log in to the database using Windows Authentication - it must be an SQL user.

Initialising the database

When the database information is added, you can click Confirm.

From there, you will receive a question whether or not you are running the init script that created the necessary columns. On a brand new installation, you will always receive this question. When moved, the same question will appear, but for this you simply press No. But since this is a new installation, you will click Yes. Eventually you will receive a message that will inform you that the script is now running - click OK. And finally you will receive a message that  informs you that the license is validated - click OK on this one as well. If you do not receive the OK button on your license dialogue box, please check if the firewall is opened up for these ports/addresses

bxloginstdel1bxeng8 bxloginstdel1bxeng9

Starting with version 2020.10, you no longer need to click Yes. You now only click Confirm in the setup box, and the rest will setup automatically. License validation is now the only OK box.

Service user startup and adjustment

Now that the database is ready, the BxEngine Monitor will display a status image and start up the Windows service. At this point you must restart the service and if needed, add another service user if BxEngine needs access to the network stations.

bxloginstdel1bxeng10

The next step is the setup in BxAdmin: BxLogistics installation part 2 - BxAdmin

If, when logging into BxAdmin, a 404 error occurs, stop the service and restart and then wait for approx. 30 seconds. Then try to log in again.