PANTHEON™ Help

 Toc
 PANTHEON Help - Welcome
[Collapse]PANTHEON
 [Collapse]Guides for PANTHEON
  [Collapse]Guide for PANTHEON
   [Collapse]Settings
    [Expand]Subjects
    [Expand]Items
    [Expand]POS
    [Expand]Manufacturing
    [Expand]Personnel
     Calendar
    [Expand]Financials
    [Expand]Customs
    [Expand]Program
    [Collapse]Documentation
     [Expand]Documents
     [Expand]Mailroom
     [Expand]Send SMS or Email
     [Expand]Classification Scheme
     [Expand]Exchange Settings
     [Expand]To-Do
     [Collapse]Workflow Design
      [Expand]About workflows
      [Expand]Workflow (system) toolbar
       Settings - WF
      [Collapse]Design
        Task edit - general
       [Collapse]Design - Workflow Elements
         Workflow blocks (default)
        [Expand]PANTHEON Forms blocks
        [Collapse]Input/Output blocks
          Open URL
         [Expand]Scan
          Print Files
          MS Office template
          DB to XML
          XML to DB
          XML from/to variables
          REST request
          REST Mailbox
          Send mail
          Send SMS
          Translation
          Print Report
          OAuth authorization
          Check Conditions
        [Expand]Goods/Orders blocks
        [Expand]DMS blocks
       [Expand]Block settings
       [Expand]Design Toolbar
        How To - Resolving Workflow Diagram Loading Error
      [Expand]Workflow - Old topics
     [Expand]PANTHEON DMS Add-in
    [Expand]Change User
   [Expand]Orders
   [Expand]Goods
   [Expand]Manufacturing
   [Expand]POS
   [Expand]Service
   [Expand]Financials
   [Expand]Personnel
   [Expand]Analytics
   [Expand]Desktop
   [Expand]Help
   [Expand]Messages and Warnings
   [Expand]Additional programs
   [Expand]Old products
  [Expand]Guide for PANTHEON Retail
  [Expand]Guide for PANTHEON Vet
  [Expand]Guide for PANTHEON Farming
 [Collapse]User Manuals for PANTHEON
  [Expand]User Manual for PANTHEON
  [Expand]User Manual for PANTHEON Retail
  [Expand]User manual for PANTHEON Vet
  [Expand]User Manual for PANTHEON Farming
[Collapse]PANTHEON Web
 [Collapse]Guides for PANTHEON Web
  [Expand]Guide for PANTHEON Web Light
  [Expand]Guide for PANTHEON Web Terminal
  [Expand]Guide for PANTHEON Web Legal
  [Expand]Old products Archive
 [Collapse]User Manuals for PANTHEON Web
  [Expand]Getting started PANTHEON Web
  [Expand]User Manual for PANTHEON Web Light
  [Expand]User Manual for PANTHEON Web Terminal
  [Expand]User Manual for PANTHEON Web Legal
  [Expand]Old products Archive
[Collapse]PANTHEON Granules
 [Collapse]Guides for PANTHEON Granules
  [Expand]Personnel Granule
  [Expand]Travel Orders Granule
  [Expand]Documents and Tasks Granule
  [Expand]Dashboard Granule
  [Expand]B2B Orders Granule
  [Expand]Field Service Granule
  [Expand]Fixed Assets Inventory Granule
  [Expand]Warehouse Inventory Granule
 [Collapse]User Manuals for PANTHEON Granules
  [Expand]Getting started
  [Expand]Personnel Granule
  [Expand]Travel Orders Granule
  [Expand]Documents and Tasks Granule
  [Expand]B2B Orders Granule
  [Expand]Dashboard Granule
  [Expand]Field Service Granule
  [Expand]Fixed Assets Inventory Granule
  [Expand]Warehouse Inventory Granule
  [Expand]Archive
[Expand]User Site

Load Time: 375.0053 ms
"
  1000000417 | 220258 | 360823 | Updated
Label

MS Office template

The MS Office template block allows you to prepare an Office-style (e.g. Excel) template based on data from a database, so that you can use a predefined document in a workflow. For example, you can prepare an attachment that is sent automatically when the invoice is returned.

Using variables, you can enter values into the template to suit your needs (e.g. an invoice rejection template, where the variables are used to enter the subject details, the linked bank account, etc.).

The block can be accessed from the menu Settings | Documentation | Workflow Design by clicking the panel Design | Input/Output.

Double-clicking the MS Office template block opens the MS Office template window:

Contents

  1. Header
  2. Tabs

2.1 SQL

2.2 Variables

1. Header

In the form header, you need to define how a new file will be created and what name will be assigned to it.

Create MailMerge

Creates a document with fields for variables.

Clicking the button displays two confirmation pop-up windows:

  • Do you want to open XLS dataset after creation? – Yes / No

  • Do you want to prepare template file? – Yes / No

One

If checked, one document is created (e.g. when an invoice is rejected, one file is created with all rejected invoices from different subjects).

Many

If checked, multiple documents are created (e.g. when an invoice is rejected, a file with the rejected invoices is created for each subject separately).

Filename field

Enter the name that will be assigned to the file upon saving.

2. Tabs

In the bottom part of the form, there are two tabs for setting up or entering SQL statements and defining variables.

2.1 SQL

(Variables…)

Opens the Workflow variables form, which allows you to add new variables to the workflow.

(Input field)

Enter an SQL query to specify the source of the data to be stored in the template.

2.2 Header

The tab shows information on the variables. For the block to work properly, you need to define the two variables below:

  • Dataset Filename – The full path to the file along with the filename. The filename must be 'WFMailMerge.xlsx' so that PANTHEON can create an Excel file that will later be used to link to MS Word. The Excel file will be populated with the data from the SQL query together with the header data.
  • Template Filename – The full path to the file along with the filename so that PANTHEON can create MailMerge displaying the fields from the previous setting.

HINT

For more information on how to use the MS Office template block, see the User manual for eWorkflows.

 

 


 

Rate this topic
Was this topic usefull?
Comments
Comment will also bo visible in forum!