User Tools

Site Tools


cobi.shipping

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cobi.shipping [2025/08/22 12:51] – [Implementation details] thuthcobi.shipping [2025/08/22 13:40] (current) – [Installation] thuth
Line 2: Line 2:
  
 COBI.shipping is a REST-API service that acts as a connector between **Barcode Shipping** and **SAP Business One**. COBI.shipping is a REST-API service that acts as a connector between **Barcode Shipping** and **SAP Business One**.
-Its primary purpose is to exchange delivery and shipping data: it retrieves open delivery notes from SAP and reports back shipping information (including tracking numbers, weights, and item details) after the shipment has been processed.+Its primary purpose is to exchange delivery and shipping data: \\ 
 +  - It retrieves open delivery notes from SAP Business One and 
 +  - reports back shipping information (including tracking numbers, weights, and item details) after the shipment has been processed.
  
 ===== Features ===== ===== Features =====
Line 59: Line 61:
  
  
-===== Optional toggles (Boolean, 0/1) =====+===== Installation =====
  
-All of the following configuration keys are stored in **@CMP\_CONFIG** and are read **on service start** (restart the COBI.shipping service after changes).+**1. Install Barcode Shipping**
  
-^ Key                                             ^ Meaning (EN)                                                                                                   ^ +  * Download and install Barcode Shipping from the internal archive (`N:\Entwicklung\Barcode Shipping\Downloads.7z`). 
-`cobi-shipping_companyFromCardName            | Use **CardName** as company name on the delivery address.  +  During setup, choose **Shop → Eigentwicklung** and **Shipper → Einfacher Versender**, then enable additional functions as needed. 
-| `cobi-shipping_firstLastNameFromContacts`       | Take **first/last name** from the linked **Contact Person**.  +  Install **Java 11** (required by Barcode Shipping)Instructions: [https://www.barcodeshipping.de/java-installation/](https://www.barcodeshipping.de/java-installation/) 
-| `cobi-shipping_firstNameLastNameFromCardName`   | Derive **first/last name** from **CardName**.  | +  * Log in to Barcode Shipping with COMP.net credentials.
-| `cobi-shipping_companyFirstNameLastNameFromAddress3` | Pull **company first last name** from **Address3** field | +
-| `cobi-shipping_addressFromAddress2`             | Use **Address2** as the street address | +
-| `cobi-shipping_companyAddressFromAddress2`      | Take **name/company** from **Address2** | +
-| `cobi-shipping_privateAddressFromAddress2`      | Treat **Address2** as a **private** address | +
-| `cobi-shipping_createInvoiceAfterFullyPacked`   | **Auto-create Invoice** when the delivery is fully packed.  | +
-| `cobi-shipping_invoiceDateEqDeliveryNoteDate`   | Set **Invoice Date = Delivery Note Date** for auto-created invoices.  +
-| `cobi-shipping_displayClosedDeliveryNotes`      | Also **show closed Delivery Notes** to Barcode Shipping.  |+
  
-===== Related non-boolean keys (for reference) =====+**2. Install COBI.shipping service**
  
-These are **not*toggles, but often configured alongside the above:+  Extract the `cobi-shipping` ZIP archive (recommended path: `C:\cobi-shipping`). 
 +  Configure the connection values in the file `cobi-shipping-service.exe.config` (SAP database settings). 
 +  Run the provided batch files:
  
-^ Key                                 ^ Type / Example                                               ^ Purpose                                                   ^ +  * `InstallService.bat→ installs the Windows service
-`cobi-shipping_trackingInHeaderFieldName| Text (UDF name in Delivery header)                          | Stores tracking number(s) in the delivery header | +  `DeleteService.bat→ removes the Windows service.
-| `cobi-shipping_alarmGroupId`        | Numeric (e.g., `11`)                                        | Alarm group used for invoice errors.  +
-`cobi-shipping_oitmCommodityCodeField` | Text (UDF name on `OITM`)                                   | Customs tariff code mapping | +
-`cobi-shipping_alternativeRecipient` | Text (UDF name)                                             | Alternative recipient field |+
  
-> Note: Address field mappings like `cobi-shipping_firstNameField`, `..._lastNameField`, `..._companyField`, `..._phoneField`, `..._emailField` remain part of the **address configuration** (DLN12 mapping).+**3. Configure Barcode Shipping**
  
-===== Coresuite Print configuration ===== +  * Open Barcode Shipping → File → Settings
- +  * General:
-If the system is configured for automatic invoice creation, COBI.shipping can trigger a Coresuite Print job right after the invoice is generated+
-This requires that the COBI.wms Printservice is installed and reachable. +
- +
-^ Key ^ Type / Example ^ Purpose ^ +
-| cobi-shipping_printService | URL (e.g. http://127.0.0.1:62005) | URL of the COBI.wms Printservice endpoint | +
-| cobi-shipping_printDefinition | Text / ID (e.g. DeliveryNoteLayout) | Print Definition ID to be used for output | +
-| cobi-shipping_layoutId | Text / ID (e.g. 1001) | Layout ID for the document | +
-| cobi-shipping_printMode | Text (Print or Email) | Determines whether the invoice is printed or sent by email |+
  
 +  * Default shipper: *Einfacher Versender*
 +  * Disable *Check order status*
 +  * Enable *Mouse Mode*
 +  * Default shop: *Connector*
 +  * Connector: \\
 +  * API URL: http://<COBI.shipping server IP>:<Port>/api/v1 \\
  
cobi.shipping.1755859900.txt.gz · Last modified: by thuth

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki