Book Contents

Book Index

Universal forms

Book Contents

Book Index

Basic description of forms

Book Contents

Book Index

Basic form structure

pic_4082_2020

Picture: Book - universal

  1. Form status information - the information on page 0 can be displayed in 3 states - Book, Container and Filter. The state can be changed by clicking the left mouse button on the state icon.
  2. Information about the current book and status - in this case, information from the book 10: Domestic is displayed.
  3. Sorting type - determines the function of the search field and also the sorting of items in the book.
  4. Search field - a field allowing quick searching for the required item in the book (here, after entering the number of the required invoice in the search field and pressing the Enter key, the cursor bar marks the required invoice).
  5. Define columns - column names and information about the displayed data.
  6. List menu - this menu contains all operations relating to the displayed list (table).
  7. Record preview - basic information about the record on which the cursor bar is currently positioned is displayed. When moving to another record, the information changes according to how the records are browsed.
  8. Settings - the record preview may include the book settings. These may include, e.g., the Period in which documents will be created and the Warehouse. The structure of the settings fields differs in each data module as needed.
  9. Number of records - information about the number of selected records.
  10. Table (book) items - the list of records (documents) in the table. The cursor bar is positioned on the row of the current record.
  11. Document tabs (pages) - tabs are used to switch between document pages and are always defined by an icon and a description. If we press the left mouse button on the individual tabs, we get to view the corresponding document page. Pages can be switched using Alt + right/left arrow.
  12. Names of selected columns - e.g. the sequence number of the invoice, the number of the sales order to which the invoice relates, the customer name, the description – i.e. an optional supplementary text, the amount for which the invoice is issued, and so-called flags – graphically displayed information about confirmation, cancellation, posting or the payment status of the invoice.
  13. Ribbon - the basic toolbar of forms; it contains the basic functions that can be performed with the data module or with the specific record on which the cursor bar is positioned.
Ribbon

The Ribbon is the basic toolbar of forms and contains all functions that users can use in the given module. Within the ribbon, the functions are divided into 4 tabs.

Home tab

pic_4910

Picture: Home tab

The Home tab contains the functions that the user uses most often in the book. Above all, it contains actions for creating a record, copying it or changing it. It also contains actions for moving between records in the table, such as Previous, Next or Last, as well as options to Cancel or Confirm a record, etc...

Functions tab

pic_4911

Picture: Functions tab

On the Functions tab, all functions of the given module are available within the ribbon. Their offer differs between individual modules; some of them may be the same, e.g. Customer detail.

Bulk actions tab

pic_4912

Picture: Bulk actions tab

This tab provides a list of all available bulk actions. The offer of these actions partially differs for different modules.

System tab

pic_4913

Picture: System tab

This tab is the same for all modules. It contains actions that are the same for all books, mainly system functions. It contains the most important actions for working with Help in IS K2. It is also possible to work with views here or to display and set the parameters for the given module.

Within universal forms, the ribbon can be hidden to gain more space, e.g. for records in the table. We hide it using the arrow icon pic_1012i, which can be found in the lower right corner of the ribbon.

pic_4914

Picture: Sales Orders book with the ribbon hidden

The ribbon is displayed again by clicking the left mouse button on one of its tabs (Home, Functions,...). It can then be pinned using the pin icon pic_1013i.

If the ribbon is reduced so that it is no longer possible to display all its content, the icon pic_1014i is displayed in its header. Clicking this icon displays a context menu for navigating to the content of the ribbon tabs.

pic_4915

Picture: Menu for displaying the content of the ribbon tabs

User editing of the ribbon

The ribbon can be edited by the user, e.g. to add further icons for starting actions, reports or scripts. We can also insert, e.g., automatic reports, simple charts or filters into the ribbon. It is therefore not necessary to rely strictly on the factory form of the ribbon; it can be adjusted by the user, not only by modifying the form using the Form designer function.

The ribbon is edited using the right mouse button. A context menu with several options is displayed.

pic_5612

Picture: Context menu for editing the ribbon

Description of fields:

Hide ribbon

Option for hiding the ribbon.

Adjust ribbon for the current user

Using this option, the ribbon can be adjusted for the current user. A form for editing the ribbon is displayed. All adjustments will then apply only to the given user.

Adjust ribbon for

Here we can choose the level for which we want to adjust the ribbon. It includes several further options:

  • Adjust ribbon for installation - the adjustment of the ribbon at this level will apply to the entire IS K2 installation in the given company.
  • Adjust ribbon for current client - the adjustment of the ribbon will apply to the current client.
  • Manage ribbon modifications - displays the book for managing ribbon modifications.

Design (Shift+Ctrl+Alt+D)

Option for switching on the form designer function.

To adjust the ribbon for a group (role), create a new record in the Administration: Adjust ribbon book using the Insert key. A form for specifying the name and assignment level of the ribbon modification is then displayed, followed by the form for editing the ribbon.

After the function is started, the form for defining the ribbon actions tree is always displayed.

pic_5613

Picture: Form for editing the ribbon

In the lower part, there is the Classification button. This button displays a form that is for information only and shows the classification level of the ribbon, i.e. for whom the ribbon modification will be available (user, client,...).

The form for editing the ribbon consists of 3 basic parts.

Ribbon preview

The first part is the Ribbon preview. It is located at the top and always reflects the current appearance of the ribbon. It is used to check that the procedure is correct. The adjustments made are reflected here immediately.

pic_5614

Picture: Ribbon preview

Action list

In the left part of the form, there is the Action list (commands) that can be included in the ribbon.

pic_5615

Picture: List of available commands (actions)

Actions can be searched here and, if necessary, also filtered. These commands can be filtered by selecting a specific data context in the Choose commands from... window; the actions (commands) are then filtered according to this data context. In this way it is possible to include in the ribbon, e.g., actions from a different data module than the one we are currently working with. However, the functionality of such actions is not always guaranteed.

Besides actions, other elements can also be inserted into the ribbon, such as simple charts or automatic reports. These functions can then easily be started using an icon placed in the ribbon. To be able to use these functions and have them available in the form, they must be filtered using the drop-down list (lookup) located above the action offer. This field works as a filter field.

pic_5621

Picture: List of functions for the ribbon

List of available options:

Command

Displays all actions (commands) of the given module.

Components orders

Displays all actions (commands) of the ribbon component.

Filters

Using this option, the offer displays filters created and saved within the given data module.

Reports and functions

Displays a list of reports and scripts included in F9 (Scripts and reports) within the given data module.

Automatic reports

Displays a list of automatic reports saved for the given data module.

Simple charts

Displays a list of saved simple charts for the given data module.

Pivot tables

Displays a list of saved pivot table views for the given data module.

Views

Displays a list of saved views. These are not pivot table views but views in which the settings of all tables of the entire form (book) can be saved at once and then applied.

Selecting the given option filters the content of the offered actions.

pic_5622

Picture: Offer of pivot table views for the ribbon

Actions tree

In the right part of the form, there is the Actions tree. It is a tree structure of tabs, sections and the ribbon actions themselves.

pic_5616

Picture: Ribbon actions tree

Description of the available options:

Add tab

Button for adding a new tab to the ribbon.

Add section

Button for adding a new section to the ribbon.

Add

Button for displaying further options for adding to the ribbon. It contains:

  • Add separator - inserts a separator between actions or groups of actions. The ribbon does not display it; this component does not work with a separator. Other components do.
  • Add a wrap - wraps the column in which the individual icons (actions) are arranged one below another in the ribbon. The next icon is then inserted into the next column.
  • Add group - inserts a button into the ribbon section that also has an arrow icon. Further actions can then be inserted into this group. Pressing this button always displays a context menu with the inserted actions. Arranging actions into these groups saves space in the ribbon.
  • Add report - option for inserting a report.
  • Add script - option for including a script.

pic_911i

Moves the item up in the tree structure.

pic_912i

Moves the item down in the tree structure.

pic_1070i

Button for including an action at the selected position in the ribbon.

Tile

Sets the Tile display style (large icon) for the given action.

Button

Sets the Button display style (small icon with a description) for the given action

Icon

Sets the Icon display style (small icon without a description) for the given action.

Edit

Opens the relevant tree item for editing. A form for editing the item is displayed.

Remove

Deletes the item from the actions tree.

Ribbon editing procedure

The principle of working with the actions tree is that actions can be inserted into individual sections. It is therefore necessary to insert a tab into the ribbon, then a section into the tab, and only then can individual actions, groups of actions, reports, etc. be inserted...

As soon as we select the required action, or a function (automatic report, pivot table, etc...), we can include it in the ribbon using the icon pic_1070i. A form for setting the parameters for displaying the action in the ribbon is displayed.

pic_5623

Picture: Form for specifying the action

Description of fields:

Name

The name that will be displayed for the given action in the ribbon.

Icon

In this field, an icon can be attached to the action. We select from the list of available icons.

Display style

The button type for the given action, i.e. how the action will look within the ribbon. Options:

  • Tile - large icon.
  • Button - small icon with a text description.
  • Icon - small icon without a description.

Hint

Here you can enter text that is displayed when the mouse hovers over the action in the ribbon.

Command

The action that we are inserting into the ribbon.

Parameters

Here, parameters can be entered for individual actions. A parameter is inserted here using the Insert key.

Pressing the OK button then inserts the action into the ribbon. For simple charts, pivot tables or automatic reports, this form is not displayed and the given element is inserted directly into the ribbon.

The newly inserted item is included in the ribbon actions tree and is marked there with the icon pic_1071i.

pic_5624

Picture: Actions tree with a newly inserted item

Within a section of the ribbon, actions are arranged one below another. The number of actions arranged one below another in a section is given by the height of the component. If the ribbon has its height (Size) set to 3, it displays a maximum of 3 actions one below another; if a fourth action is added, it is inserted into the next column. This can be seen in the picture "Ribbon tab with an inserted section". If we choose a tile as the display style, the tile occupies the full height of the ribbon.

pic_5625

Picture: Ribbon tab with an inserted section

If we include in a ribbon section an action to which we do not attach an icon, the initial letter of the action is displayed in place of the icon. The condition is that this action does not have an icon assigned implicitly by the program.

Actions can be moved between individual nodes in the tree using Drag and Drop. Actions cannot be moved if they are included in the ribbon as a reference to an action. Copying in the tree is again done using Drag and Drop in combination with the Ctrl key.

Manage ribbon modifications

This book is used to record ribbon modifications. Each record in this book corresponds to one saved modification. Using the F5 or Enter key on the relevant record, the form for editing the ribbon can be displayed.

pic_5626

Picture: Book for managing ribbon modifications

In this book, new ribbon modifications can be created. This must be used, e.g., if we want to create a modification valid for a group (role). This option is not available in the context menu displayed after clicking the right mouse button on the ribbon.

A new ribbon modification in the Administration: Adjust ribbon book is created using the Insert key. A form for specifying the name and assignment level of the ribbon modification is then displayed, followed by the form for editing the ribbon.

Book Contents

Book Index

Modified ribbon for multiple form versions

In this chapter, we describe the situation where we have a modified ribbon and need to apply it to multiple variants of a form. An example may be a situation where, with the transition to Web K2, we want to create new versions of forms for mobile devices but at the same time want to offer users the same modified ribbon.

For simplicity, we will show the example by creating a new form of the same size as the default form (we will not adjust the form for use on a mobile device).

Example:

There is a factory form of Invoices In and a ribbon modification for the user. In the ribbon, the section "New section" has been added for the user on the "Home" tab, and the filter "Invoices with the selected account" has been inserted into it.

pic_107278

Picture: Factory form with a ribbon modification

Now we want to create a completely new, own version of the form. For this, we use the Save current view as menu item in the Form designer.

pic_107279

Picture: Creating a new form using Save current view as

At this moment, however, a problem occurs in the ribbon. The added elements (the section and its content) are not displayed where they were added. This is because, by creating a new version of the form, all elements from the factory form received new identifiers (GUID), and the modification does not know where to assign its elements. (To distinguish it from the factory version of the form, the new form variant in this example also has the Document items and Payments tabs deleted.)

pic_107280

Picture: New own form of Invoices and missing elements from the ribbon modification

In this case, elements from the ribbon modification that do not know their parent element are placed on an artificially created tab named "Missing".

pic_107281

Picture: New own form of Invoices and elements from the ribbon modification that do not know their parent element

To be able to apply the ribbon modifications in the new form, the ribbon must now be transferred from the factory version of the form to the new version of the form.

Enter the Form design and load the factory version of the form from the matrix. Select the ribbon fragment and copy it to the clipboard (Ctrl+C). Now load your own version of the form from the matrix. Select the ribbon fragment and delete it (Del). Then, using the Move method, paste the copied ribbon from the factory form (Ctrl+Shift+V). You will be asked whether you want to insert a fragment from another form. Confirm this query.

pic_107282

Picture: Inserting the copied ribbon from the factory version of the form into the own version of the form

Note: We cannot use the Copy method (Ctrl+V) to insert the fragment, because when copying, all elements always receive new identifiers (GUID). This procedure would therefore not meet the requirement that the original ribbon be copied with the original identifiers. When using the Move method (Ctrl+Shift+V), however, we do not have to worry in this case that the ribbon fragment would be removed from the original form, because removal with the Move method occurs only if the move is performed within one (the same) form.

The new fragment is inserted at the bottom of the form, so we move it up to the standard location of ribbons. Save the changes.

Our version of the form now has the ribbon extended with our own ribbon modification.

pic_107283

Picture: New own form of Invoices with the modified ribbon

Table (Datagrid)

The table, or grid, is the data part of forms. The table displays, e.g., records in books or items of IS K2 documents. Rules similar to those for a book in classic grey forms apply to the table.

Note: Clicking a column header sorts the records in the table by this column (field). However, for performance reasons, it is not possible to sort primarily by a calculated field. In this case, the table must always first be sorted by a physical field and only then by the calculated field.

The table includes its header. This is the blue bar at the top. It contains the search field for quick searching in the book. Text or a number can be entered in the search field, and after pressing the Enter key, the record is searched for. In this way, by entering the period and the number, you can search, e.g., for a specific invoice in the book (table). Books in IS K2 may contain multiple search fields. They can be switched using the key combination Alt+Z or by clicking the icon pic_827i and selecting the required search field from the list. Using the key combination Ctrl+Shift+S, the search field can be displayed and used for searching on any page of a document in IS K2.

The table header also shows the state we are currently in. Records in books can be displayed in 3 states - Book, Container and Filter. An icon symbolizing the given state is always visible in the table header. It also shows the name of the data module (e.g. Invoices Out) and the name of the book, container or filter. The individual states can be switched using the icons in the lower left part of the table. These are the following icons:

Icons for easily starting further functions may be included in the table header (blue bar). These icons can, e.g., start automatic reports or display all functions for the given grid. Using the designer, any action relating to the given datagrid can be inserted into the header.

The table header also contains the menu icon pic_831i. This icon gives access to all operations that the user can perform with the given table. These are the following operations:

On each record in the table, we can use the right mouse button to display functions relating to the given record, the specific field (cell) or the entire table. These are the following functions:

Marking records

All options for marking records are available in the lower part of the table under the icon pic_832i. Options for marking records:

The number of marked records is always displayed next to the asterisk icon in the lower part of the table. The selection column named s can be removed from the table only if no records are marked, and not permanently. After records are marked, it is automatically added back.

Note: If the user first marks records and then changes the DM state (switching between the book/container/filter states), there may be a discrepancy between the total number of marked records and the number of marked records displayed in the table.

In the bottom status bar of header tables, there is also the Number of records button. After pressing it, K2 displays the approximate number of records in the table and at the same time asks whether the user wants to get the exact number of records. To obtain the exact number, a calculation runs and then a new window with the exact number of records is displayed to the user. For item tables, the exact number of records is always displayed immediately in the status bar. An example where the approximate and exact numbers of records may differ for header tables: the Article module contains 100 cards, 10 of which are invalidated, and the user does not have the right to see invalidated cards. The approximate number of records will be 100; the exact number of records after the calculation will be 90.

A panel with help for function keys may be displayed in the lower part of the screen. This panel can be displayed using the key combination Ctrl+F1 or via the Hot key help option, which can be found under the Menu button in the Module toolbar.

Column filter

The new user interface brings the possibility of using column filters. They make it easier to filter records in books. The column filter is switched on via the Column filter option, which is displayed after clicking the icon pic_830i. Quick start using the key combination Ctrl+Alt+F can also be used. A new row is then inserted into the table, which is used for entering filter conditions.

pic_4138

Picture: Table with the column filter switched on

If a table contains many records and users use filter conditions on calculated fields, performance problems may occur. In the client parameter settings, a specific table can be marked as large. This prevents users from creating filters on calculated fields until a condition on a physical field is used, which provides an initial restriction of the filtered data.

For filtering, we can use several filter operators, the list of which is always available after pressing the icon pic_846i, which is in each field for entering filter conditions.

pic_4139

Picture: List of filter operators

The system remembers the setting of the Column filter option even when the given book is displayed again.

Full-text search

The full-text search function can be used in IS K2. This method is suitable when the user does not know exactly how the required information is stored in the system. The full-text search function is started using the icon pic_827i, and in the displayed form we select the Search option. This function can also be activated using the key combination Shift+Ctrl+F.

After the function is started, a field named Search is displayed in the table header (blue bar). This field is used to enter the text we want to search for. After entering the text and then pressing the Enter key, records that match the entered text or are similar to it are found. These are records that contain not only an exact match with the searched expression, but may also be inflected or without diacritics.

Full-text search can be started on any page of a document in IS K2 in View mode. Using the key combination Ctrl+Shift+S, we display the search field and can then switch it to full-text search mode.

For full-text search to work correctly, full-text keys must be set using function No. 778 Administrator - full-text key settings.

Row editing

Row editing allows editing values directly in rows. The row editing mode is switched on using the icon pic_833i. If this mode is on, the Enter key can be used to edit the selected field in the table without having to go to Change of the given record. Pressing the Enter key again confirms the change made. Using the Esc key means leaving the field editing without confirming the change. The row editing mode can be used for each form separately, and the form "remembers" this setting. Using the designer, active row editing can also be switched on permanently for the form, or disabled completely.

If row editing is activated, the item form can be invoked when needed using the combination Alt+Enter. If the row editing mode is not activated, this combination behaves exactly the opposite way, i.e. it activates editing of the given field. We recommend this procedure!

The standard F5 key for changing a record is available in row editing mode.

Mathematical operations

Mathematical operations can be used in each table within universal forms. These are Sum, Average, Minimum, Maximum and Distinct count. These operations are available in the menu displayed after pressing the right mouse button on the selected column.

pic_4295

Picture: Available mathematical operations

After the mathematical function is started, a row with the result of the operation is displayed in the lower part of the table. These operations can be used on multiple columns at the same time. Mathematical operations respect the state we are in, i.e. they can be used in a Book, Filter or Container. If we mark records with an asterisk in any state, the mathematical operations are applied only to these records. Marking always has priority.

pic_4331

Picture: Sales Orders book with aggregation (average)

If the set of records from which the result is calculated is updated, the row with the result is greyed out. It can then be updated by pressing the icon pic_861i or using the keyboard shortcut Ctrl+Alt+R. IS K2 remembers the display state of the panel with the aggregation results. When the book is displayed again, this panel is available again, but it is not calculated. The calculation (update) is performed using the icon pic_861i. For items, it is not necessary to perform the update.

The panel with the results can be shown/hidden by pressing the icon pic_905i or using the keyboard shortcut Ctrl+Alt+G.
Using the right mouse button on the aggregation result, we display a menu with the Copy option, which copies the result value to the clipboard. Mathematical operations are part of the table settings and can be saved as a template.

Quick search for records Alt+F7

This function is used to search for records in the table. The function can be activated using the key combination Alt+F7. A form for entering search conditions is then displayed.

pic_4348

Picture: Form for quick search for records

Description of fields:

Search string

Field for entering the text we want to search for.

Direction

Search direction. Forward - the function searches from top to bottom. Previous - the function searches for records from bottom to top.

From current record

The search starts from the record on which the cursor bar is positioned.

Case sensitive

The search will be case-sensitive.

Search in current column only

The function searches for records only in the current (focused) column.

After the search, the records meeting the conditions are marked. The marked (found) records can be browsed using the Ctrl key and numeric + or -.

Bulk change

The Bulk change function is available to the user in the table menu. This function allows changing some fields of the records of the given table in bulk. The bulk change can be performed on marked records or on a container.

The bulk change function is started using the icon pic_831i and then via the Table functions - Bulk change option. A form for setting up the bulk change is displayed.

pic_4733

Picture: Bulk change form

The form always loads the fields that the user can edit, so their offer differs between tables. If we want to change a field in bulk, the given flag must be checked and the required value filled in. Using the Insert key or the Add field button, we can add another field for editing to the form on a one-off basis. However, this field always disappears after the form is closed.

The form also contains an option which, when checked, removes the successfully changed records from the container or removes the marking of these records.

Using the OK button, we confirm the setting and perform the bulk change.

Working with columns

We can set the arrangement and appearance of columns in the table. Options for working with columns can be found in the table menu via the Grid functions - Table settings option. Another way to display these functions is using the icon pic_848i, which may be placed in the table header.

pic_4226

Picture: Functions for working with columns

Functions for working with columns:

Editing table settings

Changes to the current column settings of the table can be made using the Edit table settings option. The Current table setting form is displayed.

pic_4227

Picture: Current table setting form

Description of fields:

Fit columns

If this field is checked, the column width adapts to changes in the window size. Otherwise, the column size does not change. When the window is reduced, the columns are gradually hidden and a scroll bar is available at the bottom of the screen.

Number of frozen columns

Here we specify the number of columns that will be frozen. These columns will always be visible and will not move off the screen when scrolling. The specified number of columns from the beginning of the list is always frozen.

Display aggregations

Displays the panel for the results of calculated aggregations.

In the Current table setting form, we can edit the column settings on the Columns tab. The fields from the current table setting are always loaded automatically into this form. These fields correspond to the columns in the table. The individual columns are also displayed here in the corresponding order, which can be changed using the arrow icons.

A new column can be added to the column settings form using the Insert key. A list of all available fields of the given data module is displayed. From this list, we can select fields and add them to the list of fields (columns) of the table.

pic_4229

Picture: List of fields of the data module

The coloured bitmaps next to individual fields express the complexity of their calculation (evaluation). Green bitmaps are displayed for fields that are not demanding to evaluate; conversely, red bitmaps are shown for fields that are more demanding to calculate. In this way, it is possible to estimate how the field will affect, e.g., the speed of opening the table. The Value column always shows the current value of the field of the table record on which the given user is positioned.

Fields marked with the icon pic_849i allow a link to other data modules, i.e. they can be expanded further. We expand them by clicking this icon or using the key combination Ctrl+arrow. The field can then be selected by double-clicking or using the Select button, or the Enter key.

After the required field is selected, a form is also displayed in which the properties of the given column can be changed and formatting rules set. This form can also be displayed by double-clicking the selected column in the Table settings form or using the Enter key.

pic_4228

Picture: Column properties

Confirming this form inserts the required column into the Current table setting form on the Columns tab.

The form also contains the Sorting tab. Here we can set the sorting of the table. We do this by inserting into this tab the column or columns by which the table will be sorted. For each column, the sort direction can also be set, i.e. descending or ascending.

pic_4230

Picture: Current table setting form - Sorting tab

On the Conditional row formatting tab we can define conditions for formatting the table rows. This function is described in more detail in the Conditional formatting chapter.

We confirm the changes made using the OK button at the bottom of the form. Only the current column setting of the given table is changed.

The current table setting and other table properties (form positions, column widths, expander states, etc.) are saved within attributes and IS K2 remembers this setting. These attributes can be deleted, thereby always returning to the default state. To delete the attributes, a function is available that is invoked with the key combination Ctrl+Alt+Shif+A or in the data module function menu via the Administrator - Delete form attributes option. The availability of this function depends on the right for service interventions. The function is available only in the new user interface.

Adjusting column width

Within the table settings in universal forms, it is possible to explicitly specify the column width in "em" units. This unit depends on the font format and always equals the width of the capital letter M. The main advantage of using this unit is that, after the column width has been entered, the user always sees the same part of the text under all circumstances.

By default, the column width in blue forms is given by the "picture" setting. The column width in "em" units is calculated only when the given column is manipulated. So if, for example, we change the column width using the mouse, the "em" width value for that column is calculated automatically.

The column width in "em" units can be entered manually in the Columns form in the Width. field.

pic_4228

Picture: Column properties

The set column width is also saved within column templates.

If we adjust the column widths and then use the Fit columns option, the ratio between the individual columns is always preserved.

Column templates

The current column setting can be saved as so-called Column templates. These are various table column settings that can be saved under a chosen name. The user can then recall this setting at any time.

All options for working with templates are invoked using the pic_848i icon and then via the Templates option.

pic_4313

Picture: Options for working with column templates

The current column setting is saved as Column templates using the Save as option. A form is displayed where some aspects of the template can be filled in.

pic_4234

Picture: Form for saving the table setting as Column templates

Description of fields:

Name

Name of the column template.

Description

Description of the column template.

Classification

Field for assigning the column template to a group. In this field we enter the name of the group. The template will then be placed within this group in the context menu.

Level

In this field we select the level for which the column template will be saved.

Client

Field for selecting the client for whom the created column template will be available.

User

Field for selecting the user for whom the created column template will be available.

Default

If this field is checked, the program treats the column template as the default. This template is set after using the Default columns option.

If, when saving, the system finds a template with the same name, it displays an overwrite message. IS K2 checks not only the name but also the saving level.

pic_4271

Picture: Column template overwrite message

Saved column templates are available to the user in the Template administration book and also directly in the context menu under the Grid functions - Table settings option, or after clicking the pic_848i icon, which may be placed in the table header.

pic_4233

Picture: Context menu of column templates

If one of the defined templates is applied, the pic_837i icon is displayed next to it in the context menu. If we make changes to the selected template, it can be re-saved using the Templates - Save option.

Administration of saved table settings

Created column templates are saved in a book that not only records all these settings, but where new settings can also be created or changed. This book is displayed via the Administration – Administration of saved table settings option.

pic_4231

Picture: Book for administration of saved table settings

Here we can create a new setting with the Insert key. The Table settings form is displayed, where we define the columns and other settings for the table. The currently applied table setting is always loaded into the form automatically.

pic_4232

Picture: Table settings form

Description of fields:

Name

Name of the column setting.

Description

Description of the column setting.

Level

In this field we select the level for which the column setting will be saved, i.e. for whom the configuration will be available (Factory, Global, Client, Group, User, Own company).

User

Field for selecting the user for whom the created column template will be available.

Client

Field for selecting the client for whom the created column template will be available.

Default

If this field is checked, the program treats the column template as the default. This template is set after using the Default columns option.

Classification

Field for assigning the column template to a group. In this field we enter the name of the group. The template will then be placed within this group in the context menu.

Fit columns

If this field is checked, the column width adapts to changes in the window size. Otherwise, the column size does not change. When the window is made smaller, the columns are gradually hidden and a scroll bar is available at the bottom of the screen.

Display aggregations

Displays a panel with the results of calculated aggregations in the table.

Number of frozen columns

Here we specify the number of columns that will be frozen. These columns will always be visible and will not move off the screen when scrolling. The specified number of columns from the beginning of the list is always frozen.

In the Table settings form, on the Columns tab, we enter the columns in which the data will be displayed in the table. A new column is added here using the Insert key. Columns are always selected from the list of fields of the given data module. The procedure is the same as when editing the current table setting. The Sorting tab is used to set the columns by which the data in the table will be sorted, and the Conditional row formatting tab is used to define conditions for formatting the table rows. A more detailed description is given in the Conditional formatting chapter. The created column template is saved using the OK button.

Quick work with columns

Table columns can be worked with directly in the IS K2 desktop. Using the right mouse button we can display the context menu and via the Grid functions option invoke a menu of options for editing table columns.

Available options:

Columns within the IS K2 desktop can be moved using the mouse, thus changing their order. Columns can also be removed by dragging them with the mouse.

Views

When working with columns in universal forms, so-called Views can be used. Within views, the setting of all tables of the entire form (book) can be saved at once and this setting can then be applied. All options for working with column views are displayed via the module menu and then the Views - Administration. option.

Functions for working with views:

If we make some changes to the column settings of the form tables, we can save this setting as a View. We do this via the Views - Administration - Save current view option. A form for saving the view is displayed.

pic_4259

Picture: Form for saving a view

Description of fields:

Name

View name

Description

Description of the view

Level

In this field we select the level for which the view will be saved.

Client

Field for selecting the client for whom the saved view will be available

User

Field for selecting the user for whom the saved view will be available.

Classification

Field for assigning the view to a group. In this field we enter the name of the group. The view will then be placed within this group in the context menu.

At the bottom of the form for saving a view there is Table settings. The changes made by the user are always loaded here. It is therefore a list of tables in which the column setting has changed. The Context column shows the name of the data module (table) where the change was made. If the Context field is empty, it is the list of records (List tab). If a column setting has been created and saved as Define columns in any table of the form, it is filled into the Table settings field. This setting must be applied in the given table and must not be changed in any way; then it is loaded into the form for saving the view. We save the view by pressing the OK button.

The setting for a table can also be entered here manually. Using the Insert key in the table settings field, we display the Table settings form.

pic_4260

Picture: Table settings form

In the Context field we enter the name of the data module. The field can be expanded and a data module can be selected from the list. In the table settings field we enter the created Column template. This field can also be expanded and a definition can be selected from the list of definitions created for the given table. Using the pic_853i button we can then display the detail of the table setting.

Saved views are available in the Administration of saved views book. We can display this book using the Views - Administration - Administration of saved views option.

pic_4262

Picture: Administration of saved views

In this book it is possible to work with views. New views can also be created here using the Insert key. In this case, however, everything must be entered manually. When creating views, we rather recommend the procedure in which the current table setting is loaded into the form.

Saved views are also available to the user directly in the context menu under the Views option.

pic_4263

Picture: Context menu of views

If we add an icon for launching a book to the IS K2 desktop, we can set the view in which the function will be launched. We do this in the form in the View field. Views saved for the given data module are loaded into this field.

pic_4264

Picture: Setting a view in the form for a button on the IS K2 desktop

Conditional formatting

Using this function we can define rules for formatting rows or cells in a table.

pic_4338

Picture: Table with conditional formatting applied

Formatting table rows

A format can be set for individual table rows based on a specified condition. We do this in the table settings form on the Conditional row formatting tab. Here we enter the individual formatting conditions.

A new condition is entered here using the Insert key and then via the Conditional formatting option. A form for defining the formatting condition is displayed.

pic_4333

Picture: Form for defining a formatting condition

Description of fields:

Condition

Pressing this button displays the filter condition editor. In this form, the relevant formatting condition can then be entered. We proceed here in the same way as with filters in IS K2. Two types of conditions are available here: Comparative and Nested.

Stop if true

If a condition has this flag checked, the function applies all entered conditions up to this one. It no longer takes further formatting conditions into account.

Format

This section contains several check boxes for setting the row format. The font format can be set to Bold, Italics, Underlined, Crossed out.

Colours

Field for selecting the formatting colour. The colour palette in this field is always based on the currently set visual style. The Own option is also available here. If we select it, the fields for selecting the background and foreground colour become accessible.

Background colour

Field for selecting the cell background colour. We select from the colour palette here.

Foreground colour

Field for selecting the cell foreground (font) colour. We select from the colour palette.

Pressing the OK button inserts the condition into the list.

pic_4335

Picture: Created formatting conditions

If conditions with the same rule are entered, the last entered condition takes precedence.

Created formatting conditions are saved in attributes (current table setting) or can be saved within column templates.

Formatting table columns

Just like rows in a table, we can also format columns. Conditions for formatting columns are entered in the column properties form on the Conditional formatting tab.

pic_4336

Picture: Conditional formatting of columns

A new condition is entered here using the Insert key and then via the Conditional formatting option. A form for defining the formatting condition is displayed. The procedure for entering column formatting conditions is the same as for rows. The set conditions then apply only to the cells of the given column.

Static formatting

This formatting option can be applied to both rows and columns of a table. However, it is more useful for columns, because an entire column in the table can be formatted (highlighted, coloured) this way. If the function is applied to table rows, the entire table is always coloured. No condition is entered here, only the format.

pic_6236

Picture: Static formatting options

Description of fields:

Format

This section contains several check boxes for setting the row format. The font format can be set to Bold, Italics, Underlined, Crossed out.

Colours

Field for selecting the formatting colour. The colour palette in this field is always based on the currently set visual style. The Own option is also available here. If we select it, the fields for selecting the background and foreground colour become accessible.

Background colour

Field for selecting the cell background colour. We select from the colour palette here.

Foreground colour

Field for selecting the cell foreground (font) colour. We select from the colour palette.

pic_6239

Picture: Static colouring in the Sales Orders book

Quick conditional formatting

Formatting rules can be applied in a faster way directly in the table. Using the right mouse button we can display the context menu and via the Highlight records option invoke a menu that always contains the options Rows greater/less than and Columns greater/less than. If we choose one of the options, a form for specifying the condition in more detail is displayed.

pic_4337

Picture: Form for entering a condition

Description of fields:

Operator

Field for selecting the comparison operator of the condition.

Value

Value for the condition.

Highlight colours

Field for selecting the formatting colour. The colour palette in this field is always based on the currently set visual style.

After confirmation, the entered formatting condition is added to the settings for rows or columns.

Book Contents

Book Index

Formatting columns

Different formatting can be set for each table column. This is a function that allows the format of columns to be adjusted so that it better suits the smaller displays of mobile devices. The function is based on a protocol that allows syntax to be entered for formatting the text in a table column.

The environment for formatting columns is available in the column properties, on the Formatted column tab. We display this form either using the Column properties menu item or using the Edit table settings menu item and clicking the row with the required column.

pic_7226

Picture: Environment for formatting table columns

The environment consists of 3 basic parts. The upper part provides space for entering the complete syntax for formatting the column. On the right are buttons that serve as help, or rather as an assistant for creating the formatting syntax. The lower part of the form is a preview that displays the result of the syntax and formatting.

Book Contents

Book Index

Column formatting syntax

Formatting of table columns is based on the entered syntax. It is entered here mainly by writing it manually. The buttons in the form can also be used. If we use these buttons, the relevant attribute, block or, for example, field is always inserted where the cursor is located.

Block, row and section

The entire formatting syntax consists of blocks, rows and sections. Blocks can contain static text or, for example, a value from a specific field. A block is enclosed in curly brackets, e.g. {:Formatting block text}.

The Block button can be used to insert a block. Curly brackets for a block {:} are added to the syntax entry area. If text is added inside the curly brackets, this text is displayed in the relevant table column. So if {:Formatting block text} is entered, the text "Formatting block text" is displayed in the column.

A value from a field can also be inserted into a block. For this purpose we use so-called square brackets [ ]. If we insert a field name in square brackets into a block, e.g. {:[TradingPartnerId.Name]}, the value from this field is displayed in the formatted column. We can also insert a field into a block using the Select field button. Pressing it displays a form with a list of all available fields of the given data module. The field is selected from this list (including the link). After selection, the field is inserted into square brackets.

If a block contains a field in square brackets, we can set its "mask". The syntax is that after the field name in square brackets we insert a semicolon followed by the relevant mask, e.g. {:[TradingPartnerId.Name;S25]}. The mask for the field will then be S25 (a string of at most 25 characters).

A line break in the syntax is made using the / character. If we place a slash character after a particular block, the next block will be displayed on the next line. After entering the syntax {:Company name}/{:[TradingPartnerId.Name]}, the result will be as follows:

pic_7227

A group of blocks forms a so-called section. Sections can be used, for example, if we want to format again outside the aligned and fixed blocks on the left or right. A section in the syntax is always ended with a full stop, and the block inserted after it starts a new section. An example of the meaning of sections is shown in the following picture.

pic_10446

Picture: Example of using sections

Book Contents

Book Index

Attributes

Each block in the syntax can have its own attributes (properties). Attributes are always separated from the block content by a colon. If a block has several attributes, they are separated by commas. The entry then looks, for example, like this: {fb,fi,ba,:[TradingPartnerId.Name]}.

Block attributes are therefore always entered before its content, by writing them manually. The buttons on the right side of the formatting environment can also be used. Some of the attributes are available under these buttons.

Book Contents

Book Index

Fonts (f)

Attributes affecting the font format in a block (f - font). Their list can be displayed and used with the pic_1182i button.

fb - bold text (bold)

fi - italics (italics)

fs - crossed-out font (strikeout)

fu - underlined font (underline)

fz120 - enlarged font (zoom); here the font is enlarged to 120 % relative to the IS K2 setting.

Book Contents

Book Index

Block width (w)

Attributes for specifying the block width (w - width). The list can be displayed with the pic_1183i button. If the width attribute (w) is not specified, the width is taken as the sum of the block content and the widths of the displayed data fields

w* - automatic width

w12 - width of the specified number of characters; here a width of 12 characters (if the block contains only digits, it corresponds exactly to the number of digits; if the block is not purely numeric, the width is calculated as the specified value times 2/3 of the width of the letter "m")

w50% - width specified as a percentage of the total column width; here 50 % of the total column width

wL4 - width defined as a multiple of the row height (L - line); here the block width equals 4 times the row height

Book Contents

Book Index

Number of lines (l)

Attribute for specifying the block height (L - line). This attribute can also be inserted into a block using the pic_1184i button.

L2 - block height determined as a multiple of the font height; here the block is 2 times the font height.

Book Contents

Book Index

Borders (b)

Attributes for the block border (b - border).

ba - full border (all). The whole block is bordered.

bl - border on the left only (left). Only the left side of the block is bordered.

br - border on the right only (right). Only the right side of the block is bordered.

bt - border at the top only (top). Only the top side of the block is bordered.

bb - border at the bottom only (bottom). Only the bottom side of the block is bordered.

bw3 - border width (width) in pixels.

Book Contents

Book Index

Horizontal alignment (th, ih)

Attributes for setting the horizontal alignment of content within a block.

Text alignment:

(th - text horizontal)

thl - the text is aligned to the left within the block (left).

thc - the text is aligned to the centre within the block (center).

thr - the text is aligned to the right within the block (right).

Picture alignment:

(ih - image horizontal)

ihl - the picture is aligned to the left within the block (left).

ihc - the picture is aligned to the centre within the block (center).

ihr - the picture is aligned to the right within the block (right).

Book Contents

Book Index

Vertical alignment (tv)

Attributes for setting the vertical alignment of content within a block. Available for text only (tv - text vertical).

tvt - the text is aligned vertically to the top within the block (top).

tvc - the text is aligned vertically to the centre within the block (center).

tvb - the text is aligned vertically to the bottom within the block (bottom).

Book Contents

Book Index

Alignment of the whole block

Attributes for aligning the whole block, not just its content.

< - aligns the block completely to the left.

> - aligns the block completely to the right.

If a block has the < or > attribute, it is placed on the left or right, before or after all other blocks in the section, and is fixed there. In effect, these blocks narrow the space for further blocks, because those are arranged between these fixed blocks placed completely on the left or right. The height of these aligned blocks is the same as the height of all other blocks placed between them. If we want to continue formatting outside these blocks, a new section must be created.

An example of fixed blocks and sections is shown in the following picture.

pic_10446

Picture: Example of using fixed blocks and sections

Book Contents

Book Index

Colours (fc, bc)

The colour can be set for the font (fc - font colour) and the background (bc - background colour).

fc%clRed - setting the colour using the colour name; here setting red text (similarly bc%clRed for the background colour)

fc-50% - n % darker than the background

fc+50% - n % lighter than the background

In the following picture, the total document amount has this colour setting: {fc-60%:[DocumentAmountGrossCCalc]}. That is, 60% darker than the background colour. The background colour means the cell colour given by conditional colouring (2nd and 3rd record) and also by whether or not the cursor is on the row (first and last record).

pic_10450

Picture: Example of darkening the text colour relative to the background colour (cell colour)

Book Contents

Book Index

Picture (^)

A picture (icon) can be entered into a block using the ^ attribute. This makes sense in combination with a command, where the icon represents the command button.

{^,#\ConfirmtCOMMAND:} - the default icon of the command is applied

{^zoo*lion,#\ConfirmtCOMMAND:} - the "lion" icon from the \Conf\Img\Zoo directory is applied to the command

The horizontal position of the icon within the command button is determined by the picture alignment attribute "ih":

{ihl,^zoo*lion:} - icon aligned to the left

{ihr,^zoo*lion:} - icon aligned to the right

{ihc,^zoo*lion:} - icon aligned to the centre

Book Contents

Book Index

Commands (#)

A command (function) can also be inserted into a block as an attribute; it performs its function when the element is clicked. An example could be a command for confirming the document on each document row.

A command is introduced with the # character followed by the command name - for example #\ConfirmCOMMAND. If round brackets follow, they contain the command parameters. After the colon in the block, which separates the attributes from the block text, we enter the command text.

Examples of blocks with a command:

{#\ConfirmCOMMAND: Confirm} - command for confirming the document with the manually entered text "Confirm"

{^,#\ConfirmCOMMAND:} - command for confirming the document without text, but with the default command icon. The icon (picture) is defined by the ^ attribute

{^zoo*lion,#\ConfirmtCOMMAND:} - command for confirming the document without text, but with the "lion" icon from the \Conf\Img\Zoo directory

{#\ConfirmCOMMAND: [%cc]} - command for confirming the document with the default command caption (for the \ConfirmCOMMAND command it is the text "Confirmation"); instead of manually entered text, the [%cc] delegate is used

Book Contents

Book Index

Delegates

[%mf] - a placeholder that returns the field of the current column (main field). This means that if, for example, we format the column with the document number (DocumentIdentificationCalc) in documents, then to display the document number we do not have to write [DocumentIdentificationCalc], but simply write [%mf].

[%cc] - a placeholder that returns the default command caption (command caption). {#\ConfirmCOMMAND: [%cc]} - command for confirming the document with the default command caption (for the \ConfirmCOMMAND command it is the text "Confirmation")

Book Contents

Book Index

Complex example

An example with a detailed description of the definition of individual blocks; the formatted column is Document (DocumentIdentificationCalc) in the Sales Orders module.

pic_10444

Picture: Formatted Document column in Sales Orders

pic_10445

Picture: Definition of the formatted column

 

Beginning of the first section.

{l0.5:}.

An empty row 0.5 of the font height for spacing from the top edge of the cell. This row is a separate section (the section is ended with the "." character).

 

End of the first section.

Beginning of the second section.

{wl3,ba,<:[ConfirmedOrCanceled2IdCalc]}

A left-fixed (<) block with the field (icon) showing the document confirmation status. The wl3 attribute sets a width corresponding to three rows, and the ba attribute puts a border around this field.

All further rows of the second section are aligned from the left only after this fixed block. The height of this block corresponds to all rows after this block.

{w12: [%mf] -}

First block of the first row - the document number followed by a manually entered dash character. The width is set to 12 characters, and the field is entered using the [%mf] delegate.

{fi,w*:[Description]}/

Second block of the first row - the document description. Italic font and automatic width. Since no other block follows this block on the row, automatic width means the width according to the current column width.

End of the row with the "/" character.

{w30%,fb: [TradingPartnerId.Name]}

First block of the second row - the customer name. Width set to 30 percent of the column width and bold font.

{w70%:[DeliveryAddressPlainCalc]}/

Second block of the second row - the delivery address of the sales order. Width set to 70 percent of the column width.

End of the row with the "/" character.

{w16,thl: [AmountNetC] + [AmountVATCCalc] =}

First block of the third row - net amount, manually entered + character, gross amount, manually entered = character. Width of 16 characters, horizontal alignment to the left.

{w10,fb,thr,fc%clBlue:[DocumentAmountGrossCCalc]}

Second block of the third row - gross amount. Width of 10 characters, bold font, horizontal alignment to the right, blue font colour.

{w4,thl: [Currency]}

Third block of the third row - currency, indented by one character. Width of 4 characters, horizontal alignment to the left.

{w10,ba,>,thc,tvc,fb,#\ConfirmCOMMAND,bc%clBtnFace:[%cc]}.

A right-fixed (>) block with the command for confirming the document. The command text is entered using the [%cc] delegate. Width of 10 characters, border (so that the command looks like a button), horizontal and vertical centring of the command text, bold font, and a set background colour (%clBtnFace is the default button colour in Windows). The height of this block corresponds to all rows after this block.

This block also ends the second section (with the "." character).

 

End of the second section.

Beginning of the third section.

{l0.5:}.

An empty row 0.5 of the font height for spacing. This row is a separate section (the section is ended with the "." character).

 

End of the third section.

Beginning of the fourth section. This section has blocks in a single row only.

{w10,fb:Method of transp.:}

First block with the text "Method of transp.:" Width of 10 characters, bold font.

{w11:[TransportMethodRID.Abbr] / }

Second block with a reference to the Method of transport field and a manually entered "/" character. Width of 11 characters.

{w6,fb:Service:}

Third block with the text "Service:". Width of 6 characters, bold font.

{w10:[ShippingMethodId.Abbr]}

Fourth block with a reference to the Shipping method field. Width of 10 characters.

{>,ba:[ReservingCardDocumentExistsIdCalc]}

{>,ba:[ReleaseNoteDocumentExistsIdCalc]}

{>,ba:[DeliveryNoteDocExistsIdCalc]}

{>,ba:[InvoiceDocumentExistsIdCalc]}.

Right-fixed (>) blocks with references to fields indicating the existence of subordinate documents of the sales order. The fields have borders.

The last block is followed by the end of the section (with the "." character).

 

End of the fourth section.

Beginning of the fifth section.

{l0.5:}.

An empty row 0.5 of the font height for spacing from the bottom edge of the cell. This row is a separate section (the section is ended with the "." character).

Book Contents

Book Index

Displaying records of an item module

The formatted column and also the MultiformatText component support displaying records of item data modules.

The syntax is as follows:

~item module name(number of displayed records)

{:[field referring to the item module\:detail\field name]}

~

With this notation, the records of the item module will be listed one after another on a single line.

If the individual records are to be listed one below the other, we use the following notation:

~item module name(number of displayed records)

{:[field referring to the item module\:detail\field name]}/

~

pic_10493

Picture: Definition of displaying article bar codes in the MultiformatText component

pic_10492

Picture: Possible use of the MultiformatText component for displaying an item module with article bar codes

pic_10494

Picture: Displaying article bar codes in a formatted column

Charts

In the new user interface, a graphical evaluation can be defined using charts. Charts are defined and launched only in the container or filter state, or over selected records. A new chart is launched or defined using the pic_852i icon or as an option in the grid menu.

Definition of a new chart:

When defining a new chart, some fields are pre-filled automatically. The field by which the table (grid) is sorted is automatically inserted into the "Group field" field, and the field of the ruler row from which the chart creation is launched is filled into the "Field with value" field. These values can be changed and are handled similarly to other components, e.g. column selection. The user then selects the chart type, sorting and filter.

In the lower left corner, under the Other options button, there is the Save as option, which saves the final chart definition.

pic_4250

Picture: Definition of a new chart

Description of fields:

Name

Name of the chart definition.

Group field

Field by which the series in the chart are defined.

Field with value

Measured value

Aggregation function

Function that will be used for the field with value.

Type of chart

Here the chart type can be selected. The available options are: column, pie or line chart.

Sorting

Sorting of values in ascending or descending order.

Filter

Option whether to display all values in the chart, the first ten according to sorting, or the first 10 according to sorting plus the remaining values.

Preview

Displays the full chart or only a preview (suitable when creating a chart over large data).

Other settings

Other settings

Bookmarks

In universal forms, tabs can be placed both horizontally and vertically.

In the vertical direction, tabs are used to switch between individual pages of documents and are always defined by an icon and a description, for better information about the nature of the fields located on the given tab.

pic_4887

Picture: Tabs in the vertical direction

We can switch between the tabs (pages) of a document using the left mouse button. Clicking a given tab always displays it. The individual tabs of a document can also be browsed using the key combination Alt+right (left) arrow or by selecting the tab from the menu using the right mouse button.

pic_9770

Picture: Selecting a tab from the menu using the right mouse button

Tabs in the horizontal direction are used to switch content inside a form. The tabs are also defined by an icon and a heading, which inform the user about the nature of the fields and information located there. Any other components can be placed on the tabs. If a tab contains some content, it is marked with a flag located next to the tab heading. A number expressing, e.g., the number of comments may also be shown there.

pic_4385

Picture: Tabs in the horizontal direction

We can switch between these tabs using the mouse or the key combination Ctrl+Tab.

Record preview (Preview)

After opening a book in universal forms, there may be a panel for a quick preview of records, the so-called preview, on the right side of the screen.

pic_4161

Picture: Preview of a table record (invoice)

The quick preview panel always shows basic information about the record on which the ruler is currently placed. When browsing records in the table (book), the data shown in this panel are always updated. To obtain the most important information about the current document, it is therefore no longer necessary to display other pages (tabs) of the document.

The preview usually includes an important Settings section, where the most important settings for the given table are available. Here it is possible to set, e.g., the required period or warehouse. The data displayed in the table (e.g. stock information) may then relate to this setting.

The record preview may also contain, e.g., a map, the rating of entities in registers, electronic addresses or social networks.

pic_4208

Picture: Preview of a table record (Suppl./Cust.)

Icons placed in the preview may be active, i.e. by clicking an icon we can display the entity's profile on a social network or check it in the relevant register.

The size of the quick preview panel can be changed using the splitter, or it can be hidden completely by clicking this splitter, thus gaining maximum space for the table.

Book Contents

Book Index

Form components

From the list we can switch to another tab (page) of the document, e.g. using the left mouse button. Standard data modules contain two or more pages, with basic data usually displayed on the 1st page and items, or attached documents and records, displayed on the other pages.

Each page may then contain further tabs or components that differ in the type and nature of the information entered.

pic_4083

Picture: Form - universal

  1. Search menu (lookup) - after clicking the icon, the user is shown a list of values that can be filled into the given field.
  2. Edit field (edit) - a field into which a value of a predefined type (text, number, etc.) can be typed.
  3. Check box (checkbox) - a field defining a YES/NO value.
  4. Expandable panel (expander) - groups components that can be hidden or displayed.
  5. Tab - each page may contain further tabs on which other components can be placed.
  6. Date field - a field into which only a date can be entered, by selecting it from a calendar or by simplified entry.
  7. Button - pressing the button may launch actions, display a floating form (floater), or display or hide other fields.
  8. Preview (preview) - summary information about the current record.
Basic form components

These components of universal forms define their basic structure and determine their appearance by grouping other individual fields, information and components. They are the Expandable list (Expander), GroupBox and Floating form (Flowter).

Expandable panel (Expander)

The expandable panel (Expander) is a component that groups related fields.

pic_4165

Picture: Expandable panel (Expander)

An expandable panel is always defined by a heading that determines the context of the fields it contains. The expander can be collapsed, thus reserving more space on the form for the information we are interested in. Collapsing is done using the pic_835i icon located in the upper right corner of the panel. The system remembers this (collapsed) state of the panel for the given user.

GroupBox

Another component of universal forms that groups fields is the GroupBox.

pic_4166

Picture: GroupBox

This component contains a heading and a line that separates it from the rest of the form. This component is used to separate blocks of fields on the form for better clarity for the user.

Floating form (Floater)

A component of universal forms that also groups blocks of information and fields is the so-called Floating form or Floater. A floater is always displayed using a button and is part of the form. It therefore does not contain buttons such as OK or Cancel. A specific value can be displayed in the caption of the floating form button, e.g. the button for the tax recapitulation may contain the name of a specific tax type.

pic_4167

Picture: Example of a button for displaying a floater

Pressing the button reveals a form containing further fields. These are usually less important fields that do not need to be placed in the main form.

pic_4168

Picture: Floater for the tax recapitulation

This form can serve not only as a preview of values, but the fields can also be edited here. When browsing individual records in the book, e.g. using the + and - keys, the floating form is always updated according to the record we are on. The floater always remembers the position on the screen where the user placed it as well as its size. It can be returned to its default position and size using the pic_836i icon. The floating form can be closed using the pic_837i icon, by clicking outside the form or with the Esc key.

Tree table (Treeview)

The tree table is a component used to display records in a tree structure.

pic_4206

Picture: Tree table of activities

Records in a treeview can be displayed as a tree structure or as a table. The display method is selected in the list of options, which can be displayed using the pic_843i icon. This list always contains all the options by which records in the tree table can be sorted, as well as the Without grouping option. Using this option, records can be displayed as a table without any sorting.

Using the designer, the treeview can be defined so that only the tree, without any further columns, is visible to the user.

The tree table can be edited with the mouse using the "Drag and Drop" method. With the mouse we can grab any record and move it to the required level of the treeview. Records whose level has changed are then marked with a pencil icon (does not apply to non-owned items).

pic_4207

Picture: Tree table with editing

Tabs in the form

Tabs are a component used to switch content. Tabs can serve not only as the main component defining the record pages in individual books, but also as an organizational component in a form. Tabs are defined by an icon and a heading, which inform the user about the nature of the fields and information located there. Any other components can be placed on the tabs.

pic_4212

Picture: Example of using tabs in a form

ListView

The ListView component is used to display a list of records. The main benefit of this component lies in the possibility of setting 3 different modes for the table. The ListView component also supports sorting records into groups.

pic_4888

Picture: Display with large icons

pic_4214

Picture: Display as a simple table

pic_4213

Picture: Display with icons

It is possible to switch between the individual modes, e.g. using an icon.

Splitter

The Splitter component is used to divide areas horizontally or vertically. We can tell that this splitter is placed in the form and can be used by the symbol with dots.

pic_4215

Picture: Form with the Splitter component

The system remembers the position of this splitter, and we can control and move it using the mouse. Double-clicking the splitter closes the given window.

Form data components

These are components of universal forms that display specific information from the system and through which we enter information into the system.

Text, numeric and check box fields

A text field is a component that allows any information to be stored in the form of text. A typical example of such fields is the Description field.

Unlike a text field, only a numeric value can be entered into a numeric field. This field does not accept any other text value. An example of such a field is Due days.

A check box (CheckBox) is used to set Yes/No fields. This is, e.g., the VAT field on an invoice. It can be checked with the left mouse button.

Label

Label is a form component that usually has the form Name + Value + Other text. If it has a defined action, it is rendered as a link that can be clicked to execute the command.

pic_4211

Picture: Data component of the Label type

The Label component is used extensively within the record preview (Preview).

Date fields

Values can be entered into a date component by selecting them from a calendar, which is displayed using the pic_838i icon or the F12 key.

pic_4169

Picture: Calendar for selecting a date

In date fields, the user can use quick functions for entering values:

In general, a full stop in date fields replaces the current day, month or year and can be used in this way when entering a date. When entering a value, e.g. in the form ". . 2015", the system fills in the current day, the current month and the year 2015.

Lookup table (Lookup)

When entering values into a lookup field, the user in universal forms can choose the type of form for selecting the value. The value selection options can be displayed in the lookup using the right mouse button via the Search option.

pic_4170_202111

Picture: Options for selecting values

In the form, the user has several options for entering lookup table values:

The system remembers the last selected search method for the given field and automatically offers it as a quick option after pressing the icon on the right side of that field. It is always the icon corresponding to the option selected for choosing values in the form, see the picture Options for selecting values.

Form component options

Using the right mouse button on a form component (field), all available options that can be used when working with the given component can be displayed.

pic_4209

Picture: Form field options

Description of options:

The form may also contain an option for selecting the property of the field that is to be displayed in the form. For example, if the form contains the Customer field, it is possible to choose between displaying its name, abbreviation or, e.g., number.

pic_4210

Picture: The Customer field with the Abbreviation 2 display

For some fields, such as electronic addresses, the display type can be changed in the options menu. Electronic addresses can be displayed as Simple entering or List of all entered. This display can also be changed using the pic_845i icon.

Map and picture

Records that include an address may contain a map field in universal forms.

pic_4171

Picture: Map in IS K2 universal forms

The map can display, e.g., the company's registered office according to the entered address and can be placed in the record preview. By clicking the pic_839i icon, the given address can then be displayed in the browser within Google Maps and then easily used, e.g., for navigation to the given position. For the map to display the position according to the address correctly, the company must have generated a so-called Api Key for using Google Maps within its Google account. This Api Key must then be set in the Client parameters on the 4th page in the Properties section.

Similarly to a map, a picture or document can also be displayed in universal forms. This is done using the FilePreview component. This component is usually included in the Record preview or on the Attachments tab.

pic_4172

Picture: Example of a picture in universal forms

Using the pic_839i icon located in the upper right part, the picture can be displayed in the installed photo viewer. The pic_840i icon is then used to enlarge or reduce the picture within the form.

Similarly to pictures, the FilePreview component also displays documents. The Attachments tab can then be defined in universal forms so that it always shows a preview of the content of the current file on which the ruler is placed.

pic_4173

Picture: Picture preview on the Attachments tab

Calendar

The calendar is used to display events clearly. It allows private and work calendars to be connected and managed together with the IS K2 document calendar in one place. In the calendar, events are displayed according to their date and time.

In its basic form, the calendar displays the current month, week and day.

pic_3540_2021

Picture: Main calendar

Clicking the Calendars button, located in the upper left corner, displays a new window with a list of all displayed calendars. They are distinguished here by colour.

pic_5332

Picture: Displayed calendars

Each of these calendars can be suppressed (its data will then not be displayed), or its colour can be set according to one's own preference. These calendars are configured within Calendar data providers.

pic_6120

Picture: Definition of a calendar data provider

The calendar can also display data from personal calendars (Exchange). A new personal calendar is added here using the pic_769i_2021 button.

A new calendar record for the given provider is added by clicking the right mouse button on the selected date. A menu is displayed where we select New event and then choose from the list of providers.

Calendar in IS K2 books

The calendar can also be placed in any book in IS K2. The calendar is configured using the Calendar component, and we have two options here. The first is to set up a Calendar data provider and connect the component to this provider. The second option is to use the data module intended for this purpose.

pic_6124

Picture: Calendar in an IS K2 book - Production calendar

Book Contents

Book Index

Web page

Using the WebView component, a web page can be displayed in forms. The URL of the page is entered here either explicitly or by selecting the data context of the component.

pic_7217

Picture: Example of using a web page in a form component

Note on displaying a web page in Web K2

Web K2 can display web pages that have X-Frame-Options: * or the URL of Web K2 set in their header.

To display a document, page or intranet site published on IIS at a certain address, access to it must be allowed for the URL of your Web K2 using X-Frame-Options.

Detaching forms

Some components of universal forms can be detached and worked with as separate forms. Components that can be detached in this way include, e.g., Record preview (Preview), Tabs or Floating form (Floater). The detachment from the form itself is done using the pic_859i icon. So if a component contains this icon, it can be detached. Pressing this icon detaches the component.

pic_4292

Picture: Form with a detached record preview

A detached component behaves like a standard form and can be worked with as such. It can, e.g., be moved to a second monitor. The system remembers the detachment and position of the component, i.e. when the book is closed and reopened, the component is not reattached and returned to its original state, but remains detached and in the chosen position (e.g. on the second monitor). When browsing records, the data shown in the detached panel are always updated. The component is reattached to its original place by closing it using the pic_860i icon.

Any tab within universal forms can also be detached. This is done using the right mouse button via the Detach control option. Not only tabs as form pages can be detached, but also tabs within the form, e.g. Comments.

Another detachable component can be the Floating panel (Floater). An open Floating panel can be placed anywhere on the screen. Using the pic_859i icon, however, we can additionally detach this panel, place it outside the given screen and use it like any other detached component.

Using the form designer, almost any component can be set as detachable, or this property can be disabled.

Fields history

There are two types of fields with history in K2:

  1. The first type are fields for which the history of changes is recorded (e.g. the Status field on a Sales order) - the overview of the field value history is invoked with the right mouse button and the pic_844i Field history option. The date including time is recorded. The user cannot change the date and time in the history. If the user overwrites the field again within 9 s, the changes may not be recorded.
  2. The second type are fields for which the history of field value validity is recorded (e.g. the VAT field on the Article card) - such fields have the pic_1131i icon (History of field value validity). For these fields, the validity of records stored in the history can be set. Only the date is stored, not the time. There can always be only one record for one date. Changing the date also updates the name of the user who edited the record. The data are sorted chronologically and can be deleted with the Delete key. A record can be edited or deleted only by a user who has the Change of time-valid records right. This functionality is used for fields that have legislative significance (e.g. a change of the company name, a change of the Comp. Reg. No. on the Supplier/Customer card, or a change of the VAT Rate on the Article card). They always become valid as of a decisive date, which differs from the date on which we enter it into K2.

If the user needs to display an overview of everything that has changed on a given record, all tracked changes can be displayed in a table or as a chart using the "History of record changes" function. The function is available in all modules that have a field whose history is tracked. The function is located in the System / Other ribbon.

The function loads all records of field changes (standard and versioned, for own companies, for legislations). Any records of changes of the document as such are also loaded into the table (if the "Write the change, new and confirmation actions to changes as well" option is checked in the Client parameters) - for these records the "Field" data is empty.

pic_10240

Picture: History of record changes - Table

pic_10241

Picture: History of record changes - Chart

Form information

For each universal form, its details can be displayed. Using the key combination Shift+Ctrl+Alt+F12, a window containing basic information about the form can be displayed.

pic_4656

Picture: Form information

The form contains 3 sub-sections:

Transfer of configuration objects

Within universal forms, configuration objects (e.g. templates, views or row and column formatting) can be copied. For this purpose, IS K2 provides the functions Shift+Ctrl+C for loading an object into the clipboard and Shift+Ctrl+V for pasting an object from the clipboard. In this way, objects can also be transferred between individual IS K2 installations.

The functions for transferring configuration objects are always available in the book where the given objects are stored. This is, e.g., the Template administration or Administration of views book.

A configuration object is loaded with the key combination Shift+Ctrl+C on the given object (item) or using the right mouse button and then via the Adjustments - Copy record to clipboard option. The object (item) highlighted by the blue ruler is always loaded.

pic_4684

Picture: Loading a configuration object into the clipboard

A configuration object is then pasted from the clipboard with the key combination Shift+Ctrl+V or via the Adjustments - Paste record option. In this way, configuration objects can be transferred with their complete settings.

Before the object is inserted, a form is displayed where the settings can be adjusted, and only after this form is confirmed is the configuration object saved.

pic_4685

Picture: Form before inserting a configuration object from the clipboard

Export of configuration objects to a "*.XML" file

Configuration objects can also be exported to a "*.XML" file and subsequently imported from this file. A configuration object is exported to XML using the Export/Import button and then via the Save to file option.

pic_4686

Picture: Export of a configuration object to a "*.XML" file

A dialog window is then displayed where we choose the name and location of the *.XML file.

A configuration object is imported from a "*.XML" file also using the Export/Import button and then via the New from file option. A dialog window for selecting the file is displayed. After confirmation, and before the object is saved into IS K2, a form is displayed where the settings can be adjusted, and only after this form is confirmed is the configuration object saved.

In this way, configuration objects can be transferred with their complete settings.

Service mode

Within configuration objects, the Service mode function is available to the user. This function can be turned on using the Service mode button, which is available in the books of configuration objects.

pic_4687

Picture: Service mode

After this function is launched, the user sees all configuration objects, including those of other users, and can work with them. Service mode requires the right for service interventions.