In order to be able to use Connect for an organization, you need to login into TecCom Portal and go to Administration section. Once there, select Organizations subsection and enable the Connect checkbox for the organization you want to enable it for.
Note: TecAlliance needs to activate the Connect for your organizations so that you are able to enter configuration in TecCom Portal. Please contact your TecAlliance contact person to have this arranged.
After enabling the Connect module you can now start configuring Connect settings. Once in the Settings section you will find different tabs, each allowing to configure different aspects of Connect.
Note: Remember to save the changes with the “SAVE” button in the upper right side of the screen after editing options.
In this tab you can configure the communication channel used by Connect. It is possible to choose between two options - Cloud or Direct.
In case of Cloud communication, no configuration is required. Connect configures itself in the installation process.
Note: Make sure that ports used by Microsoft Azure Service Bus (5671 and 5672 for Advanced Message Queuing Protocol (AMQP) are opened. Further details can be found in the Connect requirement document.
In this section you can set the throttling of the messages received by Connect in order to prioritize some request types over others.
The numbers indicate how many messages are processed simultaneously and passed on to the ERP system. Certain message types can be prioritized over others by setting higher numbers. In general, by reducing the numbers, the numbers of messages sent to the ERP system and processed in parallel can be reduced, thus protecting the ERP system from overload. In case more messages arrive for a certain message type than are set in the configuration, they are first "parked" and processed with a time delay.
Some scenarios may require direct communication. In this case some additional configuration needs to be provided. Connect requires a public and a private endpoint in order to be able to process requests. To increasing security, it’s also possible to switch to HTTPS protocol by providing SSL certificate that needs to be installed on the target machine. In order to be able to use the endpoint under NetworkService security context (see 7.1.1), you have to assign a namespace reservation.
With this command you can specify your port and your Uri, also, a reminder that you have to run this command line under administration rights:
netsh http add urlacl url=http://+:<port>/<uri> user=”NT AUTHORITY\Network Service”
And if you want to delete a namespace reservation, you have to run this command line:
Netsh http delete urlacl url=http://+:<previous_port>/<previous_uri>
The “Ping” button checks if your Connect is reachable from TecAlliance network (see chapter 5 Verify the installation)
In this section the log level for Connect and DTS can be set. Also, the connection string to read logs in Azure Storage Explorer can be obtained here.
A detailed guide on how to read logs is available on the wiki.
Monitoring is an advanced feature that allows collecting telemetry on various aspects of the solution. When enabled, it is possible to setup email alerts for certain events in Connect that will be monitored.
In the ERP options section, it is possible to configure the different ERP integrations that Connect supports:
DTS section allows setting up pickup and download directories for sending and receiving messages like e.g. Stock Orders or Reverse Messages.
Existing directories can be browsed remotely by clicking the refresh icon and then drilled down to the required path. Existing directory paths can also be written manually.
New directories for the pickup or download location can be entered manually. If the configured directories do not exist, Connect will create them. The archive option will store processed messages in Archive subdirectory.
Messages in Send directories will be processed according to the File Detection selection.
The "File Detection" setting allows you to choose how and when files written in the Send directories are picked up and transmitted. The interface offers two options for this setting: "Immediate" and "Scheduled."
Immediate: This option ensures that files added to the Send directories are detected and sent instantly. This means as soon as they are written to the directory, they are immediately processed. Please note, the immediate detection functionality may not be fully supported on certain shared network drives or operating systems. Should you encounter issues with this option, we recommend using the "Scheduled" option.
Scheduled: If you choose this option, you will see an additional field entitled "Schedule CRON" which becomes active. This field allows you to input a CRON schedule that dictates when files will be detected in the directory. Rather than being processed immediately upon being added to the directory, files are detected and processed according to the schedule you set in this field. This feature is recommended to use when the Immediate detection is not compatible with your network drive or operating system, ensuring consistent file processing without potential technical difficulties.
Messages in Received directories will be picked up from the TecAlliance platform according to the configured CRON expression.
By clicking on the “i” icon you will be forwarded to a website to easily configure a CRON expression.
Processing drop down list allows assigning a transformation (IFD or XSLT) to either Send or Receive documents.
In case of Send transformations, detected file is transformed to XML format according to configured Processing option and then forwarded to the Order Platform.
In case of Receive transformations, received documents from Order platform are transformed from XML format to format according to selected Processing option.
Each directory and its content in the DTS tab have to have at least Modify permission granted for user account NetworkService to be able to process the files.
If you want to use a shared folder with DTS, you have to set a specific user to run the DTS service and it has to have at least Modify permissions on each shared folder.
Connection details
The maximum number of messages that can be sent out at the same time is limited to 10.
Excluded file types
Files ending with .tmp or .wip (case insensitive) are ignored and will not be picked up by the DTS service.
CMD section allows to configure Connect to transfer articles and price data from the parts manufacturer to the CMD Platform (platform) and data transfer from the platform to a trading company. It is required that the TecId is assigned to an organization in Solution Portal in order to use Connect to send or receive CMD files.
CMD integration can be defined per environment ('Staging' for testing purposes and ‘Production’), but only the selected environment is active in the client.
Default option selected for the environment is ‘None’. In that case, Connect will not transfer any CMD files.
Each environment can be configured for the role of ‘Sender’ or ‘Receiver’.
With role set to ‘Sender’, Connect sends CMD files to the platform.
It is required to define a directory where CMD files will be to picked up from, username and password to connect to the platform.
The "File Detection" setting allows you to choose how and when files written in the directory are picked up and transmitted. The interface offers two options for this setting: "Immediate" and "Scheduled."
Immediate: This option ensures that files added to the directory are detected and sent instantly. This means as soon as they are written to the directory, they are immediately processed. Please note, the immediate detection functionality may not be fully supported on certain shared network drives or operating systems. Should you encounter issues with this option, we recommend using the "Scheduled" option.
Scheduled: If you choose this option, you will see an additional field entitled "Schedule CRON" which becomes active. This field allows you to input a CRON schedule that dictates when files will be detected in the directory. Rather than being processed immediately upon being added to the directory, files are detected and processed according to the schedule you set in this field. This feature is recommended to use when the Immediate detection is not compatible with your network drive or operating system, ensuring consistent file processing without potential technical difficulties.
Also, it is possible to enable files to be archived after they are sent to the platform. If Archive is set to ‘enabled’, sent files will be stored in archive subdirectory of the directory which has been defined for pickup.
With role set to ‘Receiver’, Connect downloads CMD files from the platform.
Similar to the configuration of the ‘Sender’ role, a directory, where the files will be stored after download, username and password to connect to the platform must be configured. Organization ID is retrieved automatically from the Solution Portal, using the TecId of the selected organisation.
Schedule, defined as CRON expression determines the frequency of the download of the documents from the platform. In the example below, the download frequency is set to every 30 minutes.
e-Invoicing allows configuring e-Invoicing service to deliver electronic invoices (Suppliers) to their invoice recipients and also detailed structured files to support automatic invoice processing flows. Download of the invoice for the receivers of these invoices (Suppliers and Buyers) can also be configured.
Buyers can configure the reception mode to download the invoices from the e-Invoicing server. Suppliers, on the other hand, can configure both modes: dispatcher mode which is required to send files to the e-Invoicing server, and the optional reception mode to receive the invoices that we were sent to the e-Invoicing server.
The e-Invoicing configuration can be defined per environment ('Staging' for testing purposes and ‘Production’), but only the selected environment is active in the Connect.
Default option selected for the environment is ‘None’. In that case, Connect is not configured for transfer e-Invoicing files.
This mode is intended for suppliers who use e-Invoicing dispatcher to send electronic invoices. The purpose is to deliver a PDF together with structured invoice data at the position level in the TXML 2.5 format. Also, it is possible to use this mode to send a PDF together with Processing Instructions files in TXML 3.0 format.
In this mode we have to configure the following parameters:
When expanding the section Business Relation Configuration, more transformations can be added depending on the customer number in the input files. By default, the option in the table with the ‘Invoice Party Number’ equals to ‘*’. This configuration is applied for all the input files if the customer number does not have a specific row for this customer number.
In the image below, we can see the default configuration without any processing, but we can define a ‘xslt’ transformation or ‘plugin’ transformation to use by default.
If a customer number is added to the table (in the image 379656), select a plugin transformation to add input parameters that are used within the plugin.
If a plugin is selected for processing (.zip file extension), parameters used by the plugin can be defined. By clicking ‘Add’ button a single parameter is added. Both parameter name and value must be defined.
For AktivBank scenario parameter template button is available (‘Add→AktivBank).
By clicking on the ‘Add→AktivBank’ button, default parameters for AktivBank scenario are added. With this action, all the parameters for Aktivbank are added automatically and only their values must be defined manually.
In the example below, the AktivBankJson.zip plugin has a list of default parameters that need to be defined.
The latest two fields are related to the e-Invoicing pull client. This configuration is available both for Suppliers and Buyers.
With Receiver mode enabled, files (can be different for sender and receiver) that are configured for the ‘Business Relation’ in Solution Portal are downloaded once they are available on the e-Invoicing server.
The receiving folder is set in ‘Directory’, while the CRON expression to configure the schedule for download is set in ‘Schedule (CRON)’. For example: if the schedule is set to ‘0 0/1 * * * ? *’, the e-Invoicing pull client will try to download available files every minute.
In this section transformation files (.ifd and .xslt) and plugins (.zip) can be uploaded. These transformation files can be used when additional processing of documents is set up in the DTS section.
Transformation files can be uploaded either as Private or Shared:
Note: If two transformation files with the same name are uploaded both as private and shared, then the private transformation is used
After configuring a communication channel (see chapter 2.1 Communication) and in case of Supplier integration options (see chapter 3 Configure Integration (Suppliers only) you can download the Connect setup by going to the Options tab “Download” in Connect - Settings section of the TecCom Portal.
In case of multiple client installations, you can set an Alias for the Connect product instance before downloading the archive. The Connect client which runs as a Windows Service after installation on the Windows Server of the buyer or supplier contains this Alias name.
Note: It is recommended to set Alias for all installations
In this tab you can configure how Connect will integrate with the ERP of your organization. There are several possibilities and each one supports different integration scenarios.
In the first tab “Integration Type” of this section you can configure how Connect will integrate with the ERP of your organization.
The integration is configured “per request type” by simply assigning the integration dropdown options to the chosen type. Optionally you can also change the different Log levels for the whole integration process. By default, it is set to Information.
Validate response enables you to activate or deactivate the schema validation of responses from integration endpoint before they are sent to the platform.
Note: Remember to save the changes with the “SAVE” button in the upper right side of the screen after editing options.
This section allows configuring integration of Connect with SAP solutions. After selecting the SAP dropdown options you must go to the SAP tab window to set the parameters required for the SAP integration.
In tab “SAP” the required parameters for connecting to SAP can be provided: SAP Host & Credentials for connecting to SAP environment and other parameters used for initializing the SAP module, e.g. client, language and destination.
Another common scenario is to develop a custom integration between Connect and ERP. For this case a provided standalone library can be finished with the custom processing logic and the compiled plugin can be uploaded through TecCom Portal so that Connect can use it to process requests.
In the tab “Plugin” the properties of the current plugin can be checked, and a new plugin can be uploaded.
Note: in order to upload a new plugin, you need to click on the browse input and choose the plugin zip file from the file explorer. After that a SAVE is required in order to upload the plugin to the cloud storage.
Please also note that the plugin must be uploaded for each organisation that should use it.
This section allows a supplier to activate the connection with TecCom Business Cloud, configure settings to upload data to TecCom Business Cloud, and receive article orders from buyers.
To activate the connection with TecCom Business Cloud, simply switch the toggle 'Activate TecCom Business Cloud' to the 'On' mode. After switching it to the “On” mode, configuration sections for Import and Export will be displayed, like below:
Configure the import process in the Import section here:
Note: After saving the configuration, the supplier user can import data by putting their import files in the specified "Import directory". The import job will run according to the schedule defined in "Schedule (CRON)" to import the data.
Configure the export process in the Export section here:
Note: After saving the configuration, the supplier user can receive the article's order information whenever their articles are ordered by a buyer. The order information will be exported to the specified "Export directory", and the export job will run according to the schedule defined in "Schedule (CRON)."
The Prefile backend of Connect utilizes a standardized database to store ERP master data and orders.
The directories from import and export must have permissions granted to the user account NetworkService to be able to process the files (see 7.1.1).
First, there are several options to control the behaviour of the Prefile backend:
For the data import and export to work, these settings have to be configured for each:
Other optional settings for the Prefile Import / Export task are:
Lastly, the database can be chosen:
When using Prefile integration the search of parts will be executed in the following order (if no results are found on one step, it will proceed to the next one):
In tab “Dynamics 365” the required parameters for connecting to Dynamics 365 can be provided.
When the download (described in section 2.9 Download) completes, unpack the archive and double click the setup.cmd file to launch the installation process on your server. Follow the instruction in the Windows installer dialog to configure installation property.
You can perform an upgrade of an older installed instance or install the new Connect as new product instance. As usual it is also possible to change the product installation path.
Note: .NET Framework 4.8 is a mandatory requirement to be able to install Connect
Once you have installed Connect, you can verify that its communication is correct. To do this, just press the PING button on the “Communication” tab of the Connect - Settings section.
The way this works, a request is sent to all listening Connect instances configured for your destination. When the instance(s) receive the request, they send a response with version, IP address and host name. Additionally, you can stop the instance by clicking "Stop instance".
In order to remove Connect, you can do it either from Programs And Features (Add/Remove Programs) selecting the Connect instance and clicking Uninstall. This option uninstalls all installed components and all the files that might have been generated after the installation (Settings and temporary files).
If you would like to keep the settings and temporary files, for scenarios such as when upgrade is not possible or when moving machines you can do it by launching the Connect setup program via the setup.cmd that you used for its installation. By doing that, you can select the instance that you want to uninstall and select Remove. On the confirmation dialog you can uncheck the Remove settings and temporary files and confirm by clicking Remove button.
Network Service
Starting with version 5.0.900, Connect client is installed by default with services running under NetworkService account. Setup program assigns permissions to the installation folder. For Connect to be able to access additional directories, explicit permissions must be manually given to such folders. This applies specifically to DTS send/receive directories and Prefile import/export directories.
Local System
The Connect ERP service runs under local system. This service is responsible for deploying ERP services instances, that run under Network Service Account
Custom Account
In some scenarios (when using DTS with shared network drives), a specific user with permissions to the network drive must be used. In this case, the services should run under this user account. In order to change the account of the DTS service, open the Services Snap-in under administrator privileges and right click the service. Select the Log-on tab select “This account” and provide the user credentials of the user. Service might need to be restarted after this change.
Additional security measure can be applied by running integration plugin inside a sandbox. This is an optional configuration that can be enabled by placing a plugin.security.settings.json file to the root of the installation directory. Services must be restarted prior this setting taking effect.
{
"RunPluginWithFullTrust": false,
"PathPermissions": [],
"WebPermissions": []
}
RunPluginWithFullTrust
When this element is set to false, the plugin component will be instantiated in a sandbox container with unlimited I/O permissions only within the plugin directory.
PathPermissions
Additional permissions can be given outside of the plugin directory by granting I/O permissions to additional folders in PathPermissions node.
"PathPermissions": ["c:\\Folder1", "c:\\Folder2"]
WebPermissions
Additional permissions to access HTTP internet/intranet resources can be granted by adding an absolute Uri or regular expression to the WebPermission node.
"WebPermissions": ["https://api.example.com/"]
If Connect is being installed on a German server, the logon account for the installed services (Connect, DTS and RFC) must be manually set to Netzwerkdienst local account without providing a password after the installation.
Other than German languages were not tested, but we believe that the procedure would be similar as for German server. Only the local name for NetworkService will be different
Scenarios, where internet access is only available via proxy server, can be enabled by placing proxy.settings.json file to the root of the installation directory. Services must be restarted prior this setting taking effect.
{
"Proxy": {
"Uri": "http://127.0.0.1:8888",
"UserName": "proxyUser",
"Password": "",
"PlainTextPassword": "proxyPassword",
"Enabled": false
}
}
Uri
Uri that contains the address of the proxy server.
UserName
If authentication is required, the user name associated with the credentials, can be set here.
Password
Encrypted password for the proxy credential. This is set automatically after restart.
PlainTextPassword
If authentication is required, the password for the user name associated with the credentials can be set here. This is to be entered in plain text and will be encrypted and set to Password node upon next (re)start of the services.
Enabled
Enables or disable the use of configured proxy server.