OnlineConnect
OnlineConnect imports XML order files from your ERP system to Unifaun Online and reports back assigned parcel and consignment numbers.
The ERP system creates an order file with shipment information for the current order(s) and places it in OnlineConnect’s order directory. OnlineConnect reads the file and sends it to Unifaun Online.
If all shipment data is valid, OnlineConnect prints labels, shipment lists and customs documents depending on service, destination and configuration. Labels and documents are either printed directly after the order file has been sent to Unifaun Online or stored to be printed from Unifaun Online. Incomplete orders are stored for later completion.
OnlineConnect can also send back a text file with parcel and shipment numbers.
The order file should be in XML format. Please refer to the XML file specification.
Install OnlineConnect
The installation of OnlineConnect follows the standards for “Windows Installer”. The installation file is currently only available in English. However, Administration of OnlineConnect is available in several different languages.
System requirements
Windows 10 or higher
Windows Server 2016 or higher
Local system administrator privileges.
Run OnlineConnect
After installation, two shortcuts are created in the start menu, Administration of Unifaun OnlineConnect and Unifaun OnlineConnect.
OnlineConnect can be run either as a desktop application or as a Windows service.
Viktigt
Running the application in desktop mode requires that a user is logged in to the operating system console/desktop, while service mode does not.
OnlineConnect is designed as a server-side application and should be run accordingly, i.e. as a service. It is considered best practice to have a dedicated system user account that can be used for running the application as a service. The application settings are stored in the user’s home directory which means that the user making configuration changes and running the application should be the same.
Tips
The dedicated user account should be excluded from the password change policy.
The user should be a domain member, where applicable.
The user should be appointed local administrator.
Make sure that the user has access to necessary printers and network folders.
Administration of OnlineConnect
This application is used for administration and monitoring. OnlineConnect must be running if you want to change settings or monitor the status of the application.
Viktigt
Settings and log files are stored in the home directory of the user running the application or service.
Throughout this section, you will come across options containing “Advanced settings”. Those options are only shown if Advanced settings is selected in the drop-down menu.
The administration program’s user interface consists of a row of tabs.
Information
The Information tab provides a brief description of what the other tabs contain.
Communication
The Communication tab contains settings for communication between your instance of OnlineConnect and your backend system.
Clicking the Add button will open a new dialogue where you enter information about your account, file paths and printers.
Account
You can choose log-in method to your Unifaun Online account.
User ID and password
Provide your Unifaun Online user ID and password.
If you use User ID and password credentials and also have profile management enabled on the account, the default profile’s password must be used.
API key
This is a recommended, more secure method.
Provide the entire API-key, i.e. both the ID and Secret ID (also known as Combined ID or Bearer token) separated by a dash.
Example: SE6BXKQVRGV6USOO-D3N1CVEWFOBHKAVVDWIKT7FY
The credentials will be validated if you switch tab or click OK.
Order files
Specify the path from where the order files should be fetched. You can add multiple paths with different settings.
Viktigt
If you add the same path twice, make sure there is a difference in file mask, otherwise the fetching could fail.
File format is set to XML by default.
Number of seconds after editing before the file is processed is an integer that specifies how many seconds the application should wait before processing the file after the latest modification.
Check Translate DOS (OEM) characters if the files originate from an MS-DOS based application. Character set referred to here is known as OEM or CP430.
Checking Use file lock (Advanced setting) will perform a file lock even if other applications are using the file. Use with caution.
Send this folder’s direct printing to a specific printer mapping. Leave blank from automatic selection (Advanced setting) should be set if specific printer mapping for this path should be used.
Printers
Direct print is enabled by default. If disabled, shipments will be created and stored in Unifaun Online > > Stored where the printing is executed manually.
Guide – Printer Settings (recommended) is a step by step wizard that helps you to configure your label and document printers.
Use the Add-button to configure additional printers.
Tips
The application reads the printer list sequentially. It is useful if you have multiple printers with different label sizes. Best practice is to set the printer with a smaller label first because services that do not support smaller labels will automatically be printed on next printer in the list, ideally one supporting normal label size.
Printer mappings
You can create an alias for a printer (or printer pair). This is useful if you have multiple printing/packing stations. The alias is then used in the order file to direct the printout to a certain printing station.
Feedback report
In the Feedback report tab, settings can be made for two kinds of reports, Standard and/or Event based. Report files can be used by your beckend system in order to track a certain order’s parcel and/or consignment number or order status.
To generate a Standard report the application returns shipment information as one or multiple files and the report interval can be set in the Filter dropdown.
“Send feedback report only periodically” reports once every 15 minutes.
“Send feedback report only on direct print” reports only the printouts made via OnlineConnect.
“Send feedback report on direct print and periodically” reports both of the previous selections together.
Viktigt
Shipments created via Direct print will be reported both at the time of printing and in the next 15 minute interval.
File format can be either "Standard format" or "Standard format with reference" that contain order number, parcel number, consignment number, printed date and possibly reference, separated by semicolon (;).
Example: Orderno;373325381737155333;201366278689;2019-03-21 15:23:04;Reference
Event based reports are created once every 15 minutes. File contents depend on whether shipment status has been updated since last report.
You can select Naming method for both kinds of report.
“Date with arbitrary prefix and file extension” merges the values in the “Prefix” and “File extension” boxes with the current date and time in the middle. A new file will be created at each reporting event.
“Fixed name” uses the value in the “Name” box as the full name of the file. The same file will be updated at each reporting event.
“Internal name with arbitrary file extension” merges an internal file name with the value in the “File extension” box. A new file will be created at each reporting event.
The table below shows all available status events that can occur. Status availability may vary depending on carrier and service.
STATUS_ Presents current status of a shipment. These are not permanent. | STATUS_TRANSITION_ Presents when the status of a shipment was changed. These are permanent. |
---|---|
STATUS_PRINTED – "Printed" | STATUS_TRANSITION_PRINTED – The status was changed to “Printed” |
STATUS_DISPATCHING – "On route" | STATUS_TRANSITION_DISPATCHING – The status was changed to “On route” |
STATUS_DELIVERING – "Arrived at pick-up location" | STATUS_TRANSITION_DELIVERING – The status was changed to “Arrived at pick-up location” |
STATUS_DELIVERED – "Delivered" | STATUS_TRANSITION_DELIVERED – The status was changed to “Delivered” |
STATUS_PARTDELIVERED – "Partly delivered" | STATUS_TRANSITION_PARTDELIVERED – The status was changed to “Partly delivered” |
STATUS_RETURNED – "Returned" | STATUS_TRANSITION_RETURNED – The status was changed to “Returned” |
STATUS_CANCELLED – "Discarded" | STATUS_TRANSITION_CANCELLED – The status was changed to “Discarded” |
Settings
Settings in this tab are general, i.e. not account-specific.
Complete the E-mail messages section if you want the application to send e-mail messages, e.g. messages about invalid shipments, logging and other events.
The application acts as a mail client and needs valid SMTP credentials.
Varning
Do not change anything in Advanced settings for automatic update (Advanced settings) unless instructed by Unifaun support.
Status
The Status tab shows a summary of the application’s activity. You can also restart the application or service from this tab and see memory usage (current/maximum/available).
Viktigt
The values in the different categories represent time intervals, i.e. events occurred in the last 1, 5, 15, 30 and 60 minutes.
Events and logging
Under the Events and Logging tabs you get a more detailed view of the Status tab.
Support
Under the Support tab you find information about the application’s work, configuration and log directories. You can also create an information file that can be sent to Unifaun support, if requested.
Import
Import order files manually by dragging them from Windows Explorer to the box or boxes under the Import tab. The boxes correspond to the search paths created under the Communication tab.
Files can be dragged and dropped into the boxes to activate a direct import of the order file as if it were placed in the corresponding directory.
Troubleshoot OnlineConnect
Problem | Solution |
---|---|
Error message saying that the program can't be run on your type of processor or operating system. | You probably have a 32-bit operating system and need to download another installation program. Please contact customer support. |
Problem | Solution |
---|---|
Error message saying "Java runtime dll is missing". | Download and install the necessary program library. Download |