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/10/24 10:49] – [Document printing] 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.
 +
 +==== 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.
 +
 +Important: Use the value from the field “Code” (not the “Name”) in:
 +
 +  * Layoutdefinition → Code = value for Layout ID
 +  * Printdefinition → Code = value for Print Def
 +
 +Example (from coresuite designer):
 +
 +  * Layoutdefinition → Code: `T0000008`
 +  * Printdefinition → Code: `T0000010`
 +
 +=== Steps (SAP Business One) ===
 +
 +  * Open SAP Business One (client where coresuite is installed).
 +  * Go to Add-ons → coresuite designer.
 +  * 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`).
 +    * Enter this value in COBI.wms → Print Settings → Layout ID.
 +  * Open Printdefinition and select the relevant print definition.
 +
 +    * Copy the value from Code (e.g., `T0000010`).
 +    * Enter this value in COBI.wms → Print Settings → Print Def.
 +
 +=== How this maps to the Print Service XML ===
 +
 +If the fields are filled correctly, the Print Service will send the values as:
 +
 +  * Layout ID → `layoutid="..."`
 +  * Print Def → `<param key="PrintDef" value="..."/>`
 +
 +Example:
 +
 +  <?xml version="1.0" encoding="utf-8"?>
 +    <job>
 +    <type mode="Print" formtype="140" layoutid="T0000008" />
 +    <paramsets>
 +      <paramset>
 +        <params>
 +          <param key="PrintDef" value="T0000010" />
 +          <param key="DocEntry" value="575" />
 +          <param key="FreeText" value="Test123" />
 +        </params>
 +      </paramset>
 +    </paramsets>
 +  </job>
 +
 +
 +
cobi.wms/print_settings.1761295749.txt.gz · Last modified: by thuth

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki