cobi.wms:print_settings
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cobi.wms:print_settings [2025/10/24 10:49] – [Document printing] thuth | cobi.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 '' | + | If you've configured the [[Print Service]] with multi-tenancy support, you must enter the correct '' |
| + | \\ | ||
| + | \\ | ||
| - | ==== 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. | 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. | ||
| + | |||
| + | ==== 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=" | ||
| + | |||
| + | Example: | ||
| + | |||
| + | <?xml version=" | ||
| + | <job> | ||
| + | <type mode=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | <param key=" | ||
| + | <param key=" | ||
| + | <param key=" | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
cobi.wms/print_settings.1761295749.txt.gz · Last modified: by thuth