Professional Documents
Culture Documents
User Manual
Second edition
User Manual
Book Title:
Publication Number:
Publication Date:
Contents
Introduction........................................................................................................................... 13
Structure of the Manual......................................................................................................... 13
What You Need To Know..................................................................................................... 14
Books Included in the Documentation.................................................................................. 15
4.1.1. Desktop.................................................................................................................... 33
4.1.2. Sections Panel.......................................................................................................... 34
4.1.3. Navigation Panel...................................................................................................... 34
4.1.4. Action Panel............................................................................................................. 35
4.1.5. Information Panel.................................................................................................... 37
4.2. Auxiliary Window.......................................................................................................... 37
Chapter 6. Lists..................................................................................................................... 65
6.1. Viewing a List................................................................................................................ 66
Contents
6.4.3. Group....................................................................................................................... 76
6.4.4. Conditional Appearance.......................................................................................... 77
6.4.5. Visibility Interval..................................................................................................... 77
6.5. Print List......................................................................................................................... 78
Chapter 8. Reports................................................................................................................ 89
8.1. Report Setup................................................................................................................... 90
8.2. Report Variants............................................................................................................... 92
8.3. Working with Reports.................................................................................................... 92
Contents
10
Contents
11
12
Introduction
This manual (hereinafter, Manual) is intended for 1C:Enterprise application users.
It describes the basic concepts and features that are common for all 1C:Enterprise
applications.
For information about application-specific features, consult the manual delivered
with the application.
For information about development and administration of 1C:Enterprise applications, consult the following manuals: "1C:Enterprise 8.2. Developer Guide" and
"1C:Enterprise8.2. Administrator Guide".
14
Note Types
The Manual includes the following note types:
Tip an alternative method that you can use.
note additional information.
platform.
Conventions
Keys: The key names are emphasized, for example: Enter, Esc, Del.
"Cursor control keys" refers to the arrow keys. They are referred individually as Up
Arrow, Down Arrow, Right Arrow, and Left Arrow.
Keyboard shortcuts: The shortcut key combos are given as follows: Ctrl+F3.
Buttons: The button names in forms or dialog boxes, as well as bookmark names,
are given without quotation marks, for example: OK, Cancel, Delete.
Action description: You can perform all actions described in the Manual (such as
opening document journals, entering documents, generating reports, and so on) by
selecting menu items (in the main window, an active window, or a context menu).
In most cases you can perform the same actions using the command bar buttons.
When selecting a menu item, pay attention to the icon to the left of the item name.
The command bar button with the same icon performs the same action.
To select an item, usually you have to left-click it once or twice.
Introduction
15
If you have not completely mastered these concepts, it is recommended that you to
refer to the operating system documentation.
The distribution kit for a specific product may not include some of the books.
16
1C:Developer Network
1C:Developer Network at http://www.1c-dn.com helps developers to create business
solutions based on the 1C:Enterprise platform.
The 1C:Developer Network library at http://1c-dn.com/library/what_is_1c_enterprise/ has information for both novice and experienced developers, and provides
you with everything needed to create a complete business solution from scratch.
Chapter 1
About 1C:Enterprise
1C:Enterprise is a universal software system that is intended to automate accounting,
planning, and management tasks of enterprises as well as to solve personal tasks.
1C:Enterprise operation is divided into two separate processes: setup (configuration development) and the user operation itself related to accounting or processing
various calculations.
Configuration development. At the 1C:Enterprise configuration development
stage, an application is developed in compliance with the features of a specific
enterprise. This is when the structure of objects and their display are defined, roles
are created for various levels of users and also when the interface is described.
To learn more about configuration development, see "1C:Enterprise 8.2. Developer
Guide".
Besides, this is also the stage when various administrative actions can be carried
out. These actions may include user list maintenance, infobase parameters setup,
event log customization, configuration update, etc.
User operation. A user works with the infobase when the software is launched in
the 1C:Enterprise mode. This is when the software actually operates to accomplish
its goals: data input, generation of various reports, various scheduled calculations,
etc.
A user works with the data that have their structure defined in the configuration.
At that the user relies on the algorithms created during configuration development.
This Manual provides a general description of the procedures used to operate
1C:Enterprise in different modes: data display and input, obtaining reports, interface
customization, etc. The configuration description itself can explain the specifics of
operations with individual objects that depend on the configuration. In this case you
can use the help mode to learn the explanations (see the chapter "Getting Help").
18
Chapter 2
Software Installation
and Update
This chapter briefly covers 1C:Enterprise installation and update procedures and
installation of configurations.
Fig. 1. Installer
20
The installer prompts you to select installation mode: quick installation and launch
or custom installation (see fig. 1).
When you select Quick Installation and Launch (recommended), the installer will
install the 1C:Enterprise platform and configuration available on the disk to the
default directories.
When you select Custom installation or when quick installation is not available for
a specific distribution kit, the installer will prompt you to specify the component to
be installed.
21
Click Next> if you do not need any specific customization of the installation.
22
If you only need to install the thin client to connect to an infobase on a server or on
a web server, select 1C:Enterprise thin client.
23
The driver needs to be installed if a dongle will be plugged into a USB port of
this computer.
When you click Next>, the final state of the installer is displayed. Clicking Finish
completes 1C:Enterprise installation.
24
Chapter 3
Getting Started
This chapter explains how to launch the 1C:Enterprise client application.
To add an infobase to the list, click the Add button. For details on adding and
creating infobases, see "Adding an Infobase" on the page27.
To modify infobase parameters, click Change.
3.2. Login
When an infobase is launched, the system verifies user infobase access rights
authenticates the user.
26
If the infobase does not have a user list, the user will be logged in.
If the infobase has a user list, user authentication options may be connected to the
operating system settings depending on the system configuration.
If no such setting is specified, you will be prompted to enter the user name and
password.
Fig. 9. Login
Specify the user name in this dialog. To do so, select a user from the list or type the
name in the User field and enter the password (if specified).
The user is logged in after clicking OK.
To cancel software startup, click Cancel.
27
28
Select a template in the template list and click Next>. A dialog is displayed to enter
the name and select the location type for the infobase.
initially while if this attempt fails, the user will be prompted to enter login/password to access the infobase.
29
Prompt for name and password in this case login and password entry dialog
30
Chapter 4
Software Interface
This chapter describes 1C:Enterprise interface and navigation.
In 1C:Enterprise a user operates a system of windows. Two types of windows exist:
main window and auxiliary windows.
The main application window is designed to navigate the application and execute
various commands. An auxiliary window is used to work with specific infobase
objects (such as documents or list items), to generate reports or execute data processors.
By default, each 1C:Enterprise window is displayed on the taskbar and at the
window toggle when you press the Alt+Tab keys.
In Windows 7, all windows apart from an infobase list window are grouped in a
single group on the taskbar.
You can use Ctrl + Tab keyboard shortcut to switch between windows of one
session.
In 1C:Enterprise, you can work in the tabs of a main window working area instead
of separate windows. See the "Working in the Tab Mode" section on page 40 for
more details.
32
This window is arranged so that it allows finding the areas required promptly
enough and for execution of the commands needed. To resize the main window,
you can use the small area in the lower right corner (with three buried dots).
The application title is 'aggregatory' and includes the area of system commands.
The left part of the title includes the main menu, the Back/Forward buttons to navigate between software areas, and the menu to work with favorites (Favorites).
The main menu only includes general commands. These are the commands for
operations on files, windows management commands, service commands, etc.
33
Tip
Press F10 to go to the main menu of the active window when you use your keyboard.
By default the right part of the system commands area includes the commands for
operations on files, to work with references and standard features such as opening a
calendar, a calculator, etc.
To close the main window and exit the application, use File Exit command of
the main menu or click the Close button of the main window. You can navigate
the application using your keyboard. The built-in help includes the tables listing
keyboard shortcuts used for navigation.
4.1.1. Desktop
When you launch the application, the first section to be displayed is the one named
the Desktop. To switch to the desktop from other sections, use the Desktop item of
the sections panel. Press F6 to switch between desktop forms.
For example, a desktop may be arranged as follows:
34
You can customize arrangement of forms on the desktop. To open the desktop setup
dialog, use a corresponding option in the shortcut menu, which can be launched on
any panel when a desktop is open.
For details on desktop customization, see "Desktop" on the page141.
To switch to a section you need, click a reference in the section name or its picture.
When you switch to a section, its content (including nested sections) is displayed as
commands in two panels (navigation panel and action panel) and forms in the work
area.
If the list of sections does not fit the size of the window, scroll buttons will be
displayed at the edges of the list:
You can also customize the sections panel. To open the sections panel setup dialog,
use a suitable option in the shortcut menu, which can be launched on any panel of
the window. Such customization is described in detail in "Sections Panel" on the
page197.
35
The links on the navigation panel are divided into three groups based on specific
importance of various work areas:
Important links to the work areas that are mostly important for the current
section,
Normal links to the data of the current section,
See also links to additional information that may not be directly included in
the data of the current section but in some situations may be required.
The content of the list of links and how links are arranged into groups (i.e. importance of links) are specified during configuration development.
When you click links, new forms are usually opened. At that the forms are opened
directly in the main window and replace each other in the work area. To open a
form in a new window, select Open in a new window from the link context menu
or click the link while holding Shift down.
NOTE
If a command on the navigation panel does not open a new form, the previous
form in the work area is closed.
Tip
Press Alt + 2 on your keyboard to switch to the navigation panel of the current
section.
You can customize the navigation panel. To open the panel setup dialog, use a suitable option in the shortcut menu, which can be launched on any of the panels.
For details on navigation panel, see "Navigation Panel" on the page143.
36
The Create group contains commands intended to create new infobase objects, such
as documents and list items.
The Reports group contains the commands intended to open forms of reports.
The Tools group displays the commands to open service tools. If a group is empty,
it is not displayed. You can adjust the height and the width of the panel.
When you hover your mouse over a command name, a tooltip is displayed that may
provide further information about the action or a link to such information.
To execute a command of the action panel in a new window, use Open in a new
window item of the context menu or select the option while holding Shift down.
To resize the action panel, hover your mouse over the three buried dots, left-click
them and drag as required. At that, if some of the commands do not fit the available
space, these commands will be displayed in the menu that is opened when you click
the expand button. For example, as shown in the figure below:
The height of action panel is stored between sessions for every section independently.
Tip
Press Alt+3 on your keyboard to switch to the action panel of the current section.
The assortment and arrangement of commands in the groups of the action panel
can be customized in the customization form (for details, see "Action Panel" on
the page144). To open the panel setup dialog, use a suitable option in the shortcut
menu, which can be launched on any window panel.
37
Clicking the History button will open the list of the last modified objects.
For details on using history, see "History" on the page127.
When you click a hyperlink of a notification, a form will be opened for the object
linked to by this hyperlink. For example, clicking the hyperlink Kornet ZAO will
open the form of the list item Contractors Kornet ZAO. For details on notifications, see "Notifications" on the page129.
38
An auxiliary window is closed using File Close command which does not close
the entire application.
Unlimited number of auxiliary windows can be displayed by the software. You can
only have one auxiliary window opened for every object (e.g., a document or a list
item) unless otherwise specified in the configuration.
TIP
You can drag files from the operating system (for example, from the Explorer
window) to the main or auxiliary window of the application. This will result in
opening the files same as when you use File Open command.
39
The default button (the one used when Enter is pressed) is marked on a panel by
bold text and a special form. On the form command bar in an auxiliary window the
default button is Post and Close.
40
To change the interface mode to working with tabs, select Tools Settings in the
main menu. In the dialog, set the switch Form opening Mode to In tabs. The setting
will apply starting from the first session after restarting.
It should be noted that user settings in the tab mode are stored separately from user
settings in the separate windows mode.
The main window navigation history is not supported in this mode.
4.5.1. Tabs
Tabs are created for each form opened. Any number of tabs can be opened on the
window bar.
41
To switch between the tabs, use the mouse keys or the following keyboard shortcuts: Ctrl+Tab (Ctrl+Shift+Tab) and Ctrl+F6 (Ctrl+Shift+F6).
To close a form, press Esc, Ctrl+F4 or the Close form button on the tab.
Switching between the sections does not close the form opened, unlike the separate
windows mode.
Desktop tab. If there are any forms on the desktop, the Desktop tab is the first to
be displayed. The tab is automatically displayed at the start and can be closed by
pressing Esc.
List of tabs. To view a list of all open windows, press the button at the right edge
of the window bar. The desktop form will be the first in the list followed by other
open forms in alphabetic order. When a form from the list is selected, it is activated
on the tab.
Forms which lock the owner, lock only the window with the owner form. You can
still switch between the tabs with other forms and select sections and commands
from navigation and/or action panels.
Opening a form in a separate window. To open a form on the tab in a separate
window, use the Open in a separate window command in the tabs shortcut menu.
This action is only available for forms with a URL. For example, you cannot open a
form for creating an element in a new window on the tab.
Commands. Commands on the navigation and action panels open forms in the main
window working area. You can open these forms in a new tab with the shortcut
menu. A new form in a new tab opens when Open in a new tab is selected for the
commands. To open a form in a new tab, select the command while pressing the
Ctrl key. To switch to the navigation panel of the window on the tab, press Alt+ 4.
Commands applicable to forms and some other types of documents are displayed in
the main window system menu when a document is activated.
The Print, Preview and Save commands are always displayed in the main window
and are available for documents that support these commands.
Message window. The forms opened in a main window working area use one of
the main windows message panels. As you switch between the tabs, the message
window displays messages that relate to the form selected. See the section
"Messages" on page 129 for more details on working with messages.
Windows menu. The Windows menu (launched at Main menu Windows) displays
windows, including the main window, and the names of any documents opened in
the tabs. The current auxiliary window and an active tab of the main window are
flagged. The main window is flagged when no tabs are open.
42
If you are using a keyboard, you can navigate the commands with the arrow keys
(cursor movement keys) and the Home, End and Tab keys.
A command is executed with a mouse click, by pressing Enter or the space bar,
or with the Open in a new tab command in the shortcut menu. The menu closes
automatically when a command is selected.
If the functions menu is open and a section is switched, the commands are updated
for the section selected. When the functions menu opens, the last command
executed is highlighted.
To close the functions menu, press the Esc button or the cross in the upper right
corner of the Functions menu.
43
This submenu allows you to manage the visibility of the panels as well as the
content of the sections, navigation and action panels, and the desktop. You can
increase the area available for the forms and avoid having to use scrollbars. To hide
all panels, use the View Hide all command bars command in the main menu or
press Ctrl+Shift+`. Please note that the Hide all command bars command will not
work if the sections panel or navigation and action panels are hidden with the View
menu.
44
Chapter 5
Operation in Forms
In 1C:Enterprise a user operates forms. A form may contain various items that are
used to display information and for users to edit this information. These items can
include text boxes, command bars, buttons, check boxes, bookmarks, tables, various
charts, fields of text, spreadsheet and HTML documents, fields of geographical and
graphical schemas. This chapter covers general techniques used to work with forms
and form elements.
46
If provided for in the configuration, a form may also verify whether the entered data
is correct and complete. Error messages may be displayed in case of incorrect input.
Besides, when you complete entering an attribute, the system may also automatically carry out some actions (for example, filling values of other form attributes).
Saving form parameters. If a form can be resized, the forms size and its location
on the screen will be remembered when the form is closed and reopened. At the
same time the controls will also preserve the sizes they had when the form was
closed.
Appearance of a form is defined in the configuration and can be customized if
customization for the form is supported (All Actions Change form menu item).
The procedure used to customize forms is described in the "Form Setup" section on
the page 147.
Calendar Box
Calendar Box
Spreadsheet Document Field
Table box
Picture box
No
No
No
No
Spreadsheet
Document Field
Yes
Yes
Yes
No
Table box
Picture box
No
No
Yes
No
No
No
No
No
47
5.3. Fields
Fields are intended to view, enter and edit various types of data. To enter a value
into a field, locate your cursor over the field, left-click it, and enter the value
(normally you either type it from your keyboard or select it from the drop-down
list).
Normally to enter some data into a field, it is sufficient to left-click the area of the
field and enter the required data from the keyboard. You can also edit a character
string using operating system tools, e.g. the clipboard.
When you select a value for a field from the drop-down list, automatic selection of
values is activated.
48
The keyboard shortcut Ctrl+Shift+F4 opens the form of the selected element.
Fig. 33. Opening a form of the selected element from an text box
Shaded background of a text box (similar to that shown for the Code field
on fig. 33) means that you should not edit the value in the field.
If multiline mode is enabled for a text box, pressing Enter will not switch
to the next form element and will instead begin a new line in the same text box.
Enhanced entry mode can be enabled for a multiline text box. In this case you can
use tab character and standard text search. Note that switching to another control
of the form using the Tab key is disabled in this mode.
If atext box has a limited size and data is pasted from the clipboard, only the portion
of the initiate text will be taken from the clipboard that fits the available space
(or the highlighted text).
49
5.3.1.1. String
If an text box is connected to string data, it will look as follows:
Fig. 34. Sample string text box
5.3.1.2. Number
If an text box is connected to some numeric data (for example, a number or a sum),
the selection button will look as a calculator and the value in the field can be edited
using the calculator displayed when the button is clicked.
If you enter invalid data into a field and attempt to switch to another form control or
close the form, a warning will be displayed. Incorrect data entered into field. When
you click K, the software will prompt you to correct such invalid data.
5.3.1.3. Date
If a text box is intended to enter a date, it will either display dots or colons as separators depending on the settings.
You can also use the built-in calendar to enter a date:
Fig. 37. Entering a date into a text box using the calendar
If a text box contains both date and time and only the date is displayed (or only the
date and partial time), if you edit the date in the text box, the remaining portion
of the time value will remain unchanged after such editing.
50
If you enter invalid data into a field and attempt to switch to another form control or
close the form, a warning will be displayed. Incorrect data entered into field. When
you click K, the software will prompt you to correct such invalid data.
In this window you should select the required element type name. In the list of data
that opens select the required value.
Sometimes you can select the value without opening a dedicated window, in a
list that pops up when you click the selection button next to the attribute you are
editing.
This is possible for lists containing a moderate number of values. In this situation it
is impossible to edit values or add new values.
Tip
You can also press F4 to select a control while Ctrl+Shift+F4 keyboard shortcut
will open the form of the selected control.
Selecting the value. You can select the required line in a list by double clicking it.
You can also use all the features used for operations with a list in addition to simply
selecting a value: enter a new value, edit, delete, rearrange groups (for hierarchical
lists), etc.
51
You cannot enter text for attributes of undefined types (for example, of the composite type) unless you specify a specific data type.
52
or Shift+Tab, select the required value using the arrow keys and press Enter. For
example, a form of a good provides for selection of the type of goods:
Fig. 42. Type of goods radio button
5.5. Slider
You can use the Slider for quick and vivid input of numeric values. Its appearance
is similar to an ordinary scroll bar placed vertically or horizontally on a picture
under the associated text box.
Fig. 44. Value adjustment slider
The value of the associated attribute is determined by the slider's position and by
the minimum and maximum values specified during designing of the configuration.
You can move the slider using the arrow keys but it is more convenient to use the
mouse.
5.6. Hyperlink
A form may contain controls that are formatted as text but when you hover the
mouse cursor over this text, the cursor will change to a hand (see fig. 45) and the
text will be underlined. This control is named a Hyperlink. The control is intended to
switch to a specific object (e.g. to open other forms). To select a hyperlink, click it
or activate it using Tab or Shift+Tab and press Enter. Designing of a configuration
defines hyperlinks behavior when they are clicked on. Pictures located in forms can
also have hyperlinks. When you mouse-over a hyperlinked picture, the cursor will
change to the one shown on shown on fig. 45.
Fig. 45. Hyperlink in a form
5.7. Button
Buttons in a form are used to perform some actions specified by the form algorithm.
To select a button, click it or activate it using Tab or Shift+Tab and press Enter.
53
One of the buttons in a form can be predefined, and you can press it not only by
clicking but also by pressing Ctrl+Enter.
For some buttons, other keyboard shortcuts may be provided that enable the user to
select them without using the mouse and without reaching it by tabbing through the
form controls.
For some buttons a pressing display mode can be specified. These buttons are used
to enable or disable some mode.
5.8. Table
A form may contain a table that is intended to view a list containing multiple
columns. The assortment of columns depends on the purpose of the specific form.
The rows contain the data that you can view and edit in some cases. An example is
a nomenclature list in the Sales document.
In some forms, columns are located so that their values in each table row are
displayed on two or more levels. This allows to display more information in a row
simultaneously without horizontal scrolling of the table.
Adding, copying, deleting, editing, sorting, filtering and other actions on data
contained in a list are generally performed using the list command bar buttons or
using commands of the context menu opened in the list area (if such actions are
provided for during configuration development).
Methods of working with a table depend on the type of data being edited or
displayed in the form control as well as on the settings specified in the configuration
or determined by the 1C:Enterprise script. These methods generally match those
rules used to work with an text box. To begin editing a cell, press Enter or highlight
the cell and begin editing. To complete editing a row of a table, press Shift+F2.
54
Viewing a table. You can use your mouse and keyboard to view a table.
For convenience of viewing a tables content, you can resize the width of columns.
To do so, hover the cursor over the column border so that its form changes and leftclick the border. Select the required column width by moving the mouse, and then
release the mouse button. The selected column sizes are saved. Holding the Ctrl key
while resizing the column width prevents the adjacent columns from been affected.
Use this method if there are no titles for some system lists.
If the column width prevents you from seeing the entire field content, you can view
it using the following actions. Place the cursor over the required column in the row
you need and the entire content of the field will be displayed near the cursor.
You can change the column order when viewing the table. If you need to specify
an order for the columns, use form customization procedure described on the page
204.
In some tables you can select multiple rows of a list. Holding Ctrl key down, select
the required rows with your mouse or arrow keys.
Editing a tables cell. To edit a tables attribute, highlight the cell containing this
attribute and begin editing. To complete editing of a cell, press Enter.
Inserting a row. To insert a new row into a table, press Ins. The new cell of the row
automatically switches to editing mode. Pressing Enter after you specify a value for
the attribute switches the cursor to the next cell.
Note
If the cursor "jumps over" some cells when you enter a row in a table and press
Enter, this means that the configuration specifies for these table columns to be
skipped.
Deleting a row. To delete a row of a table, highlight the row using the arrow keys
or your mouse and press Del.
Warning!
Copying a row. A new row can be added to a table by copying an existing one.
To do so, select the template row using arrow keys or your mouse and press F9.
This will add a new row to the table. This row will be filled with the values copied
from the template row.
Numbers of rows. The leftmost column of a table contains the numbers of the
rows. When a new row is added to a table, it is automatically assigned the next
sequence number.
A form can have an order for the table rows defined. At that rows can be moved up
and down. To move the rows, use the Move Up and Move Down commands. When
rows are moved, their numbers are changed automatically.
55
Sorting of table rows. Rows in a table can be sorted randomly if it is provided for
in the configuration. You can sort rows by data of any columns by selecting the
column and using All Actions Sort Descending or Sort Ascending.
If you need to specify a more complex order table elements, use form customization
procedure described on the page 204.
5.9. Groups
In the software it is possible to join various form elements into groups. Groups
can include fields, columns of a list, pages, commands. Columns of a list can also
be joined into vertical or horizontal groups. In the example below you can see the
following vertical group of columns in a list on a form:
Elements in a form can be visually arranged into groups. A group can be separated
with a line or a frame. For example, as shown in the figure below:
You can move the form elements between groups. The system defines if such a
movement is possible. If the movement requires some properties of an element to
be changed, the changes will be applied automatically. For example, if you move
a group of elements to a group with the Pages view, the property View will be
changed from Standard group to Page. If this causes changes in requirements to
subordinate elements, these elements are either changed automatically or deleted.
For details on form customization, see "Form Setup" on the page 147.
56
5.9.2. Pages
A form may include pages if it is provided for in the configuration. Page tabs may
be displayed vertically (from top to bottom) or horizontally (from left to right) from
the page content.
Left-click the required page to select it. You can also switch between pages using
Ctrl+PgUp (next) or Ctrl+PgDn.
Every page may include its own form controls. For example, the Invoice document
form may include a tab named Goods that will include the list of goods and another
tab named Other containing a field for additional description of the shipment (as
shown on fig. 49).
5.10. Chart
A chart can be nested in a form or a spreadsheet document.
You can manage a chart nested in a form. Customize it using the attributes available in the form (the assortment is determined during configuration development).
You can select another type of chart if source data allows. For details on working
with a chart in a spreadsheet document, see "Working with Charts" in the Appendix
named "Spreadsheet Document Editor" available in the electronic version of the
documentation.
57
The passed points of a route are displayed with shaded background (Billing on the
figure). A route point is considered to be passed when all the tasks associated with
the point have been performed.
Active points are framed with a red dashed line. A route point is considered to be
active when it has one or more incomplete tasks associated (Bill approval on the
figure).
58
59
To scroll a document horizontally, press and hold Shift and use the mouse scroll
wheel.
For convenient scrolling of a large document, you can press the mouse wheel and
select the scrolling direction with your cursor. The scrolling speed depends on the
distance between the current cursor location and the location where the mouse
wheel was pressed (specifically designated).
Managing a spreadsheet view. Use the Table View submenu items to configure
view of various areas and components of a spreadsheet document: column and row
headers, grid, etc.
Let us briefly describe the View menu items. Every menu item works as a radio
button: when an item is selected (pressed), the corresponding area is displayed or
hidden.
Menu item
Dock the table
Show grid
Show Headers
Show Groups
Edit
Show comments
Black and white view
Page view mode
Scale
Action
Locks the top rows and left columns of a spreadsheet document so that
they will always be displayed when the document is paged through
Toggles display of the spreadsheet grid (thin lines that separate cells)
Manages display of the row and column headers in a spreadsheet document
Shows and hides groups the areas to the left of the row header or above
the column header
Locks or unlocks spreadsheet documents for changes
Toggles display of comments
Toggles display of colors specified for the spreadsheet document. When
this item is selected (checked in the menu), all the colors will be defined
by Microsoft Windows operating system settings
Toggles display of a minimum number of rows (depends on the entered
information), print area, page breaks
Performs a discrete image scale. When this item is selected, a submenu
opens that you can use to select the desired scale for the spreadsheet
document
Tip
Scale can also be changed using a mouse with a scroll wheel. Press and hold Ctrl
and rotate the mouse wheel. Turn the wheel forward to zoom in or backward to
zoom out.
60
Docking a table (headers). In the 1C:Enterprise spreadsheet editor, the top rows
and left columns of a spreadsheet document may be locked so that they are always
displayed when scrolling through the document.
To dock the top rows of a spreadsheet document, highlight the entire row and select
the Table View Dock the Table menu item. All the rows above the highlighted
one will be docked.
To lock spreadsheet columns, select the entire spreadsheet column. All the columns
to the left of the selected one will be docked.
To lock spreadsheet rows and columns simultaneously, highlight one cell of the
spreadsheet. All the rows and columns to the top and left of the highlighted cell
respectively will be locked.
To unlock the locked elements, select Dock the Table again.
Setting as read-only. To prevent a spreadsheet document from editing, use Table
View Edit menu item (this item should be unchecked).
If a cell contains the text that does not completely fit in the visible area, on mouseover the text is displayed as a tooltip. If the text is too large to fit in a tooltip, only
part of the text will be shown.
Changing Fonts
There are two ways to change the font in a document.
Select the Font menu option and then choose the font, font size and style (Bold,
Underlined, Italic, Crossed out) in the Select font dialog, then press OK.
Select the text for which you want to change the font and increase or decrease
the font size incrementally using the toolbar commands, and then select the font
style (bold, italic or underlined).
61
Inserting a Hyperlink
Formatted document text may contain hyperlinks.
Select an object (text or picture) and choose the Insert hyperlink menu command.
The formatting dialog is then displayed on the screen. Specify the hyperlink address
in the Hyperlink field and press OK.
You can format the selected object in the style normally used for hyperlinks, which
is blue underlined text.
Inserting a Picture
You can also include pictures in a formatted document.
To insert an image file, select the Insert picture command and choose the file you
want in the standard file selection dialog.
Inserting Symbols
Use the Insert symbol command to add symbols from the list into a text.
Inserting a List
Use the Bulleted list option to start a bulleted list, or the Numbered list option to
start a numbered one. Then enter the text.
To add the following element to the list, press Enter.
To end the list, press Enter twice or press Backspace to delete the last bullet or
number in the list.
Alignment Setup
The text may be aligned to the left or right margins. A justified alignment (i.e., to
both the left and right margins) may also be used.
Select the text you want to align and press Left / Right / Center / Justified.
Indented Text
You can increase or decrease indention for one or several text passages from the
edge of the field.
Select the text and press Increase indent to increase indention, or Decrease indent
to decrease it.
62
Line Spacing
To set the line spacing, select the text and choose Line spacing. In the window that
opens enter the desired spacing with the keyboard or with the keys and press OK.
Enter the required values for the form fields and select Save Parameters In the
Saving Parameters window that opens enter a name for the set of the parameters to
be saved and click Save.
To use the form parameters that were earlier saved, select Restore Parameters item.
In the window that opens select a set of parameters and click Select.
The parameters of the selected set will be used as the parameters for this form.
63
64
Chapter 6
Lists
Various lists are most frequently used in 1C:Enterprise to display information.
Fig. 54. The list of sales of goods documents and the command bar
If this is not prohibited in a specific configuration or for a specific user, a list can be
edited on the fly: new entries can be added while the existing ones can be edited or
removed.
Lists are managed in two forms: list form and item selection form.
To switch to a form containing a list of objects, you should normally select the
respective link of the navigation panel.
A list is only opened in the selection form when you enter a form attribute value by
clicking the selection button or pressing F4. Various forms for selecting items and
folders may be defined in the configuration.
Normally a selection form provides for locating the cursor in the required list item
and press Enter to select the current item as the value for the edited attribute or
to create a new object. In a list form pressing Enter for the current item opens an
editing form. You can change the software behavior for when Enter is pressed
during configuration development.
66
67
Chapter 6. Lists
Hierarchical lists include items belonging to various levels with the items of the
lower levels subordinating to those of the higher levels. There are two types of
hierarchy of lists: hierarchy of folders and items and hierarchy of items. A specific
type is defined in the configuration.
A list that has hierarchy of groups and items includes two types of items: folders
and the items themselves. A folder is a node that includes other (subordinate)
groups and items. An item is a specific object.
In the lists with hierarchy of items any item can be both a node and an individual object.
A list of departments can be quoted as an example. Every department may include
other departments but all the departments will have the same assortment of properties.
A hierarchical list has the following view modes: hierarchical list, list, tree.
The modes are switched using All Actions View Mode menu item.
The current view mode is designated by a clicked icon (this icon has a frame next
to the menu item).
List Mode. If you select List as a view mode, the form will display all the items of
the list. Folders and items are displayed together without separation.
Hierarchical List Mode. If the Hierarchical List mode is enabled for items having
a hierarchy of folders and items, only the top level items are displayed, while only
items that are subordinate to a folder are shown when you switch to this folder.
will expand the folder so that you could switch to management of items included
in the folder.
68
Expanded folder the row contains the name of the folder opened for viewing.
This row is always located in the top of the table, right under the column headers
of the list. Left-clicking the icon in the row collapses the folder.
List item the row is an item of the list.
A folder in a list can be expanded in one of the following ways:
double-clicking the line in the list that contains the name of the group;
left-clicking [+] in the line with the name of the group;
placing the cursor in the row containing the name of the desired folder and
pressing Ctrl+Down Arrow;
placing the cursor in the row containing the name of the folder and pressing +
on the NumPad;
placing the cursor in the row containing the name of the desired folder and
selecting All Actions Down one level.
To return to the previous level, you can press Ctrl+Up Arrow while in any row of
the folder or select All Actions Up one level.
Tree Mode. If you select Tree as the view mode, the items of the list will be
displayed as a tree.
You can expand and collapse a tree for convenience. The + (plus) sign in the
branch node indicates that this branch can be expanded. Left-clicking this sign will
expand the next level of the branch for viewing and the + (plus) sign will switch
to - (minus). You can collapse a branch of a tree by clicking the - (minus) sign.
If a tree is expanded, use the Up Arrow and Down Arrow keys to move to the required
folder.
To expand a folder and simultaneously switch to a lower-level folder, use the
Ctrl+Down Arrow keyboard shortcut. To move to the parent folder, use Ctrl+Up
Arrow.
To collapse a tree node and all its subordinate nodes, use Shift+Alt+Num-.
To collapse all the tree nodes, use Ctrl+Shift+Alt+Num-.
To expand a tree node and all its subordinate nodes, use Shift+Alt+Num+.
69
Chapter 6. Lists
Fig. 59. List with hierarchy of items in the tree view mode
If List view mode is selected for a hierarchical list, a new item will be created in
the root folder.
If an item form includes a Folder attribute, you can specify any other folder the
item should belong to irrespective of the mode and current folder.
When a new item is added to a list, the data is edited in a displayed editing form
(window) of this item.
The appearance of this window, its properties and behavior of the controls are
defined in the configuration.
General methods of working with a form are used to edit attributes of a list item.
Detailed information about these methods is provided in "General Techniques
of Working with Forms" on the page45.
Validity and completeness of the data can be verified when a user works in the
form that creates a list item. Error messages may be displayed in case of incorrect
input. When you are done entering the attributes, click Write and Close or another
similar button intended to save the results of editing to record the created item
70
in the list or close the form using the button intended to close the window. When
you are prompted to save changes, select Yes to record the newly created item to
the list or No not to save it.
Press Esc to cancel adding the new item to the list.
TIP
To add a new item to a list, use a command of the Create group of the action
panel.
Chapter 6. Lists
71
When a list item form is opened (or multiple forms are opened), the list form is
still available for operations in the application window: you can add new items and
folders, delete them or move items from one folder to another that is, you can use
all the operations with lists provided by the software.
If a list is read-only, the information in the opened form will not be available for
editing.
List elements may be dragged between the groups with a mouse. Please note that
there is no way to drag an element to the parent group in a hierarchical list.
If the configuration supports unique list item codes, the code of the moved item
must be different from the codes of the items that already exist in the destination
folder. If the codes match, the following message is displayed: <Field name> field
value not unique. At that, you need to correct the code of the moved item.
72
For example, if a list of companies does not have the company you need, you can
enter it right here and select it immediately to use as a document attribute. You can
also edit some attributes of an existing company (if this is available for a specific
user).
NOTE
Please note that the Enter key behavior has major differences in different forms.
In a selection form, pressing Enter results in selecting and closing the required
item (unless otherwise specified in the configuration), while in the forms of lists it
results in opening the form to view and edit it. To edit a list item in the selection
form, use commands of the All Actions menu or F2.
Information in the selection form is synchronized with that available in the list form
so all the changes that you make in one window will be reflected in the other one.
To select a list item, you should locate the cursor in the row with the desired item
and press Enter or click the Select button on the command bar (if it is provided for
in the configuration).
For the hierarchical lists in the forms of items you can specify a folder this item
belongs to (if it is provided for in the configuration).
For some attributes you can select both items and folders. You can use the standard
selection method, by holding the Shift key down to select a folder quickly.
Tip
The selection form is not actually required to select data from a list. It is sufficient to type the code or begin typing the name of the required item in the text
box. Codes are particularly convenient when such codes are frequently used and
are easy to remember (e.g. the numbers of departments) or are available in the
primary documents (e.g. a part number or barcode for some goods).
73
Chapter 6. Lists
74
This will display all the rows meeting the specified conditions in the current
window. If no such rows can be identified, the list will be empty.
To return to the previous data presentation, use the Cancel search command or
press Ctrl+Q.
What to search field is intended to enter the value of the data type contained in
the column selected in the Where to search field. Search by a substring is used for
rows (if the entered search string is shorter than the field to be searched in) while
the attributes containing a date can have search by date without accounting for
time used. Exact match is searched for the remaining values. To search non-exact
matches for reference-type attributes in the Where to Search field, select the name
of an attribute marked with (by string).
If hierarchical data is displayed in a list, you can search for data taking their hierarchy into account (Search in folders parameter): in the entire list (In all groups),
In the current group and the child groups or In the current folder without the child
groups.
If you select Current folder and subfolders, search will be carried out in the data of
the currently opened folder and its subfolders.
If you select Current folder without subfolders, search will only be carried out in the
data of the opened folder while the data of the subfolders will be ignored.
Search history is stored for the user to be able to use the previously searched for
values by selecting them from the dropdown list of the What to search field.
Chapter 6. Lists
75
You can customize data display in the list same as you customize the report variant
in the data composition system.
Click K to apply a setting.
6.4.1. Filter
To apply a filter to a list, select the value for the filter on the Filter tab of the list
customization dialog. To do so, select the Value column in the item row and click
Select or press F4.
To add a filter item, click Add or drag the required field from the Available fields
list.
Select Comparison type in the list that pops up when you click Select in the
Comparison type column.
If required, you can define an order for the criteria to be applied to the list. This is
done using Move up and Move down buttons of the command bar.
To apply a filter to a list, click OK.
For details on using filters and the comparison types, see "Filter" section on the
page116.
6.4.2. Sorting
To apply sorting to a list, select a value on the Sort tab of the customization dialog
or simply check an existing sorting item (see fig. 63).
To add a sorting item, click Add or drag a field from the Available fields list and
select Sort direction (ascending/descending).
If required, specify an order for the sorting items using Move up and Move down
buttons.
76
If there are several sorting fields in the list, data will be sorted by the first, second,
etc. fields.
To apply a sorting to a list, click OK.
For details on using sorting, see "Sorting" on the page119.
NOTE
It is impossible to sort lists by the fields that contain unlimited length strings.
6.4.3. Group
To join records in a list into a group, add a field to group by on the Group tab.
If multiple fields are selected, the records in the list will be grouped in succession
in the order specified for the fields of the group.
Click OK to apply a group setting.
Chapter 6. Lists
77
NOTE
It is impossible to group lists by the fields that contain unlimited length strings.
78
By default, the data in a list are displayed without any limitation by period and the
Date period parameter has the value Without limitations.
To define a custom date range, select Custom period in the Date range list and
specify the start and end dates in the fields From: and To: as shown on fig. 65.
It is also possible to select one of the standard periods that also support automatic
tracking of date changes. For example, if you select Today as the standard period
on the 12th of May, 2009, the next day the filter will still be valid because it will
point to the 13th of May, 2009.
If you check Use this period setting at startup, the form will be opened with the
selected visibility interval.
If the list supports multiple row selection, you can use this dialog to only print the
selected rows (Selected only check box).
If a hierarchical list is displayed in a table, in the dialog box you can specify the
mode of printing data with all the subordinate folders and items (With subordinates
check box).
Chapter 7
Management
of Various Data Types
This chapter covers features used to manage such data as documents and document
journal as well as information on specific properties of infobase objects.
80
The order for the specific attributes of the template object to be moved to a copied
object is defined when such objects are created during configuration development.
You can get information about the possibility of a based-on object creation in the
configuration description.
To add an object based on another object, select a template object in the list, use
Create Based On item of the command bar and choose the type of the created
object in the dropdown submenu.
A form to create a new object of the selected type will be displayed where the
attributes will be filled with information copied from the source object.
When a document is created, it is assigned the next sequence number. The current
date will be used as the document date.
When you mark a folder for deletion or unmark it, it applies to all the items
in the folder. The same rule applies to items of a subordinate list.
For details on deletion modes (direct deletion, marking and unmarking for deletion), see the document "1C:Enterprise8.2. Administrator guide".
81
The system administrator is able to define the general settings for connecting to an
external source.
A new connection must always be established w henever you try to access data
from an external source with no previously existing connection to it. Once such a
connection has been successfully established, the activity selected will continue.
If the connection parameters have not been specified, the program will display the
parameters setting dialog when trying to establish a connection.
You are able to store the user name and password and use them in the future with
the correct authorization. To save the parameters, select the Remember checkbox.
After you have entered the data, the program connects to an external source and
displays the following message: Connection to an external data source established.
Please repeat action. You can continue working with data from an external source
afterwards.
82
83
Posted the document has either been posted or posting is not supported for the
document.
This list will only include the names of the document types that are displayed in the
current journal.
If the appropriate command is provided for in the Create group of the action panel,
documents can be entered without opening a journal or list of documents.
In the list of document types, select the required type for the document and click
OK. Next a form for the newly created document will be displayed for you to
populate its attributes.
84
If a journal stores documents of a single type, the list of document types will not
be displayed; instead, the document attributes entry dialog box will be displayed
immediately.
85
When a document is unposted, unless otherwise defined in the configuration, all the
actions applied by the document during posting are cancelled.
An unposted document can be edited, recorded, posted (or not posted). The icon in
the leftmost column correctly reflects the current status of the document.
86
Started is a mark showing that the business process has been started;
87
Completed business process completion mark (all the tasks generated by the
Head task the task on the basis of which the business process has been
created.
The list of business processes Sale of goods may look as follows:
If a business process has not been started yet ( there are no tasks associated with
this process and the Started mark is not set), this icon is shown in black and white,
and not in color.
Completed a business process is considered to be completed when it reaches the
end point on the flowchart, with all corresponding tasks executed.
88
Chapter 8
Reports
Reports are used to obtain data from the 1C:Enterprise infobase.
In the 1C:Enterprise mode a user may generate a report with the suggested settings
or customize the settings. Experienced users may also develop their own report
variants.
The default appearance of a report form is shown below:
90
Depending on the report settings, a report form may include the following
commands in the All Actions submenu:
Settings opens a form of settings;
Select setting opens the form to select a previously saved setting;
Save setting saves the changed report settings;
Set standard settings loads the settings from the report variant;
Change variant opens the window to customize the report variant;
Select variant opens the form to select a report variant;
Save variant opens the form to save the report variant;
Change form opens the form used to customize the report form;
Open new window opens a new report form with current settings.
For details on working with settings, see "Using Quick Settings" section and
"Changing Report Variant" below.
The procedure used to work with report details is described in "Working with
Report Details" on the page99.
NOTE
Forms with hidden system commands are shown in fig. 78 and the other illustrations in the examples below.
Chapter 8. Reports
91
All available report settings are displayed on the left, and the settings edited in the
report form are shown on the right.
To manage a set of user settings, use the following buttons:
Add > adds a setting from the list on the left to the right.
Add all >> adds all settings from the list on the left to the right.
< Delete deletes the setting from the list on the right.
<< Delete all deletes all settings from the list on the right.
To restore a standard user settings list, use the All actions Set standard settings
command.
If the settings do not result in generation of the required report, you can create your
own report variant. You need to have some experience with reports to be able to
create a report variant. For details on working with report variants, see "Editing a
Report Variant" on the page105.
When a report form is closed or current report variant is changed, custom settings are
saved automatically. Custom settings are saved independently for every report variant.
It is possible to select some settings that will be edited most frequently (for example,
filter by goods in the Sales Trends report or filter by company in the accounting
report). These settings will be edited directly in the report form.
If you set filter in the report settings form, a filter element will be added to the
settings list and the settings displayed in the report form.
To use a selected setting in a report, define the value for the setting in the respective
column.
Based on the type of the setting, you should either left-click the column containing
its value or use one of the following actions:
Select a value from the list that pops up when you click Select,
Specify a value in the new window that is displayed when you click Select in
the column of setting value.
92
93
Chapter 8. Reports
Now let us click Select variant and select Sales of Goods by Customers report
variant in the new window.
94
Note that the following settings have been selected for this report variant: Period
Current Year and grouping by the fields Good and Customer.
Suppose these are the settings we currently need and generate the report by clicking
Generate (see fig. 83).
Note
8.3.2. Settings
Suppose it is not sufficient to change the visible parameters (Period and Group).
To view the parameters that can be customized for the report variant, click Setup.
A list of settings will open in a new window.
Chapter 8. Reports
95
8.3.2.1. Filter
To apply a filter, define a value for the filter in the settings form. To do so, select
the Value column in the item row and click Select or press F4.
1. In the window that opens click Add New Item or drag a field from the list of
Available Fields.
2. Select Comparison Type from the list that pops up when you click Select.
3. Define a filter value by selecting it from the list that opens when you click
Select or enter it to the column.
4. If required, define the order for the filter items with Move up and Move down
buttons.
5. Click K.
For details on using filters and the comparison types, see "Filter" section on the
page116.
8.3.2.2. Sorting
To define an order of records in the report results, in the setup form select Value in
the Sorting row and click Select or press F4.
96
1. In the window that opens click Add New Item and select the field or drag a field
from the list of Available Fields.
2. Select Sort direction (Ascending/Descending).
3. If required, define the order for the sorting items with Move up and Move down
buttons.
4. Click K.
If multiple sorting fields exist, the data in a report will be sorted initially by the first
field followed by the second field, etc.
For details on working with sorting, see "Sorting" on the page119.
In the editing form click OK. The resulting report will look as shown below:
Chapter 8. Reports
97
4. On the Formatted fields tab from the list of available fields select those fields for
appearance to be applied to if the condition is satisfied.
5. If required, define the order for the used appearance elements with Move up and
Move down buttons.
The order of appearance elements defines the sequence for appearance to be
applied to report elements. If two different appearances apply to a report area,
the one that is the last in the list of conditional appearance elements is applied.
6. Click K.
98
In the variant customization dialog click Finish editing. The report will change to
the view shown below:
8.3.2.4. Grouping
To define a grouping of report results, in the setup form select Value in the Grouping
row and click selection button or press F4.
Chapter 8. Reports
99
1. Click Add.
2. In the window that opens select Grouping field and define the type for the
grouping:
No hierarchy the group will only include non-hierarchical records (items);
Hierarchy the group will include both hierarchical and non-hierarchical
records (items and folders);
Hierarchy only the group will only display hierarchical records (folders).
3. Click K.
4. If required, define the order for the groupings with Move up and Move down
buttons.
5. Click K in the grouping editing window.
For details on working with grouping, see "Grouped Fields" on the page112.
100
Drill down view detailed information on the content of the field. All the details are
displayed in a new window.
For example, let us find out when kettles Bosch15 were sold. To do so, in the
already generated Sales Trends we will select the cell Bosch15 and open Drill down.
In the field selection window that opens we should select Period.
101
Chapter 8. Reports
The command Open ""will open the viewing form for the data displayed in the
cell. For example, a window containing a form of the list item.
Filter enables filtering of the current report structure item by the value of the
selected field or defining a filter by the value of another field (use Advanced and
specify a filter condition). For example, let us filter out the rows of the report with
Amount (Turnover) over 50,000:
102
Order applies ordering of the current report item content by the value of the
current field. Clicking Advanced enables you to specify an arbitrary field. For
example, the table of the report may be ordered by the Good field.
Group selects a field and defines a type of grouping in the current item of the
report structure. For example, from the Balance of Goods report we need to find
out what shoes are available in which warehouse. To do so, let us select Warehouse
grouping field.
Chapter 8. Reports
103
Let us filter by the value Good in Group Shoes. The result of the report is shown
below:
and customize appearance for the current report item. For example, we should
format the fields where QuantityBalance<10 items.
104
Chapter 9
The process of report variant customization is the process of changing report structure and selecting required parameters, creating custom fields, specifying fields to
group by, to filter by and to sort by for every report item.
106
At any moment you can return an edited report customization variant to the initial
view using All Actions Standard settings.
All Actions Save settings is intended to save report settings to a file.
You can load settings from a file using All Actions Load settings. Settings are
loaded in compliance with the access rights of the current user.
The Change Form command of the All Actions menu is designed to edit the form of
report variant customization itself. For details on form customization, see "Form
Setup" on the page 147.
107
Grouping displays data as a list. To add a grouping to a report, select Add New
Grouping or press Ins. In the window that opens select a field to group by and the
If no field to group by is selected, the report will have detailed records added.
These are the records obtained from the database ordered same as they are in the
database.
In the simplest case when you add a grouping by the field Good the report will look
as shown below.
You can also select structure elements that should be joined into groups and use
All Actions Group.
108
Chart displays the data as a chart. To add a chart into the structure, select Add
New chart. You can use points and series depending on the type of chart. One or
several resources may be specified as values (of the selected fields) according to
the application settings.
Nested report if a nested report was created for the report at the configuration
Tip
The commands that are most frequently used for operations on the report structure
can also be opened from the context menu of the Structures field.
To remove an item from a structure, select it in the structure field and click Delete
or press Del.
109
The following can be customized for a Table and a Chart: Selected fields,
Note
If a nested report is available in the report settings, note that settings for the reports
are separated.
The following nested fields may be used for each number resource in the report:
% in a row or series: contains the ratio of the resource value in the current cell to
the row total resource value in the table output. In the non-table output it shows
100 %.
% in a column or point: contains the ratio of the resource value in the current cell
to the row total resource value in the table output. In the non-table output the
field value is equal to the field "Overall %".
110
% in a group by row or series: contains the ratio of the resource value in the
current cell to the current group total resource value in the table output. In the
non-table output it shows 100 %.
% in a group by column or point: contains the ratio of the resource value in the
current cell to the total resource value for the current group by column, which is
equal to the field "% in a group" in the table output. In the non-table output the
field value is equal to the field "% in a group".
% in a hierarchy group by row or series: contains the ratio between the resource
value in the current cell to the total resource value at the current hierarchy level
in the current group by row in the table output. In the non-table output it shows
100 %.
% in a hierarchy group by column or point: contains the ratio between the
resource value in the current cell to the total resource value at the current hierarchy level in the current group by column, which is equal to the field "% in a
hierarchy group" in the table output. In the non-table output the field value is
equal to the field "% in a hierarchy group".
When these fields are displayed in a chart, the final field headers contain no references to rows or columns. For example, the field % in a string or series in the output
chart will have a % in a series title.
When these fields are displayed in a non-chart object, the final field headers will
not contain any references to series or points. For example, the field % in a string or
series in the output table will have a % in a series title.
9.2.2.2. Parameters
If a report has some customizable parameters, they will be displayed in the list of
available fields in the Parameters folder and will be available to include them into
a report and to exclude them as well as to select a value (if multiple values were
assigned to a parameter) on the Parameters tab. For example if a period is used for
a report to be generated, the value for the report should be selected by the user.
Parameters can be used as fields in various report settings. When a the report is run,
parameter values are substituted to the settings for the fields that use them.
111
A selection field may have multiple values. The first value to satisfy the filter
condition will be selected to record to a report. Specify a title and expression for the
filter, value and short filter presentation if required.
Filter conditions are defined in a new window and are added using the Add button.
Next select a field from the list of available fields, Comparison type and define a
Value for comparison.
To define an order of the filter items, use the arrows on the command bar or drag an
item to the required row with your mouse.
112
The names of the fields containing spaces and/or special characters, should be
enclosed in square brackets [].
Expression for total records should be written using statistical functions, e.g.:
Amount (Field) * 2.
For details on data composition language, see Appendix 1. Data Composition
System Expressions Language (available in electronic version of the documentation).
113
Let us illustrate this with an example. Suppose the Mutual Settlements report includes
the data on mutual settlements with stores named "Butcher Shop" and "Groceries"
for the period from the 1st of January, 2009 to the 31st of December, 2009.
114
At that you now need to display data by the quarters. To do so, we will need to
specify an Addition for the Period, month on the Grouping tab.
9.2.2.5. Fields
The Fields tab is intended to select the fields to be displayed in the report. If no
fields are selected, an empty item is included into the report. Using menu or context
menu, you can add a new field, a field group or an auto field. A field group can be
named and you can also manage their location in the current report item.
115
In the process the system only takes into account the groupings of the types No
or Hierarchy.
hierarchy
For a chart grouping the resources are not selected. Instead, all the parent items
of the settings structure are passed and the grouping fields are selected among
the selected fields of these items if Only hierarchy grouping has been defined for
this grouping.
For groupings of the type Detailed records (grouping, table grouping,
chart grouping) all the used fields are selected from the main selected fields
of settings the grouping belongs to except for the fields that participated in the
above grouping and attributes of these fields. It the grouping is of the Hierarchy
only type, its fields and attributes will be used by the system when a set of selection fields is generated. Resources are not selected for a chart grouping either.
116
In a chart, a selection autofield is replaced with all the resources specified for
the chart. Depending on the application settings, the selection autofield may be
replaced with the resource that occurred first during the abovementioned iteration.
For a table a selection auto field is converted to a set of resources used by the
parent items.
NOTE
If a field is already included in the data of the selected field, it will not be added
repeatedly.
At that the fields are added into a set as follows: first the fields of the groupings
own fields (for groupings), next fields of the global settings (for Detailed records
groupings) while the last to be added are the resources and fields of the parent
items.
The selected fields can be joined into groups that are added using Group command
(for the command to be available, all the highlighted rows of the table should share
the parent). Ungroup command is used to delete the fields while nested fields are
preserved. For a group you can define a location within the current item of the
report structure. To do so, select the required location type from the list in the
Location column.
9.2.2.7. Filter
On the Filter tab, you can select the fields to filter records of the report result. Using
the menu, the context menu or by double-clicking any of the selected fields among
the available fields you can add an item or a folder of items. Here you can select a
filter from those predefined by the developer or add another filter.
When you use All Actions Detailed, this tab will display the filter conditions along
with their presentations.
117
In this tab's columns, you can specify values for the records of the report result to
be filtered by.
Presentation. Using Define presentation command of the context menu, you can
define a presentation for the created item or folder of a filter. This presentation
will display the information on the filter item in a list if the Details button on the
command bar is not clicked. If no presentation was defined for a filter, its detailed
presentation will be the same as non-detailed presentation on the Filter tab.
Application. For a grouping, grouping in a table and grouping in a chart, there is
another available property for the filter items Application.
If Application has the value Hierarchy, the filter condition is checked after hierarchy
is composed. Hierarchy only as a value demonstrates that the filter condition is only
checked for the hierarchical records. Filtered records still influence the resulting
values of the resources of the superior hierarchical records. The nested groups of
records that are filtered by these properties, will also be included into the report.
Comparison types
This section describes the types of comparison that are available for filters.
Equal to the result will include the records with the value of the field defined as
the left value equal to the right value.
Not Equal the result will include the records with the value of the field defined as
the left value not equal to the right value.
Less Than the result will include the records with the value of the field defined as
the left value less than the right value.
Less than or Equal the result will include the records with the value of the field
defined as the left value less or equal to the right value.
118
Greater Than the result will include the records with the value of the field defined
119
9.2.2.8. Sorting
On the Sorting tab, you can select the fields to sort report results by. You can add
an order element or an auto order element. When a report is executed, the system
transforms (expands) an order auto item into the fields it will sort by.
For an order auto item the All Actions menu includes Expand command that is
intended to view the set of fields that this field will be transformed into when the
report is executed. When an auto item (of order) is expanded, resource fields will be
unconditionally added from the global order while those fields that are not resource
fields will be added to the order that are the attributes of the grouping field and
the grouping field will be added itself (all the fields will be added for the detailed
records). The grouping fields that were not specified in the global order, will be
located in the end of the order.
120
If two different appearances apply to an area, the one that is the last in the list of
conditional appearance elements is applied.
The Format column defines a designation for the conditional appearance of an area
that will be used to display this appearance in the list of conditional appearances
provided that the button near the Details command of the All Actions menu is not
clicked.
The conditional appearance parameters are specified in a new window. You can
select the color of the background, text, cell borders, the text font in the cell, etc.
Background color specifies the color of the background.
Text color defines the text color for text data.
Color in chart defines the color of data series in a chart.
Border color the color to be applied to the border of a data item.
Border style the color to be applied to the border of items. It is possible to
define the type for every border independently.
Font the font for the text data to be displayed.
Indent defines an indent for a specific number of characters.
Autoindent if this option is set to more than 0, indentation will be defined as a
product of the grouping level and property value when groupings are displayed.
Horizontal Align this property selects horizontal alignment of text.
Vertical Align this property selects vertical alignment of text.
Placement specifies how text should be displayed if it does not fit into a cell.
Text orientation a number that defines text tilt angle in cells of groupings and
tables.
Format defines data display format.
Mark negatives if this property is set to Yes, any negative values will be highlighted in color in the report output.
Mark incomplete if this property is set to Yes, any incomplete values will
display differently in the report output.
121
Minimum width a number that defines the minimum number of characters for
Maximum width a number that defines the maximum number of characters for
Minimum height a number that defines the minimum number of characters for
Maximum height a number that defines the maximum number of characters for
When generating a report, the system displays an error message if a nested report
has a top-level field for which it is impossible to define a value.
NOTE 2
When you place a Pie type chart in report structure, note that if the points are set
and the series are not, the system automatically uses points as series. For Line chart
type, if the series are set and the points are not, series are used as points.
122
In the custom item setup form you can demonstrate that this is a custom element
and also specify a presentation to be used for the item and editing mode (normal,
quick access, unavailable), see fig. 129.
In the settings structure list, the Custom Settings Item Properties command allows
to customize custom settings for the current structure item.
Every structure item has its own assortment of customizable items.
Object
Report
Grouping/table grouping/chart grouping
Chart
Table
Nested schema
Customizable Items
Selected fields, order, filter, conditional appearance,
assortment of groupings
Grouping, selected fields,
filter, order, conditional appearance, assortment of
nested groupings
Chart, selected fields, conditional appearance,
assortment of series groupings, assortment of points
groupings
Table, selected fields, conditional appearance, assortment of rows groupings, assortment of columns
groupings
Nested report, selected fields, filter, order, conditional
appearance, assortment of groupings
Depending on where you use Custom Settings Item Properties, the command allows
you to change various settings:
Filter list the settings for the current item/folders of the filter;
List of output parameters and data parameters settings for the current parameter;
Conditional appearance list settings for the current item of conditional appearance.
123
Besides, the Preview Custom Settings command available on the report structure
command bar (see the figure below), makes it possible to open a modal form that
will display the settings along with their default values.
124
Chapter 10
Service Features
1C:Enterprise provides various service features for navigation within the application: links (references), history, favorites.
It is also possible to use built-in calculator, calendar, file comparison feature, etc.
This chapter covers the above mentioned features.
10.1. Links
It is possible to obtain a text link to any software interface section, report, or data
processor as well as to infobase objects (documents, items of lists, etc.).
The obtained link can be stored and used later for navigation. As the links are text
fragments, it is possible to send them to other users by e-mail or using other tools.
To obtain a link, use Tools Get reference item of the main menu or click Get
reference of the system commands area.
For example, let us obtain a link to the list Sales of the Sales section:
If you want the resulting link to be used in the web browser address bar, click the
External button.
To copy a link to the clipboard, click Copy to clipboard.
To add a link to a favorites list, press Add to favorites.
126
To navigate a link, use the Tools Go to link command, specify the link text saved
earlier in the dialog opened and press the Go to button or Enter. To distinguish
1C:Enterprise links from other types of links (http or file), an e1c schema ID is
used. If an external 1C:Enterprise link whose beginning does not correspond to that
of an infobase navigation link is transferred to the link navigation dialog, an attempt
to navigate using its inner part (which is specified after the e1c ID) will be made
when you are navigating the link. If the navigation attempt fails, the external link
transferred will be navigated instead.
10.2. Favorites
In 1C:Enterprise, Favorites is a list of links selected by the user for quick access to
specific configuration sections, infobase object forms as well as forms of reports
and data processors.
To add a link to an object to your list of favorites:
From the system commands area select Favorites Add to Favorites;
Use Tools Add to Favorites item of the main menu;
When you obtain a link, click the Add to Favorites button. For details on using
links, see "Links" above.
When a link is added to favorites, an appropriate notification will be displayed.
To open your list of favorites, click Favorites in the system commands area.
To navigate to a link from the list of favorites, click the Favorites button and select
the required link from the list by left-clicking it.
127
To navigate to a link, highlight it with your mouse or highlight a row and click the
Go button.
To arrange the favorites in the list, use the Move current item up and Move current
item down buttons.
To remove the current favorite item, click the Delete Current Item button.
10.3. History
1C:Enterprise automatically saves the history of a user's operations for subsequent
quick access to recently created or edited infobase objects (documents, items of
lists, etc.).
When objects are added or edited interactively, these events are displayed as notifications and recorded to history (for details on alerts, see "Notifications" in this
chapter).
The user history is stored in the infobase. The history contains only one record
for each infobase object (a record about the subsequent modification replaces the
record about the previous modification of this object). A maximum of 200 records
can be stored per a specific user. If the number of stored items reaches 200, the
oldest history records will be replaced with the new ones.
Viewing history. Click the History button in the bottom left corner of the main
application window. A list of all events will open (seefig. 134). Left-clicking any
event will open the form of the object the event is related to.
Search for a history element. To search for an event in the list, right-click
anywhere in the list and select Find in the context menu. Search for an event is
similar to search in a list. The list of events also supports quick search. Search in
lists is described on the page 96.
Updating history list. An opened list of events is only read by the software at the
moment of opening the window and is not updated in the future. To refresh the
history window, close this window and reopen it.
128
If a user does not have a right to view a specific object, such an object will not be
included in the list.
The Standard folder includes standard features (list of active users, event log, etc.).
For details on standard features, see the document "1C:Enterprise 8.2. Administrator Guide".
To switch to an object, double-click this object in the tree of objects or highlight it
in the tree and click the Open button.
129
10.5. Notifications
Notifications are intended to alert the user about specific actions executed by the
application. Notifications can be created by the software or by an application solution developer.
A notification is displayed in a window that is attached to the system tray of the
operating system. If a notification is associated with some link, its description will
also serve as a hyperlink. Clicking the hyperlink opens the object it is linked to.
The description will also serve as a hyperlink if this notification is generated automatically (when an object is recorded/edited interactively).
A notification window is hidden after a certain delay. But if you hover your mouse
over the window, it will stay displayed until you close the window or reposition
your cursor away.
If multiple different notifications are generated in the process of application operation, the notification text in brackets will include the number of modified objects
and the name of the list will be used for details.
When the list of notifications is displayed in the information panel, they are aligned
right. The latest notification will be displayed near the right border of the panel.
If more than five notifications exist, only the last five notifications are displayed.
NOTE
The list of notifications is cleared when you close the main application window.
10.6. Messages
In the process of operation some situations may occur when a requested action
cannot be executed. For example, a required field is found to be empty during
posting of a document. In these situations it may be possible to notify the user
in a specific message window. The message window will include a list of reasons
for the occurred error.
130
Double-clicking in a row of the message list will open a special window with the
cursor on the field which was not filled correctly. If the message is not related to
any specific field, a standard warning will be displayed. If a message cannot be
displayed in the required form table cell, the message will be positioned within the
table itself.
To open and close the message window when you work with a form, press
Ctrl+Shift+Z.
131
The message automatically extinguishes after some time. The message reappears
when you hover your mouse over it. Depending on the configuration, it may be
possible to abort the process by pressing Ctrl+Break.
10.8. Calculator
To execute simple current calculations, 1C:Enterprise has a built-in calculator.
It can be opened in any program mode (except when the program is awaiting a
response to a request) by selecting Tools Calculator.
The calculator can be dragged to any part of the screen and its window can be
resized. All the controls located in the calculator form change their size in proportion to the window size.
The calculator can be used to perform any arithmetic operations, calculate percentages and reciprocal values, save numbers, and add or subtract saved values.
When inputting values, you can edit the inputted value and delete any digits that
were input by mistake.
You can use both your mouse and your keyboard to work with the calculator.
In terms of functions, this numeric calculator resembles a real calculator.
The calculator can save the last 15 calculations. To view the result of any calculation, click the Select from list button located to the right of the text box and select
the required calculation.
The calculator has 10 memory registers to save values and use them in calculations.
To operate the first register, use the buttons MR, M+, M and MC.
Click the MS button to save calculation results in the first register.
132
The field M = displays the value of the clipboard if the clipboard contains a
number.
Click the MR button to read a saved value from the first register to the text box.
Click the M+ button for the value saved in the first register to be added to calculation
results; click the M- button for the value saved in the first register to be subtracted
from calculation results. Use the MC button to clear the first register content.
To save a number to another register, get the number to the display (by typing it or
as a result of calculation). Click Select near the MS button.
A list of registers is displayed:
The calculator works in various modes. You can select a mode by clicking the
Menu button of the calculator (see fig. 138) and selecting the required item from the
context menu. Formula calculator and Microcalculator items available in the menu
are intended to toggle the respective calculator modes.
The Settings item of the context menu is intended to define precision of the
calculator. A setup dialog is displayed where the desired number of digits after the
decimal point should be specified for presentation of results.
133
In the Microcalculator mode, all the actions are performed using the keyboard. The
calculator has a simplified form:
Fig. 142. Calculator in the microcalculator mode
Use the keyboard keys to input numbers. Use the C key to clear the text box.
Formula calculator. In this mode all the actions are entered into the calculator
string sequentially. Brackets can be used to organize a specific sequence of actions
and enter complex formulas.
The calculator can be opened to select an attribute value of the Number type in the
text box by clicking the selection button or pressing F4. With the calculator you can
enter more digits after the decimal point than defined for the attribute. Clicking OK
rounding off is applied in compliance with established rules. To adjust precision of
the calculator, click the Menu button and select Settings. A setup dialog is displayed
where the desired number of digits after the decimal point should be specified for
presentation of results.
134
The results in the clipboard can be used in any forms, for example, the values can
be inserted using Shift+Ins or the corresponding menu items.
A numeric value of the current value stored in the clipboard can be viewed in the
formula calculator mode in the M= field.
If you want to copy a number from the 1C:Enterprise environment to the Windows
calculator or to a Microsoft Office Excel cell, use M, M+, M- commands to save the
number instead of the commands that copy the value to the clipboard.
Note that for the formula calculator and the immediate window a number is saved
in compliance with regional infobase settings but without group separators, while
decimal separators are replaced by decimal points.
For other clipboard targets, a number is saved with regional operating system
settings and without group separators.
10.9. Calendar
1C:Enterprise features a built-in calendar. You can open it in any mode of the
application by selecting the Tools Calendar menu item. The calendar is also used
to enter dates.
The window displays the current month's calendar. The month name and the year
appear in the window title bar. Below is the weekdays bar. The current date is highlighted with a red border. You can select a different date with your mouse, a grey
border will appear around the selected date, and this date will be displayed in the
bottom line of the window.
To navigate between months and to change the year, use the buttons available
around the window title.
To quickly select the current date, month beginning or end date, or year beginning
or end date, we recommend using the context menu that is opened with the button,
located in the bottom line to the right of the selected date name.
135
If you click the row containing the name of the month and the year, a list of months
available for selection will be displayed. Move the mouse pointer up or down to
scroll through the list to the desired value. Select the required row of the list to
change the month.
You can drag the calendar to any place on the screen and resize its window.
At that when the window size is increased, calendars for multiple months are
displayed.
Calendars are added when the size of the window is increased in any direction.
When the size is decreased, additional calendars are hidden.
The calendar can also be located as a form control linked to a specific attribute
containing a date. In addition, for the dates located in a form as an text box, the
value can be selected using the calendar that is opened by clicking the selection
button or pressing F4.
The methods for working with these calendars are similar to those described above.
136
In the Compare and With fields, specify the names of the files to be compared. You
can enter file names manually, select them from the dropdown list or use the Browse
button to locate the files in the standard file opening dialog. You can specify any
type of the source file in the File Type field of the dialog.
Use the As field to specify how the files are to be compared. Text and spreadsheet
documents can be compared. Binary comparison is possible. In this case, the
comparison result will tell you whether the files are different or not.
If files of different types are specified in the fields Compare and C, upon comparison the selected files will be cast to the type specified in the As field. And then the
actual comparison will be performed, and comparison results will be displayed.
If Match Line Splitters is checked, the symbols used as line splitters will be taken
into account during comparison.
Click OK to initiate the comparison process.
If you select Text Document as a comparison type, the selected files will be interpreted as text documents for comparison, although the Compare and To fields can
contain non-text files (according to file extensions). If one or both specified files
cannot be interpreted as text files, a binary comparison will be performed.
137
These buttons are large arrows pointing up and down. The arrows are intended to
navigate to the beginning of the previous or next modified text. They can be used to
quickly move to the next or previous differing text.
138
This window consists of two sections (left and right). The source documents are
placed in both sections of this window. Use command bar buttons to manage
display and customize colors.
The Next Difference and Previous Difference buttons take you to the next or
previous difference.
The differences are highlighted using background and text colors. The meanings of
the colors are listed in the legend.
Use the Comparison View Settings button to open the differences display settings
dialog.
139
You can save values of the settings as schemas. To do so, click Save As and enter
the name for the settings in the opened dialog. Then click OK.
If you have multiple settings schemas, you can select the required one in the
Schema field of the settings dialog.
To restore the standard color settings, click Default.
Differences in cells, rows, properties of rows and columns are shown as background
color and text color.
Differences in cell combinations are shown with a surrounding frame of the same
color as the text.
Differences in groupings and named areas are shown with text color.
Differences in figures are shown by a surrounding frame of text color, except for
rectangles, lines and ovals, which are drawn in text color.
Modified, deleted and added rows are displayed in different colors in the window
(in both files).
For selected cells you can get a detailed report of invisible differences (text, font,
format, merger, names, etc.). To do so, click the Details button.
An error message may also contain the hyperlink Show technical support information
and appear as follows:
140
50 errors during the same session, along with nested errors (the time of the error
and other error details are displayed).
Should you experience 1C:Enterprise system failure, the system will display a
dialog with information on the dump recording process. This dialog closes automatically after recording is completed.
Chapter 11
Software Configuration
This chapter covers 1C:Enterprise configuration in details. It is possible to configure
the application interface both globally and for every form independently (provided
that it is supported by the configuration), to define system options, manage display
of text and spreadsheet documents and windows location.
11.1. Interface
1C:Enterprise supports customization of the application interface, including:
Desktop
Sections panel
Navigation panel (both for the main and the auxiliary windows)
Action panel
Auxiliary window toolbar
You can select commands from the lists of available commands and manage their
locations.
Various setup dialogs are opened from the 1C:Enterprise main menu (Tools
Interface Settings item of the main menu).
It is also possible to open the setup window for every panel from this panel's context
menu.
11.1.1. Desktop
It is possible to define the assortment of forms to be displayed on the desktop.
At that you can only manage the forms that are located on the desktop.
To open the desktop setup dialog, select Desktop Customization from the context
menu of the sections panel on the desktop. You can also open the dialog using the
main menu: Tools Interface setup Desktop.
142
Customization is carried out in a dialog consisting of three lists: Available forms and
groups of columns named Left column, Right column. The list of Available forms
displays the forms that are used neither in the left, nor in the right column.
You can drag forms from one list to another using the Add >, Add all >> buttons and
move them between columns using the > and < buttons. To remove a form from
a column (and move it back to the list of available forms), highlight it in the list
and click Remove < or double-click the name of the form in the list. You can also
rearrange forms in the columns using Up Down buttons. The forms are displayed
on the desktop in the same order that is specified in the settings.
During the customization process, you can cancel the changes made in this session
or earlier and recover the configuration settings. To do so, select the Set default
settings command from the All Actions menu. This command does not change the
command interface immediately. After executing this command you can continue
customization. Clicking OK applies the settings.
143
The sequence of sections on the panel is managed using the buttons on the command
bar of the list of selected items (see fig. 158).
You can configure presentation for every section. To do so, highlight an item and
select the required presentation mode in the list Show: Picture, Text, Picture and
Text.
To apply the selected settings and close the form, click OK. This saves the settings
in the infobase.
NOTE
If all the sections are removed from the sections panel, it is automatically hidden
and the main application window switches to the Desktop.
During the customization process, you can cancel the changes made in this session
or earlier and recover the configuration settings. To do so, select All Actions Set
default settings. This command does not change the command interface immediately. After executing this command you can continue customization.
144
To add a command to the panel, highlight it in the list of available commands and
click Add >.
To add all the available commands to the panel, click Add all >>. You can also
move commands between lists by double-clicking a section in the list.
To remove commands from the panel, use Remove and Remove all buttons.
The sequence of commands is managed using the arrows on the command bar of
the list of selected commands (see fig. 159).
To add a command from the list of available commands to the group of selected
commands, highlight it and click Add to group.
To move a command to a required group in the list of selected commands, highlight
the command and click Move to group or drag the command to the required group
with your mouse. If a group or a subsection is highlighted at this moment, the
operation is applied to all the commands in the group/subsection.
The setup dialogs support dragging of commands between lists and multiple selection.
NOTE
The exception is the group See also that may contain any commands.
To apply the selected settings and close the form, click OK.
Note that the order can only be customized for commands.
settings.
145
New group.
Action panel is customized in the same manner as the navigation panel (see above).
146
Toolbars Tab
This tab is intended to select and edit toolbars.
Toolbars that are currently displayed on the screen are checked in the toolbar
list. Checking the row with a toolbar name will display the selected toolbar while
unchecking it will hide the toolbar.
When this dialog is opened for the first time, a toolbar list will contain only the
system toolbars and those created during configuration development.
You can restore edited system toolbars to their original state. To do so, highlight
the name of a system panel in the list and click Reset.
Commands Tab
You can change the toolbar contents and button location to organize the toolbars
more conveniently. Editing is performed using the Commands tab of the Toolbars
setup dialog.
147
All of the buttons that can be located on toolbars are divided into several categories
for convenience. The list of categories is located in the upper left part of the tab.
If you select a category name from the list, a set of buttons that are included in this
category is displayed in the right part of the tab. You cannot modify this set.
Click a button to learn its purpose. A button description will be displayed in the
bottom of the tab.
All the actions involved in editing a toolbar are carried out by moving toolbar items
with your mouse.
Drag a button to a toolbar to add it to this toolbar. Buttons can be added by dragging them within a toolbar and between toolbars.
To remove a button from a toolbar, move it anywhere in the program window.
148
These elements have properties that affect their display on the form. Hierarchy of
the elements defines their layout on the form.
A user can change the assortment of elements, their positions with respect to each
other, their grouping and properties.
Relocation of elements. To relocate elements in hierarchy, use the Up and Down
buttons or drag an item to the required location with your mouse.
Element properties. For every element properties are configured in the form
element properties. Description of every property is displayed in the bottom of the
panel when this property is highlighted.
Visibility Setup. To change visibility of elements on a form (show or hide them),
use check boxes near the elements. Note that it is impossible to toggle visibility
of the root Form element and form setup button. Also it is impossible to toggle
visibility of the command bar that includes the Change Form button.
Creating groups. To add a group to a form, select the Form root element in the
structure tree and click Add group. In the group properties select the required type
(Standard group, Pages, Command bar).
Adding fields. Some fields may have Add fields button available. This means that
the data displayed in the field/column have attributes that can also be displayed in
the field/column. To add the field attributes to the form, click Add fields and select
the required attributes in the window that opens.
Applying settings. The settings are applied either when the editor is closed by
clicking OK or using the Apply command. At this moment the settings are stored in
the infobase so they can be used later when the form is opened.
During the customization process, you can cancel the changes made in this session
or earlier and recover the form settings defined in the configuration. To do so, select
149
the Set standard settings command from the All Actions menu. This command does
not cause an immediate change of the form. After executing this command you can
continue customization. The settings are only applied when you click OK or Apply.
Suppose that we need to display the part number and the supplier of goods in the
table named Goods. To do so, we will use All Actions Change Form in the form of
the document.
In the setup form we will expand the group named Tabular sections group Goods,
select Goods field and click Add fields as shown below.
150
In the window that opens select the fields Part Number and Supplier as shown
below.
And click OK. In the form setup dialog we will also click OK or Apply. The Sales
document will change its view as follows:
Suppose we need to display the region of the supplier of goods. To do so, we will
select Supplier field in the form settings and click Add fields. In the window that
opens we will select the Region field and click OK.
The table structure will change as follows:
151
Now let us group the columns of the table. To do so, we will create two groups
in the Goods table (by clicking Add group). One of the groups will display the
information about the goods: fields Goods and Part Number. The other group will
display the information on the supplier: Supplier and Region fields. Now let us
define an order for display of fields in the columns using the arrows on the setup
form panel.
The structure of the document table will change as follows:
When the quantity of goods is changed in the Quantity column, the row sum and the
total document sum are recalculated automatically. This means that the Recalculate
button is not needed. Let us hide the Recalculate button in the form settings by
152
unchecking visibility near the Recalculate button as shown on the fig. 172 and
click OK.
Usually the Sales documents only list indivisible items. This means that we do not
need precision of two decimal digits in the Quantity (Total) column.
Hence, in the form settings we will highlight Quantity (total) field and in the Format
property we will press the selection button as shown in the figure.
In the format string designer window that opens check Precision and click OK. Now
let us apply the form settings.
153
In this manner, in the 1C:Enterprise mode you can join related elements into groups,
position them in a convenient order, hide the elements that are not required and
change the display settings of the elements on a form.
154
155
156
Chapter 12
Getting Help
The help content can be used to obtain information on 1C:Enterprise system and
specific objects and modes (Help menu item or F1 key). The main menu includes
the Help submenu.
When you open help from a specific mode, the help section is displayed that corresponds to the current run mode. The Content menu item and Shift + F1 keyboard
shortcut are intended to open the general help table of content.
158
In the top part of the window, under the heading, a toolbar is located containing the
buttons for navigating through topics.
The tree of help topics is generated automatically and includes system help and
configuration help. Help may contain guidelines on working with specific sections
of the program.
For convenient viewing, you can expand or collapse the tree or individual
branches.
+ (plus) icon in the branch node indicates that this branch can be expanded. To do
so, it is sufficient to click the icon or double-click the name of the topic next to the
icon. The next level of the branch will be opened for viewing, and the + (plus) icon
will be changed into - (minus). To collapse tree branch, click the - (minus) icon.
In order to expand all the tree branches at once, select the root topic name with your
keyboard or mouse and press * (gray asterisk) key located on the number pad.
The first level of the tree includes section names.
By expanding branches of the topic tree one by one, you can go to the description
of a specific data item.
To navigate through the topics, you can use the topic tree or the control panel
buttons in the Help window.
To view the text of a specific topic, select the topic name in the tree with your
mouse or arrow keys on your keyboard and press Enter. The viewing window will
display the text of the selected topic.
159
To navigate through the description text, you can use arrow keys or the PgDn and
PgUp keys.
For a large amount of text, the scroll bars to the right and below the window can be
used to move to display the unseen portions of the description.
The buttons in the Help window toolbar allow you to quickly move from one topic
to another.
The Next button is intended to open the succeeding topic. In the topic tree, the
corresponding branch will be opened, and the highlighting will move along the
topic titles, showing the current location in the tree. To go to the preceding topic,
use the Previous button.
If you need to abort loading of a help page in the process of operation, you can do
so with the Abort page load command.
When a topic with the description of the 1C:Enterprise script element has been
found and the help window is open, use the Find current element in the tree button
in the command bar to search for the topic in the tree.
If you select multiple pages for viewing, you can use the Go forward and Go back
commands to return to the previously viewed pages.
The program saves the history of help topics viewed. To return to the previously
viewed topic or to move to the next viewed topic in the history, select the movement history buttons.
160
If there are multiple descriptions for this topic in the help content, a list of these
descriptions will be displayed in the Select Topic window.
You can also use the keyboard shortcut Alt+Shift+F1 to open help index.
Search in help. To find topics containing a specified string, select Help Search
Help. A window will be displayed allowing you to search using random description
161
text. The upper part contains a field to enter the search string and a field containing
the list of description topics found.
To begin the search, start typing the text. While you are typing, the system searches
for topics where the entered text is present. Search is not case-sensitive; only whole
words of the text are matched (unless the * operator is used), with morphology taken
into account. Search operators can be used (see "Format of Search Expressions"
below).
While you are typing, the program displays the list of corresponding topics. If the
entered text is not found anywhere, the program displays appropriate message under
the text box.
When you open a topic, the program shows the description in such a way that the
first occurrence of the specified text is visible.
To view a topic, select it from the list and press Enter. The description of the
selected topic will be shown in the nearby field.
Tip
You can also use the keyboard shortcut Alt+F1 to search in help.
162
The search operators listed in the table below are allowed in the text box.
Operator
Space
AND
&
OR
|
,
NOT
~
Example
entry document
entry AND document
entry & document
entry OR document
entry | document
entry, document
closing NOT month
closing ~ month
NEAR/[]n
Example 1:
right NEAR/3 user
Example 2:
right NEAR/+3 user
Example 3:
right NEAR/-3 user
NEAR
NEAR
""
"document posting"
()
Details
All the topics will be found that contain both the word
"entry" and the word document with morphology taken into
account
All the topics will be found that contain at least one of the
words "entry" and "document" with morphology taken into
account
All the topics will be found that contain the word "closing"
but do not contain the word "month" with morphology taken
into account. ~ cannot be used in the beginning of the
string
Searches for a topic that contains the specified words separated by n words (with morphology taken into account).
The sign determines where the second word should be
located with respect to the first word (+ after the first word;
- before it).
If no sign is specified, the search will retrieve the text that
contains the words separated by n words. Their order is not
important.
The example 1 will result in finding the topics where the
word "user" is located before or after the word "right" and is
separated from it by a maximum of three words.
The example 2 will result in finding the topics where the
word "user" is located after the word "right" and is separated from it by a maximum of three words.
The example 3 will result in finding the topics where the
word "user" is located before the word "right" and is separated from it by a maximum of three words
Short form. The query will find all the topics in the short form
where both words are contained; the words are separated
by a maximum of 8 words and located in any position
Searching for exact phrase taking into account the
morphology (equivalent to: "posting NEAR/+1 document")
Word grouping (any number of nesting levels)
Searches using a wildcard (replacing the end of the
word). More than one significant character must be
entered. The "docu*" query will find "document" as a
noun, "document" as a verb, "documentary" etc. (If the
search index includes more than 300 words starting with
"docu", the user will be prompted to refine the query.)
While using search in help, the * character may be located
in any place of the word and can be used unlimited number
of times, e.g. "*OC*nt*"
If no operators are specified (words entered with spaces), the application will search
for all the words from the query using the AND operator.
note 1
The AND, OR, NOT, NEAR operators must be entered in upper case only.
163
NOTE 2
Operators must not be used on their own (at the beginning of the search string).
For example, it is impossible to select all the topics without the specified text.
NOTE 3
All the characters in the search field except for search operators, letters, and digits
are ignored. To search for special characters that are used in the text, they should
be enclosed in quotation marks. Example: "ObtainNomenclatureData()".
This window displays general information about the 1C:Enterprise system and
specifications for launching the system.
164
Chapter 13
For web client operation under Windows XP SP 2, you will need to have jscript.dll
system library version 5.6.0.8834 or later. The library is located in the system32
directory of the operating system. If you have an earlier version of the library
installed on your computer, web client performance may be significantly slower.
To update the version, you will need to download the update pack available at
http://support.microsoft.com/kb/942840/enus.
166
When the infobase is loaded, the address bar will automatically have a combination
of characters added formatted /aa_BB, where aainterface language identifier, and
BB country identifier.
You can launch the web client and navigate to an external link simultaneously.
When you enter an external link to the web browser address bar, the application
will be loaded and the data of the link will be opened.
For details on links, see "Links" on the page125.
NOTE 1
167
When you navigate to various areas of the application (sections, lists, etc), the
history of such movements is stored in the main window of the web client.
To exit the application and go to an empty page, select File Exit in the main menu
of the main window.
168
while in Mozilla Firefox only the parent window of this specific window is
blocked. At that the remaining windows of the application are dimmed and while
you can switch to these windows, you cannot execute any actions in them.
When a modal window is opened, Microsoft Internet Explorer stops refreshing
the display of the main window. Behavior of the remaining window is similar to
that in Mozilla Firefox.
When a user tries to close a window which is blocked by another window in
the web client, a standard browser alert containing the following message is
displayed: This window may only be closed after all windows opened from it are
closed! Choose Cancel to quit closing of the window.
The web client window cannot be sized under a specific size defined by the web
browser used.
In some situations where other clients open a menu or selection list to select a
value, the web client will open a new window.
Details menus of reports that are generated using data composition system, are
displayed as a new web browser window.
When a user is working with several monitors, web client windows behavior can be
described as follows:
The main window behavior depends on the browser window behavior (when
the user is working with several monitors).
Any auxiliary, blocking or modal windows open in the same monitor as the last
active window.
169
NOTE
When you launch an infobase from the web browser address bar, =Low option
can be used to select slow connection mode.
170
13.2.4.7. Notifications
In a web client notifications are displayed within current window.
If a notification is displayed in an auxiliary window and this auxiliary window is
closed, the notification will be displayed in the main window.
171
in other clients.
schemas.
A text that does not fit a table cell is not accompanied by ellipsis points on the
right.
Only a limited set of fonts available in the operating systems used is supported
in the web client. Other fonts cannot be selected in the font selection dialog in
the web client. When they are used, they are replaced with supported fonts.
Main menu is accessed using F10, while accessing it by clicking Alt once is not
supported.
In a web browser it is impossible to select a scale for display other than 100 %
or to use an irregular dpi.
When lengthy operations are executed, cursor is not changed in the situations
when such changes occur in other clients.
In Mozilla Firefox the presentation of navigation panel and action panel that
does not fit the panel size is not accompanied by ellipsis points to the right.
In Microsoft Internet Explorer the presentation of action panel that does not fit
the panel size is not accompanied by ellipsis points to the right.
When a calendar is opened from a text box, the calendar resizing mode is
not disabled if the mouse button is released outside of the window where the
calendar was opened. To disable the resizing mode, click and release the left
mouse button again in the window that contains the calendar.
In Mozilla Firefox and in some situations with Microsoft Internet Explorer, the
color of scroll bars of an HTML document field will correspond to the color
specified in the operating system.
Commands of action undo and redo behave in a manner that differs from other
clients in multiline text boxs. In web client the volume of undo changes is
defined by the web browser used.
When you press Shift + Del in multiline text box, the entire line is deleted while
automatic splitting of line by the text box border is ignored.
If a tooltip text includes line splitters, Mozilla Firefox display spaces instead of
them.
In some situations when Internet Explorer 6.0 is used and a file is downloaded
from server, an empty window may remain displayed on the screen.
When one is working with multistring text boxs and a text document field, the
following commands are available in the Edit menu: Find, which is for searching
values,and Replace, which is for replacing values in the field.
172
Google Chrome and Safari do not support external components, file system
Google Chrome and Safari do not support the Insert command in the shortcut
Link navigation dialogs in Google Chrome and Safari do not contain the Insert
from clipboard button. When opening a link navigation dialog, the clipboard
Google Chrome and Safari do not support automatic user authentication with
OS tools.
Google Chrome and Safari do not allow one to edit headers/footers when
printing documents.
In Safari, the web client interface language matches the web browser interface
supported.
Use the button for closing in the upper right corner of the main window to quit
173
A quick double-click in the same screen area is used instead of the left double-
174
To ensure correct operation of the file system extension, use Microsoft Core XML
Services (MSXML) 4.0 or 6.0 library.
For a list of MSXML module versions, installation limitations and recommendations see http://support.microsoft.com/kb/269238.
175
2. Launch 1C:Enterprise web client by entering the infobase address to your web
browser address bar. In the main menu of the web client select Tools Web
Browser Setup. This will display the Web Browser Setup dialog.
To work with the operating system clipboard, advanced files operations
extension and external components, check Enable operations with clipboard,
advanced files operations extension, external components.
To be able to use non-Latin characters in the web browser address bar (for
example, to navigate 1C:Enterprise links), check Enable non-Latin characters
in command line options.
To enable activations of windows with keyboard shortcuts, check Enable
keyboard to switch between application windows.
Operating system authentication is set by checking the Use operating system
authentication checkbox. In some cases, additional modification of browser
settings may be required: specify a list of websites supporting operating
system authentication in the network.negotiate-auth.trusted-uris and network.
negotiate-auth.delegation-uris parameters. To set these parameters, enter
about:config in the browser address bar, and then enter the parameter names
and specify a list of websites as parameters in the filter list.
Note
To apply the selected settings, click OK in the Web Browser Setup dialog.
176
NOTE
When Mozilla Firefox stores user decision on granting privileges and you want to
modify the decision, you will need to edit prefs.js located in the user profile folder
of Mozilla Firefox.
For information on locating the profile folder, see: http://support.mozilla.com/en-US/
kb/Profiles Next you will need to perform the procedure as follows:
1. Close Mozilla Firefox.
2. Open prefs.js file using any word processor.
3. Locate the string UniversalXPConnect in the code. The following code fragment will be retrieved:
user_pref("capability.principal.codebase.p<XX>.granted", "UniversalXPConnect");
user_pref("capability.principal.codebase.p<XX>.id", "<URL>");
user_pref("capability.principal.codebase.p.<XX>subjectName", "").
Or:
user_pref("capability.principal.codebase.p<XX>.denied", "UniversalXPConnect");
user_pref("capability.principal.codebase.p<XX>.id", "<URL>");
user_pref("capability.principal.codebase.p<XX>.subjectName", "").
Where <XX>is a random number while <URL>is the address of the required
website. If <URL> is different, continue searching for the "UniversalXPConnect" string further on in the code.
4. Delete the found strings from the code.
177
Safari for Mac OS does not prompt the user to specify the location to save the
file.
178
Chapter 14
180
Chapter 15
Ordinary
Application Mode
This chapter covers operations with the configurations designed specifically for the
ordinary application mode or created on the platform version 8.1.
15.1. Interface
In the ordinary application mode the main window of the application significantly
differs from that visible in the managed application mode. In general, it may look
as shown below:
182
The main menu includes commands for operations with files, editing, opening
forms of configuration objects, etc.
The toolbars include commands to open standard and service features. To navigate
to lists and infobase objects, use the Operations menu and toolbar buttons provided
that it is defined during configuration development.
Setting a Filter
Some lists allow data to be filtered by attribute values. This lets you view only the
data that have a certain value in the filtered attribute. For example, you can display
all the contractors that are defined as individuals.
You can filter data by a specified set of attributes.
A data filter is defined by filter type, comparison type and filter value.
Filter types means the criteria defined during configuration development. When
filtering, a user can apply only those filter types that were defined during configuration development. For example, the Contractor type can serve as a filter type.
The comparison type indicates how filter will be applied. The assortment of available comparison types is determined by the data type.
It is possible to filter data containing dates after a given date, in an interval of dates
belonging to the list or, vice versa, not belonging to the list, etc.
A filter value can be any of the available values of the attribute, for example,
Individual. The filter type and value together are the filter criterion. A filter condition must be unique at any given moment.
Note that most lists support filtering by one or multiple attributes. If a list does not
support filters, the menus and toolbars will not contain interface controls to manage
filters.
183
When a filter is set, the list form window will display only the elements that satisfy
the selected filter conditions.
Filters can be set for list data in multiple ways.
Manual filter setting. You can set the filter criterion yourself, meaning that you
select both the filter type and its value.
To set the filter manually, select Set Filter Parameters.
This menu item and button may be unavailable if the user is not granted the right to
set a filter themselves.
When you enter the filter setup mode, a dialog opens where you should select the
filter type and its specific value. The list of filter elements is determined when the
task is configured for every list type. You can specify or change it using software
tools prior to opening the form.
For example, the list setup for a document journal can be as follows:
To define a filter criterion, select the attributes, specify their values and comparison
type. For example, suppose the attribute is Warehouse Documents, the value is
Main Warehouse, and the condition is Not equal.
There is a field intended to enter the filter value to the right of the list of filter types
in the dialog. The input format depends on the value type. For example, you should
enter a numeric value to filter by a numerical attribute or select a company from the
corresponding list to filter by a company. After you have entered the filter value,
click OK.
For some filter types it is impossible to enter the value directly because they include
values of various types.
If you set the filter for hierarchical data, the contents of the list depend on the view
mode. If the hierarchical view is set, the filter criteria are not applied to folders, i.e.
all the catalog folders are displayed. If a non-hierarchical view is set, only those
items are displayed that meet the filter criteria.
184
For hierarchical data, you can set a hierarchy comparison type. If you select the
In hierarchy comparison type, the system checks whether the value belongs to
the folder. If you select the Not in hierarchy comparison type, the system checks
whether the value does not belong to the folder.
When you change a list filter for all the registers subordinate to the recorder, the
order can be replaced with the one that is optimal for the filter if such filter was
defined by the system when the list was initially opened. For example, if a filter by
the recorder is applied, the order by row number is set while if filter by recorder is
cancelled, the order by date is applied instead.
Filter by Current Value
When you analyze the data entered into a table box, you might want to filter it by
specific value of the current cell. You can do so using the Filter and Sort dialog. To
simplify the process, you can also use the dedicated command, Filter By Current
Value, or the corresponding button of the command bar.
The command is available if it is possible to filter this column of the table. For such
columns you will see the Filter By Current Value button available in the command
bar.
To filter by a value, select the cell containing this value and then click Filter By
Current Value. The command initiates filtering, and the button is displayed as
pressed.
Filtering by a value is equivalent to filtering by this column while specifying a
single value and the Equal to filter criterion.
To cancel filtering by value, select the cell containing this value and click Filter By
Current Value again.
You can filter by value sequentially (first one column is filtered by the value, then
another one and so on).
If a filter other than filter by value is applied to a column, the Filter By Current Value
button is not displayed as pressed, and filtering by value will change the criteria of
the previous filter.
Filter Clearing
To disable a filter, select the Clear filter menu item. In this case, all the list records
will be displayed.
185
There are two lists on the tab. In the left list, you define a set of attributes to define
the order of data display, the attribute action sequence (priority) and sort direction
for every attribute. You select attributes from the list on the right. You compose the
list and specify the sequence of applying attributes and direction for sorting using
the buttons.
If multiple attributes are specified, at first the data is sorted by the first attribute
according to the selected sort direction, then the data sharing the value of this
attribute is sorted by the second attribute according to the selected sort direction,
and so on.
If you want the customized sorting to be applied when this form is opened, check
Use these sort settings on open.
186
You can customize the display of columns on the Columns tab. Set the order of
columns in the list using the Move Up and Move Down buttons.
Use the Apply button to view the results of the selected settings.
To restore the default settings, click the Standard Order button.
Important!
On the Other tab you can set up restoration of the list position when it is opened,
select a position in the list for when it is opened and customize automatic list
update.
If Restore position on open is checked, the row that was active when the list was
previously closed, will be active when the list is reopened.
If you select Start or End as the value for On open go to, the first or the last row
becomes active when list is opened depending on the specified condition.
The data displayed in a list can change not only when they are interactively entered
by the user, but also when other objects are created and during operation in multiuser mode. It is often necessary that the list data remains valid without additional
user activity.
If you check Update automatically every, the system updates the list periodically
after the interval specified in the text box to the right of the check box. The main
purpose of this setup mode is to ensure automatic refreshment of the list data at
187
a specified frequency. We recommend using this mode only for individual list forms
processed concurrently by multiple users, when immediate viewing of their work
results is required. Such situations are, however, quite rare in practice. Therefore
the auto update setting is usually not needed.
If Do not filter new strings is unchecked, when a new row is entered that does not
meet the requirements of the currently applied filter, the appropriate message will
be displayed.
The Set Hierarchical View on open check box is only available for customization of
hierarchical lists. This check box is intended to manage hierarchical view in a form.
The status of the check box corresponds to the state of the Hierarchical View button
of the command bar.
15.2.2. Reports
188
Select the required type of data arrangement and click Next. If you do not need to
customize the remaining parameters, click OK.
In the field selection window that opens, select the fields that you want to be
displayed in the report. You can use buttons or dragging. You can sort the selected
fields using arrows.
To proceed to the next window of settings, click Next.
For Table type of report, you can set groupings in rows, columns or tables. For
Chart type of report, groupings can be in series, points and tables.
In the window that opens select the fields and type of groupings they can serve as:
No hierarchy only data of items;
Hierarchy data both from folders and items;
Hierarchy only data display by folders.
When you click Next>, the wizard prompts you to select the field to order by.
189
You select them in the same way as grouping fields. For every field, you have to
define a sort direction.
For List and Table types of reports, customization of parameters by the settings
wizard finishes here. For Chart type of report, after you have clicked Next>, you
will need to select the chart type.
After you close the data composition settings wizard, the saved settings become
available for further editing in the report setup window.
190
A form that is used to edit settings includes a table box of the report structure, a
command bar to select the customized item and a set of settings arranged in
tabs. You can either customize the entire report or its individual items, including
nested items. You can switch between various setup modes using the Report and
<Structure item> buttons (the label of the second button depends on the selected
structure item). The buttons on the command bar of the report setup form provide
for saving to file or restoring it from an XML document or for opening the report
settings wizard.
Management of report settings is in general similar to management of report variant
settings.
191
After you edit values of options click OK for them to be applied. The new values
of options will be applied and the options window will be closed.
The Apply button can also be clicked to set new values for options; if this button
is clicked, the options window remains open.
Click the Cancel button to exit the options window without applying the changes.
192
15.3.2. Toolbars
A toolbar is a panel with a set of buttons. Clicking any of the buttons with your
mouse immediately executes the associated command. Each button usually has an
icon that represents the command assigned to this button.
In ordinary application 1C:Enterprise has two types of toolbars: docked and
floating.
Docked toolbars usually contain buttons for operations with information in a
specific window. Their position is fixed (usually under the window header), and
they cannot be modified by the user.
Floating toolbars usually contain buttons for general-purpose commands that are not
windows-specific. The number of toolbars that are placed in the main 1C:Enterprise
window simultaneously can vary depending on the program run mode. You can
also create your own toolbars from predefined set of buttons.
Floating toolbars can be placed in any convenient location: attached to any side
of the application window or "pinned" anywhere on the screen. When a toolbar is
moved, its future location is marked with an inverted rectangle.
193
System toolbars. These toolbars are built into the program and cannot be deleted
by either the 1C:Enterprise or the Designer tools. You can add or delete buttons on
these toolbars, but the software will "remember" their configuration and can restore
it upon request.
Toolbars created in the process of configuration setup. These toolbars are
created during configuration development and contain commands for operations
with specific data items: documents, journals, reports etc. They can be changed and
restored like system toolbars. These toolbars can only be deleted when working in
the Designer mode.
User toolbars. Users can create their own toolbars when working in 1C:Enterprise.
Such toolbars are created from built-in sets of buttons. You can create any number
of these toolbars.
Toolbars that are currently displayed on the screen are checked in the toolbar list.
You can display and hide toolbars by checking and unchecking them in the list.
When this dialog is opened for the first time, a toolbar list will contain only the
system toolbars and those created during configuration development. When a user
creates new toolbars, their names are added to the list.
194
The password should fully match the one entered when the system was initially
launched. When a correct password is entered, the system becomes available for work.
195
Enter the password into the field labeled Password. A password is an arbitrary
combination of alphanumeric characters. A password should not contain spaces or
special characters. The maximum password length is 255 characters.
When you enter a password, it is displayed in asterisks; therefore you should pay
attention to what you are typing.
Re-enter the password in the Confirm password field to avoid possible erratic entry.
If the password confirmation does not match the originally entered password,
clicking OK will display a warning: Password and password confirmation do not
match and the password will not be set.
Click the Cancel button if you decide not to set a password.
Warning!
You cannot view the user password. Therefore, you should pay extreme attention
to selecting a password.
196
The window panel includes shortcuts of the opened windows that are displayed
in normal layout mode (see "Window State (Layout Mode)" on the page 198).
Click a window shortcut to activate the required window.
The window panel can be hidden. To do so, open the context menu on the window
panel, main menu, toolbar or status bar and uncheck Window Panel. Check this
check box for the panel to be displayed.
If you do not want the window panel to always occupy part of the applications work
area, you can enable Autohide mode. In this mode, the window panel is hidden. To
show it, hover your mouse over the panels location for it to be displayed.
Action
Activate
Save
Close windows
Place
Join
Detach
OK
Number of selected
windows (condition)
One
Any
Any
Attachment permitted
Any
197
Data in the immediate window can be arranged on tabs. You may define if a tab
should be displayed by checking or unchecking the Tabs item in the context menu.
You may copy calculation results to the clipboard (Copy Result item in the context
menu of the second column).
If the source data for the expressions changes during processing, you should refresh
calculations to obtain valid results. To do so, use Recalculate or Refresh All items
of the context menu of the immediate window.
To clear the contents of a row in the immediate window, highlight it and press Del.
198
199
To modify the size of a docked window, move the mouse cursor to a free border
(turned to the work area). The cursor will change into a double arrow (horizontal or
vertical). Drag the border with the mouse.
If a window is in Floating mode, when you drag its border close to a work area
border or to another Docked window, the window borders may change right away.
If you release the mouse button at this time, the window will attach to a new border
and its state will be changed to Docked.
You can change the state of docked windows by dragging them with your mouse.
To drag a window, left-click and hold the window header and drag the window to
another location. The window state will be changed to Floating.
There are several ways to attach multiple docked windows to the Designer window
or another window border. Windows can be arranged in layers where each window
occupies the entire width of the work area of the Designer window or another
window. It is possible to arrange windows in sequence, so that each window will
be located in one layer along the border of another window. If there are more than
two windows docked, you can arrange some of them to be stacked in layers and the
others in sequence.
To arrange one docked window above another (create stacked windows), proceed
as follows:
grab the window header with the mouse;
drag the window so that its header fits over the header of another docked
window. The dragged window should have a tab contour at the bottom;
release the mouse button.
Now tabs will show up at the bottom of the docked window. The tab text will be the
same as the text in the window headers. Docked windows are contained in tabs.
Click a tab to open the corresponding window. Clicking Close in this arrangement
only closes the currently active tab.
To detach docked windows, drag one of the windows away (you can monitor the
process by watching the contour of the dragged window).
If the mouse pointer remains in the tab area, you can change the tab order in this
way.
If some windows are docked to each other, you can attach more windows to them
by dragging new windows to the tab area instead of the header. You can specify the
tab order in this way.
If Hidden mode is selected, an additional line appears on one side of the work area.
This line contains window tabs, including a tab for the current window attached to
this side of the work area. The location of this line is determined by the window
location in the Docked mode. In this mode a window remains on the screen while it
is active. Once another window is activated, the previous window becomes hidden.
200
To display this window, move the mouse cursor over the tab of this window (do not
click). When the mouse is moved away from the window, the window is automatically hidden.
Appendix 1
Data Composition
System Expression
Language
The data composition system expression language is intended for writing expressions used in various portions of the system, e.g. in data composition settings, to
describe expressions of custom fields.
Literal Constants
An expression can contain literal constants. Literal constants can be as follows:
String
Number
Date
Boolean
String
String literal is enclosed in double quotation marks (").
"String literal"
If you need to use double quotation marks within a string literal, use two such
characters.
"Literal ""in quotation marks"""
202
Number
A number is written without spaces, in decimal format. Its fractional part is separated by a period (.).
10.5
200
Date
A Date literal is written using the DATETIME key literal. This keyword is followed
by a year, month, day, hours, minutes, and seconds in brackets separated by
commas. Time is not required.
DATETIME(1975, 1, 06) January the sixth, 1975
DATETIME(2006, 12, 2, 23, 56, 57) The Second of December, 2006, 23 h 56 m 57 s
Boolean
Boolean values can be written using True and False literals.
Value
To specify literals of other types (system enumerations, preset data), use the VALUE
keyword followed by the literal name in brackets.
VALUE(AccountType.Active)
Fields
Expressions can use fields of data sets. A field is identified by data path. Parts of
data path are separated by a period (.). Field name is not case sensitive.
Nomenclature.Article
Sales.SumTurnover
Parameters
Expressions can use parameters. To use parameter in expression, simply write its
name preceded with & character.
&Contractor
&BeginDate
203
Unary +
This operation does not perform any actions with numbers.
+Sales.Quantity
Binary
This operation is intended for calculating the difference of two numbers.
BalanceAndTurnovers.OpeningBalance BalanceAndTurnovers.ClosingBalance
BalanceAndTurnovers.OpeningBalance 100
400 357
Binary +
This operation is intended for calculating the sum of two numbers.
BalanceAndTurnovers.OpeningBalance + BalanceAndTurnovers.Turnover
BalanceAndTurnovers.OpeningBalance +100
400 + 357
Multiplication
This operation is intended for calculating multiplication of two numbers.
Nomenclature.Price * 1.2
2 * 3.14
Division
This operation is intended for obtaining a result of dividing one operand by
another.
Nomenclature.Price / 1.2
2 / 3.14
204
LIKE
This operation checks whether the line matches the transferred template.
The value of the LIKE operator is True if the expression value matches the template,
and False otherwise.
The following characters in template string make sense, different from a next line
character:
% percent: a sequence containing zero or more random characters;
_ underscore: a random character;
[] one or more characters in square brackets: any character listed within
the square brackets. Enumerations can contain ranges, such as az, meaning a
random character within the range, including limits of the range;
[^] negation mark in square brackets, followed by one or more characters:
any character besides those listed after the negation mark;
Any other character represents itself only and does not have any additional use. If
you must use one of the listed characters as itself, it must be preceded by ESCAPE.
For example, the template below means a substring including the following
sequence of characters: the letter A; the letter B; the letter C; a digit; one of the
letters a, b, c or d; an underscore; the letter a; the letter b; the letter c. This sequence
can start anywhere in the string.
"%ABC[0-9][abcd]\_abc%" ESCAPE "\"
NOT EQUAL
This operation is intended to compare two operands for inequality.
Sales.Contractor <> Sales.NomenclatureMainSupplier
LESS THAN
This operation is intended to check that the first operand is less than the second.
CurrentSales.Sum < PreviousSales.Sum
MORE THAN
This operation is intended to check that the first operand is greater than the second.
CurrentSales.Sum > PreviousSales.Sum
205
LESS OR EQUAL
This operation is intended to check that the first operand is less than or equal to the
second.
CurrentSales.Sum <= PreviousSales.Sum
MORE OR EQUAL
This operation is intended to check that the first operand is greater than or equal to
the second.
CurrentSales.Sum >= PreviousSales.Sum
IN Operation
This operation is intended to check presence of a value in the transferred list of
values. Result of the operation is True, if the value is found, or False otherwise.
Nomenclature IN (&Product1, &Product2)
The Operation for Checking a value for Inequality to NULL IS NOT NULL
This operation returns the True value if the value is not the NULL value.
Sales.Contractor IS NOT NULL
Logical Operations
Logical operations are accepted as operands of Boolean type expressions.
NOT Operation
The NOT operation returns True if its operand has the False value, or False if its
operand has the True value.
NOT Document.Consignee = Document.Shipper
206
AND Operation
AND operation returns True if both operands have the True value, or False if one
of the operands has the False value.
Document.Consignee = Document.Shipper AND Document.Consignee = &Contractor
OR Operation
OR operation returns True if one of the operands have the True value, or False if
both operands have the False value.
Document.Consignee = Document.Shipper OR Document.Consignee = &Contractor
COUNT
The COUNT function calculates the number of values that are different from the
NULL value. The Array function result may be used as a parameter. For instance:
COUNT(Sales.Contractor)
COUNT (DISTINCT)
This function calculates the number of distinct values. The Array function result
may be used as a parameter.
COUNT(DISTINCT Sales.Contractor)
MAX
This function obtains the maximum value. The Array function result may be used
as a parameter.
MAX(Balances.Quantity)
207
MIN
This function obtains the minimum value. The Array function result may be used
as a parameter.
MIN(Balances.Quantity)
AVG
This function obtains the mean value for values other than NULL. The Array function result may be used as a parameter.
AVG(Balances.Quantity)
ARRAY
This function returns an array that contains a parameter value for each detailed
record. If an expression specified in the parameter contains an Array function, this
expression is considered an aggregate expression. An arbitrary-type expression will
be specified as a parameter for this function.
The value that returns a table of values may be used as a parameter. In this case, the
Array function will result in an array that contains values from the first column of
the value table transferred as a parameter.
ARRAY(ClauseCount)
VALUETABLE
This function returns a value table that contains the number of columns that matches
the number of function parameters. Detailed records are produced from data sets
necessary for obtaining all the fields used in function parameters expressions.
If an expression contains a ValueTable function, this expression is considered an
aggregate expression.
The function may have one or more arbitrary-type parameters. Each parameter may
be followed by an optional AS keyword and a name to be assigned to a value table
column.
ValueTable(Different Nomenclature, NomenclatureCharacteristic
AS Characteristic)
GROUP PROCESSING
This function returns a DataCompositionGroupProcessingData object with the
following properties:
Data. Type: a value table. The function populates this property with a value
table containing the calculation results for the expression specified in the first
parameter of the function for each group entry of the group. If the group is
208
GROUPBY
This function deletes duplicates from an array. It returns an array or a value table
with no duplicates.
Parameters:
Array or a value table.
Value table column numbers or names where duplicates will be searched.
All columns by default. (Comma separated).
GETPART
This function returns a value table that contains specific columns from the original
value table.
209
Parameters:
A value table to get columns from.
Column names or numbers to get (comma separated).
Returned value: a value table that contains only columns specified in the Column
numbers/names parameter.
ORDER
Used for ordering array elements.
Parameters:
Array or ValueTable.
Value table column names or numbers to order by. No number needs to be specified for an array. Order direction Autoorder required. Desc/Asc + Autoorder.
Returned value: an array or a value table with the ordered elements.
JOINSTRINGS
An aggregate function to join strings.
Parameters:
Values to join into one string. If this is an array, array items will be
joined into a string. If this is a value table, all columns and rows will be joined
into a string.
Item separator. A string that contains the text to be used as a separator
between array elements and value table rows. The line feed character is used by
default.
Column separators. A string that contains the text to be used as a separator
between value table columns. "; " is used by default.
210
Boolean
Number
Date
String
reference types
The relationship between different reference types is defined based on table reference numbers corresponding to one type or another.
If the data are of the same type, then their values are compared according to the
following rules:
for Boolean type TRUE value is greater than FALSE;
for Number type common number comparison rules are applied;
for Date type earlier dates are less than later dates;
comparison of the String type takes place according to nationally established
database features;
reference types are compared according to their values (record number, etc.).
Operation Priorities
Operations have the following priorities (the upper line has the lowest priority):
OR
AND
NOT
IN, IS NULL, IS NOT NULL
=, <>, <=, <, >=, >
Binary+, Binary *, /, %
Unary+, Unary-
211
1.6. Functions
EVAL
The EVAL function is intended for evaluating expressions within a certain grouping.
This function has the following parameters:
Expression a string containing an expression to be calculated;
Grouping a string containing a name of a grouping within which an expression is to be calculated. If an empty string is used as a grouping name, evaluation
will be performed within the context of the current grouping. If the Overall
string is used as a grouping name, a calculation will be performed within the
context of the grand total. In other cases calculation will be performed in the
context of the parent grouping with this name.
Calculation type the string containing the calculation type. If this parameter is Overall, the expression will be calculated for all the records of the
grouping. If the parameter value is Grouping, the values will be calculated for
the current group record of the grouping.
SUM(Sales.SumTurnover) / EVAL("Sum(Sales.SumTurnover)", "Overall")
In this example the result will be the ratio of sum by the Sales.SumTurnover field
of the grouping record to the sum of the same field in the entire composition.
EVALEXPRESSION
This function returns an expression for recording a specified group. This function
has the following parameters:
Calculated expression. A string that contains an expression for calculation.
Group. A string that contains the name of the group for calculating an expression.
If an empty string is used as a group name, values for the current group will be
calculated. If the Overall string is specified, overall values will be calculated. If
calculation is performed in a table and the parameter specifies the name of the
group or string, or an empty string is specified, calculation will be performed for
the group that lies at the intersection of the required calculation area (see the third
parameter description) and the current string of the column group. If the parameter
specifies the column group name, calculation is performed for the group that lies
at the intersection of the column group calculation area and the current row group
entry.
Calculation area. A string that contains the calculation area. If an empty string
is used as a calculation area, calculation is performed for the current entry of the
group specified in the first parameter. If the Overall string is specified in the parameter, calculation is performed for the overall of the group specified in the second
parameter.
212
If the parameter value is Group, values will be calculated for the current group
entry of the group.
If the parameter value is NonResourceGroup, then an expression will be calculated
for the first group entry of the original group when calculating a function for the
group entry by resources.
When one is calculating the EvaluateExpression function with the NonResourceGroup value for group entries that are not grouped by resources, the function is
calculated in the same way as if with the Group parameter value.
The data composition template composer outputs the expression calculated with
the help of the EvaluateExpression function with the specified NonResourceGroup
parameter into a template when generating a data composition template and outputting a field, which is the resource to group by, into a template. Standard resource
expressions are output for other resources in the resource group.
If the parameter contains the Hierarchy string, the expression will be calculated for
the parent hierarchical entry, if it exists, and for the whole group, if such an entry
does not exist. When generating an expression for the "% in the hierarchy group"
field, the template composer generates an expression that contains a ratio between
the resource expression and the EvaluateExpression function for the resource
expression calculated for the current group with the Hierarchy calculation type.
Start. Specifies the entry to start a segment with in which expression aggregate
functions will be calculated and the entry from which to get field values outside
aggregate functions. A string containing one of the following:
"First". Getting the first group entry is required. The expression whose result
will define the shift from the beginning of the group may be specified in brackets
after this word. The resulting value will be a positive integer. For example,
with First(3)the third entry from the beginning of the group is received.
If the first entry is beyond the group, it is considered that there are no entries.
For example, if there are 3 entries and First(4) is specified, it is considered
that there are no entries.
"Last". Getting the last group entry is required. The expression whose
result will define the shift from the end of the group may be specified in
brackets after this word. The resulting value will be a positive integer. For
example, with Last(3) the third entry from the end of the group is received.
If the last entry is beyond the group, it is considered that there are no entries.
For example, if there are 3 entries and Last(4) is specified, it is considered that
there are no entries.
"Previous". Getting the previous group entry is required. The expression whose result will define the shift back from the current group
entry may be specified in brackets after this word. For example,
with Previous(2) the previous from the previous entry is received.
If the previous entry is beyond the group (for example, receiving Previous(3) is
213
required for the second entry of the group), the result would be the first group entry.
If the previous entry is received for the total by group, the result would be the
first entry.
Next. Getting the next group entry is required. The expression
whose result will define the shift forward from the current group
entry may be specified in brackets after this word. For example,
with Next(2) the next from the following entry is received.
If the next entry is beyond the group, it is considered that there
are no entries. For example, if there are 3 entries and "Next" is
specified for the third entry, it is considered that there are no entries.
If the next entry is received for the total by group, it is considered that there are
no entries.
"Current". Getting the current entry is required.
When receiving an entry for the total by group, the first entry is received.
"BoundaryValue". It is necessary to receive an entry at the specified value.
The boundaryValue keyword will be followed by a first order field expression
in brackets, which value will start the fragment.
The first entry with an order field value exceeding or equal to the specified
value will be used as an entry. For example, if the Period field is used as an
order field, and this field has the values 01.01.2010, 01.02.2010 and 01.03.2010
and you need to receive a BoundaryValue (DateTime(2010, 1, 15)), an entry
with the date 01.02.2010 will be received.
End. Specifies the entry to continue a fragment for calculating an aggregate expression to. A string containing one of the following:
"First". Getting the first group entry is required. The expression whose result
will define the shift from the beginning of the group may be specified in brackets
after this word. The resulting value will be a positive integer. For example, with
First(3) the third entry from the beginning of the group is received.
If the first entry is beyond the group, it is considered that there are no entries.
For example, if there are 3 entries and First(4) is specified, it is considered
that there are no entries.
"Last". Getting the last group entry is required. The expression whose result
will define the shift from the end of the group may be specified in brackets
after this word. The resulting value will be a positive integer. For example, with
Last(3) the third entry from the end of the group is received.
If the last entry is beyond the group, it is considered that there are no entries.
For example, if there are 3 entries and Last(4) is specified, it is considered that
there are no entries.
"Previous". Getting the previous group entry is required. The expression
whose result will define the shift back from the current group entry may be
214
specified in brackets after this word. For example, with Previous(2) the
previous from the previous entry is received.
If the previous entry is beyond the group (for example, receiving Previous
(3) is required for the second entry of the group), it is considered that there are
no entries.
If the previous entry is received for the total by group, the result would be the
last entry.
"Next". Getting the next group entry is required. The expression whose result
will define the shift forward from the current group entry may be specified in
brackets after this word. For example, with Next(2) the next from the following
entry is received.
If the next entry is beyond the group, the result would be the last entry. For
example, if there are 3 entries and Next is specified for the third entry, the result
would be the third entry.
If the next entry is received for the total by group, it is considered that there are
no entries.
"Current". Getting the current entry is required.
When receiving an entry for the total by group, the first entry is received.
"BoundaryValue". It is necessary to receive an entry at the specified value.
The keyword BoundaryValue will be followed by a first order field expression in brackets, which value will start the fragment.
The last entry with an order field value less than or equal to the specified value
will be used as an entry. For example, if the Period field is used as an order
field, and this field has the values 01.01.2010, 01.02.2010 and 01.03.2010, and
you need to receive a BoundaryValue (DateTime(2010, 1, 15)), an entry
with the date 01.01.2010 will be received.
Sorting. A string containing comma-separated expressions to order the sequence
by. If no string is specified, the values are ordered similarly to the group for which
an expression is calculated. Each expression may be followed by an Asc keyword
to group in ascending order or a Desc keyword to group in descending order, or
Autoorder to group reference fields by fields to order the referenced object by. The
keyword Autoorder may be used with both the Asc and Desc keywords.
HierarchicalSorting. A string containing comma-separated expressions to order the
sequence by. Used for ordering hierarchical entries. The elements will be ordered
as described in the Sorting parameter, unless specified otherwise.
IdenticalOrderValuesProcessing. A string containing one of the following:
"Together" means that the previous and next entries are defined on the basis
of order expression values.
"Separately" means that a sequence of ordered entries is used to define the
previous and next entries.
215
January
January
January
January
1,
2,
2,
3,
2001
2001
2001
2001
M.
S.
P.
S.
Ivanov 10
Petrov 20
Sidorov 30
Petrov 40
When the Separately order is used to process identical values, entry 2 would be
an entry previous to entry 3, while when the Together order is used, this would be
entry 1. A fragment for the current entry to entry 2 if Separately is used would be
entry 2, and entries 2 and 3 if Together is used. Therefore, the sum of the current
entry for Separately would amount to 20, and to 50 for Together.
If Together is specified in the Start and End parameters, shifts for the First,
Last, Previous, and Next positions cannot be specified.
Separately is used by default.
If you need to receive a group value in the previous string, use the following expression:
EvaluateExpression("Rate", , , "Previous")
The EvaluateExpression function takes into account group filters, but not hierarchical filters.
The EvaluateExpression function may not be applied to a group in its group
filtering. For example, you cannot use the EvaluateExpression("Sum(SalesVolume)", , "Overall") > 1000 expression in the Nomenclature group filter, but
you can use it in a hierarchical filter.
If a closing entry precedes an opening one, it is considered that there are no entries
for calculating detailed data and aggregate functions.
When interval expressions are calculated for the overall (i. e., the second
parameter of EvaluateExpression function has an "Overall" value), it is
considered that there are no entries for calculating detailed data and aggregate
functions.
LEVEL
This function is used to obtain the current record level.
LEVEL()
216
LEVELINGROUP
This function is used to obtain the level of the record in relation to the grouping
root.
LEVELINGROUP()
VALUEISFILLED
Returns True if the value does not match the default value for this type, is not NULL,
is not an empty reference, is not Undefined. For logical values it is checked for
NULL. Strings are checked for absence of characters other than space.
SERIALNUMBER
This function obtains the next sequential number.
SERIALNUMBER()
GROUPSERIALNUMBER
This function returns the next sequential number in the current grouping.
SEQUENTIALNUMBERINGROUPING()
FORMAT
This function obtains a formatted string of the transferred value. The format string
is set as defined by 1C:Enterprise format string.
Options:
Value
Format string
FORMAT(Invoices.SumDoc, "NFD=2")
BEGINOFPERIOD
This function is used to extract a certain date from a given date. Options:
Expression of the Date type;
Period Type a string containing one of the following values:
Minute
Hour
Day
Week
Month
Quarter
Year
Ten days
Six months
Result:
01.10.2009 0:00:00
ENDOFPERIOD
This function is used to extract a certain date from a given date. Options:
Expression of the Date type;
Minute
Hour
Day
Week
Month
Quarter
Year
Ten days
Six months
Result:
13.10.2009 23:59:59
DATEADD
This function is used to add values to a date. Options:
Expression of the Date type;
Second
Minute
Hour
Day
217
218
Week
Month
Quarter
Year
Ten days
Six months
Size the size of date increase. Number Type. Fractions are ignored.
DATEADD(DATETIME(2009, 10, 12, 10, 15, 34), "Month", 1)
Result:
12.11.2009 10:15:34
DATEDIFF
This function is used to obtain differences between two dates. Options:
Expression of the Date type;
Expression of the Date type;
Difference type one of the following values:
Second
Minute
Hour
Day
Month
Quarter
Year
Result:
2
CURRENTDATE
Returns system date. During composition of template composition all the expressions available in the composition will have the CURRENTDATE function replaced
with the value of the current date.
CURRENTDATE()
219
SUBSTRING
This function is used to extract a substring from a string. Options:
expression of string type;
SUBSTRING(Contractors.Address, 1, 4)
STRINGLENGTH
This function is used to define a string length. The first option is an expression of
string type.
STRINGLENGTH(Contractors.Address)
YEAR
This function is used to obtain a year from a Date type value. The only option of
the function is an expression of Date type.
YEAR(Invoice.Date)
QUARTER
This function is used to obtain a quarter number from a Date type value.
The quarter number is in the range from 1 to 4. The only option of the function is
an expression of the Date type.
QUARTER(Invoice.Date)
MONTH
This function is used to obtain a month number from a Date type value. The month
number is in the range from 1 to 12. The only option of the function is an expression of the Date type.
MONTH(Invoice.Date)
DAYOFYEAR
This function is used to obtain the day of the year from a Date type value. The day
of the year is in the range from 1 to 365 (366). The only option of the function is an
expression of Date type.
DAYOFYEAR(Invoice.Date)
220
DAY
This function is used to calculate the day of the month from a Date type value.
The day of the month number is in the range from 1 to 31. The only option of the
function is an expression of the Date type.
DAY(Invoice.Date)
WEEK
This function is used to obtain the week number from a Date type value. Numbers
of a year are enumerated from 1. The only option of the function is an expression of
the Date type.
WEEK(Invoice.Date)
WEEKDAY
This function is used to obtain the day of the week from a Date type value. The day
of the week is in the range from 1 (Monday) to 7 (Sunday). The only option of the
function is an expression of Date type.
WEEKDAY(Invoice.Date)
HOUR
This function is used to obtain the hour (24 hour clock) from a Date type value.
The hour of the day is in the range from 0 to 23. The only option of the function is
an expression of the Date type.
HOUR(Invoice.Date)
MINUTE
This function is used to obtain the minute number from a Date type value. The
minute of the hour is in the range from 0 to 59. The only option of the function is an
expression of the Date type.
MINUTE(Invoice.Date)
SECOND
This function is used to obtain the number of second from a Date type value. The
second of the minute is in the range from 0 to 59. The only option of the function is
an expression of the Date type.
SECOND(Invoice.Date)
221
CAST
This function is used to retrieve a type from an expression that can contain a
composite type. If the expression contains a type other than the required type, NULL
is returned. Options:
Converted expression;
Type the string containing the type string. For example, Number, String, etc.
In addition to primitive types, the string can also contain a table name. In this
case the function attempts to cast to the table reference.
CAST(Data.Attribute1, "Number(10,3)")
ISNULL
This function returns the second parameter value, if the first parameter has the NULL
value. Otherwise, the first parameter value is returned.
ISNULL(Sum(Sales.SumTurnover), 0)
222
Appendix 2
Text Editor
The 1C:Enterprise text editor provides users with all the basic functions needed to
edit texts. The text editor allows you to perform operations on text blocks and to
perform search and replace functions. Since operations in all the text editors are
similar, in this Appendix we describe only those features of the text editor that are
specific to the 1C:Enterprise.
printing, if necessary
text editor.
Use File Open menu item to open an existing text document. The standard file
open dialog will appear.
In this dialog, select the document file. In the File type field you can select the
format of the text document to be opened.
Warning!
If a document is opened with the Read only attribute, this document cannot be
edited. If the properties palette is opened (select Change Properties), then in the
224
Status line the document property will be given as Text open for reading. If the
document Read only attribute has not been enabled, then in the Status line the
document property is given as Text open for writing.
225
You can remove a bookmark by selecting Text Set/Clear Bookmark again when
the cursor is located in the bookmarked line.
To move between lines of text that have been bookmarked, use Text Next
Bookmark, Text Previous Bookmark. For moving between bookmarks: when you
reach the end or beginning (depending on the search direction), the next command
will move the cursor to the first or the last bookmark (loopback).
The Text Remove Bookmark command removes all the bookmarks from the text.
Bookmarks are automatically removed when a document is closed.
Bookmarks are not saved when closing the document.
226
Enter the text that you want to search for into the Find field of the dialog.
Check the Match case option to make search case-sensitive. If you check the Find
whole words only option, you can only find whole words and not parts of words.
The Direction group allows you to specify the search direction: Forward to the
right and below the current position of the cursor; Backward to the left and above
the current position of the cursor.
Click the Find button after specifying the search parameters. The specified sequence
will be highlighted if it is found.
You can repeat the search in the Forward direction by selecting Edit Find Next
menu item or by pressing F3.
You can repeat the search in the Backward direction by selecting the Edit Find
Previous command or by pressing Shift+F3.
Warning!
When the search reaches the end of the document, it continues from the beginning
and vice versa.
Enter the text that you want to search for into the Find field of the dialog. Enter the
replacement text into Replace field.
Check the Match case option to make the search case-sensitive. If you check the Find
whole words only option, you can only find whole words and not parts of words.
227
The Replace in group allows you to specify the search range within the selected
text (block of text) or throughout the entire document.
Click Find after specifying the find and replace parameters.
The searched for item will be highlighted in the text if found. To replace the located
string of characters, click Replace. The string will be replaced and search will
continue.
Click Replace All to replace all the occurrences of the required string.
Warning!
When the replace procedure reaches the end of the document, it continues from
the beginning and vice versa.
228
The Printer field allows you to select one of the printers connected to your computer
for printing. By clicking the button, you can open the list of these printers and
select the required one by clicking its name in the list. You can similarly select the
paper size and the paper tray.
The Margins group allows you to indicate the distance between the edge of the sheet
of paper and the text being printed. The text that does not fit within the specified
width will be carried over to the next page.
Click OK after you specify all the required parameters to save them. By clicking the
Cancel button, you can cancel the page setup modifications.
Print Preview. The print version of a document may be previewed before printing.
Use the File Print Preview menu item for this purpose.
Printing a Document. You can print a document using a dialog for print parameters setup or without this dialog using the standard printer settings (and the current
printer). In the former situation, use the first Print line. The standard print setup
dialog will open.
In this dialog select the required print parameters (printer, page range, number of
copies) and click OK to proceed to printing.
If you want to use current print options, select File Print with current settings
(Ctrl+Shift+P).
To view the list of keyboard shortcuts used in the text editor, open Help when using
the application.
Appendix 3
Spreadsheet
Document Editor
You can use a dedicated spreadsheet editor to create various print forms in
1C:Enterprise.
This section will go over the main principles of working with spreadsheet documents.
230
231
NOTE 1
When you open an XLSX document in versions of Microsoft Excel below 2007,
the output colors may not match the original colors of the spreadsheet document.
When multiline cell text is output to a spreadsheet document, the contents are
enclosed in double quotes, and double quotes within the multiline string are
replaced with two double quotes.
Saving in Excel spreadsheet format saves the document in the default Microsoft
Office Excel format (equivalent to Excel97 spreadsheet).
Spreadsheets saved as HTML documents may be viewed in any HTML document
viewer, e.g. in Microsoft Internet Explorer. HTML documents are saved in HTML-4
format that preserves most formatting parameters. When converting a spreadsheet
to HTML format, pictures and charts are preserved as well.
232
Managing a spreadsheet view. Use the Table View submenu items to configure
view of various areas and components of a spreadsheet document: column and row
headers, grid, etc.
Let us briefly describe the View menu items. All menu items and buttons work
as radio buttons: when an item is selected (clicked), the corresponding area is
displayed or hidden.
Menu item
Dock the table
Show grid
Show Headers
Show Groups
Edit
Show comments
Black and white view
Page view mode
Scale
Action
Locks the top rows and left columns of a spreadsheet document so that
they will always be displayed when the document is paged through
Toggles display of the spreadsheet grid (thin lines that separate cells)
Manages display of the row and column headers in a spreadsheet document
Shows and hides groups the areas to the left of the row header or
above the column header
Locks or unlocks spreadsheet documents
Toggles display of comments
Toggles display of colors specified for the spreadsheet document. When
this item is selected (checked in the menu), all the colors will be defined
by Microsoft Windows operating system settings
Toggles display of a minimum number of rows (depends on the entered
information), print area, page breaks
Performs a discrete image scale
Image scale. You can discretely scale a spreadsheet document view for your
convenience. Use the Table View Scale submenu to select the image scale:
when this item is selected, a submenu opens for selecting the desired scale for the
spreadsheet document.
Scale can also be changed using the mouse with a scroll wheel. Press and hold Ctrl,
and turn the mouse wheel. Turn the wheel forward to zoom in or backward to zoom
out.
Fixation (headers). In the 1C:Enterprise spreadsheet editor, the top rows and left
columns may be docked so that they are visible on the screen when you scroll
through a spreadsheet document. This is convenient when information is viewed
in large tables. In this case, the column and row headers of a spreadsheet document
will always be visible.
To fix the top rows, select the entire row of the spreadsheet document and select
Table View Lock Table menu item. All the rows above the selected one will be
docked.
To lock a spreadsheet column, select the entire spreadsheet column. All the columns
to the left of the selected one will be docked.
To lock spreadsheet rows and columns simultaneously, select one cell of the
spreadsheet. All the rows and columns to the top and left of the selected cell will be
docked.
233
If a spreadsheet document contains docked rows and/or columns, use the Dock the
Table menu item again to unlock them.
Setting as Read-Only. To prevent editing of a spreadsheet document, use Table
View Change menu item that should be unchecked.
If a cell contains text that does not completely fit in the visible area, hovering the
mouse pointer over the cell will result in displaying the text in a tooltip. If the text
is too large to be displayed in a tooltip, only part of the text will be displayed.
When editing this text, a tooltip will not be shown, as long as you do not move the
mouse pointer.
Scrolling in a spreadsheet document. Use the standard Microsoft Windows
methods to view information in spreadsheet documents. If your mouse has a
scrolling wheel, rotate it to scroll through the spreadsheet contents. Press and hold
Shift for horizontal scrolling.
3.6.1. Names
Names may be assigned to some spreadsheet cells, cell ranges and graphical
objects.
Use the Names dialog to manage names.
To name an element, select it, open the Names dialog using Table Names
Names menu item, enter the name into the text box and click Assign.
To delete a name, select it from the list and click Delete. Click Select to select the
area corresponding to the selected name. Click Close to close the dialog.
When a row or multiple rows (a column or multiple columns) are selected entirely
and this area is named, when in the Show Named Rows/Columns mode, area names
will be shown at the left (for rows) or in the top (for columns). Internal named areas
are shaded when the Show Named Cells mode is enabled. The name of an area is
displayed in the center of the area.
Spreadsheet document areas that have no user-assigned name are automatically named by the application. These names are not displayed in the Names
dialog. They can be viewed in the properties palette. You cannot assign
234
R5C7:R8C15 for a rectangular cell range between rows 5 and 8 and columns
7 and 15;
R6 for row 6;
Area names are unique for each document, i.e., different areas must have different
names. Area names are not case-sensitive.
Note the Shift+Enter keyboard shortcut. Using this shortcut allows you to start a
new text line in a cell without finishing editing the cell. You can also move to a
new line using this shortcut when entering text into the Text field of the property
palette of a cell.
235
Press Esc before leaving the editing mode to cancel all the changes you have made.
If text does not fit into a cell, it will be shown in the neighboring cells of the same
row (depending on the text alignment).
If you want to enter the same text into multiple cells, select these cells and enter the
required text into the Text property. To put the text into cells, click the Save button
on the toolbar of the properties palette. You can also copy the required text into the
clipboard, select any group of cells and paste the text from the clipboard.
Any text angle may be used in cells. Select the cells where text is to be arranged
at an angle and specify the required angle from -360 to 360 in the Orientation
property.
A comment may be created for any cell of a spreadsheet document. A comment
may contain any text that describes the cell. A cell with a comment is marked by a
red triangle in the upper right corner. If the Show Comments mode is enabled, the
text of the comment is always displayed. If this mode is disabled, the comment is
displayed as a tab on mouse-over for a cell.
When you are entering cell values in the Wildcard property, you can specify a wildcard that will define the string entry of symbols.
Editing keys. All the Microsoft Windows keys and keyboard shortcuts can be used
for editing text in spreadsheet document cells.
If you make a mistake when working with a spreadsheet document, you can undo
your actions. The editor has a special feature for this purpose. Use the Edit Undo
menu item to undo last action. You can undo all the actions that you have performed
after opening or creating a spreadsheet document.
Use the Edit Redo menu item to redo the previously undone actions.
236
Enter the text that you want to search for into the Find field of the dialog. The search
template string is unlimited.
Check the Match case option to make the search case-sensitive.
Check the Entire cells option to search only for the cells that exactly match the
source text.
There are eight methods for searching a document. Select the option you want in
the Direction group and View list. All the search methods are cyclical.
Use the Direction group to specify the general search direction: Forward move ahead
(right/down) from the current position, Back move back from the current position.
Use View list field to specify the range and order of the search directions:
By columns search the current column; upon reaching the end (or beginning)
of the column, move to the next cell in the general direction; upon reaching the
end (or beginning) of the document, move to the beginning (end);
By rows search current row; upon reaching the end (or beginning) of the row,
move to the next cell in the general direction; upon reaching the end (or beginning) of the document, move to the beginning (end);
In current column search the current column; upon reaching the end (or beginning) of the column, move back to the beginning (end) of the column;
In current row search the current row; upon reaching the end (or beginning) of
the row, move back to the beginning (end) of the row.
Click the Find button after specifying the search parameters. If a cell is found with a
specified sequence of characters, this cell will become the current cell.
You can repeat the search in the Forward direction by selecting Edit Find Next
menu item or by pressing F3.
237
You can repeat the search in the Backward direction by selecting the Edit Find
Previous command or by pressing Shift+F3.
Replace. Use the Change Replace command to replace a string of characters.
The replace parameters dialog will open.
Actions in the dialog are similar to those used to search for information. Enter the
replacement text into Replace field.
You cannot choose the direction of the replace function. It goes Forward.
Click Find after specifying the find and replace parameters.
If a cell is found with a specified sequence of characters, this cell will become the
current cell.
To replace the located string of characters, click Replace. The string will be
replaced and search will continue.
Click Replace All to replace all the occurrences of the required string.
238
This method is convenient when column and row headers are not displayed (usually
for spreadsheet documents located in forms).
Resizing row height and column width automatically. To modify the width of a
column, select the required column. Then select Table Format Column width. In
the displayed prompt, indicate the required column width and click OK the width
of the column will be adjusted according to the specified value.
For automatic calculation of row height depending on the text height, check Auto
row height. If Maximum row height is checked, the maximum possible row height is
specified in this field. If the actual row height is less than the specified height, the
row will be displayed with the actual height. If the actual height is greater than the
maximum value, the row height will be set to the maximum value. In this case the
row will be partly invisible. If Maximum row height is unchecked, the row height
will always be set as the actual height.
If Auto row height is unchecked, the Row height field specifies fixed row size.
Automatic column width is set differently from automatic row height. When a new
spreadsheet document is created, all the columns in this document have a standard
width that equals the width of nine symbols of the default spreadsheet font.
The default column width may be adjusted. To do so, highlight the entire spreadsheet document, select Table Format Column Width and enter the new default
column width as a number of characters in the default font. When you click OK, the
width of all the columns will be adjusted to match the new value. When you select
Auto, the column width value for the entire spreadsheet document will be used. If
Auto is specified as column width value for the entire spreadsheet document, all the
columns will have a width of 9.
The column width can be changed using the same procedure used for row height
adjustment.
If cells contain information and you need to set minimum column width or row
height, double-click the column or row separator. The program will determine
maximum height or width of the text and resize the cell so that the entered text fits.
239
Use these options to specify what should be inserted into a spreadsheet: the entire
cell, text only, the cell values, format, outline, comments or names.
240
Use Replace column formats to preserve the original column format (for details, see
"Specifying Varying Column Widths" on the page241), set in the source document.
Enhanced dragging. You can also use the right mouse button to move and copy
cells. This operation is referred to as enhanced dragging. The procedure is the
same as for the left mouse button, the only difference being that when the button is
released, a context menu is displayed.
Use this menu to specify the operation: moving, copying or copying with special
paste. The operation can also be cancelled from this menu.
241
the cells to the right will be moved, or vertically the cells below will be moved;
click OK.
If you select horizontal splitting, the result will be as shown in the figure below.
242
Place the mouse pointer over the column separator, left-click and drag the separator to the right or left while holding the mouse button down. Release the mouse
button. You will be prompted to confirm the action. The following message will be
displayed: New row format will be created for the selected rows. Click OK. Now the
template will look as follows:
As we see from the spreadsheet, the rate did not change for the first 9 days. Therefore, we may hide this information. To do so, we will select the rows from 5 to 13
and use Hide item from the context menu.
243
Note that the row numbering indicates that there are hidden rows.
To display hidden rows of a spreadsheet document, highlight any area that includes
the hidden elements (in this case we select rows from 4 to 14) and select the Show
command from the context menu.
Select the entire spreadsheet to show all the hidden areas.
244
Area names are shown between the headers and the area itself.
You may view rectangular named areas when the Table Names Show Named
Cells mode is enabled.
Area names are shown in shaded areas. The name is located in the middle of the area.
245
You can manage the grouped rows and columns. There are special markers that you
can use to simplify this process. There are two groups of markers (for levels and for
groups).
Level markers are numbered and located in the upper left corner of the spreadsheet.
Markers are displayed if the header view is enabled (Table View Show Headers/
Footers). The marker with the highest number is used to display all groups. Click
on each previous marker to hide all the groups of the current level. This does not
influence external groups.
246
The group label is placed to the left of the rows or on top of the columns. There are
two states: group is shown and group is hidden (see fig. 215). Use these markers to
manage the view of individual groups. Click on the group marker. The group will
be hidden if it has previously been shown and will be shown if it has previously
been hidden. The appearance of the marker will change.
The row or column that is located near the marker is referred to as the totals row.
You can change the position of the totals row. For horizontal groups, the totals row
may be located at the top or at the bottom of a group. For horizontal groups, the
totals row may be located to the left or right of the group. Use the Total Horizontally
and Total Vertically properties to set the position of the totals row. When the position of the totals row is changed, the group marker position also changes. Totals
row positioning properties are applied to all the groups of a spreadsheet.
247
Depending on the position of the selected range and existing group, the editor will
do one of the following:
if the selected area of rows or columns does not overlap existing groups, nothing
will be done;
if the selected area of rows or columns is located within an existing group,
nothing will be done;
if the selected area of rows or columns partially coincides with an existing
group, the selected rows or columns will be removed from the group;
if the selected area of rows or columns completely contains an existing group,
the group will be deleted.
The picture below is an example of nested and external groups.
A first level group Department 07 (an external group) contains two nested groups
for Office 1 and Office 2. These groups are external as related to employee groups.
248
Fig. 217. Picture selection dialog for insertion into a spreadsheet document
A picture can be selected from a library (from the Library list) or inserted from a
file. To insert a picture from a file, click the Select from file button. A standard file
open dialog will be displayed. You can specify the name of the picture file in this
dialog. If a file name is not specified, a place for a picture will be reserved in the
spreadsheet. Pictures are inserted in their original size.
If a file is selected, you can specify a transparent color for the picture. As a rule,
background color is made transparent so that it does not cover information under
the picture.
The picture is always inserted as is. You can modify the size of the area for picture
placement. To do so, select the Picture object and drag the object border or object
corner in the desired direction. Press and hold the Shift key if you want to preserve
the area aspect ratio.
Use the Picture size property to specify the method of picture placement:
Real size the picture is inserted in its original size. If the actual size is smaller
than the area size, the rest of the area remains empty. If the actual size is larger
than the area size, only part of the picture will be shown.
Stretch the picture is completely fitted into the area, no matter what the picture
size is.
Proportionally the picture is displayed with its original proportions. The
smallest picture dimension that can fit in the area is selected. Another dimen-
249
sion is calculated proportionally to the first dimension, and the picture is placed
in the area.
Tile the picture is always inserted with its original size. If the area is larger
than the original picture, the picture is tiled.
AutoSize if the picture completely fits in the field, it will be displayed in its
original size; if the picture is too large, it will be displayed in a proportional size.
Standard graphical objects (rectangle, oval and text) may be transparent or filled
with different colors. By default, graphical objects in spreadsheets are completely
filled with color. A fill type can be selected in the Pattern property of the
Background category. Background color and pattern color may also be specified.
The Line Style property can be used to specify the line (border) style for inserted
graphical objects and the Line Color property to specify its color.
250
Select the Table Pictures Select Drawing Objects command again to disable
the graphical object selection mode.
Same Height sets the same height for all the objects in a group.
Same Size sets the same size for all the objects in a group.
251
252
You can work with a new graphical object consisting of several grouped objects as
you would with any regular graphical object.
You may ungroup a composite object if needed. To do so, select a composite
graphical object and use the Table Pictures Ungroup command.
use your mouse to draw a rectangle of the desired size in the area where you
253
If you first select the cell data range, then you will not need to enter the range in a
prompt displayed when inserting a chart. When a chart is inserted, it automatically
displays the data specified in the selected area.
After creating a chart, you must activate it, for example, by double-clicking it and
customize it using property values in the properties palette.
The spreadsheet document will now contain the chart that displays the data in
graphical form. You can configure the chart appearance, header, area size, chart
colors, and many other parameters, using the properties palette of the chart.
Use the toolbar to customize the chart (Edit Properties in the main menu).
254
Programs for OLE objects creation are not included in the distribution kit. These
are separately licensed products running under Microsoft Windows. To obtain
help regarding use of the opened application, refer to the documentation supplied
with the application.
edit the OLE object if required.
finish the OLE object editing by clicking anywhere in the spreadsheet work area
255
documents have a rectangular structure, it is best to create templates for these documents in an editor that supports rectangular elements.
That feature is provided by the 1C:Enterprise spreadsheet editor. In the process of
creating a template you can enter various text into spreadsheet cells; assign formatting parameters both for text and for the entire cells; adjust spreadsheet row heights
and column widths; insert drawing items into the template (lines and boxes, other
graphical objects, including pictures, OLE objects and charts, and various controls).
It I also possible to define the appearance for the entire spreadsheet or for individual
cells or cell groups.
In its final form, the template will be a combination of rectangular areas, each of
which is used to yield some part of the prepared document or report: an area for the
title (name, dates, etc.), an area for headers, one for tabular section, etc.
You can assign a unique name to every rectangular area of a template so that you
can refer to it later on.
The process of constructing a report based on a template goes as follows:
First, a document or a report is constructed as an empty spreadsheet. Remember
that a template is not directly linked to the finished report. A template is a sort of
a wizard, a certain set of areas for which a report is made by the program module.
When processing a report algorithm from a template, area names are taken in
the required order, translated (variable names are replaced with their values) and
copied to the prepared report. The report generation script permits expansion of
reports both horizontally and vertically.
Another way of constructing a report is when the user enters data in spreadsheet document cells designated for the report and these data are processed by
the program using a formula given in the report spreadsheet document itself.
The results will appear in different cells of the spreadsheet document. Now the
report is ready to be viewed and printed.
256
3.24. Pagination
When large spreadsheet documents are printed, the 1C:Enterprise spreadsheet
editor performs automatic document pagination in compliance with page settings.
Automatic pagination takes page breaks and fixed page elements positions into
consideration.
Position settings are not transferred from spreadsheet documents to final documents.
Manual page break. To force page breaks, use the Table Print Options Insert
Page Break command.
To insert a horizontal page break, select a cell or a row in your spreadsheet and
use the Table Print Options Insert Page Break command. A page break will be
added above the selected cell or row. Page breaks are marked with dotted lines.
To remove a page break, select a cell or a row under an existing page break and use
the Table Print Options Remove Page Break command.
To insert a vertical page break, select a column in a spreadsheet and use the Insert
Page Break command. A page break will be added to the left of the selected
column. It will be marked with a dotted line.
To remove a vertical page break, select a column to the left of the page break and
use the Table Print Options Remove Page Break command.
Position on page. The position can be specified for any row or column (or a range
of rows or columns) on page. To do so, select the range and check the Beginning of
page or Keep with Next property of the Paragraph category in the properties palette
(for Cells).
To change the position on a page, reselect this range and uncheck the Beginning of
page or Keep with Next property.
257
258
Headers and Footers. The Headers and Footers group is intended to specify the
dimensions of the page area that will be allocated for headers and footers. The
dimensions are specified in millimeters and are calculated from the top or bottom
margin toward the corresponding edge of the page.
Scale. Use the Scale field to specify the scale for printing a spreadsheet. The specified scale does not influence the viewing scale in the editor.
Fit to page width. If this mode is enabled, the spreadsheet document editor will
automatically scale the spreadsheet in such a way that the width of the document
will fit on one sheet of paper.
Black and white. If this option is checked, all the document colors will be ignored,
and the document will be printed in black and white.
259
used. These parameters include manual page breaks, row and column repetition,
row and column position on page, etc.
Printing a document. Use the File Print command to print a document.
The standard print setup dialog will open.
In this dialog select the required print parameters (printer, page range, number of
copies) and click OK to proceed to printing.
260
Repeating Rows specifies the rows of a spreadsheet document that will be printed
on every new page (see "Print Area Definition").
Repeating Columns specifies the columns of a spreadsheet document that will be
printed on every new page (see "Defining Repeating Rows and Columns").
The appearance of groups and headers may also be configured by selecting the text
and background colors.
If you plan to use the spreadsheet document in the future, use the Save Settings
option to store the view settings for the document (display of headers, grid, groups,
names, fixation position, etc).
The Total Horizontally and Total Vertically options contain the rows and columns
that constitute a logical part of a group, but should remain visible when the group is
minimized.
Let us consider an example with the Total Vertically option (set to Top). The source
data table is shown in the figure below:
When you click the first level marker, the table transforms to:
261
Select a picture from the library or from a file. You can make any color of the picture
transparent (remove it). To do so, click Set transparent background. The mouse
pointer will change. Move the mouse over the color you want to make transparent
and left-click it. You can cancel transparency by clicking Clear transparency.
Click OK to apply the background.
262
Click the Clear button in the background picture window to remove the background
picture from your spreadsheet document.
Check the Fixed Background option if you do not want the background picture to be
scrolled with the spreadsheet document.
263
When this dialog is opened, use your mouse or keyboard (see "Names" on the
page 233) to specify the required range and click the Range selection button.
The selected range will be specified in the Print Range option.
You can also specify the print area using menu commands (see "Print Area Definition" on the page257).
Details
Text that does not fit in the width will be displayed in neighboring cells if they do
not contain text
The visible part of the text will be limited by the left and right cell borders
The visible part of the text will be limited by the left and right cell borders; all the
characters in the visible part will be replaced by # symbols. (Used when misinterpretation is possible. Example: a number)
Text that does not fit in the width will be moved to the next lines of the cell
264
By selected columns if this option is checked, the text in the leftmost cell of the
selected area will be located in accordance with the selected horizontal position for
the entire selected area. This mode is used to center text in several cells in a row.
Vertical specifies vertical alignment of text in a spreadsheet document cell.
Bottom
Top
Center
Orientation specifies the text angle in a cell (varies from -360 to 360).
Indent indentation from the cell border that was used for text alignment in a cell.
AutoIndent if this option is set to more than 0, indentation will be defined as a
product of the grouping level and property value when groupings are used.
The Indent and AutoIndent are not mutually exclusive.
265
Click the selection button to configure border appearance. The line selection dialog
will open.
266
Appendix 4
4.3. Saving
You need to save an HTML document into a file to be able to open, edit and view it
in the future. To do so, select the File Save command.
In the file save dialog, select the directory and type in a file name. Click Save.
4.4. Editing
Creating an HTML document is similar to working with a regular text editor.
However there are some differences. For example, you can insert pictures, HTML
tables (later in this chapter we will use the term table), labels and links to other
documents.
268
Actions
Adds a new row above the current one
The current row is deleted
A new column is inserted to the right from the current one
The current column is deleted
A new cell is inserted into the table to the left from the current one. All
the cells on the right are shifted
Deletes current cell. All the cells on the right are shifted to the left.
Merges two cells: the current cell and the one to the right from it. The
information entered into these cells is also merged. If you need to merge
more than two cells, repeat this operation as many times as required.
Splits the current cell into two cells
Actions
A picture is in the text
A picture is in a new row and attached to the left border of the document
A picture is in a new row and attached to the right border of the document
A picture is in a text aligned towards the center of the picture
269
Actions
A picture is in a text aligned towards the bottom of the picture
A picture is in a text aligned towards the center of the picture
A picture is in a text aligned towards the top of the picture
If you want to place a picture in a frame, type in a border width in the Border dialog
box attribute. If the width is not defined or is 0, the border is not displayed.
Click OK to insert the picture.
You can change the attributes specified in the dialog using the picture properties
panel.
You can move this picture. To do so, point to the picture and drag the mouse to the
required location in the document. The Alignment picture property does not change;
for example, if neither Left, nor Right is selected, you can add a picture to the text,
otherwise that picture will be in a new row.
You can copy a picture. You can copy it in a standard manner (using the clipboard
or your mouse with the Ctrl key pressed).
You can place a picture anywhere in HTML document (the text, table or label).
4.9. Label
A label is a special object of an HTML document. It is an area where you can
place some text, table, picture or other labels. When a label is displayed, the nested
objects scroll continuously from right to left.
To insert a label, select the Element Marquee command.
You can resize the label. To do so, select the label and drag the label marker with
your mouse.
You can add labels to a text and a table.
4.10. Links
You can create links for hypertexts in an HTML document.
Select a text or a picture object, and use the Element Link command. The dialog is
displayed to create a link.
Provide the path to a hyperlink or bookmark name in the Address attribute. Click
OK to create the link.
270
You can format the selected object in compliance with the style of the hyperlink.
It is usually a blue underlined text. A picture is placed inside a blue border.
In the view mode when you point your mouse to an object with a link, the pointer
changes its shape to a pointing hand.
4.11. Bookmarks
You can create bookmarks for internal references within the current HTML document.
Select a text or a picture object, and select the Element Bookmark command.
A bookmark creation dialog box will be displayed.
4.12. Line
Lines can help to visually organize a document.
Appendix 5
Schema document.
Documents of this type are saved in a file with the .GRS extension.
272
273
a large spacing tends to leave large gaps between items, which increase the size
of the schema. We recommend setting a grid spacing of 20 (both vertically and
horizontally) because it successfully combines a reasonable spacing between items
and sufficient precision in sizing.
Group operations are applied to all the selected items except connector lines
(since connector lines are reconstructed automatically, and users cannot manage
the coordinates of their segments).
Actions
Align Left
Aligns the left boundaries of the selected items. The items left boundaries
are arranged in a straight line vertically
Align Right
Align Top
274
Commands
Actions
ign Bottom
Align Automatically
Actions
Distribute Vertically
Evenly distributes all the items in a group between the top and bottom
one
Distribute Horizontally
Evenly distributes all the items in a group uniformly between the leftmost
and rightmost items
The commands are available whenever two or more schema items are selected.
When you execute a command, border items remain in place and all the other items
are distributed so that the distance between all the selected items is the same. The
items in the middle are distributed without being snapped to the grid, even if snap
to grid mode is enabled.
Actions
Same Width
Same Height
Same Size
275
The effect of the Same Width command for different item masters is illustrated by
the figure below (in the example 1, the upper item is the master; in the example 2 it
is the lower item).
Actions
Move Up
Move Down
Bring to Front
Send to Back
These actions are applied both to one item and to a group of items.
5.4.5. Scale
For more convenient viewing of the entire graphical schema, you can use Graphical
Schema Scale (or scroll with your mouse while holding the Ctrl key) to change
scale.
276
Black and white defines if the graphical schema should be printed and previewed
in black-and-white.
Scale you can use this option to specify the scale mode. Available scale modes:
Auto no rescale (default mode).
By page width proportional scale by page width. If the graphical schema width
(the coordinate of the rightmost item) is larger than the page width, the graphical
schema is proportionally scaled (the X and Y coordinates are proportionally
adjusted) so that the schema width can fit on the page.
Proportionally the proportional scale mode. If the graphical schema height (the
lowest coordinate of the bottom item) or width is greater than the page height or
width, the graphical schema is proportionally scaled (the X and Y coordinates
are proportionally adjusted) so that the entire schema can fit on one page.
277
the unique properties of some items, see the sections dedicated to individual item
types.
For descriptive convenience, the property settings will be grouped by category as
they are in the properties palette.
Some properties that are described below can be unavailable for specific items.
278
279
is drawn over the first segment of the line or in the middle of the line (in the middle
of the sum of all the segments of a line).
5.6.8. Decoration
The Decoration graphical schema item is designed to display figures with text and/
or pictures.
The feature of drawing a decoration with the Transparent Background property
enabled is that the graphical schema grid and underlying schema items will be
drawn over it in the transparent areas of the decoration.
Depending on the figure type selected, the text and picture area changes. For
example, in a decoration with a Right Arrow type figure, the text and picture area is
bounded by the rectangular base of the arrow.
280
281
282
Appendix 6
Geographical
Schema Editor
A geographical schema is a set of topographic data that describe geographic
features, and free-form data related to the geographic features, and these data can
be grouped into logical series.
A geographical schema can be used independently (in a Geographical schema document) or placed within a spreadsheet document. In the latter case, an area of data
depicted on the geographical schema can be allocated for it in the spreadsheet docu-
284
ment. A geographical schema may also be located within a form. In the latter case,
the source data is customized and prepared during configuration development.
A geographical schema contains geographic objects, which are usually grouped by
type or by several attributes using layers.
Layer a set of geographic objects grouped by some attribute. For example, the
Rivers layer contains objects describing the geometry of rivers in the region, and
the Districts layer contains a description of a citys districts.
Layer object an elementary object describing topological data of a specific
geographic feature. For example, an object can describe the contours of a region.
Objects are divided into the following classes:
Point object represents a feature that can be represented as a point.
For example, cities can be represented as point objects on a large-scale map.
Multipoint object an object that can be represented by multiple points.
For example, cities in a region can be grouped by population, and each such
group represented with such an object.
Polyline object an object that can be represented as a line. For example, such
objects on a map can represent rivers or highways.
Polygonal object an object that defines some area. For example, Vladimir
Region can be represented by a polygonal object on a geographical schema.
Series free-form data grouped by some attribute. An example of such a series
could be annual sales by region.
Series value the value of a data series associated with a specific feature.
For example, for the data series Annual sales by city, the value of the data series
will be the sales for a particular city for a particular year.
Shapefile a file of topological data created using software of the ESRI ArcGIS
family. Can contain data linked to topological features. Each file contains one layer.
A geographical schema permits such files to be read as layers.
Warning!
285
286
Use the buttons on the toolbar to add, edit, and delete layers.
When you add a layer, a layer selection dialog opens first, and then a layer import
parameter window (on the drawing).
In the window, specify the name under which the layer will be imported into the
schema, what data series should be imported and under what name, and how they
will be displayed.
Each topological object on a geographical schema has a special property, Value,
which is designed for storing free-form data, and in the general case, permits easy
identification of features.
In the Layer Import Options window, use the values of some data series to populate
the values of each object. To import values, check Fill Value Property of Layer
Objects and specify the series to import from.
Once you have selected the layers, you can begin customizing them.
Layer settings include:
Text free-form text describing the layer.
Data source organization defines the organization of the data source, if such a
source is used. For details, see the section describing the peculiarities of working
with spreadsheet documents.
Visibility defines the layer visibility on the schema.
Enable selection defines the possibility of interactive selection of objects on
the schema.
Scale Range Beginning defines the beginning of the scale range within which
the layer will be visible on the schema.
Scale Range End defines the end of the scale range within which the layer
will be visible on the schema.
Series settings include:
Text free-form text describing the series.
Format the data display format.
Display Type the series display type. Series values may be:
hidden
displayed as text
displayed as a histogram
displayed as circles whose size depends on the value
displayed as circles whose color depends on the value
displayed as circles whose hue depends on the value
displayed as a pie chart
displayed as a picture
287
Base color the color depending on which the series will be displayed in
288
You can manage elements using command bar buttons. If you add an element, a list
of layers is displayed first, and after you select a layer, a list of series is displayed.
Select the desired series and specify its settings.
289
be displayed.
Available options:
All Data the data are scaled so they fit entirely within the visible area.
As Scale Defined data are scaled according to scale.
Specified Area only the coordinate-specified area.
Scale the scale for data to be displayed in As Scale Defined mode.
Projection the geographic projection in which the geographical schema will be
displayed.
Latitude Offset the latitudinal amount in degrees by which the coordinate
origin will be offset.
Longitude Offset the longitudinal amount in degrees by which the coordinate
origin will be offset.
Show Coordinates if enabled, the coordinates of the point under the mouse
pointer will be displayed in the status bar. This property is not available for
some projection types.
Left the left border of the specified area. Available if Specified Area scale
mode is selected. Specified in tenths of a degree.
Bottom the bottom edge of the specified area. Available if Specified Area scale
mode is selected. Specified in tenths of a degree.
290
Right the right edge of the specified area. Available if Specified Area scale
Top the top edge of the specified area. Available if Specified Area scale mode
Title shows or hides the title area. Available if the geographical schema is
Legend shows or hides the legend area. Available if the geographical schema
Data Series 1
Data Series 2
Data Series 3
Data Series 4
Data Series 5
Object 1
Object 2
Object 3
Object 4
Series 1
Value 1
Value 2
Value 3
Value 4
Value 1
Value 2
Value 3
Value 4
Value 5
Series 2
Value 1
Value 2
Value 3
Value 4
Series 3
Value 1
Value 2
Value 3
Value 4
Series 4
Value 1
Value 2
Value 3
Value 4
Data Range the range of data in the spreadsheet document that will be used as a
data source (similar to a chart).
291
Data Series the series of data linked to the legend element. To add a series, click
the Add button on the toolbar, select the layer, and then select the series.
Picture a picture that helps decipher a legend element.
Sample Text text as displayed on the schema.
Sample Font sample text font.
292
If a legend element is linked to a data series and the sample text is not specified,
text from the data series will be displayed.