EasyLog Nuclet – nuclet: easylog (dhl) (not yet available). |
Language: Deutsch · English
Data sheet and documentation entry point for the EasyLog Nuclet (connection to the DHL EasyLog shipping software).
On this page |
This page was machine-translated from German as a first draft and is currently under review. The authoritative source remains the German original (see the language switch above). |
Nuclet for connecting to the EasyLog interface (DHL shipping software).
| Name: | EasyLog |
| Package: | org.nuclet.easylog |
| Version: | 1.4.0 |
| Date: | 13.09.2017 |
| Nuclos compatibility: | from Nuclos 4.19.3 |
Short description
Das EasyLog-Nuclet implementiert die Schnittstelle zu der Drittanbieter Versandsoftware "EasyLog" von DHL als Anbindung an Nuclos. Die EasyLog-Software unterstützt bei Erfassung, Bearbeitung und Verfolgung von Transportaufträgen, Sendungsvorbereitung und Sendungsabwicklung. Hierzu gehören z.B. die Entgeltermittlung für erfasste Sendungen und der Ausdruck von Aufträgen zur Paketbeförderung und Commonlabels. Der Datenaustausch erfolgt über CSV-Dateien in definierten Verzeichnissen auf die Nuclos und Easylog zugreifen.
Informationen zur Drittanbieter Versandsoftware "EasyLog" von DHL Link: http://www.dhl.de/de/paket/geschaeftskunden/verpackung-versand/versandsoftware.html |
The EasyLog Nuclet comprises
Java-Package "org.nuclet.easylog" mit 4 Java-Klassen
3 business objects/forms
Java package | Java class | Description |
org.nuclet.easylog.parameter | SystemParameter | Configuration of the import/export directories |
org.nuclet.easylog.process | EasyLogExport | Creates the interface file for the data to be transferred to EasyLog |
EasyLogImport | Reads and processes the interface file from EasyLog | |
org.nuclet.easylog.test | TestEasyLogExport | Example implementation of the export function |
TestEasyLogImport | Example implementation of the import function |
Name | Description |
LieferbedingungDHL | New business object in the master data. Definition of the parameters for the EasyLog export (product/procedure/participation). |
EasyLog Sendungen | EasyLogImport – captures all shipment data … |
Test EasyLog 1 | Example form with 2 buttons for triggering the EasyLog export/import function (user action). |
Necessary integration steps
Download
Nuclet import
Configuration of the system parameters (constants in Java class)
Source code adjustments in the Java rules
All integration steps are explained in detail below.
Step 1: Download
Download der .nuclet-Datei „EasyLog-v1.2.0-4.13.0.nuclet“ auf der Nuclos-Webpage unter „Nuclos Services“ > „Download“ > „Nuclet Download“.
Step 2: Nuclet import
Import des EasyLog-Nuclets unter „Konfiguration“ > „Nuclet Management“ > „Importieren“ in Ihre bestehende Nuclos-Instanz, Auswahl der Datei „EasyLog-v1.2.0-4.13.0.nuclet“
Step 3: Configuration of the system parameters
Parameter | Short description |
DIR_EXPORT | Directory for the CSV files of the EasyLog export Beispiel: "nuclos/data/easylog/export" |
DIR_IMPORT_NEU DIR_IMPORT_FEHLER DIR_IMPORT_ERLEDIGT | Directory for the CSV files of the EasyLog import Storage for incorrect processing of a CSV file Storage for correct processing of a CSV file |
Step 4: Source code adjustments
Nuclos export:
Extend the class „AbstractAdresse“ and override the methods of „AbstractAdresse“ with your own class „Adresse“ (example)
public class Adresse extends AbstractAdresse {
@Override
public String getAnschrift1() {
// Businessobject
return Kundenadresse.getAnschrift1();
...
}
...
|
Call the export method in a server rule (can be a user action, object generation, job, etc.).
Passing the parameter (objects). See also class TestEasyLogExport.
... Adresse adresse = … // Angabe der Emfängeradresse LieferbedingungDHL dhlNational = … // Query auf Stammdaten String gewicht = … // Angabe des Paketgewichtes // Adresse, Lieferbedingung DHL, Gewicht EasyLogExport export = EasyLogExport.getInstance(context); export.exportEasylog(adresse, dhlNational, gewicht); ... |
Nuclos import:
Call the import method in a server rule (can be a user action, object generation, job, etc.).
See also class TestEasyLogImport.
...
context.log("Import der EasyLog-Datei");
easyLogImport importEL = EasyLogImport.getInstance(context);
importEL.importEasylog();
... |
Nuclos export:
The interface file for the data to be transferred to EasyLog must be present in a defined source directory (SystemParameter.DIR_EXPORT) and in CSV format (SystemParameter.ENDING).
A polling function of EasyLog reads in the CSV files at defined intervals and processes the data. The CSV file contains recipient (address), product code, procedure, participation, country, weight.
Nuclos import:
The import function for shipments makes it possible to import complete shipment data from EASYLOG. The interface file from EasyLog is present in a source directory (SystemParameter.DIR_IMPORT) in CSV format.
EasyLog supplies the generated order and tracking number for this shipping order. Each line in the CSV file creates a record in the Nuclos business object „EasyLog Sendungen“ (form).
Further processing steps can be started after the import. As an example, a posting of the parcel (shipping order) with the customer order can take place.
Implementation example:
Under the menu item „Versand/Test EasyLog“, a test environment is created by generating a new record. On the form, the interfaces to EasyLog can be called via the buttons „EasyLog Export“ and „EasyLog Import“. The configuration of the SystemParameter is required beforehand. The buttons „EasyLog Export“ and „EasyLog Import“ call the server rules (user action):
org.nuclet.easylog.test.TestEasyLogExport
org.nuclet.easylog.test.TestEasyLogImport
with an implementation of example data. The form can also be removed from the menu path again via the business object.
Version | Date | Type | Changes |
|---|---|---|---|
| 1.0.0 | 28.06.2013 | initial version | - |
| 1.1.0 | 13.12.2013 | Migration to Nuclos 4.0 | Migration to Nuclos 4.0 |
| 1.2.0 | 24.03.2017 | Migration to Nuclos 4.13 | Migration to Nuclos 4.13 |
| 1.3.0 | 21.08.2017 | Migration to Nuclos 4.18 | Migration to Nuclos 4.18 |
| 1.4.0 | 13.09.2017 | Migration to Nuclos 4.19 | Migration to Nuclos 4.19 |