<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>BE-Code on Product Documentation</title>
    <link>https://bc.help.be-terna.com/en-us/docs/business-central/cross-industry-solutions/be-code/</link>
    <description>Recent content in BE-Code on Product Documentation</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <atom:link href="https://bc.help.be-terna.com/en-us/docs/business-central/cross-industry-solutions/be-code/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Overview</title>
      <link>https://bc.help.be-terna.com/en-us/docs/business-central/cross-industry-solutions/be-code/overview/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://bc.help.be-terna.com/en-us/docs/business-central/cross-industry-solutions/be-code/overview/</guid>
      <description>&lt;h2 id=&#34;purpose&#34;&gt;Purpose&lt;/h2&gt;&#xA;&lt;p&gt;BE-terna Barcode Service is a container-based middleware service that Business Central and other applications call to generate QR and barcodes and to send messages to external channels. The service can run locally on your own server or as an Azure Container Instance.&lt;/p&gt;&#xA;&lt;h2 id=&#34;business-value&#34;&gt;Business value&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Generates more than 90 barcode types on demand, from EAN-13 and Code 128 to QR Code and GS1 variants.&lt;/li&gt;&#xA;&lt;li&gt;Embeds barcodes seamlessly into Word layouts and reports in Business Central.&lt;/li&gt;&#xA;&lt;li&gt;Returns barcodes as base64-encoded PNG images, so they fit into any document or portal.&lt;/li&gt;&#xA;&lt;li&gt;Provides a single middleware for messaging channels such as Microsoft Teams, Telegram, and WhatsApp.&lt;/li&gt;&#xA;&lt;li&gt;Runs both on-premises and in Azure as Software-as-a-Service.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;functional-focus&#34;&gt;Functional focus&lt;/h2&gt;&#xA;&lt;h3 id=&#34;qr-and-barcode-generation&#34;&gt;QR and barcode generation&lt;/h3&gt;&#xA;&lt;p&gt;The BE-terna Barcode Service creates one- and two-dimensional codes for all relevant industrial and postal standards. Calls use a simple HTTP GET interface; the response carries the image directly as a base64-encoded PNG.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Setup</title>
      <link>https://bc.help.be-terna.com/en-us/docs/business-central/cross-industry-solutions/be-code/setup/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://bc.help.be-terna.com/en-us/docs/business-central/cross-industry-solutions/be-code/setup/</guid>
      <description>&lt;h2 id=&#34;purpose&#34;&gt;Purpose&lt;/h2&gt;&#xA;&lt;p&gt;This page walks you through the basic setup of the BE-terna Barcode Service and helps you pick the right deployment model. The service ships as a container image and runs either locally on a Windows server or as an Azure Container Instance.&lt;/p&gt;&#xA;&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Access to the BE-terna Azure Container Registry &lt;code&gt;becode.azurecr.io&lt;/code&gt;. Authentication uses tokens created in ACR. One token or password per customer.&lt;/li&gt;&#xA;&lt;li&gt;A valid SSL certificate as a &lt;code&gt;.pfx&lt;/code&gt; file for HTTPS delivery.&lt;/li&gt;&#xA;&lt;li&gt;Depending on the deployment model:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;On-premises: Windows Server build 22H2 or later, at least 1 CPU core, 1 GB RAM, and 10 GB of free disk space; installed Docker Engine and Docker Compose.&lt;/li&gt;&#xA;&lt;li&gt;Azure: active Azure subscription, Azure CLI or Azure portal access, optionally Azure Key Vault with an Azure AD service principal for certificate management.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;recommended-order&#34;&gt;Recommended order&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Choose the deployment model: on-premises or Azure Container Instance.&lt;/li&gt;&#xA;&lt;li&gt;Pull the container image from the registry and start the service.&lt;/li&gt;&#xA;&lt;li&gt;Configure the certificate and passwords.&lt;/li&gt;&#xA;&lt;li&gt;Maintain the BE-terna Barcode Service setup in Business Central and verify the connection.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2 id=&#34;setup-building-blocks&#34;&gt;Setup building blocks&lt;/h2&gt;&#xA;&lt;h3 id=&#34;pick-a-deployment-model&#34;&gt;Pick a deployment model&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;On-premises&lt;/strong&gt;: A good fit when you already run Windows Server infrastructure and want to host the container yourself. See &lt;a href=&#34;https://bc.help.be-terna.com/en-us/docs/business-central/cross-industry-solutions/be-code/setup-on-premise/&#34;&gt;Set up an on-premise container&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Azure Container Instance&lt;/strong&gt;: A good fit when the service should run in the cloud without your own server infrastructure. See &lt;a href=&#34;https://bc.help.be-terna.com/en-us/docs/business-central/cross-industry-solutions/be-code/setup-azure-aci/&#34;&gt;Set up an Azure Container Instance&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;authentication-and-passwords&#34;&gt;Authentication and passwords&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Use one ACR token per customer instead of the registry admin account.&lt;/li&gt;&#xA;&lt;li&gt;Set a strong user password for the BE-terna Barcode Service and configure the same value in the BE-terna Barcode Service setup in Business Central.&lt;/li&gt;&#xA;&lt;li&gt;Protect the certificate path and certificate password; the certificate must be reachable inside the container at &lt;code&gt;C:\certs\cert.pfx&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;verify-the-connection-in-business-central&#34;&gt;Verify the connection in Business Central&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In the BE-terna Barcode Service setup, enter the service URL (for example &lt;code&gt;https://&amp;lt;fqdn&amp;gt;:1880/becode&lt;/code&gt;) and the basic authentication credentials.&lt;/li&gt;&#xA;&lt;li&gt;Use the &lt;strong&gt;Check connection&lt;/strong&gt; action to send a test request to the container.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;details class=&#34;bt-docs-accordion bt-docs-accordion--process&#34; open&gt;&#xA;  &lt;summary class=&#34;bt-docs-accordion__summary&#34;&gt;&#xA;    &lt;span class=&#34;bt-docs-accordion__title-wrap&#34;&gt;&#xA;      &lt;span class=&#34;bt-docs-accordion__label&#34;&gt;Process&lt;/span&gt;&#xA;      &lt;span class=&#34;bt-docs-accordion__title&#34;&gt;Notes on secure operation&lt;/span&gt;&#xA;      &lt;span class=&#34;bt-docs-accordion__text&#34;&gt;Key guardrails for certificates, passwords, and registry access.&lt;/span&gt;&#xA;    &lt;/span&gt;&#xA;    &lt;span class=&#34;bt-docs-accordion__icon&#34; aria-hidden=&#34;true&#34;&gt;+&lt;/span&gt;&#xA;  &lt;/summary&gt;&#xA;  &lt;div class=&#34;bt-docs-accordion__body&#34;&gt;&#xA;    &lt;ul&gt;&#xA;&lt;li&gt;Name the certificate file exactly &lt;code&gt;cert.pfx&lt;/code&gt; and store it in the volume mapped from the host.&lt;/li&gt;&#xA;&lt;li&gt;Use the default demo password only for testing; always set an individual password in production.&lt;/li&gt;&#xA;&lt;li&gt;Do not store ACR tokens in repositories or unencrypted scripts; use Key Vault or a secure variable store.&lt;/li&gt;&#xA;&lt;li&gt;In Azure Container Instance, never expose the container publicly without HTTPS or a reverse proxy.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;  &lt;/div&gt;&#xA;&lt;/details&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#x9;&#xA;&#xA;&#xA;&#xA;&lt;section class=&#34;bt-docs-block bt-docs-block--links&#34;&gt;&#xA;  &lt;header class=&#34;bt-docs-block__header&#34;&gt;&#xA;    &lt;p class=&#34;bt-docs-block__eyebrow&#34;&gt;Links&lt;/p&gt;</description>
    </item>
    <item>
      <title>Set up an on-premise container</title>
      <link>https://bc.help.be-terna.com/en-us/docs/business-central/cross-industry-solutions/be-code/setup-on-premise/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://bc.help.be-terna.com/en-us/docs/business-central/cross-industry-solutions/be-code/setup-on-premise/</guid>
      <description>&lt;h2 id=&#34;purpose&#34;&gt;Purpose&lt;/h2&gt;&#xA;&lt;p&gt;This page describes the recommended approach for running BE-Code as an on-premise installation on a Windows server with Docker Compose.&lt;/p&gt;&#xA;&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Windows Server build 22H2 or later with at least 1 CPU core, 1 GB RAM, and 10 GB of free disk space.&lt;/li&gt;&#xA;&lt;li&gt;Installed and configured Docker Engine and Docker Compose.&lt;/li&gt;&#xA;&lt;li&gt;Access to the BE-terna Azure Container Registry &lt;code&gt;becode.azurecr.io&lt;/code&gt;; authentication uses ACR tokens, one token per customer.&lt;/li&gt;&#xA;&lt;li&gt;A valid SSL certificate as &lt;code&gt;cert.pfx&lt;/code&gt; in a host directory (for example &lt;code&gt;C:\certs&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;recommended-order&#34;&gt;Recommended order&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create an application folder, for example &lt;code&gt;C:\be.code&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Create the files &lt;code&gt;docker-compose.yml&lt;/code&gt; and &lt;code&gt;.env&lt;/code&gt; in that folder.&lt;/li&gt;&#xA;&lt;li&gt;Fill in &lt;code&gt;docker-compose.yml&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Fill in &lt;code&gt;.env&lt;/code&gt; and set passwords.&lt;/li&gt;&#xA;&lt;li&gt;Start the container and verify availability.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2 id=&#34;setup-building-blocks&#34;&gt;Setup building blocks&lt;/h2&gt;&#xA;&lt;h3 id=&#34;maintain-the-docker-compose-file&#34;&gt;Maintain the Docker Compose file&lt;/h3&gt;&#xA;&lt;p&gt;In the application folder, create &lt;code&gt;docker-compose.yml&lt;/code&gt; with the following content:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Set up an Azure Container Instance</title>
      <link>https://bc.help.be-terna.com/en-us/docs/business-central/cross-industry-solutions/be-code/setup-azure-aci/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://bc.help.be-terna.com/en-us/docs/business-central/cross-industry-solutions/be-code/setup-azure-aci/</guid>
      <description>&lt;h2 id=&#34;purpose&#34;&gt;Purpose&lt;/h2&gt;&#xA;&lt;p&gt;This page describes the recommended approach for running BE-Code as an Azure Container Instance (ACI) without your own server infrastructure. You can optionally bind the service to Azure Key Vault to manage certificates centrally.&lt;/p&gt;&#xA;&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Active Azure subscription with sufficient permissions to create resource groups and Container Instances.&lt;/li&gt;&#xA;&lt;li&gt;Azure CLI installed on your workstation, or access to the Azure portal.&lt;/li&gt;&#xA;&lt;li&gt;Access to the BE-terna Azure Container Registry &lt;code&gt;becode.azurecr.io&lt;/code&gt;; authentication uses one ACR token per customer.&lt;/li&gt;&#xA;&lt;li&gt;Optional: an Azure AD service principal with access to the Key Vault and a valid SSL certificate stored in the Key Vault.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;recommended-order&#34;&gt;Recommended order&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Sign in to Azure and to the Container Registry.&lt;/li&gt;&#xA;&lt;li&gt;Create a resource group.&lt;/li&gt;&#xA;&lt;li&gt;Create the Azure Container Instance.&lt;/li&gt;&#xA;&lt;li&gt;Verify the container and set up DNS forwarding.&lt;/li&gt;&#xA;&lt;li&gt;Test availability and configure the service URL in the BE-Code setup in Business Central.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2 id=&#34;setup-building-blocks&#34;&gt;Setup building blocks&lt;/h2&gt;&#xA;&lt;h3 id=&#34;sign-in&#34;&gt;Sign in&lt;/h3&gt;&#xA;&lt;p&gt;Sign in to Azure and to the Container Registry:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
