User Tools

Site Tools


cobi.wms:print_settings

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.wms:print_settings [2025/12/31 08:40] thuthcobi.wms:print_settings [2026/01/06 14:10] (current) – [Authentication] thuth
Line 48: Line 48:
 ==== Authentication ==== ==== Authentication ====
  
-If you've configured the [[Print Service]] with multi-tenancy support, you must enter the correct ''AuthToken'' value into the ''Authentication'' text field.  Otherwise, you must leave the field empty.+If you've configured the [[Print Service]] with multi-tenancy support, you must enter the correct ''AuthToken'' value into the ''Authentication'' text field.  Otherwise, you must leave the field empty. \\ 
 +\\ 
 +\\
  
-==== Print Mode, Layout ID, and Print Def settings ====+===== Print Mode, Layout ID, and Print Def settings =====
  
 The rest of the print settings screen consists of **Print Mode**, **Layout ID**, and **Print Def** fields for each type of booking where the app supports printing.  These values must correspond to the the coresuite print modes, designer layout IDs, and print definitions. The rest of the print settings screen consists of **Print Mode**, **Layout ID**, and **Print Def** fields for each type of booking where the app supports printing.  These values must correspond to the the coresuite print modes, designer layout IDs, and print definitions.
- 
-Hier ist ein passender Unterpunkt (docs.Wiki / DokuWiki-Syntax), basierend auf der Dev-Bestätigung: **Maßgeblich sind die Werte im Feld „Code“** in **Layoutdefinition** und **Printdefinition** (coresuite designer). 
  
 ==== Where to find Layout ID and Print Def (coresuite designer) ==== ==== Where to find Layout ID and Print Def (coresuite designer) ====
  
-To print from **COBI.wms** via the **COBI.wms Print Service** to **coresuite**, the values entered in **Layout ID** and **Print Def** must match the identifiers configured in the **coresuite designer**.+To print from COBI.wms via the COBI.wms Print Service to coresuite, the values entered in Layout ID and Print Def must match the identifiers configured in the coresuite designer.
  
-**Important:** Use the value from the field **“Code”** (not the “Name”) in:+Important: Use the value from the field “Code” (not the “Name”) in:
  
-  * **Layoutdefinition** → **Code** = value for **Layout ID** +  * Layoutdefinition → Code = value for Layout ID 
-  * **Printdefinition** → **Code** = value for **Print Def**+  * Printdefinition → Code = value for Print Def
  
 Example (from coresuite designer): Example (from coresuite designer):
Line 72: Line 72:
 === Steps (SAP Business One) === === Steps (SAP Business One) ===
  
-  * Open **SAP Business One** (client where coresuite is installed). +  * Open SAP Business One (client where coresuite is installed). 
-  * Go to **Add-ons → coresuite designer**+  * Go to Add-ons → coresuite designer. 
-  * Open **Layoutdefinition** and select the relevant layout for your document type (e.g., Delivery, Sales Order, etc.).+  * Open Layoutdefinition and select the relevant layout for your document type (e.g., Delivery, Sales Order, etc.).
  
-    * Copy the value from **Code** (e.g., `T0000008`). +    * Copy the value from Code (e.g., `T0000008`). 
-    * Enter this value in **COBI.wms → Print Settings → Layout ID**+    * Enter this value in COBI.wms → Print Settings → Layout ID. 
-  * Open **Printdefinition** and select the relevant print definition.+  * Open Printdefinition and select the relevant print definition.
  
-    * Copy the value from **Code** (e.g., `T0000010`). +    * Copy the value from Code (e.g., `T0000010`). 
-    * Enter this value in **COBI.wms → Print Settings → Print Def**.+    * Enter this value in COBI.wms → Print Settings → Print Def.
  
 === How this maps to the Print Service XML === === How this maps to the Print Service XML ===
Line 87: Line 87:
 If the fields are filled correctly, the Print Service will send the values as: If the fields are filled correctly, the Print Service will send the values as:
  
-  * **Layout ID** → `layoutid="..."+  * Layout ID → `layoutid="..."
-  * **Print Def** → `<param key="PrintDef" value="..."/>`+  * Print Def → `<param key="PrintDef" value="..."/>`
  
 Example: Example:
  
-```xml +  <?xml version="1.0" encoding="utf-8"?> 
-<?xml version="1.0" encoding="utf-8"?> +    <job> 
-<job> +    <type mode="Print" formtype="140" layoutid="T0000008" /> 
-  <type mode="Print" formtype="140" layoutid="T0000008" /> +    <paramsets> 
-  <paramsets> +      <paramset> 
-    <paramset> +        <params> 
-      <params> +          <param key="PrintDef" value="T0000010" /> 
-        <param key="PrintDef" value="T0000010" /> +          <param key="DocEntry" value="575" /> 
-        <param key="DocEntry" value="575" /> +          <param key="FreeText" value="Test123" /> 
-        <param key="FreeText" value="Test123" /> +        </params> 
-      </params> +      </paramset> 
-    </paramset> +    </paramsets> 
-  </paramsets> +  </job>
-</job> +
-```+
  
  
  
cobi.wms/print_settings.1767166821.txt.gz · Last modified: by thuth

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki