Вы находитесь на странице: 1из 441

Terrasoft 3.

........................................................................................................ 9
1. ..................................................................... 10
1.1. Terrasoft 3. ............................................................................. 11
1.2. ................................................................................. 13
1.3. ................................................................... 18
1.4. ................................................................................ 20
1.5. .................................................................. 23
1.6. .................................................... 25
2. Terrasoft 3.X..................................................................................... 26
2.1. ............................................................................... 27
2.1.1. ........................................................ 27
2.1.2. ................................................................................. 32
2.2. ............................................................................... 34
2.2.1. Terrasoft MS SQL 2000................................................ 34
2.2.2. Terrasoft MS SQL 2005/2008 ....................................... 40
2.2.3. Terrasoft Firebird ........................................................ 51
2.2.4. Terrasoft Oracle .......................................................... 51
2.3. ..................................................... 54
2.3.1. MS SQL 2000/2005/2008 ................. 56
2.3.2. Firebird 2.5 ..................................... 56
2.3.3. Oracle............................................. 57
2.3.4. ........................ 58
2.4. web- ............................................................................ 60
2.4.1. web- IIS........................................................... 60
2.4.1.1. web- IIS ................................ 60
2.4.1.2. web- IIS 6.0 ................................................. 61
2.4.1.3. web- IIS 7.0 ................................................. 65
2.4.1.4. IIS ................................................. 69
2.4.1.5. web- IIS ..
70
2.4.1.6. SSL-.............................................................. 71
2.4.2. web- Apache 2.................................................. 78
2.4.2.1. web- Apache ................................................ 78
2.4.2.2. web- Apache
............................................................................................................... 79
2.4.2.3. SSL- Apache ........................................... 79
2.4.3. web- c Terrasoft Web Services HTTP Server80
2.4.3.1. ............................................... 82
Terrasoft 3.X

2.5. OLAP- ................................................................................ 84


2.5.1. OLAP- .......................................................... 84
2.5.2. .......................................................................... 84
2.5.3. ....................................................................................... 87
2.5.4. [OLAP] ..................................................... 88
2.6. ........................ 93
2.7. .......................................................... 95
2.8. ................................................ 97
3. .......................................................................... 100
3.1. ...................................................................... 101
3.1.1. ..................................................... 103
3.1.2. .................................................. 104
3.1.3. ........................................................ 107
3.2. ................................................................ 109
3.2.1. ............................................................. 110
3.2.2. ......................................................... 115
3.2.3. ......................................... 116
3.2.3.1. ............ 116
3.2.3.2. ................................................................... 118
3.2.3.3. ............................................................. 119
3.2.3.4. ................................... 119
3.3. .......................................................... 120
3.3.1. Terrasoft ....................................... 120
3.3.2. ...................................... 123
3.3.3. .............................................................. 125
3.3.4. ........................................................ 126
3.3.5. ...................................................... 128
3.4. ......................................................................... 130
4. ......................................................................... 132
4.1. ....................................................................................... 133
4.2. ............................................................................... 135
4.2.1. ........................................................... 135
4.2.2. .................................................................. 136
4.2.2.1. ................................... 137
4.2.2.2. .................................................................... 138
4.2.2.3. ...................................................... 139
4.2.2.4. [] [] ..................................... 139
4.2.3. [] [] ................................ 139
4.2.4. [] ............................................................... 140

4.2.5. [] .............................................................140
4.2.6. [] ..................................................................140
4.2.7. []............................................................141
4.2.8. []..........................................................141
4.2.9. []..............................................................141
4.2.10. []........................................................142
4.2.11. []..........................................................142
4.2.12. MS Outlook .............................................142
4.2.12.1. ............................................................142
4.2.12.2. ...................................................................146
4.3. ...........................................................147
4.4. ..............................................................152
4.5. .............................................................155
4.6. ..................................................................157
4.7. ...................................................................................161
5. Terrasoft 3.X ..............................................................162
5.1. [] ........................................................................................163
5.1.1. ......................................................................164
5.1.2. ................................................167
5.1.3. MS Word .....................................................168
5.1.3.1. ..............................................................168
5.1.3.2. ..........................................................169
5.1.3.3. .....................................................170
5.1.3.4. MS Word ..................................................171
5.1.4. MS Excel......................................................175
5.1.5. [] ................................................176
5.2. [ ] ...................................................................178
5.2.1. ...............................................................................179
5.2.2. ............................................................181
5.2.3. [] [ ] ..........................186
5.2.4. [ ] [ ] .................189
5.2.5. [ E-mail ].............................................190
5.2.6. [ ] ...........................191
5.3. [] ......................................................................................192
5.3.1. .................................................................193
5.3.2. ................................................................................201
5.3.3. .........................................................................202
5.3.3.1. ..............................................................204
5.3.3.2. .............................................................................205
Terrasoft 3.X

5.3.3.3. ........................................................... 207


5.3.3.4. ........................................................... 209
5.3.3.5. ................................. 210
5.3.4. [] .............................................. 212
5.4. [ ] ................................................................ 213
5.4.1. [ ] ........................ 214
5.4.2. [ ] ......................................... 214
5.5. []................................................................................. 215
5.5.1. MS Excel............................................... 216
5.5.1.1. ........................................................ 216
5.5.1.2. MS Excel ....................................................... 217
5.5.1.3. MS Excel .......................................... 218
........................................................................ 219
.............................................. 221
.......................................................................... 223
......................................................... 225
........................................................................ 226
5.5.1.4. MS Excel ...................................... 227
5.5.2. 1 ..................................................... 228
5.5.2.1. .................................................... 228
5.5.2.2. 1 ................................................... 230
....................................... 232
................................................................ 236
.................... 238
....................................... 238
5.5.2.3. 1 ............................................... 238
5.5.3. .............................................................................. 241
5.5.4. [] ................................................................................ 243
5.5.5. []......................................... 244
5.6. []...................................................................................... 245
5.6.1. ................................................................ 246
5.6.1.1. ................................................................. 247
5.6.1.2. ......................................................................... 253
5.6.2. ............................................................................... 259
5.6.3. ............................................................................... 262
5.6.4. [].............................................. 263
5.7. [ ]........................................................................ 264
5.7.1. .................................................................. 265
5.7.2. [ ]................................ 267

5.8. [ ].............................................................269
5.8.1. ...............................................................270
5.8.2. [] [ ] .....................273
5.8.3. [] [ ] ....................277
5.8.4. [ ] [ ] ..278
5.8.5. [ ] [ ] ......280
5.8.6. [ ].....................281
5.9. [] ...............................................................................282
5.9.1. ............................................................283
5.9.2. .........................................................284
5.9.2.1. [ ].................................................................285
5.9.2.2. ...........................................................286
5.9.3. ...................................................................288
5.10. [ ] ...............................................................290
5.10.1. ...........................................................290
5.10.2. [ ] [ ]...................294
5.10.2.1. ...............................................295
5.10.2.2. .................................................296
5.10.2.3. ................................296
5.10.2.4. -...............................................297
5.10.3. [ ] [ ] ........299
5.10.4. [ ] .......................301
5.10.5. [ ] ........................................301
5.11. []...................................................................302
5.11.1. [] ....................................................303
5.11.2. [] ..........................................303
5.11.3. [].................................................................304
5.11.4. [ ]....................................305
5.11.5. [ ]...................................................306
5.11.6. [ ].........................................307
5.11.7. [ ].................................................309
5.11.7.1. [] [ ] ............309
5.11.7.2. [ ] [ ] ...........................................................................................................311
5.11.7.3. [ ]
[ ] ..........................................................................312
6. -....................................................................315
6.1. -............................................317
6.1.1. , , , ............................318
Terrasoft 3.X

6.1.2. .................................................................... 322


6.1.3. ............................................................................ 323
6.1.4. ................................................................................. 324
6.1.5. ................................................................................ 325
6.1.6. - .................................................................. 326
6.1.6.1. E-mail ........................................................... 326
6.1.6.2. .................................................. 328
6.1.6.3. ............................................................. 330
6.1.6.4. .......................... 334
6.1.6.5. / ................................................. 337
6.1.6.6. ... 339
6.1.7. ......................................................................... 340
6.2. -............................................ 343
6.3. ......................................... 345
7. Terrasoft Administrator................................................................. 347
7.1. Terrasoft Administrator ............................................ 348
7.1.1. Terrasoft Administrator................................................................ 348
7.1.2. ................................................................................. 350
7.1.2.1. .......................................... 350
7.1.2.2. .................................................. 351
7.1.2.3. ............................................... 352
7.1.2.4. .................................................................... 353
7.1.2.5. ................................................ 354
7.1.3. ........................................................................... 355
7.1.4. ..................................................... 357
7.2. .......................................................................... 359
7.3. ................................................................ 361
7.3.1. Table..................................................................................... 361
7.3.1.1. Table............................................................... 361
7.3.1.2. Table ............................................. 362
7.3.2. Select Query .......................................................................... 366
7.3.2.1. Select Query .................................................... 366
7.3.2.2. Select Query .................................. 366
7.3.3. Insert Query .......................................................................... 370
7.3.4. Update Query......................................................................... 371
7.3.5. Delete Query.......................................................................... 372
7.3.6. InsertSelect Query.................................................................. 373
7.3.7. Custom Query ........................................................................ 374
7.3.8. Dataset.................................................................................. 376

7.3.8.1. Dataset ............................................................376


7.3.8.2. , Dataset .................................378
7.3.8.3. Dataset .............................................................380
7.3.8.4. Dataset .....................................................381
7.3.9. MemoryDataset ......................................................................382
7.3.10. User Fields ...........................................................................383
7.3.10.1. User Fields ..................................................................383
7.3.10.2. User Fields ......................................................384
7.3.10.3. User Fields ..................384
7.3.11. Enum ...................................................................................385
7.3.11.1. Enum .............................................................385
7.3.11.2. ...............................................................385
7.3.12. ImageList .............................................................................386
7.3.12.1. ImageList .......................................................386
7.3.12.2. ImageList ..................................................386
7.3.12.3. ......................................387
7.3.13. ADO- .....................................................................................388
7.3.13.1. ADOConnection ...............................................................388
7.3.13.2. ADOCommand ................................................................389
7.3.13.3. ADODataset ....................................................................390
7.4. ..........................................................393
7.4.1. Window .................................................................................393
7.4.1.1. ................................................................................394
7.4.1.2. .................................................................................395
7.4.1.3. ..........................396
7.4.2. FastReport .............................................................................398
7.4.2.1. FastReport ....................................................................399
7.4.2.2. FastReport .....................................................................399
7.4.2.3. FastReport ................................................399
7.5. - ..................................................402
7.5.1. Script .....................................................................................402
7.5.1.1. ...........................................................................402
7.5.1.2. ..............................................................403
7.5.1.3. ................................................................................404
7.6. -...................................................406
7.6.1. Workflow Diagram ..................................................................406
7.6.1.1. - .............................................................407
7.6.1.2. - ..........................................................407
7.6.1.3. - ..............................................................412
Terrasoft 3.X

7.6.1.4. - ............................................ 413


7.6.1.5. - ............................................. 413
7.6.2. Workflow Action ..................................................................... 414
7.6.2.1. Workflow Action ............................................... 414
7.6.2.2. Workflow Action ......................................................... 415
7.6.2.3. Workflow Action ............................................................. 416
7.7. Terrasoft Administrator .......................... 418
8. Terrasoft Administrator ..................................... 420
8.1. ........................................................... 421
8.1.1. .................................................................... 422
8.1.2. ........................................................ 423
8.1.3. ............................................................................ 424
8.1.4. ............................................................. 425
8.1.5. ....................................................... 426
8.1.6. .............................. 427
8.1.7. ................ 427
8.2. ................................................... 429
8.2.1. ........ 432
8.3. MS Excel ........................................................ 434
8.3.1. .................................................................... 434
8.3.2. ........................................................... 436
8.3.3. MS Excel .................................................. 440


,
, , , Terrasoft 3.X.
.
Terrasoft.
Terrasoft 3.X .
,
.
.
, Terrasoft 3.X
.
.
,
.
.
, ,
,
. ,
[,]
[].
, -
. ,
-.
Terrasoft Administrator. ,
, .

.
,
,
.

Terrasoft 3.X

10

1.
Terrasoft 3.X -
Terrasoft 3.,

.
(
), , web- (
),
.
,
.
.

.
,
, .
() ,
.
.
,
.

Terrasoft 3., . 11

, . 13

, . 18

, . 20

, . 23

, . 25

Terrasoft 3.

11

1.1. Terrasoft 3.
Terrasoft 3. ,
, .

,
.

,
.
.

,
.

,
.

.
, , .


. Web
Web Microsoft IIS
Apache.


.
,
,
. -
Terrasoft 3..
: Microsoft SQL Server, Oracle
Firebird.


() .
.
.
,
, .

,
XML,
.



.
,
,
.

, : ,
Terrasoft 3.X

12

, ,
, ,
. .

, Terrasoft
, IDE ( ).
,
, -
, . ,
CRM-
() Terrasoft 3..
,
, ..

. ,
.
UNICODE,
.
.

Terrasoft 3.
.
,
, .

.

ADO.
COM-
Terrasoft 3. ,
.

13

1.2.

(). Terrasoft
:

:
, ,
, .
Terrasoft :
MS SQL Server 2000 + Service Pack 4

Windows.

:
.
, MS SQL Server
Windows, 32 64
Windows.
: .
MS SQL Server 2000 Desktop Engine (MSDE 2000) + Service Pack 4
MS SQL Server 2000.

Windows Vista
.
MSDE Microsoft Data Engine - ,
SQL Server 2000
( ).

,
.
MSDE ,
SQL Server 2000:

2Gb;

2Gb;

();

2 CPU Windows NT Windows 2000;

Terrasoft 3.X

14

Failover;

Full-text search;

OLAP;

English Query;

SQL Books Online;

GUI ( , SQL Server


Enterprise Manager, SQL Server Profiler, Query Analyzer, Database Upgrade Wizard,
Index Tuning Wizard, Import and Export Wizards).

MS SQL Server 2005


:


Management Studio;

-: ,
;

, .

MS SQL Server 2005 Express Edition


, Microsoft SQL Server 2005.
Microsoft Desktop Engine ( MSDE).
Microsoft Visual Studio 2005,
,

.
, , :

1Gb;

4Gb;

1 SMP (Symmetric MultiProcessing).

SQL Server 2005, SQL Server


Express:

Reporting Services;

Notification Services;

Integration Services;

Analysis Services;

Full-text Search;

OLAP Services / Data Mining.

MS SQL Server 2008


MS SQL Server 2008 ,
, ,

15

, , ,
, . ,
.
. ,
, .
MS SQL Server 2008 :

,
;

,

;

. NULL
.
, NULL,
SQL Server 2008, ;

,
;

MS Office;

MS SQL Server 2008 Express Edition


Microsoft SQL Server 2008 Express ,
.
, ,
SQL Server 2008 (
) SQL Server 2008
Management Studio Express, .
, , :

1Gb;

4Gb;

1 CPU.

MS SQL Server 2008 R2


SQL Server 2008
. ,
,
, . SQL Server 2008 R2
, :
, , ,
, .
SQL Server 2008 ,
Microsoft.NET Visual Studio,
- -
Microsoft BizTalk Server.
Terrasoft 3.X

16

:
1. :

, ;

2. :


, ;

,
.

3. :

Windows Server 2008;

,
.

4. :

- Microsoft Visual C# Microsoft Visual


Basic.NET;

ADO.NET

MS SQL Server 2008 R2 Express Edition


Microsoft
SQL
Server
2008
R2
Express

, ,
SQL Server. SQL Server Express
Visual Studio SQL Server Management Studio
.
,
.
, , :

1Gb;

10Gb;

1 CPU.

Oracle (: 9. / 10g / 11g)


Oracle ,
.
( ),

17


.
Oracle . Sun Solaris,
Linux, Windows .
Oracle ,
, , ,
.
:

- ,
grid- ;


, ;

,
;

, ,
;

Firebird ( 2.0)
,
.

Terrasoft 3.X

18

1.3.
,
Terrasoft
, .
:
Windows Server 2003
Windows,
.
Windows Server 2003

.
Windows Server 2008
Microsoft
Windows Server.
, .
.
Windows 7/Vista/XP Professional

5 .

,
/
. ,

,
,
.
UNIX
,
, . UNIX
, Oracle Firebird.
UNIX-
, ,
. UNIX
.
UNIX-
: ,
, web , - .
, Terrasoft
UNIX-,
.
UNIX- :


UNIX- ( GNU/Linux BSD);

,
Windows-;

19

, ,
.


Terrasoft 3.
Windows. , Windows XP SP2 ,
, IIS 5.1-7.5 Apache
2.0, 2.2.

Apache ,
Windows.

Terrasoft 3.X

20

1.4.

CRM-,
.
, .
- Terrasoft
3.X .


Terrasoft 3.X,
.


, .
,
.

MS SQL
Failover Cluster Oracle RAC.
.

.

64- .


, .

, .

RAM DDR3,

HDD,

, .

HDD,

HDD,
,
/


Terrasoft 3., MS SQL Server, Oracle Firebird.

10-20

1,862

1-2

24

12

SATA\SATA2

54007200

50

22,53

SATA\SATA2

54007200

100

22,53

48

24

SATA2

7200

200

2,332,66

812

46

SATA2\SAS

1000015000

300

2,663,16

1216

68

SCSI\SAS

15000

, .

RAM DDR3,

2448

HDD,
,
/


, .

2,833,16

HDD,

500

HDD,

, .

21

12-16 SAS; FC, iSCSI Entry-level


, .

, .

RAM DDR3,

HDD,

, .

HDD,

HDD,
,
/


, ,
Terrasoft 3..

10

22,53

12

SATA\SATA2

54007200

20

22,53

24

48

24

SATA2

7200

50

2,33
2,66

812

SATA\SATA2

54007200

100

2,66
3,16

16
32

24

SATA2

7200

200

2,83
3,16

24

64

46

SATA2\SAS

1000015000

300

3,06
3,33

128

68

SCSI\SAS

15000



, web-, :
128 / * (K1 + K2/2)
:
K1 ;
K2 .
, 10
1600 /.

Terrasoft 3.X

22

web-
web-
IIS:
Web Management Tools

IIS Management Console

Application Development Features

.NET Extensibility

ASP.NET

CGI

ISAPI Extensions

ISAPI Filters

Common HTTP Features

Default Document

Directory Browsing

HTTP Errors

Static Content

Performance Features

Dynamic Content Compression

Static Content Compression

Security

Request Filtering

Windows Authentication

23

1.5.

Terrasoft 3.X,
.

:


Terrasoft 3.X,
.

Terrasoft 3.X

Pentium IV

1,8 GHz

Dual Core

2 GHz

(RAM)

512 MB

1 GB



(HDD)

150 MB

300 MB

Super VGA 1024x768


Terrasoft
3.X :

Microsoft Windows XP Service Pack ;

Microsoft Windows Server 2003;

Microsoft Windows Vista;

Microsoft Windows Server 2008;

Microsoft Windows 7.

Terrasoft 3.X

,
Microsoft SQL Server Client Tools

24

web-

, web-, 512 /.
( , e-mail),
,
512-1024 /.

25

1.6.
, MS
Outlook, MS Word, MS Excel.
Terrasoft 3.X MS Outlook
MS Outlook.
MS Office 2003
Service Pack 3.

MS Outlook
( )
.
, Terrasoft ([] >
[Advanced Security] > [Action List]),
([] > [] > []) HTML.
: Office
2003, Office 2007, Office 2010.
OLAP- MS Office ( 7 )
Web Office
Components ( 10-11).

OLAP- Terrasoft 3.X MS SQL Oracle.

Terrasoft 3.X

26

2. Terrasoft 3.X
Terrasoft
.
.

1. .
2. .
3. .

1.
.

2. .
3. .
4. .

Firebird 2.0
Firebird 2.0
.
.
web-,
web- .

, . 27

, . 34

, . 54

web-, . 60

OLAP-, . 84

, . 93

, . 95

, . 97

27

2.1.
.
Firebird
Firebird bitmaps Server, Firebird
.


. , ,
Windows XP.
:
.

, . 27

, . 32

2.1.1.
( Setup.exe),
.
, . 2.1.
. 2.1

, , ,
,
(. 2.2).

Terrasoft 3.X

28

. 2.2

,
,
(. 2.3).
. 2.3

29


. :


.
.


,
.

,
.
,
.


web-, [Web Services ]
.

(. 2.4).
. 2.4 Terrasoft

[ Microsoft Script Debugger]


Microsoft.
: , call stack,
. , .
[ Microsoft Data Access Components (MDAC)]
MS SQL Server ,
Terrasoft 3.X

30

.
.
[ SSL]
, web- https
( ).
MS SQL,
[ Microsoft SQL Server Native Client].
,
(, , []). MS SQL Server,
,
.
Terrasoft Firebird,
Firebird (. 2.5).
[ Firebird DataBase Server 2.5] Firebird
.
. 2.5 Firebird

[ Firebird DataBase Server 2.5] Firebird DataBase


Server.
, ,
.
[],
Terrasoft.
(. 2.6)
.

31

Terrasoft Oracle
(Bin) ,
Oracle.

,

.
[] >
[ ] > [ Terrasoft] > [].
. 2.6


, (. 2.7).

Terrasoft 3.X

32

. 2.7

[].

Terrasoft .
, Terrasoft
.

2.1.2.
, Terrasoft
, .
.

, , :
Setup.exe /SILENT / SUPPRESSMSGBOXES / DIR="C:\Program Files\Terrasoft 3.X"
/NOCANCEL
/
COMPONENTS
=
"core,
admin,
database,
outlookplugin,webserver,doc,frdoc"


UNINST000.exe,
Terrasoft.
:
<Setup.exe> .

33

<SILENT> , ,
. <VERYSILENT>
.
<SUPPRESSMSGBOXES> ,
, , .
<NOCANCEL> , .
.
<DIR=> , .
<COMPONENTS=> ,
( . 2.3):

core ;

admin ;

database ;

outlookplugin Microsoft Outlook;

webserver Web Services;

doc ;

frdoc Fast Report.

Terrasoft 3.X

34

2.2.
Microsoft SQL Server, Oracle
Firebird.
Terrasoft .

Terrasoft MS SQL 2000, . 34

Terrasoft MS SQL 2005/2008, . 40

Terrasoft Firebird, . 51

Terrasoft Oracle, . 51

2.2.1. Terrasoft MS SQL 2000


MS SQL 2000 Terrasoft,
,
Terrasoft.

MS SQL Server 2000


Service Pack 4.
:
<C:\Program Files\< >\DB>, < > ,
, Terrasoft 3.X.
MS SQL Server Enterprise
Manager .
MS SQL Server ,
SQL Server Group New SQL Server Registration.
, SQL ,
SQL-.
SQL Server .
1.

Databases MS SQL Server Enterprise Manager [All
Tasks] > [Restore Database] (. 2.8).

35

. 2.8

(. 2.9) [Restore as database]


.
. 2.9

Terrasoft 3.X

36


. .
[Restore: From Device]
[Select Devices] .
(. 2.10),
[Add] [File Name] (
<C:\Program Files\< >\DB\TS.bak>).
. 2.10

[OK]
(. 2.9).
[Options] (. 2.11) ,
( <*.mdf>),
- ( <*.ldf>).
, .
, , .

37

. 2.11

, ,
, [OK],
(. 2.12).
. 2.12

Terrasoft 3.X

38

2.
Supervisor
. ,
Terrasoft.


Terrasoft.
Terrasoft [].
MS SQL Server Enterprise Manager
Security > Logins [New Login]
(. 2.13).
. 2.13

, (. 2.14).
[General] [Name] Supervisor.

39

. 2.14

[Authentication] [SQL Server Authentication].


. , Terrasoft
Supervisor .
Supervisor ,
[Blank password].
[Server Roles] (. 2.15) [System
Administrators].

Terrasoft 3.X

40

. 2.15

[OK] Supervisor.
Terrasoft MS SQL 2000 .
.

Terrasoft .

2.2.2. Terrasoft MS SQL 2005/2008


Terrasoft 3.X MS SQL 2005 MS SQL 2008
, Microsoft
SQL Server Management Studio.
1. :
1.
[Restore Database] [Databases] Microsoft
SQL Server Management Studio.

41

. 2.16

2. (. 2.17):
a. [To database:]
( )
.
b. [From device] [...]
.

Terrasoft 3.X

42

. 2.17

3. (. 2.18):
. 2.18

a. [Backup media:] File.


b. [Add]
.

43

,
.
4. [Restore]
(. 2.19).
. 2.19

5. [Options] (. 2.20):
a. (<.mdf>-) (<.ldf>-), [...]
.
b. ,
[Overwrite the existing database].
c.

Terrasoft 3.X

44

. 2.20

6. [OK],
.

MS SQL 2000
MS SQL 2005/2008. MS SQL 2005/2008
MS SQL 2000.
2.
Terrasoft 3.X Microsoft SQL Server
Management Studio.
. Microsoft SQL Server
Management Studio,
Terrasoft 3.X.

45

1. Supervisor
Microsoft SQL Server Management Studio Security
> Logins (. 2.21) [New Login].
. 2.21

2. (. 2.22) [General]:
a. [Login name] Supervisor.
b. [SQL Server Authentication].
c.

Terrasoft 3.X

, .
Terrasoft Supervisor
. ,
[Enforce password policy].

46

. 2.22

3. [Server Roles] [sysadmin] (. 2.23).


. 2.23

4. [OK] Supervisor.

47

3. :
1.
[Properties] .
. 2.24

2. [Security] [SQL Server and Windows


Authentication Mode].

Terrasoft 3.X

48

. 2.25

3. MS SQL, [Restart]
.

49

. 2.26 MS SQL

4. TCP/IP:
1. MS SQL Server,
[] > [ ] > [Microsoft SQL Server 2005] >
[Configuration Tools] > [SQL Server Configuration Manager].
2.
TCP/IP. Disabled,
TCP/IP (. 2.27).
. 2.27 TCP/IP

3. [ TCP/IP] [Enabled] [Yes]


[] (. 2.28).

Terrasoft 3.X

50

. 2.28 TCP/IP

4. TCP/IP MSSQL.
5.
,
,
.
1. , [] ,
. :
a. , [] > [ ].
b. [] > [].
c.

[] ,
, .

. 2.29

2. ,
:
a. [] [].

51

b. cliconfg [OK].
c.

[TCP/IP] [
], [ ]
[ >>] (. 2.30).

. 2.30

3. Windows.

2.2.3. Terrasoft Firebird


Terrasoft Firebird,
Firebird Terrasoft.
.
Terrasoft ( TS.fdb)

(
,
Files\< >\DB>).

DB
<C:\Program

2.2.4. Terrasoft Oracle


, ,
, Terrasoft 3.X.
: <C:\Program
Files\< >\DB>.
1. :
1. RestoreDatabase.cmd,
<C:\Program Files\< >\DB>.
2. SYS ( Oracle)
[Enter].
Terrasoft 3.X

52

3. Oracle (-
instance).
4. (-
USERS).
5. Terrasoft [Enter].
, ,
[Enter].
6. [Enter].
, [Enter].
7. .
:
a. .
b. .
c.

d. .
2. Oracle Server :
1. Oracle
Client, , Oracle Server.


, ORA_HOME
.
2. , , Oracle Client,
tnsnames.ora. , , :
<c:\oracle\ora92\network\admin\ tnsnames.ora >.
3. Oracle Server. ,
tnsnames.ora, :
a. (, TERRASOFT_ORA92);
b. ( PORT = 1521);
c.

, Oracle Server (, HOST


= SERVER_ORA);

d. (SERVICE_NAME) (SID) Oracle


(, SERVICE_NAME = Oracle92).
, tnsnames.ora , ,
:
TERRASOFT_ORA92 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)
(HOST = SERVER_ORA)(PORT = 1521))
)

53

(CONNECT_DATA =
(SERVICE_NAME = Oracle92)
)
)
Oracle Server Oracle,
Net Services Reference Guide.

Terrasoft 3.X

54

2.3.

.
,

(. 2.31).
. 2.31

(. 2.32)
.
.
. 2.32

[],
(. 2.33).

55

. 2.33 /

[] ,
.
[ ] , ,
, Web Services.
.
[ ] .
, [].
,
MSSQL, Firebird Oracle.

:

[]

[. ]
Terrasoft.

[ ]
.

[ ] ,
. wnd_Main,
.

[]
.

MS SQL 2000/2005/2008, . 56

Firebird 2.5, . 56

Oracle, . 57

, . 58

Terrasoft 3.X

56

2.3.1. MS SQL 2000/


2005/2008
Terrasoft, MS
SQL 2000 / 2005 / 2008, (. 2.34).
. 2.34 (MS SQL 2000/2005/2008)

[ ] SQL-,
. SQL-.
.
[ ] Terrasoft 3.X,
SQL-.
MS SQL (. 2.35),
, ,
.
. 2.35 MS SQL

MS SQL ,
SQL-.

2.3.2. Firebird 2.5


, Firebird,
(. 2.36):

57

. 2.36 Firebird

[] (/).
[ /] Terrasoft
Firebird.
[ ] Firebird
( Firebird).
[] , Firebird
( 3050).
NamedPipe IPX/SPX.
,
Firebird, (. 2.37):
. 2.37 Firebird

1. [] .
2. [] Firebird.
3. [] ,
.
4. [ /].
5. [ ] fbclient.dll.
6. , [K].

2.3.3. Oracle
Terrasoft,
Oracle,
(. 2.38).

Terrasoft 3.X

58

. 2.38 Oracle

[Home Name] ,
Oracle.
[Server] , tnsnames.ora.
[Schema] Terrasoft.
, RestoreDatabase.cmd .
.

2.3.4.

, ,
[] .

[] (. 2.35),
, ,
.
[]
(. 2.39).
. 2.39

,
:
MS SQL: Supervisor, ,
MS SQL
Server.

59

Oracle: Terrasoft,
SYS.
Firebird: SYSDBA,
masterkey.
.

Terrasoft 3.X

60

2.4. web-
Terrasoft 3.X web-,
.
web-: Internet Information Services,
Apache Terrasoft Web Services HTTP Server.

web- IIS, . 60

web- Apache 2, . 78

web- c Terrasoft Web Services HTTP Server, . 80

2.4.1. web- IIS


web- IIS 7 :

web- IIS.

https,
SSL-.

web- IIS, . 60

web- IIS 6.0, . 61

web- IIS 7.0, . 65

IIS, . 69

web- IIS , . 70

SSL-, . 71

2.4.1.1. web- IIS


web-
IIS:
1. Terrasoft (. 2.3)
[Web Services ].
2. Configs.xml (
%appdata%\Terrasoft\3.4.1\Settings\) Settings
Terrasoft, , C:\Program Files\Terrasoft\Settings;
3. RunSettings.xml (
Settings, Terrasoft) :
<RunSettings
UserSettingsDirectory="{ts}\Settings"
SessionPassword="" />

SessionUserName=""

{ts} ,
Terrasoft, :
UserSettingsDirectory="C:\Program Files\Terrasoft".

web-

61

<RunSettings UserSettingsDirectory="" SessionUserName=""


SessionPassword="" /> RunSettings.xml ,
.
4. web- Terrasoft
.
5. Internet Information Services ( web IIS 6.0 web- IIS 7.0).

RunSettings.xml
, IIS. Config.xml
, , ,
web-.
ASP.NET 32-
IIS Windows 64 ASP 32- .
:
1. Windows:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/
Enable32bitAppOnWin64 1
2. IIS :
%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
3. , 32- ASP.NET ( 2.0.50727)
Web service extension IIS. , IIS 7
[ISAPI and CGI Restictions] (. 2.40).
. 2.40 Web Service Extension IIS 7

4. IIS.

2.4.1.2. web- IIS 6.0


web- Internet Information Services (IIS) 6.0
:

Terrasoft 3.X

62

1. Internet Information Services


web-.

Manager,

2. ,
,
. [ ]
(. 2.41).
. 2.41

3. web- Windows Server 2000/2003,


TSWebServicesServerLibrary.dll. :
a. Web Services Extensions ,
[Add a new Web service
extention] (. 2.42).

web-

63

. 2.42 [Web Service Extensions]

b. [Extension
Name] , , TSWebServicesServerLibrary.dll.
c.

TSWebServicesServerLibrary.dll.

[Add]

d. [Set extention status to Allowed] (. 2.43).


. 2.43

e. , [OK].
, [Web Service Extentions]
(. 2.44).

Terrasoft 3.X

64

. 2.44 [Web Service Extentions]

4. , MS
SQL, Firebird Oracle.
5. WebServerSettings.ini (
Settings, Terrasoft) (
):
a. TimeoutInterval
.
.
b. TimerInterval .

.

: HTTP 413 Request Entity too Large,
:
1. :
cd C:\Inetpub\AdminScripts
cscript adsutil.vbs set w3svc/1/uploadreadaheadsize 26240000
:
cd C:\Inetpub\AdminScripts
cscript adsutil.vbs set w3svc/uploadreadaheadsize 26240000
2. IIS.
, ,
.
web- URL
Terrasoft .

web-

65


.

IIS, . 69

web- IIS , . 70

2.4.1.3. web- IIS 7.0


web- IIS 7.0 :
1. [Internet Information Services (IIS) Manager]
(. 2.45).
. 2.45

2.
Bin [Add Virtual Directory] (. 2.46).

Terrasoft 3.X

66

. 2.46 [Add Virtual Directory]

3. [Handler
Mappings], -
(. 2.47).
. 2.47 [Handler Mappings]

4. [Handler Mappings] [Edit Feature Permissions].


[Actions] .

web-

67

5. [Edit Feature Permissions],


, [Read], [Script] [Execute]
(. 2.48).
. 2.48

6. [Connections] (. 2.49).
. 2.49 [Connections]

7. [ISAPI and CGI Restictions] (. 2.50).



DLL- ISAPI- EXE- CGI,
.

Terrasoft 3.X

68

. 2.50 [ISAPI and CGI Restictions]

8. [ISAPI and CGI Restictions] [Add].


[Actions] .
9. [Edit ISAPI or CGI Restriction] [ISAPI or CGI Path]
TSWebServicesServerLibrary.dll (. 2.51).
. 2.51 TSWebServicesServerLibrary.dll

web-

,
TSWebServicesServerLibrary.dll.

69

web- URL
Terrasoft .
.

IIS, . 69

web- IIS , . 70

2.4.1.4. IIS
IIS
URL :
http://_/
__TSWebServicesServerLibrary.dll/soap/
IServer
web- ,
:
http://_:/
__TSWebServicesServerLibrary.dll/soap/
IServer.
XML-,
. 2.52, IIS
.
. 2.52 XML- IIS

,
IIS .
: http://localhost/.
,
(. 2.53).

Terrasoft 3.X

70

. 2.53

2.4.1.5. web IIS


, web-,
. :
1. / (. 2.33) [
] [Web Services].
2. (. 2.54).
. 2.54 (web-)

[ URL] :

web-

71

http://_/__/
TSWebServicesServerLibrary.dll/soap/IServer.
https
[ SSL], SSL-.
SSL- IIS .

[ ] ,
proxy-. proxy- IP-
. proxy- ,
[ ] .

[] , .
.
[ ()]
. ,
.


, ,
[]
[].

, .
, , .
[ ] .
9.
web-
.

2.4.1.6. SSL-
web- https,
SSL-. SSL-
:
1. SSL-.
2. SSL- .
3. SSL- .
web- SSL-
web- SSL-
. SSL- :

Terrasoft 3.X


().

72

(
).

openssl.exe

libeay32.dll

ssleay32.dll

openssl.cfg

, ,
Terrasoft Community. :
http://www.community.terrasoft.ua/system/files/SimpleCertMake.zip
1. SSL-:
1. ,
www.community.terrasoft.ua/system/files/SimpleCertMake.zip.

http://

2. gen.cmd.
3. (. 2.55):
. 2.55 SSL-

a. . , RU.
b. , , . ,
MyCompany.
c.

FQDN ( ),
. , ,
IIS.

d. CA ( 4 ).
e. ( 4 ).

, , ,
clean.cmd,
.

web-

73

clean.cmd ,
.
, , gen.cmd,
,
.
, info.txt.
CA ca.key.pwd server.key.pwd.
certs.
2. SSL-
1. CA ( ca.crt), .
2. [ ...] (. 2.56).
. 2.56

3. ,
[] [...] (. 2.57).

Terrasoft 3.X

74

. 2.57

4. [ ] (. 2.58):
. 2.58

a. [ ].
b.

\ (Trusted Root Certification


Authorities\Local Computer).
c.

[OK].

5. ,
[ >] [].
6. IIS ,
[Server Certificates] (. 2.59).

web-

75

. 2.59 IIS

7. server.p12, [Import] (. 2.60).


. 2.60


.p12 .pfx.
,
.
8. (Bindings)
SSL (. 2.61).

Terrasoft 3.X

76

. 2.61

3. SSL-
1. ca.crt .
2. , .
3. [ ...] (. 2.56).
4.
[] [...] (. 2.57).
5. [ ] (. 2.58):
a. [ ].
b.

\ (Trusted Root Certification


Authorities\Local Computer).
c.

[OK].

6. ,
[ >] [].
4. Terrasoft 3.X
1. [ URL] web-
(. 2.62):
https://Server_FQDN_name:port/virtual_directory/tswebservicesserverlibrary.dll/
soap/Iserver


. [] (Subject)
[] (Details, . 2.63) server.crt.

web-

. 2.62 (web-)

. 2.63 [Details] server.crt

2. [ SSL].
3. [ SSL] (. 2.64):

Terrasoft 3.X

77

78

. 2.64 SSL

a. [ ]
ca.crt, .
b. [ ] [ ] ,
. .
4. [OK] SSL
.

2.4.2. web- Apache 2


web- Apache 2 :

web- Apache.

https,
SSL-.

web- Apache, . 78

web- Apache , .
79

SSL- Apache, . 79

2.4.2.1. web- Apache


Terrasoft Apache 2.0-2.0.61.
web- Apache,
:
1. Terrasoft.
2. httpd.config Apache
:
LoadModule tsapache_module
"D:\Projects\Terrasoft33\Terrasoft\Bin\TSWebServicesServerLibrary.dll"
<Location /TSWebServicesServerLibrary>
SetHandler TSWebServicesServerLibrary-handler

web-

79

</Location>
, Terrasoft,
.

2.4.2.2. web Apache



web- Apache IIS.
URL . :
http://_/__/soap/IServer.

web- IIS, . 60

2.4.2.3. SSL- Apache


https,
SSL-, :
1. SSL- ;
2. SSL- .
SSL- Apache.
SSL-
1. Apache, SSL.
2. httpd.config
:
LoadModule ssl_module modules/mod_ssl.so
3. :
a. ;
b. ;
c.


SSL- IIS. ,
, ,
.
:
openssl.exe rsa -in Key.pem passin pass:Terrasoft out Key2.pem,
<Terrasoft> .
,
SSL- IIS.
4. httpd.config
:
SSLEngine on
<Directory />
Terrasoft 3.X

80

SSLRequireSSL
</Directory>
SSLCertificateFile " SSL"
SSLCertificateKeyFile " "
SSLCACertificateFile "
"
SSLVerifyDepth 2
SSLSessionCache "shm:C:\Program Files\Apache
Group\Apache2\logs\cache"
SSLSessionCacheTimeout 600
SSLVerifyClient require

SSL- Apache
Apache.
SSL-
SSL- ,
. :
1.
(
).
2. ,
, (, email).

2.4.3. web- c Terrasoft Web


Services HTTP Server
web- IIS Apache,
web- Terrasoft Web Services HTTP
Server.

Terrasoft : TSWebServicesServer.exe /install.

/uninstall
.
Terrasoft Web Services HTTP Server
. /
, [] > [ ] >
[] > [].
Terrasoft Web Services HTTP Server
[] (Start)
[ ] (Start Service) (. 2.65).

web-

81

. 2.65 Terrasoft Web Services HTTP Server


[] (Stop)
[ ] (Stop Service)
.

(Automatic) (. 2.66).

Terrasoft 3.X

82

. 2.66

, web-,
. ,
IIS.
, [ URL]
(. 2.54) :
http://_/soap/IServer.

, . 82

2.4.3.1.
Web Services HTTP Server,
, [] > [
] > [] > [ ].
[], TSWebService
(. 2.67).

web-

83

. 2.67

, , 80
, , Skype, IIS Apache.
. 2.68.
. 2.68

, ,
.
Terrasoft Web Services HTTP Server
: http://localhost/.
, Service Info Page.

Terrasoft 3.X

84

2.5. OLAP-
OLAP- .
, , Microsoft
Analysis Server. [OLAP]
Terrasoft.
[OLAP] Terrasoft
OLAP.

OLAP-, . 84

, . 84

, . 87

[OLAP], . 88

2.5.1. OLAP-
1. MS SQL Analysis Manager (
Terrasoft).
2. OLAP-.
3. OLAP- Terrasoft
.
4. OLAP- Terrasoft
( "View").

MS SQL Analysis Manager
.

2.5.2.
Analysis Manager
New Database .
,
, .

[New Data
Source] DataSources (. 2.69).

OLAP-

85

. 2.69

Terrasoft Oracle [ ]
[ ]
(Microsoft OLE DB Provider for Oracle, . 2.70).
. 2.70 OLAP- Oracle

(data source) ,
(. 2.71 . 2.72).
Terrasoft 3.X

86

. 2.71 OLAP- MS SQL Server

. 2.72 OLAP- Oracle

OLAP-

87

OLAP- Oracle
, tnsnames.ora.
OLAP- .

2.5.3.
OLAP- Terrasoft (. 2.73).
. 2.73

.
, (dimensions) ,
.
. (facts
measures) ,
.
, :
, , , , ,
.
: , , , ,
, , , ,
.
OLAP_DEMO
Process the Database.
. 2.74.

Terrasoft 3.X

88

. 2.74

2.5.4. [OLAP]
OLAP-
:
1. [ ]
(. 2.75).
. 2.75

2. OLAP- (. 2.76).

OLAP-

89

. 2.76

3. OLAP-.
[ ].
4. [ ] [+
.odc] [] (. 2.77).
. 2.77

5. [ ] [ OLAP Microsoft
SQL Server] [] (. 2.78).

Terrasoft 3.X

90

. 2.78 [ OLAP Microsoft SQL Server]

6. Terrasoft
(. 2.79).
. 2.79

7. OLAP-, , ,
OLAP- Terrasoft (. 2.80).

OLAP-

91

. 2.80 OLAP [Account]

8. []. , ,
,
[] (. 2.81).
. 2.81

9. [OK]
.

Terrasoft 3.X

92

OLAP- .
, .

OLAP
.

93

2.6.


Terrasoft,
, .

, , ,
.

, ...\Settings\RunSettings.xml
.
, ,
<UpdateSettings Enabled="False" Force="False" Path="" MaxIterations="5" />

Enabled

.

Enabled

: True ( ) / False (
).
: False.
Force

. Force False,
,
, . [],
.
True
.
: True ( ) / False (
).
: False.
Path
,
. ,
.
: , \\UPDATE_PC\Terrasoft\.
.
MaxIterations
MaxIterations
.
, .
,
.
Terrasoft 3.X

94

: .
0, ,
.
: 5.

95

2.7.
.
,
Terrasoft 3.X. ,
,

, .
,
. ,
. ,
.
, web.

[Profile], :
%APPDATA%\Terrasoft\3.4.1\Profile\.
,
.
,
.
,
:
1. .
2. .

[
] (. 2.82), [] >
[] > [ ].
. 2.82

,
. , [
].
[] (. 2.83).

Terrasoft 3.X

96

. 2.83

, [].
, ,
.

.
[ ] (. 2.84)
.
. 2.84

, Terrasoft 3.X
. , (. 2.82)
[ ].
.


[
] (
).

97

2.8.

. .

.

WND

(USI),
.

CFG

, .
,
.
USR.

USR


.
CFG.

PWD


.
"CFG"
"USR". ,
.

THEME

Terrasoft.
False (0),
16 .



.

True (1)

ST


.

.

600000

LSV


.
.
True (1)
,
.

IgnoreErr

.
,
(
).

NoSplash

, -
.

Url

Terrasoft 3.X

,

.

wnd_Main

98


1.
.

2. /" -.
3. .
4. .
5. = .
6. = .
, .
7. : True, 1, False, 0.
True 1 . False 0
.
8. .

.

TSClient.exe

TSClient.exe /
Wnd=wnd_LicenseManager


.
.

TSClient.exe -ST=-1

TSClient.exe -LSV=True

TSClient.exe /Theme=0

16 .

TSClient.exe /CFG=Work /
USR=Supervisor

TSClient.exe /CFG="Current
Configuration" /USR="John Best" /
PWD="John Best Password"

,
.

TSClient.exe /IgnoreErr=1

TSClient.exe / NoSplash

-.

TSClient.exe /url=terrasoft://Goto/
Contact/{10D80B41-6A6D-4C83B68D-1A63B6DC03A8}


[] ID.

TSClient.exe /url=terrasoft://Open/
Contact/{10D80B41-6A6D-4C83B68D-1A63B6DC03A8}


ID.

99

Terrasoft Administrator
, IgnoreErr Url.

, . 427

Terrasoft 3.X

, . 432

100

3.

.
Terrasoft.
,
.
Terrasoft, .
.

. ,
.

, . 101

, . 109

, . 120

, . 130


[], . 302

101

3.1.

.
:

SQL Server: Supervisor, ;

FireBird: SYSDBA, masterkey;

Oracle: SYS, , .

:
1.
[] .
, ,
.
2.
[] .
[] .

3.1, [] ,
, .
, ,
, . ,
. .
.
,
, , Operator_1, _2 ..
3.
. ()
.
1. [] [] (. 3.1).

Terrasoft 3.X

102

. 3.1 []

2. , .
3. [] (. 3.2).
. 3.2 []

4. []
:
a. [ ] ,
.
b. [ ]
.
c.

[ ]
.

5. .
.

,
, .
.

103


, . 103

, . 104

, . 107


, . 109

3.1.1.
,
MS SQL,
[ ] [].
(. 3.3).
. 3.3

[]
. .
.

MS SQL, Oracle
, . FireBird
.
[] , .
.
[], [ ] .
[] , .
, .
[] ,
. Terrasoft MS SQL
Oracle
, .

Terrasoft 3.X

104

Terrasoft Firebird
:

[] .

[ ] ,
,

.
[ ] ,
.
, ,
[ ] .


.

3.1.2.
Terrasoft , ,
.

MS SQL Oracle.
, [
] [].
(. 3.4).
. 3.4

,
[].
Windows (. 3.5).

105

. 3.5


, , ,
. (, ),
[ ].
:
1. (. 3.5)
( ).
[ ]
.
2. [].
, (. 3.6),
[] .

Terrasoft 3.X

106

. 3.6

[OK].

Terrasoft.

Terrasoft
, .
.
[ ], [], []
.

.
,
.
.

, . 103

107

3.1.3.
Terrasoft
. [
] []. , (. 3.7),
,
, [
] .

MS SQL Oracle.
. 3.7

[OK] (. 3.5).
:
1.
[ ],
, .
2. []
(. 3.6).
,
. [OK]
,
(. 3.8).
. 3.8

, .
[].
Terrasoft 3.X

108

,
, . []
.
(. 3.4).
[Terrasoft Log].
, .
, ,
, (. 3.9).
. 3.9

,
.
:

,
,
( ).

109

3.2.
Terrasoft .
, .
,
.
,

.
Customer ID, Terrasoft
.
, .
,
, Terrasoft.

,
.
, .
.
.

.

.
, .
,
, .
, ,
.
,
.
, , ,
,
.

Terrasoft,

. -
.
(
, , , ID ),
, ,
[] [].

Terrasoft 3.X

110


.


.
, ,
.
Terrasoft,
.
.

, . 110

, . 115

, . 116

3.2.1.
,
.
1.
1. ,
[Terrasoft] Windows ( > > Terrasoft
> ).

Terrasoft,
[] /
wnd=wnd_LicenseManager.
2.
.
(
Supervisor, SYSDBA SYS
).
3.
(. 3.10).

111

. 3.10

2. CustomerID
[CustomerID] .

Terrasoft.
3.
. ,
[] [ ].
:
1. [] []
[ ] (. 3.11).
. 3.11

2.
[K] (. 3.12).

Terrasoft 3.X

112

. 3.12

,
(. 3.13).
3. ,
, [] .
4. ,
.

.
(. 3.13).

113

. 3.13

:
1. [ ] [
].
2. (. 3.14):
a. [ ].
b. [ ] IP-
.
c.

[ ] []
.

d. [ ] .
e. [OK].

Terrasoft 3.X

114

. 3.14

3. [ ]

[] (. 3.15):

115

. 3.15

4.
,
[ ], ()
. <.tlr>.

Terrasoft (support@terrasoft.ru).

3.2.2.
, ,
.
<.tls> .
Terrasoft 3.X:
1. .
2. [
].

Terrasoft 3.X

116

3. ,
[OK].
, .


.

3.2.3.

,
.
, ,
,
.

, . 116

, . 118

, . 119

, . 119

3.2.3.1.

, .

1.
.

2. FireBird Oracle
(SYSDBA SYS ).
3. SYSDBA .

Supervisor, ,

.
( ) Supervisor.

1. [] ,
, .
2. [] ,
, .

117


1. (,
Terrasoft Service Desk Agent Terrasoft Service Desk User),

. [
] [] (. 3.16).
. 3.16

2. ,
.
3. ,
.
4. []
[].
5. ,
, .

, .

.
1. [] [].
2. [ ]/
[ ] (. 3.17).

Terrasoft 3.X

118

. 3.17

3. [ ]
(. 3.18).
. 3.18

4. , [OK].
,
.

,
[ ].
.

3.2.3.2.
:

(
, ).

( ).

119

,
( ,
).

( ).

( ).

,
, .

3.2.3.3.
,
, .
1. .
2.
( ).
3. .
4.
.
5. .
6. , .

3.2.3.4.
Terrasoft 3.X
,
. ,
,
.

/
Terrasoft.

.
.

Terrasoft 3.X

120

3.3.
Terrasoft 3.X .
,

[].
(
).

.

, .



.

Terrasoft, . 120

, . 123

, . 125

, . 126

, . 128

3.3.1. Terrasoft


.
, , :

,
, .
, []
[],
[], [] .
, , []
[] .

,
.
, []
,
( ,
). (
[]), []
.

121

,
.
, [] []
,
.

, , :


, .


. -
,
.

,

( ),

( ).
[]
[].
:


, ..
, -
.


(,
- ).


: , , , ,
.

Terrasoft 3.X

122

, .
,
, .

. ,
[ ],
[].

, . ,
[] [],
[] [ ].
.
,
.


.

(, ,
),
, .
,
,
.
, ( ,
) ,
:

,
(,
[] []);

,
(,
);

,
(,
);

,
(,
).

,
, ,
, .
,
,
[],
[].

123

,
,

.

,
,
. ,
.
,
.
,
, , ,
.

,
.
Terrasoft MS SQL Oracle
,
; ,
, , ..
Terrasoft Firebird
:

[] ;

Terrasoft ,
,
, (
).
,
,
. ,
( ), ,
, .

3.3.2.
:
[] (),

() .
() ()
.

Terrasoft 3.X

124

[] () .
[]
().
[] ().
[]
().
[] ().
[] ().
.
,
.


Terrasoft MS SQL
Oracle.
, []
[] (. 3.19) ,
.
. 3.19

[ ]

.

Terrasoft MS SQL Firebird


. Terrasoft
Oracle
.
[ ] ,
(. 3.20).

125

. 3.20

(. 3.21) (
) ( )
.
. 3.21


.
( [Ctrl] [Shift])
.

,

[] (. 3.19).

3.3.3.

.

. [] ,
.
:
[ ]
, .. .

Terrasoft 3.X

126

[] .
,
.
[]
.
[] .
[ ]
(,
- ).
[ ] :
, , , .

[]
.

3.3.4.
,
.

,
.
, , ,
.
[
] [] (. 3.22).
. 3.22


Terrasoft MS SQL
Oracle.

127

Terrasoft
.
[] , [
] [ ], ,
(), []
([]).
[] , [ ]
[ ], ,
(), []
([]), .
[] , [ ]
[ ], ,
(), [] ([]).
[ ] , [ ]
[ ],
, (),
[] ([]), . ,
- .

[] (. 3.19).
[ ] ,

(. 3.22).

,
, (
), .
[
]
(. 3.23).
. 3.23


[ ] [ ] .
-
[] .

Terrasoft 3.X

128

,
Terrasoft.

[ ].

3.3.5.
Terrasoft 3.X :

[] (
).

[]
, .

[ ]
.

,
[ ] [] (. 3.24).
. 3.24

, [] [] (. 3.19)
( ),
.
, [ ] ,
(. 3.24).
[ ]

[ ] (. 3.25).

129

. 3.25



[ ]. ,
,
.

Terrasoft 3.X

130

3.4.
Terrasoft 3.X
.

[] > [] > [ ].
. 3.26.
. 3.26

(. 3.27).
. 3.27

[ , ]
,
.

,
, .
,
.

131


.
, .


.
[ ] /,
.
. [ ]
/,
, .
, ,
[<=]. ,
2010 , [<=] 31.03.2010.
[ ,
] ,
, . ,
:
. .


: % &.
,
. , ,
,
,
.
[ ] .


. ,
Terrasoft Firebird

shutdown
.
,
SYSDBA.

Terrasoft 3.X

132

4.
Terrasoft 3.X,
,
.
,
.

, . 133

, . 135

, . 147

, . 152

, . 155

, . 157

, . 161

133

4.1.
,
,
, .
[] > []
> [ ].
(. 4.1).
. 4.1

.
.
.
.
, . ,
,
.
,
.
-. ,
[ ] ,
. [ ]
,
.

Terrasoft 3.X

134

,
,
. , [ ]
,
. ,
.
[] []
.
MS Windows .
, , ,
, , .
,
Terrasoft 3.X.

,
.
, ,
Terrasoft 3.X.
.

135

4.2.

Terrasoft 3.X, ,
MS Outlook.
,
.
[] > [] > [ ].
.

, Terrasoft 3.X.

, . 135

, . 136

[] [], . 139

[], . 140

[], . 140

[], . 140

[], . 141

[], . 141

[], . 141

[], . 142

[], . 142

MS Outlook, . 142

4.2.1.
,
. 4.2. ,
[]
.
. 4.2

Terrasoft 3.X

136

[] .
.
[] .
[] .
[ ] ,
. .
:

[] (,
). .

[ ] .
.

[ ] ,
.

[] ( / ).

[/], []
.

[] , .

[ ]
, .

[ ] ,
.

[],
,
.

[].


[].
[] ,
. .
[]
, .

,
, , ,
.

4.2.2.
,
.
[CheckLicensesDueDate] , Terrasoft 3.X
.

137

[FirstWeekCalcMethod] .
:

[IsVisesClear] ,
.
,
(
[ ]).
[MSOutlookMaxFileSize]
e-mail MS Outlook. .
, , (
).
[UpdateActiveSessionPeriod] . .
5 120 .
[NumberOfDaysToWarningLicensesWillExpire] ,

. 10
.
[TaxForNonNDSPayer] ,
- .
, 0%.

, . 137

, . 138

, . 139

[] [], . 139

4.2.2.1.

.

[AfterIncludeOrderByID] ,
ID
.
[CanMassRecordsChange] [] ,
.
[CustomerID] (ID) ,
.
,
Terrasoft. [CustomerID]
.

Terrasoft 3.X

138

,
Terrasoft 3.X.
[GridCanPrint] ,
.
[GridCanExport] ,
<*.xls>.
[QuickFilterLikeType]
.
[ ] > []. :

[ServerTimeZone] .
, [ ] >
[ ] MS Windows ,
.
[UseInlineParameters] ,
.
/ MS SQL Server 2008.
[UseServerTimeZone] ,
. UTC
( , ).
.

4.2.2.2.
,
.
[UseCalendarCache] ,
.
[WeekEndDayType] .
.
[WorkDayType] .
.

[WorkDayMonday] ,
.
[WorkDayTuesday] , .
[WorkDayWednesday] , .
[WorkDayThursday] , .

139

[WorkDayFriday] , .
[WorkDaySaturday] , .
[WorkDaySunday] ,
.

4.2.2.3.
.
[GlobalSearchMaxResultRows] ,
.
[GlobalSearchMinStringLength] .
,
.

4.2.2.4. [] []
,
[] [].
[InsertDescriptionModifier] ,
[] ,
, .
[InsertDescriptionOnTop] , ,
[], .
[MaxFileSize] ( ),
[].

4.2.3. [] []
,
[] [].
[AnnivRemindingsGenerateType]
. :

,

.
,
( )
.
[CheckAnniversaryForDays] ,
, .
.
. 0,
.

Terrasoft 3.X

140

[OurCompanyAccountID] , .
[].

4.2.4. []
,
[].
[DeleteRemindingByFinishedTask] ,
.
[IsTaskCoveringCheck] ,
, ,
.
[WorkDayBegin] (, 9:00).
, .
[WorkDayEnd] (, 18:00).
.

[CycleTaskEmailByContactTemplateID] Email-,

(, ,
..). Email, , .
[TaskEmailByContactTemplateID] Email-,

(, ,
..). Email, , .

4.2.5. []
,
[].
[CheckOpportunityNumberDuplicates]

.

[OpportunityMask] . : < >


<%1> < >, <%1> ,
1 . : %1.
[OpportunityNumber] .

4.2.6. []
,
[].
[CalcInvoicePayment] ,
[ ] [] [ ]
[].

141

,
.
[CheckInvoiceNumberDuplicates] ,
.
[InvoiceMask] . : < > <%1>
< >, <%1> , 1
. : %1.
[InvoiceNumber] .

4.2.7. []
,
[].
[CheckContractNumberDuplicates] ,
.
[ContractMask] . : < > <%1>
< >, <%1> , 1
. : %1.
[ContractNumber] .

4.2.8. []
,
[].
[CheckDocumentNumberDuplicates] ,
.
[DocumentMask] . : < >
<%1> < >, <%1> ,
1 . : %1.
[DocumentNumber] .

4.2.9. []
,
[].
[DoAskBeforeDragDropInProject] ,

[].
[ProjectTaskCreationQuestion] ,
. :

[ShowDeadlineCheckDialog] ,

.
Terrasoft 3.X

142

[UseCostForCalculateMargin] ,
: =
. ,
: = .
.

4.2.10. []
,
[].
[IncidentMask] .
: < > <%1> < >, <%1>
, 1 .
: Ticket %1.
[IncidentNumber] .
[IncidentWaitForCustomerResponse]
. , 24 0,5.

[IncidentEmailByContactTemplateID] Email-,

(, ,
..). Email, , .

4.2.11. []
,
[].
[CFMask] . : < > <%1>
< >, <%1> , 1
. : CF%1.
[CFNumber] .

4.2.12. MS Outlook
MS Outlook
MS Outlook Terrasoft 3.X.

, . 142

, . 146

4.2.12.1.
,
MS Outlook Terrasoft 3.X.

143

[MSOutlookContactsIntegrationAddressesBusinessIsPrimary] ,
.
.
[MSOutlookContactsIntegrationAddressesHomeIsPrimary] ,
.
.
[MSOutlookContactsIntegrationAddressesOtherIsPrimary] ,
Terrasoft 3.X,
MS Outlook ( Home Business).

MS Outlook True
.
[MSOutlookContactsIntegrationAccountTypeID] ,
MS Outlook.
.
[MSOutlookContactsIntegrationAddressesBusinessTypeID] Terrasoft 3.X,
MS Outlook. , Business.
.
[MSOutlookContactsIntegrationAddressesHomeTypeID] Terrasoft 3.X,
MS Outlook. , Home.
.
[MSOutlookContactsIntegrationAddressesOtherTypeID] Terrasoft 3.X,
MS Outlook.
.
[MSOutlookContactsIntegrationAnniversaryBirthdayTypeID]
Terrasoft 3.X, MS Outlook. ,
. .
[MSOutlookContactsIntegrationAnniversaryOtherTypeID]

MS Outlook.
.
[MSOutlookContactsIntegrationBusinessHomePageID] Terrasoft
3.X, web- MS Outlook. , Business Home
Page. .
[MSOutlookContactsIntegrationCommunication1ParametrName]
1 .
,
1. , 1
, []
MSOutlookContactsIntegrationCommunicationBusinessPhoneTypeID
.
[MSOutlookContactsIntegrationCommunication2ParametrName]
2 .
,
2.

Terrasoft 3.X

144

[MSOutlookContactsIntegrationCommunication3ParametrName]
3 .
,
3.
[MSOutlookContactsIntegrationCommunication4ParametrName]
4 .
,
4.
[MSOutlookContactsIntegrationCommunicationAdditionalTypeID]
Terrasoft 3.X, IM MS Outlook.
.
[MSOutlookContactsIntegrationCommunicationAssistantPhoneTypeID]
Terrasoft 3.X, MS Outlook.
.
[MSOutlookContactsIntegrationCommunicationBusinessPhoneTypeID]
Terrasoft 3.X, MS Outlook. ,
. .
[MSOutlookContactsIntegrationCommunicationBusiness2PhoneTypeID]
Terrasoft 3.X, 2 MS Outlook.
.
[MSOutlookContactsIntegrationCommunicationBusinessFaxTypeID]
Terrasoft 3.X, MS Outlook. , .
.
[MSOutlookContactsIntegrationCommunicationCallbackPhoneTypeID]
Terrasoft 3.X, MS Outlook.
.
[MSOutlookContactsIntegrationCommunicationCarPhoneTypeID]
Terrasoft 3.X, MS Outlook.
.
[MSOutlookContactsIntegrationCommunicationEmailTypeID]
Terrasoft 3.X, E-Mail MS Outlook. , E-mail.
.
[MSOutlookContactsIntegrationCommunicationFtpTypeID]
Terrasoft 3.X, ftp MS Outlook. , ftp-.
.
[MSOutlookContactsIntegrationCommunicationHomePhoneTypeID]
Terrasoft 3.X, MS Outlook. ,
. .
[MSOutlookContactsIntegrationCommunicationHome2PhoneTypeID]
Terrasoft 3.X, 2 MS Outlook.
, .
.
[MSOutlookContactsIntegrationCommunicationHomeFaxTypeID]
Terrasoft 3.X, MS Outlook. , .
.

145

[MSOutlookContactsIntegrationCommunicationISDNPhoneTypeID]
Terrasoft 3.X, ISDN MS Outlook.
.
[MSOutlookContactsIntegrationCommunicationMobilePhoneTypeID]
Terrasoft 3.X, MS Outlook. ,
. .
[MSOutlookContactsIntegrationCommunicationOtherFaxTypeID]
Terrasoft 3.X, () MS Outlook. , .
.
[MSOutlookContactsIntegrationCommunicationOtherPhoneTypeID]
Terrasoft 3.X, () MS Outlook. ,
. .
[MSOutlookContactsIntegrationCommunicationPagerTypeID]
Terrasoft 3.X, MS Outlook.
.
[MSOutlookContactsIntegrationCommunicationPrimaryPhoneTypeID]
Terrasoft 3.X, MS Outlook. ,
. .
[MSOutlookContactsIntegrationCommunicationRadioPhoneTypeID]
Terrasoft 3.X, MS Outlook. MS Outlook.
.
[MSOutlookContactsIntegrationCommunicationTelexTypeID]
Terrasoft 3.X, MS Outlook.
.
[MSOutlookContactsIntegrationCommunicationTTYTDDPhoneTypeID]
Terrasoft 3.X, TTY/TDD MS Outlook.
.
[MSOutlookContactsIntegrationCommunicationWebTypeID]
Terrasoft 3.X, web- MS Outlook. , Web.
.
[MSOutlookContactsIntegrationCompanyMainPhoneTypeID]
Terrasoft 3.X, MS Outlook.
, .
.
[MSOutlookContactsIntegrationContactTypeID]
MS Outlook.
.
[MSOutlookContactsIntegrationPersonalHomePageID] Terrasoft
3.X, web- MS Outlook. ,
. .
[MSOutlookLastDateByContactFromMsOutlook]
MS Outlook Terrasoft 3.X. , MS
Outlook .
[MSOutlookLastDateByContactFromTS]
Terrasoft 3.X MS Outlook. ,
.
Terrasoft 3.X

146

4.2.12.2.
,
MS Outlook Terrasoft 3.X.

[MSOutlookIntegrationAppointmentStateID] ,
MS Outlook ( ,
). .
[MSOutlookIntegrationAppointmentTypeID]

,
MS Outlook.
.
[MSOutlookLastDateByTaskFromMsOutlook]
MS Outlook. , MS Outlook
.
[MSOutlookLastDateByTaskFromTS] Terrasoft 3.X.
, .
[MSOutlookTasksIntegrationTaskCompleteStateID] Terrasoft 3.X,
MS Outlook.
. , ,
.
[MSOutlookTasksIntegrationTaskDeferredStateID] Terrasoft 3.X
MS Outlook. , .
.
[MSOutlookTasksIntegrationTaskInProgressStateID] Terrasoft 3.X,
MS Outlook. , .
.
[MSOutlookTasksIntegrationTaskNotStartedStateID] Terrasoft 3.X,
MS Outlook. , .
.
[MSOutlookTasksIntegrationTaskTypeID] ,
MS Outlook. .
[MSOutlookTasksIntegrationTaskWaitingStateID] Terrasoft 3.X
MS Outlook. , .
.
[MSProjectIntegrationTaskImportanceHighPriorityID] Terrasoft 3.X
MS Outlook. , .
.
[MSProjectIntegrationTaskImportanceLowPriorityID] Terrasoft 3.X
MS Outlook. , .
.
[MSProjectIntegrationTaskImportanceNormalPriorityID] Terrasoft
3.X MS Outlook. , .
.

147

4.3.
Terrasoft 3.X

.
.
[] >
[] > [ ].
. 4.3.
. 4.3

.
,
, , .
.
[] []
.
[] :
[ ]
.
[ ]
.
,
. [].


(. 4.4).

Terrasoft 3.X

148

. 4.4

[] , .
.
[ ] .
.
[ ] , .
. :

[] (,
). .

[ ] .
.

[ ] ,
.

[] ( / ).

[/], []
.

[] , .

149

[ ]
, .

[ ] ,
.

[ /] /
.
/ .
[ ]
. ,
.
[
],
.
[ ]
.
[ ]
.
[ ]
,
. ,
.
[ ]
, , ,
.
[ ]
.
, 3
. [
] [ ].
[] [] (
,
). 3
, (. 4.5).

Terrasoft 3.X

150

. 4.5 [ ] [ ]

[ ]
.
[ ] ,
.
[ ]
. :
( ).
[ ] ,
.


.
Firebird

shutdown
.
,
SYSDBA.

(. 4.6) .
[]
[ ].

151

. 4.6

.
.
[] [].
, ,
. .
, .
,
. [].
[
],
.

Terrasoft 3.X

152

4.4.
Terrasoft 3.X
.

.
Terrasoft 3.X
.
,
,
, .


, .
[] >
[] > [ ].
: [ ]
[ ].
[ ]
[ ] (. 4.7)
, .
. 4.7 [ ] [ ]


.
,
. (. 4.8).

153

. 4.8

, ,
.
, .
[ ] [ ]
,
/ , .

[ ] .
[ ] [
] ,
,
.
[ >>]
, ,
()
.
[ ]
, Terrasoft 3.X.
,
[ ],
, .


.
. [ ]
, .

Terrasoft 3.X

154


(, Microsoft Management Studio).
,
, Terrasoft 3.X.

/
Terrasoft 3.X.
[ ]
[ ] ,
.
[ ]
,
. ( )
[ ] / []
[] > [ ].
[ ]
[], .

155

4.5.

, [ ].

, .
1. (,
notepad.exe) \Settings\RunSettings.xml.
2. , ,
RunSettings.xml, :
UserSettingsDirectory=C:\Program Files\Terrasoft\Settings
3. .
\Settings Configs.xml.
4. Configs.xml
, Name,
:
Name=-.
5. JobSettings.xml
:
a. , Configs.xml,
:
Name=-
b. , ,
:
UserName=supervisor
c.

,
, :
Password=123

d.
, .
5 :
Interval= 5
e.

KeepConnection True:
KeepConnection=True
f.


,
KeepConnection False:
KeepConnection=False

6.

,
TSJobManagerService.exe /Install .
7. :

Terrasoft 3.X

156

a.
[].

>

b. [ ]
> [].
c.

TSJobManagerService,
[] .

,
.

157

4.6.
[
], .
[] > [] > [ ]
,
, (. 4.9).
. 4.9

,
.

, .
[OLAP], [],
[], [ ].
[]
, (. 4.10).

Terrasoft 3.X

158

. 4.10


[] []
,
.
,
, (. 4.11).
[ ].
. 4.11

159


,
.
.
,
, [ ],
[ ].

. [ ]
.

.
- ,
[ ]
(. 4.11).
,
[]
(. 4.9).

,
, .

.
[] ,
(. 4.11) [
] [].
[],
(. 4.9)
(. 4.11).
[] [].

[].


.

[ ] [].
.


. , Firebird

Terrasoft 3.X

160



shutdown .

,
SYSDBA.

161

4.7.
Terrasoft 3.X .
:
1. : TSClient.exe wnd=wnd_AccountLogo, TSClient.exe ,
.
2. Terrasoft []
/wnd=wnd_AccountLogo.
[ ],
. 4.12.
. 4.12

[...] .

, , PNG.


50 .

(. 4.13).
. 4.13 Terrasoft 3.X

Terrasoft 3.X

162

5. Terrasoft 3.X
, [],
, .
[] ,
.
, , [].
(Fast Report),
MS Word MS Excel.
-
.
MS Excel MS Word,
,
,
, []. ,
,
e-mail .
, ,
, [].
[]
[ ],
[].
[] [ ],
,
.
Terrasoft 3.X ,
, MS Excel 1C,
[].
[]
. [ ]
.
[ ]
[]; [ ],
, ,
[] -.

[]

163

5.1. []
[] (. 5.1) ,
, []
.
. 5.1 []


,
,
, .
,
, []. ,
,
, .
: ;
MS Word; MS Excel. [ ]
, .

[]
:
[ FastReport] .
[ Word] MS Word.
[ Excel] MS Excel.
[] :

Terrasoft 3.X

164

[ ] .
, ,
.
[ ] .
MS Word MS Excel
, .
FastReport Terrasoft Administrator
.
[ ] ,
MS Word.
MS Word .
MS Word.
[ ]
.
.
[OK].
.


.

[] ,

. ,
.
,
[] . , []
, , [] ,
. []
.

, . 164

, . 167

MS Word, . 168

MS Excel, . 175

[], . 176

5.1.1.
(. 5.2)
. [ FastReport],
[ Word], [ Excel] []
, [ ] [],
[].

[]

165

. 5.2


.
[] . [
] . .
[ ] ,
. FastReport,
Terrasoft Administrator.
.
[] ,
. MS
Word MS Excel.

[ ] ,
. : .

. ,
Terrasoft 3.X

166

( )
[].
,
.
[ ].

.
,
[], , [ ].
[ ] Dataset,
FastReport,
Terrasoft Administrator.
.
[ ]
,
, Terrasoft Administrator.
.

[ ] ,
. .
[] []
.
[ ]
[] . ,
, [,
] , .
[] [ ]
,
.
[]
[] MS Word,
.
MS Word.
[ ] .
.

.

,
.
[ ] ,
( [ ]).
.

[]

167


.
[ ]
. ,
.
,
:
MS Word;
.

5.1.2.
Terrasoft Administrator
, ,
, . []
.
[
FastReport] [] .
.

[] (
).

1.

.
[]. , Terrasoft Administrator
.
1. [].
2. [ FastReport] []
.
3. :
a. [] .
b. [ ] [ ]

Terrasoft Administrator.
c.

[ ] .

d. [ ] .
e. [ ]
.
f.

[, ]
.

4. .

Terrasoft 3.X

168

5.1.3. MS Word
MS Word []
, . MS Word
, .
[].
[ MS Word] []
[].
.
, MS Word
. ,
MS Word ,
.


Terrasoft 3.X MS Office.
TSMSOfficeConfig.exe Bin
( , <C:\Program Files\< >\Bin>).

, ,
.

, . 168

, . 169

, . 170

MS Word, . 171

5.1.3.1.
MS Word
.
MS Word MS Word,
.

. MS Word
Terrasoft [].
MS Word , [],
(. 5.3).
Terrasoft 3.X.
. 5.3 MS Word

[]

169

, []
.

5.1.3.2.
[] [
], MS Word
.
,
MS Word. ,
. ,
, ,
. []
, [] .

,
.

MS Word.
(. 5.4), , .
. 5.4

[] [ ]
(. 5.5). ,
, .
[ ]
. [ ]
.
. 5.5 [ ]

[OK] [ ]
Terrasoft 3.X.

Terrasoft 3.X

170

[] Terrasoft 3.X.
[]
MS Word.

, .

5.1.3.3.
,
(
).
,
Terrasoft MS Word.
Terrasoft Terrasoft 3.X
. 5.6.
. 5.6 Terrasoft,

[ ] ,
[ ] (. 5.7).
,
.
. 5.7

(
[OK] ) .
.
,
, ,
(. 5.8).

[]

171

. 5.8

, [ ]
.


, [ ]
, .

[ ]
, .
.
(,
, , ).
,

.
[ ] .

. , ,
. ,
, ,
, .

MS Word .
[] (
).

5.1.3.4. MS Word
MS Word.
.

,
. ,
,
[].

Terrasoft 3.X

172


:
1. [] ,
. 5.9.
. 5.9

2. (. 5.10), :
[] [].
. 5.10

3. [] :
a.
[],
[
],
[
],
[], [ ] (: ), [ ] (:
) ;
b. [ ] (
).
4. [] :
[], [ ], [], []
[] [].
5. (. 5.11).

[]

173

. 5.11

6. [] , [
MS Word] [] .
(. 5.12).
. 5.12

7. MS Word.
Terrasoft ,
[ ] []
Terrasoft.
[OK] .
8. , (. 5.13).

Terrasoft 3.X

174

. 5.13

9. ,
.
10. []. [ ]
[].
11.
. [OK] .
MS Word
(. 5.14).

[]

175

. 5.14 MS Word

,
MS Word, . ,
.

5.1.4. MS Excel
MS Excel []
, . []
.


Terrasoft 3.X MS Office.
TSMSOfficeConfig.exe Bin
( , <C:\Program Files\< >\Bin>).

, ,
.

Terrasoft 3.X

176

MS Excel [
Excel] [] [].
.
MS Excel
[] (
).

2.
MS Excel
. [].
, [] ,
, .
1. [].
2. [
.

Excel]

[]

3. :
a. [] .
b. []
.
c.

[ ] .

d. [ ] .
e. [].
4. .

5.1.5. []
.
[]
, .
.
[]
.
[]

.
[]
.
[ ]

. , [ ]
.

[]

177

[ ]
.

Terrasoft 3.X

178

5.2. [ ]
[ ] (. 5.15) ,
, ,
(, ).
. 5.15 [ ]


,
.
[ ] []
( ).
MS Outlook
[ ] [].
[ ]
MS Outlook ,
.

[ ]
,
( [ E-mail ]
, [ e-mail] []).

[ ]

179


, . 179

, . 181

[] [ ], . 186

[ ] [ ], . 189

[ E-mail ], . 190

[ ], . 191

5.2.1.
(. 5.16)
.
. 5.16

[ ]
[] [] .
[] ,
. .
,
.
[] ,
[ E-mail ] .
[],
[] .

Terrasoft 3.X

180

[ ]
,
.
.
,
.

[]
,
[ ].
[]
.

[ ]
[ E-mail ].
.
[ ] ,
[ E-mail ] ,
[], .

[ ] [ ]
[ E-mail ].
[ ]
.

.

MS Outlook, . ,
[] .
[] (. 5.17) ,
,
.
. 5.17 []

[]
MS Outlook.

[ ]

181

[ ]
MS Outlook (.oft) MS Outlook (.msg).
[ ]
MS Outlook (.oft) MS Outlook (.msg).

3.

1. [ ].
2. [] .
3. .
4. [] [].
5. , [] .
6. MS Outlook
.
7. [ ].
8. .
9. , [OK].
4.
, .
, .
1. [E-mail].
2. [ ] [ ]
.
3. .
4. MS Outlook .
5. .
6. .
7. [E-mail] .
8. [].
9. []
.
10. .
, [E-mail]
.

5.2.2.
,
# (), .
.
. ,

Terrasoft 3.X

182

##
[] , .
MS
Outlook [] (. 5.18).
. 5.18 Terrasoft MS Outlook


Terrasoft MS Outlook
MS
Office. TSMSOfficeConfig.exe Bin
( , <C:\Program
Files\< >\Bin>).
,
, .
[]
Terrasoft.

(. 5.19).
. 5.19

:
# # .
# # CRM-
(, ).
##
, .
# # .

(. 5.20)
, [ ]
.

[ ]

183

.

.
. 5.20

. 5.21 ,
, . 5.20.
. 5.21

,
,
e-mail . ,
[],
[]. []

Terrasoft 3.X

184


() .

.

,
. .
, :
{}; { 1}: { 1}; { 2}:
{ 2}; { N}
:
#[;:;:]#
:
1. .
: .
2. :

: :;

: :.

3.
. ,
, ,
. , ,
, , ( []
c),
, ( []
), .


(), :
#[.;:;:]#
#.#, :
.
4. ,
.
({ N}
). ,
.

{ N} ,
_.
,#.;:,;:,;:
_,#.

[ ]

185

5.
,
, [].
( , ),
, , ,
, .
1. [], ,
[] [ ].
2. , , .
3. [ ] [].
4. , [OK].
5. ,
[]. []
.
6. [] [].
7. []. :
a. [],
[] .
b. [] [].
.
[OK] .
8. [].
9. :
a.

[ ].

b. [] [ ] .
c.

, [OK] .

10. , [OK]
.
6.
E-mail
[], .
.
1. [ ].
2. , [].
3. [].
4. [] [].
5. [ ] .
6. [].
7. MS Outlook
[] [] .
Terrasoft 3.X

186

8. ,
[Yes].
9. MS Outlook [].
10.
, :
#[;:;:]#.
11. ## (
) .
12. .
13. , [ ]
Terrasoft ( MS Outlook 2007
[]).
14. ,
[].
15. Terrasoft, [OK].

5.2.3. [] [
]
[]
.
, [],
[], [], [ ]
.

(. 5.22).
. 5.22

[ ] ([], []
[ ]), .
.

.
[ ] ,
.
.

[ ]

187

[ ] ,
. .
[ ] ,
.

7.
:

.
1. .
2. ,
[ ].
1 [E-mail ]:
1. e-mail:
a.

[ ];

b. [E-mail ].
2. [E-mail ] [],
[] .
3. [ ], [
].
4. [E-mail ] [E-mail], []
.
5. [ ] .
6. [E-mail ] [ ],
[] .
7. [] [E-mail ]
[ ] :
< > <> <E-mail>.
2 [E-mail ]:
1. 1.
[].
. 5.23.

Terrasoft 3.X

188

. 5.23

8.
,
:
, .
1. , ,
[].
1 :
1. .
2. [ ] .
3. [ ] ,
.

[ ]
, .
4. [ ] ,
.
5. [ ] , .
6. , [OK].
2 :
1. .
2. [ ] .

[ ]

189

3. [ ] ,
.
4. [ ] ,
.

[ ]
[ ].
5. [ ] ,
.
6. , [OK].

5.2.4. [ ] [
]
[ ] (. 5.24) ,
, (
[ ]).
. 5.24 [ ]


. ,
[E-mail].
[ ] [] .
[ ] ,
, , .
[E-mail]
.

9.

: .
1. , ,
[ ].

Terrasoft 3.X

190

2. [], []
[OK].

5.2.5. [ E-mail ]
[ E-mail ] (. 5.25)
[] .
, .
. 5.25 [ E-mail ] []


e-mail
[] .
, []
[ E-mail ],
. .

. [] ,
, ,
, \ (back slash). ,
\ \
, . 5.25.

[ E-mail ]
.

[] [ ], [
] . [ ] ,
, ,
, .

[ ], .
:

E-mail
;

E-mail
;

[ ]

191

E-mail
.

[ E-mail ]
[E-mail] ,
. , ,
[E-mail] .

5.2.6. [ ]
.
[]
, .
.
[]
.
[]

. []

.
[ ]

. , [
] .
[ ]
.

Terrasoft 3.X

192

5.3. []
[] (. 5.26)
Terrasoft 3.X.
,
. ,
( MS Word MS Excel) .
e-mail
.
, []
.
. 5.26 []

[] .
.

.
(
)
.


, ,
.

[]

193


[]
.
[].
.
[] []
:

[] :

[ ]
, .
[]
.

[ ] .

[ ]
.


, . 193

, . 201

, . 202

[], . 212

5.3.1.
(. 5.27)
. [] []
[ ].

Terrasoft 3.X

194

. 5.27 . [ ]

.
. .
,
. .
, .
[],
[].
.
,
.
[].
, ,
[ ].
[ ]
,
[ ] .
,
.
[ ]
.
,
. .

[]

195

:
.
.
. .
,
.
[ ]
[ ] (. 5.28) ,
. ,
.
. 5.28 [ ]

[] .
.
[] , ,
( ). ,
, .
.
[ ]
.
[ ]
[ ] (. 5.27) ,
.
, , .

.

[ ] , .
Terrasoft 3.X

196

[ ] ,
. , ,
[ ]. ,
: . ,
.

,
/ .
/ [
] [ ].
,

[]
(. 5.29)
. , ,
[ ].
. 5.29 []

[ ] .
[ ] .

. ,
, .
, , [
] .
.
.

[ ]
, .

[]

197

,
. [ ] ,
(. 5.30) []
.
. 5.30 [ ]

[]
(. 5.31)
.
. 5.31 []

[]
[] (. 5.32)
( ).
. 5.32 []

Terrasoft 3.X

198

[ ] , ,
, .
[ ] ,
. , ,
,
, .
,
. ,
,
.
.
[ ]
[ ] (. 5.33)
/ .
. 5.33 [ ]

[ ]
/ , [ ] .
[ ] , [ ],
/ . .
[ ] /
, , .
[]
[] (. 5.34)
.

[]

199

. 5.34 []

.

[ ] .
[ ] .
, 5 5 ,
.
,
/ .

,
, .
, ,
, ,
.


.
[]
[] (. 5.35)
.

Terrasoft 3.X

200

. 5.35 []

[ ] ,
. ,
[].
[ ]
[] . ,
,
.
[ ]
.
. , . .


[ ] .

,
, .

[ ] .
[ ...] ,
, [

[]

201

]. ,
. , [].
.
[ ...] ,
, .
, [].
, ,
, .
[ ..., ...
...] ,
, , [ ].
, . ,
[]
, . ,
[], .
[ ..., ...
, ...]
,
. ,
[] ,
. , []
[]. ,
, .

5.3.2.
(. 5.36)
] [].

. 5.36

[] . .
[ ] ,
(
).
.

Terrasoft 3.X

202

[] ,
[]. [] ,
[].


[ ] .
[ ] ,
.
. [
] , ,
,
.


. ,
[], [ ] .
,
, .
[ ] ,
, [].

5.3.3.
(. 5.37)
.
:

[ ]
[] ;

[]

203

. 5.37

.
(1)
.
(2)

.
(3)

. (),
.
(4)

.

, . 204

, . 205

, . 207

, . 209

, . 210

Terrasoft 3.X

204

5.3.3.1.
(. 5.38)
, ,
.
. 5.38


: [ ], [], [], [],
[ ], [ ], [ ], [
].

[ ] .


.
, .
, .
,
. .
[ ],
.
, . ,
[], [ ] ,
[], .
, , : [ ], [
], [ ] [].
:
, .

[]

205

.
/ (, [ ] ).
, (, []
).
, (, [ ]
).
(, [% ] ).
, (,
[] ).
(, []
[]).

5.3.3.2.
(. 5.39)
. (),
.
[]
, ,
.

Terrasoft 3.X

206

. 5.39

, ,
.
.
[ ]

.
.
(,

).
: []
[].
[] (. 5.40) ,
.

[]

207

. 5.40


.
.
.
.
[ ] ,
(. 5.42).
[ ]
( ).
[] (. 5.41)
.

. 5.41


[].

, (,
MS Excel MS Word),
,
.
[]
.

5.3.3.3.

, .
Terrasoft 3.X

208


(. 5.42).
. 5.42

[ ] :

[ ] ;

[] . ,
.
,
.
[ ] . ,
,
[]

:
.. ,
, , :
.=>;.=>;.
[] ( ).
[] (
).
[ ] .

. , ,
,
[ ] [ ]
.
.

, ,
.
[ ]
.

[]

209

, , , ,
.
, ,
,
[], [ ] > []
. , ,
[ ] . ,
, []
.

[] [ ],
.
[] ( ).
,
.
[ ]
(, , , , , ).
(, []
[ ] ).
[] ,
[] MS Excel,
. ,
.

,
,
,
. ,
MS Excel,

.

5.3.3.4.

(. 5.43).
. 5.43

Terrasoft 3.X

210

,
. .
.

.
:
.
.
. .
,
.

5.3.3.5.

(. 5.44),
.
. 5.44

[]
[] , .
- ,

(. 5.45).
, .
. 5.45

[ ] .
[] .
[]
[ ], [ ]
,
.
,
. ,
( [ID]). ,
.
[ ] .
,
.
[ ] .
.

[]

211

[ ] , []
. [ ]
.
[ ] (. 5.46),
.
. 5.46

.
, ,
, ,
.
.
,
.

, > .
(. 5.47).
. 5.47

[ ] , .
.
[] , .

. , [ ]
, [] : ,
, , , , .
[OK]
.

Terrasoft 3.X

212

.
[OK]
(. 5.46).

5.3.4. []
[] .
[]
, ,
.
[]
.
[]

.
[]
.
[]
,
.
[]
.

[ ]

213

5.4. [ ]
[ ] (. 5.48) ,
.
. 5.48 [ ]


.
[] ,
.
[] ,
(,
[] [], []
[]).
[] , (,
).
[] [ ] .
[]
, .
,
, [ ] .
,

.

[ ], . 214

Terrasoft 3.X

[ ], . 214

214

5.4.1. [
]
.
[]
, [
]. .
[]
.
[ ]

.
[ ]
.

5.4.2. [ ]
[ ] [
].
[ ]
[ ]
.
[
],
.

.

[]

215

5.5. []
[] (. 5.49)
Terrasoft 3.X , .
,
XLS Terrasoft 3.X Terrasoft 3.X 1.
. 5.49 []

.
[]
MS Excel 1.
[] :
[ ]
MS Excel.
c MS Excel.
[ ]
1.
1.
[
.

Excel
MS Excel Terrasoft 3.X .

MS Excel.

.
MS Excel.
Terrasoft 3.X

216

1 [ ]
1.
[]
MS Excel 1.
[ ]
.

MS Excel, . 216

1, . 228

, . 241

[], . 243

[], . 244

5.5.1. MS Excel
MS Excel
Terrasoft MS Office.
TSMSOfficeConfig.exe Bin (
, <C:\Program Files\< >\Bin>).
,
, .
MS Excel
. MS Excel
MS Excel .
, ,
.

, . 216

MS Excel, . 217

MS Excel, . 218

MS Excel, . 227

5.5.1.1.
(. 5.50)
.

[]

217

. 5.50

[ Excel]
[] [ ]
[] [] (. 5.49).
[] . .
[ ] ,
,
, .
[] :

[ ] ,
Terrasoft 3.X.
.

[ ] .
, .

5.5.1.2. MS Excel
Terrasoft 3.X MS Excel MS Excel
.
MS Excel (. 5.51).
. 5.51 MS Excel

, ,
MS Excel []
.

Terrasoft 3.X MS Excel.
MS Excel ,
[].
Terrasoft 3.X. .
, []
.
(. 5.52):
Terrasoft 3.X

218

. 5.52 Terrasoft

[] [ ],
MS Excel [].
,
[] MS Excel. ,
.
,
MS Excel.
,
, ,
.
[ ] []
.
, Terrasoft 3.X
xls-.
[ ] .

5.5.1.3. MS Excel

(. 5.53).
, []
[ ] []
MS Excel.
. 5.53 MS Excel

[]

219

(1)
,
, ( )
Terrasoft 3.X, .
(2)
Terrasoft 3.X,
.
MS Excel .

.
(3)

, ,
, .
[] :

[] .

[ ] ,
.
.

[ ] .

[ ] .
[ ] []
[].

[]
.

[] , .
[ ]
(. 5.55).
[ ]
. [
] []
[].

, . 219

, . 221

, . 223

, . 225

, . 226

5.5.1.3.1.
Terrasoft 3.X,
MS Excel,

Terrasoft 3.X

220

. ,
(. 5.54):
. 5.54


[ ] .
(. 5.55).
. 5.55

[ ] Terrasoft 3.X.
[ ] [ ]
. [ ]
, .
[ ]
.

(. 5.56).

[]

221

. 5.56

MS Excel

5.5.1.3.2.
,
,
.

.

.
,
MS Excel.

MS Excel.
[ ] [],
, .

(. 5.55).

,
, .
.
MS Excel , , ,
\ ..

Terrasoft 3.X

222

Terrasoft 3.X.

.
,
MS Excel.
.
/ (, [ ]
).
, (, []
).
, (, [ ]
).
(, [ ] ).
, (,
[] ).
(, []
[]). <.rtf>,
,
.

, .
Terrasoft
3.X.
, MS Excel
:

[] ;

,
, ;

[] [].


, . 5.57.
, MS Excel []
( . ),

[]
(
. ) []
[] [] ( .
.).

[]

223

. 5.57

[]
[], MS Excel
[], []

.
.
, ,
.


[ ] .

.

5.5.1.3.3.
[ ] (. 5.58)
,
.

Terrasoft 3.X

224

. 5.58 [ ]


Terrasoft 3.X ,
[ ].
,
[ ] .
, ,
. ,
.
.

.

(:)], [ ]
.
. 5.59 .

[]

225

. 5.59

,
. [
(:)] ,
[ ] .

5.5.1.3.4.
- , ,
,
[ ] (. 5.60)
.
. 5.60 [ ]

Terrasoft 3.X

226



, .
.

.
, [] .
(. 5.61).
. 5.61

[] (
) ( ).
,
[] . ,
[
]. []
, , .
, [] []
.

, .

5.5.1.3.5.
MS Excel , ,
Terrasoft 3.X ,
MS Excel.
[] (. 5.62).
. 5.62 []

[]

227

,
[].
,
MS Excel [ Excel].
MS Excel ,
[],
[ Excel] ;.

5.5.1.4. MS Excel
<*.xls>.
, MS Excel.
. , , .
.
. .
1 :
1. [].
2. [ Excel]
[] .
3. :
a. [] , ,
[].
b. [ ].
c.

[ ]
[] .

4. , [OK] .
2 :
1. ,
, .
2. [ ] ,
[], .
3. [
].
4. , [OK].
5. []
[] , [] [],
.
.
6. ,
.
[] [ ]
.
7. [ ]
[] .
Terrasoft 3.X

228

8. [] []
. []
.
9. [] > [].
10. .
3 :
1. [
] [] .
2. xls- .
3.
[] [].
4. [],
.

5.5.2. 1
1 Terrasoft 1.

. 1
, ,
.

, . 228

1, . 230

1, . 238

5.5.2.1.
(. 5.63)
1.
[ 1]
[] [ ]
[] [].

[]

229

. 5.63

[] . .
[ ]
1.
[ 1] 1.
1, .
[ 1]
1.

1, [ 1]. []
1.
- 1,
1
[ 1].
(. 5.64).
. 5.64 (- )

[] 1, [
] 1 .
[ ] []
1. 1
1.

Terrasoft 3.X

230

[ ]
.

,
.
[ ]
1 .

5.5.2.2. 1

(. 5.65). ,
1 [] [
] [] .
. 5.65 1

:
(1)
,
1,
1.
Terrasoft 3.X 1 ,
[].
1.
.

.

[]

231

[] [].
1,
[] .
[ ] [ ]
,
.
[ ] ,
, .
[ ]
[] [].
[ ] ,
.
[ ]
[] [].
[ 1]
1.

.
(2)

.
(
). , 1
Terrasoft 3.X
, .

[ ] [].
[], []

.
[]
.
(3)
,
.
,
.

, . 232

, . 236

, . 238

, . 238

Terrasoft 3.X

232

5.5.2.2.1.
(. 5.66)
Terrasoft 3.X 1.
. 5.66

[1. ]
,
. .
[2. , ]
.
.
, , (
[ ] [ ]
; [ ] [ ]
[] [])
.
[ ] [
] ,
.
Terrasoft
Terrasoft 3.X.

[]

233

[3. Terrasoft]
Terrasoft 3.X.
:

. , ,

, [] [], [3.
Terrasoft] .

[] [].
. , ,

[]
[], [3. Terrasoft]
.

, . ,
[ ] .

.
[4. Terrasoft]
Terrasoft 3.X, , [ ].
[5. ]

1 Terrasoft 3.X , ,
[4. Terrasoft] .
, [] [] 1 Terrasoft 3.X.
, Terrasoft 3.X
.
[6. 1 Terrasoft]
[4.
Terrasoft] , , ,
, 1 Terrasoft 3.X
, 1,
.
.
[7. Terrasoft ,
X >= Y]
X ,
Terrasoft 3.X 1 ,
Y.

Terrasoft 3.X

234

, ModifiedOn ,
Terrasoft 3.X 1 ,
Terrasoft 3.X , Y.
Y
.
X
.
1
1.
, [ 1]
.
[8. 1]
1. , ,
, ..
[9. 1]
.
,
.
[ 1]
,
1.
, 1 Terrasoft 3.X :
1. ()
1 .
2.
,
1.
[10.
1]

, Terrasoft 3.X 1 ,
.
[9.
1].
[10.
1] , 1
.
[11. 1]

[8. 1].

1,

[]

235

[12. 1]
, Terrasoft 3.X 1
1.
1 .
[13. 1 , X >=
Y]
X ,
1 1 Terrasoft 3.X.
,
. [11. 1]
.
, 1 ,
, 1.
,
, Y.
Y
.
(. 5.65)
.
.
[14. 1,
]
1 ( 1
).

.

, [-] []
1, 1
,
1 ( ).
[15. Terrasoft,
]
Terrasoft 3.X.
, [-] []
Terrasoft 3.X 1,
Terrasoft [] [-].
[16. , ]
(. 5.66)
.

.

Terrasoft 3.X

236

5.5.2.2.2.
[ ]
(. 5.67).
. 5.67 [ ]


(. 5.68).
. 5.68

[1. 1]
1.
[2. Terrasoft]
[1. 1]
Terrasoft 3.X.
[ Terrasoft] ,
[2. Terrasoft].
.

[]

237

[ ] ,
[2. Terrasoft].
.
[3.
Terrasoft, , ,
]
,
.
[4. ,
]

.

,
.


.
. 5.68.
. 5.69 .
. 5.69 [ ]

[1. , ] / [1.
, ]
,
.
.

/, .
[2. ,
] / [2. ,
]
,
.

Terrasoft 3.X

238

, , , []
, Terrasoft,
, [2. ,
].
[3. ,
]
,
[1. 1] ( ) [2.
Terrasoft] ( ).
[4. ,
] / [4. ,
]
, ,
1 Terrasoft 3.X, .

[5. , Terrasoft
]
, Terrasoft
.
[5. , 1
]
, 1
.

5.5.2.2.3.

[] (. 5.65).
1.
.

1 Terrasoft. , .
Terrasoft
1. , , []
.

5.5.2.2.4.
[]
. []
[].

5.5.2.3. 1
1

[]

239

, 1
1.
,
.

1 1:
1. [].
2. , [
1] [] .
3. Terrasoft 3.X 1.
2 1:
1. [ ] []
[],
.
2. [ 1].
3 :

. . 5.70.
. 5.70

Terrasoft 3.X

240

1. []
() .
2. :
a. [1. ].
b. [2. , ].
3. 1:
a. [8. 1].
b. [11. 1].
4. Terrasoft:
a. [3. Terrasoft].
b. [4. Terrasoft].
5. Terrasoft 3.X 1
1, [12. 1].
6. [13. 1 ,
X >= Y],
.
4 :

[] Terrasoft (. 5.68).
[
.

1. :
a. [1. 1].
b. [2. Terrasoft].
2. [3.
Terrasoft,
,
] .
[ ] :
1. [2. ,
],
. ,
[],
,

.
2. [3. ,
]
[].
3. [4. ,
] ,
, .

[]

241

, [ ]
.
. 5.69.
5 :

.
. 5.66.
1.
.
2. :
a. [1. ].
b. [2. , ].
3. [9. 1],
1.
4. 1:
a. [8. 1].
b. [11. 1].
5. Terrasoft:
a. [3. Terrasoft].
b. [4. Terrasoft].
6. :
a.
[5.

].

b. [10.
1]
.
7. [15. Terrasoft,
], ,
.
6 :
[ ]
.

( 4).

5.5.3.

[]
[].

Terrasoft 3.X

242

Terrasoft 1
,
1 Excel
.
[ ] []
MS Excel .
,
, .
[ ] []
1 1 Terrasoft 3.X.
, . 5.71.
. 5.71

.

, .
[] .
[] .
[] .

.
[ ] []
1 Terrasoft 3.X 1.

1 Terrasoft 3.X (. 5.71).
MS Exel ,
,
.

.
,
MS Exel.
[] [].

[]

243

10. 1 Terrasoft ,
.
1. [].
2. .
3.
.

[]

4. []
[].

5.5.4. []
[] (. 5.72)
Terrasoft 3.X 1
MS Excel, 1.
. 5.72 []

.
,
.
:

( [ ]) (
[]), .

,
.
[] .

Terrasoft 3.X

244

5.5.5. []
.
[]
, ,
.
[]
.
[]

.
[]
.
[]
,
.
[]
.
[]
.
[]
.

[]

245

5.6. []
[] (. 5.73)
.
-
.
. 5.73 []

: .
, .

,
3D (. 5.74).

. , .
(. 5.75).
,
. , ,
.
,
(. 5.76) .

. ,
.
,
.

Terrasoft 3.X

246

. , ,
.
. ,

. ,
.

,
(. 5.81) .
. ,
.
,
(. 5.82).
.
, ,
.

.
[] :

, ,
, []. ,
, ..
.
[] [] ,

.
[ ] .

, . 246

, . 259

, . 262

[], . 263

5.6.1.
(. 5.74) [
], []
.

[]

247

. 5.74

.
. .
, .
.
[]
[].
.
,
.
[].

, . 247

, . 253

5.6.1.1.
[], [ ],
[], [], []. ,

Terrasoft 3.X

248


[].
[]
[] (. 5.75) ,
.
, .
.
. 5.75 . []

[ ] .
. , .
[ ]
[ ] ,
( , ).
(, ), .

[]

249

. 5.76 . [ ]

[ ] ,
, , ,
. .
.
[ ] ,
. ,
[ ] .
.
[ ] ( ),
. ,
[ ] ,
. ,
.
[] , .
,
[ ]. ,
[ ] ,
. ,
.

Terrasoft 3.X

250

[ ] ,
( ). ,
.
[ ] , .
, [ ].
[ ] , .
, [ ].
, [ ] ,
.
[ ] , ,
, .
[]
[] (. 5.77)
.
. 5.77 . []

, ,
, ,
.


.
[]
[] (. 5.78)
.

[]

251

. 5.78 . []

[ ] .
,
[ ]. ,
.
[ ] ,
. . ,

.
[]
[] (. 5.79)
, .

Terrasoft 3.X

252

. 5.79 . []

[ ] ,
. ,
[].
[ ]
[]. ,
,
. ,

[] [], ..
.
[ ]
[]. ,
, ,
. ,
[] [], ..
.

,
, .

[ ] .
[ ...] ,
, [

[]

253

]. ,
. , [].

. ,
.
[ ...] ,
,
. ,
[]. ,
, , .
[ ..., ...
...] ,
, , [ ].
, . ,
[]
, . ,
[], .
[ ..., ...
, ...]
,
. ,
[] ,
. , []
[]. ,
, .

5.6.1.2.
[], [ ],
[], [], []. ,
[].
[]
[] (. 5.80) ,
. ,
, .
.

Terrasoft 3.X

254

. 5.80 . []

[ ] .
. , .
[ ]
[ ] (. 5.81) ,
. (,
), .

[]

255

. 5.81 . [ ]

[ ] ,
, , ,
. .
.
[ ] ,
. ,
[ ] .
. , ,
[ ] .
[ ] ( ),
. . ,
[ ] ,
.
[] , .
,
[ ]. ,
[ ] ,
.

Terrasoft 3.X

256

[], [] .
, 10, 60
.
[]
[] (. 5.82)
.
.
. 5.82 . []


[ ], [ ]
. ,
10 20 .

[ ], [ ]
. ,
40 60 .
[]
[] (. 5.83)
.

[]

257

. 5.83 . []

,
, ,
, , ,
.


.
[]
[] (. 5.84)
.

Terrasoft 3.X

258

. 5.84 . []

[ ] ,
. ,
[].
[ ]
[]. ,
,
. ,
[] [], ..
.
[ ]
[]. ,
, ,
. ,
[] [], ..
.

,
, .

[ ] .
[ ...] ,
, [
]. ,

[]

259

. ,
[].
. ,
.
[ ...] ,
,
. ,
[]. ,
, , .
[ ..., ...
...] ,
, , [
]. , .
, []
,
. , [],
.
[ ..., ...
, ...]
,
. ,
[] ,
. , []
[]. ,
, .

5.6.2.
[
], [] .
, ,
. (. 5.85)
.
(. 5.86) .

Terrasoft 3.X

260

. 5.85

. 5.86

[] .
. []
, .

[]

261


[] [OK]
.
[] ,
.
[] ,
( []).
[] [] ,
[].

[ ] . ,
, .
.
[] ,
. .



[].
.

[] ,
.

[ ], [ Y] ,
.
.

[ ] ,
. .
[], [] .
[ ], [ ]
.
[ ], [ ]
.
[ ] ,
. [
] , ,
,
.
,
, .

Terrasoft 3.X

262


. ,
[], [ ] .
[ ,
] ,
, ,
, [ ] [
Y] .

5.6.3.
, .
(. 5.87) []
.
, , .
. 5.87

[]
(BMP, JPEG, WMF).

[]

263

[ E-mail] MS Outlook c
.
,

(, ).
.

Y,
. ,
, .
,
.

5.6.4. []
[] .
[]
, ,
.
[]
.
[]
.
[]
.
[]
,
.
[]
.

Terrasoft 3.X

264

5.7. [ ]
[ ] (. 5.88) ,
[].
. 5.88 [ ]

[].
[ ]
[]. :

[]

[ ];

[]

[ ],
( );

,

[ ].


[ ] , ,
[].
.
[ ] .
:

[] ;

[ ]

265

[] , .


, . 265

[ ], . 267

5.7.1.

(. 5.89).
. 5.89 [ ]

[],
, ,
.
,

, .
,
.
, , ,
.
[]
, .. , .
, ,
, .
,
, .

Terrasoft 3.X

266

, , ,
.
.
.
:
. ,
: , -, .
,
. 5.90.
( , ).

( [Ctrl] ).
( ).
.


[].
, (,
), []
, .

[], ,
[].

Windows. ,
. ,
, ,
.
(. 5.90).
. 5.90

[ ]

267

[] .
[] .
.
,
.
, , []
,
-, [] URL .
.
, . 5.90 , [] .
- .

11. ,
, ,
-.
1. [ ].
2. [] .
3. [] , , .
4. :
a.
].

, [

b. [], []
.
c.

5. :
a.

, [].

b. [],
[] .
c.

6. -:
a.
].

, [-

b. [], []
URL .
c.

7. .

5.7.2. [ ]
.

Terrasoft 3.X

268

[]
,
[ ]. .
[]
.
[]

[ ].
[]
.
[]
,
[ ].
[]
.

[ ]

269

5.8. [ ]
[ ] (. 5.91)
, .

. 5.91 [ ]

[]

.
,
. ,

.
. ,
, ,
, .
[OK].
, ,
.
.

Terrasoft 3.X

270


, . 270

[] [ ], . 273

[] [ ], . 277

[ ] [ ], . 278

[ ] [ ], . 280

[ ], . 281

5.8.1.

(. 5.92).
. 5.92

[] .
.
[ ]
, , .

[]. ,
, .
.

[ ]

271

[] ,
. .
, .
, :

,
[];

[],
.


-
, . ,
[ID] .

[ ] ([ID]).
.
[ ] ( ),
.
. ,
[ ].
[ ] ,
,
[] [].


.
, [ ]
[ ] [ ].

.
.

. []

[].
.
[]
.
,
.

Terrasoft 3.X

272

12. ,
(
).
1 :
1. [].
2. [] .
3. :
a. []
.
b. [ ] .
4. .


.
2 :

:

1. [] > [ ].
2. .
a. [ID], [ ], [], [] (
) .
b. [] (
).
c.

[, ..] (
( )).

d. [] .
3. :
<> .
4. , [OK] .
3
:

1. [] [].
2. .


, [].

[ ]

273

13.
.
.
1. [ ], .
2. :
a. [] .
b. [ ] .
c.

[]
.

d. [ ] ID.
e. [ ] .
3. . , []
.
4. .

5.8.2. [] [
]
[] (. 5.93)
() .
.
. 5.93 []


[] ,
.
[]
(. 5.94).

Terrasoft 3.X

274

. 5.94

. ()

, [] .
[] .
.

, ,
,
.

,
[ ]
.

[ ]

275

[] ,
, [ ] [ID]
, [ ] ,
.
,
,
, ,
.
,
[ ] .

[ ] (. 5.94)
, .


.

, .
,
.

[ ]
.
, ,
,
.
, []
[].

[], .

[]
.
[
] .
[ ]
.

[ ]
. ,
[] [ ]
[ ],
,
.
Terrasoft 3.X

276

[ ], [ ],
[ ] [ ] ,

.

,
.

14.
.
.
.
1
:

1. [ ].
2.
.
3. [].
4. :
a. [] .
b.
.
c.

[]

, ID, )
.

d. [ ID ] ID.
e. [
.

5.
[] .
2
:
1. .
2. [ ] [
].
3. [ ],
[OK].
4. .
5. , [OK].

[ ]

277

3 :
1. []
:
a. [] .
b. .
c.

[].

2.
( 2).
3. , [OK].

5.8.3. [] [
]
[]
. ,
.
[]
.

(. 5.95).
. 5.95

[] (
), .
.
.
[] .
, ,
, , .
.
[ ] ,
( [] []).
,
, .

Terrasoft 3.X

278


[ ] ,

.
[] ,
, .
,
.

15.
.
1. [ ].
2.
.
3. [].
4. .
5. .
a. [] ( ).
b. [] ( ).
c.

[ ] ( ).

6. .
7.
( [] ).

5.8.4. [ ]
[ ]
[ ] (. 5.96) ,
( )
[] [].

[ ]

279

. 5.96 [ ]


[] [] .

16.
.
1. [ ].
2.
.
3. [ ].
4. ,
.
17.
,
.
1. [ ].
2. ,
.
3. []

4. [ ]
.
5. [OK] .
6. [OK] .
7. [ ].
8. , []

.
9. , [OK].

Terrasoft 3.X

280

5.8.5. [ ] [
]
[ ] (. 5.97)
[]
[] [].
. 5.97 [ ]


.
[] .
.
[] (
[]).
.

[
] [
] []
[].

18.
.
1. [ ].
2.
.
3. [ ] .
4. [] .
5. [].
6. .
7.
).

(,

[ ]

281

5.8.6. [
]
.
[Web]
web-
Internet. web- [
Web]. [Web]
.
[]
,
[ ].
[].
[]
.
[]
,
[ ],
.
[]
.
[]

[ ].
[]
.
[ ]

[ ]. ,
[ ] .
[ ]
.
[]
,
, [
].
[].
[]
.

Terrasoft 3.X

282

5.9. []
[] (. 5.98)
. ,
, .
. 5.98 []

[] :

[ ]
. ,
Terrasoft Administrator
.
.

[ ]
.
.

[] :

[ ] .
.

[ ] (
, ).
.

[ ] .
,
. ,
.

[]

283


, . 283

, . 284

, . 288

5.9.1.
Terrasoft Administrator (
, ) ,

(. 5.99). [
] [ ].
. 5.99

[] . .
[ ] ( Dataset),
, Terrasoft Administrator.
.
[] .
[ ]
,
.
[ ] ( Window),
.
[ ] ,
(, Type="Contact", NeedsRefresh=1 ..).
,
, ,
, .

Terrasoft 3.X

284

[ ] ,
( Window).

5.9.2.
(. 5.100)
.
[ ] [
]
. 5.100

[]
.

[] Terrasoft Administrator,
. ,
( ). ,
Currency, .
.
[] .

[ ] ,
(, Type="Contact", NeedsRefresh=1
..). ,
, ,
,
.
[ ] ,
.
[ ] ,
, .
[ ] [ ]
, .

[]

285

[ ] [ ]
,
.
[ ]
.

19.
[ ].
1. [].
2. [ ] .
3. :
a. [] .
b. []
, , CommunicationLanguages.
4. [OK] .
[
].

[ ], . 285

, . 286

5.9.2.1. [ ]
(. 5.101)
. [ ]
.
. 5.101

[] [].

[ ].

Terrasoft 3.X

286


[] [] .

5.9.2.2.
(. 5.102)
[], [], []
.
. 5.102

[] ,
. .
[ ] , .
.
.
[ ] , ,
. :

, ;

[]

287

/ ;

, ,
;

.
/
[ /] (, ,
). , [ ]
/.

[ ] Enum
(), .
, [ ]
.
[ ]:

[ ] ,
[ ] ;

[ ] ,
[ ] Enum.

[ ]
, . ,
. ,
[ ] .

[ ]
,
.
[ ]
.
[ ]
,
. ,
.
[ ] ,
.
[ ] ,
,
.
[ ] ,
.
,
.
Terrasoft 3.X

288

[ ]
,
.
[ ] ,
, .
,
[].

20.
.

[ ]

1. [].
2. [ ],
[ ].
3. [
] [ ].
4. [ ].
5. [].
6. :
a. [] .
b. [ ] ,
, Country.
c.

[ ] .

d. [ ] .
e. .
7. [OK]
.
[ ] [],
.

5.9.3.
(. 5.103)
.
[] [ ].

[]

289

. 5.103

,
.
, ,
Terrasoft 3.X,
.
, ,
, : ,
..

21. .
[ ] .
1. [].
2. [ ],

[ ].
3. [].
4. [] .
5. [OK] .

[].

Terrasoft 3.X

290

5.10. [ ]
[ ] (. 5.104)
, .
. 5.104 [ ]

, :
-, ,
,
(, ).

,
, .

, . 290

[ ] [ ], . 294

[ ] [ ], . 299

[ ], . 301

[ ], . 301

5.10.1.
(. 5.105)
.

[ ]

291

. 5.105

[] .
.
[],
.

[] .
.
:

[ ] ,
;

[]
;

[] :
;

[]
.

[]
.
[ ] (. 5.106), []
[ ]
.

Terrasoft 3.X

292

. 5.106 []

[] (. 5.107),
[] [ ],
. , [
] 3, , ..,
. ,
[ ] 1.
. 5.107 []

[] (. 5.108),
[] [ ],

(, ), ,
.
, .
. 5.108 []

[] (. 5.109), []
[ ],

.

[ ]

293

. 5.109 []

, 15-
20- ..

[ ] (. 5.110)

.
. 5.110 [ ]

[ ]
, [], [] [],
, [ ].
:

, ( [ ]);

( [
]).


[ ] (. 5.111)
,
[] [ ].
. 5.111 [ ]

[ ] .
, [ ].
.
[ ],
.
, .
[ ],
, .
Terrasoft 3.X

294

[] , ,
.

5.10.2. [ ] [
]
[ ] (. 5.112) ( ),
, .
. 5.112 [ ]

, -,
,
.
[]
[].
[] .
:

[ ]
(
);

[ ]

[] []
;

[ ]
- ;

[ ] ,
(, ,
)
,
(,
[]).

, [],
.

[ ]

295


, . 295

, . 296

, . 296

-, . 297

5.10.2.1.
(. 5.113)
,
. [ ].
. 5.113

[]

.
.
[] [] ,
.
.

,
.
[] (. 5.114).
. 5.114

, CopyFile scr_FileUtils
.

Terrasoft 3.X

296

SourceFilePath DestinationFileName,
.

5.10.2.2.
(. 5.115)

[]. [ ].
. 5.115

[]

.
.
[]
, .
.

, .
.
, ,
.
[] [].
[] []
. [] .

5.10.2.3.
(. 5.116)
, .
[ ].

[ ]

297

. 5.116

, []
.

[]

.
.
,
(,
,
..). .
,
[/
]. ,
.
.

[ ] ,
, .
[] ,
. [] , ,
[ ].

5.10.2.4. -
- (. 5.117)
-, ,
- .
[ ].

Terrasoft 3.X

298

. 5.117 -

[] ,
.
.
(,
, ..),
- (,
). .
,
[/
]. ,
.
.

[] ,
.

[ ] ,
[].
.
[ ] -
, (,
).


[ ]. ,
[ ].
[ ], (. 5.118).

[ ]

299

. 5.118 -

[] -.
[ ] ,
,
[].
[ ] []
[ ] .
,
.

[] ,

5.10.3. [ ]
[ ]
[ ] (. 5.119)
.

Terrasoft 3.X

300

. 5.119 [ ]


[]
, .
[ ] [ ]
.
[] (. 5.120)
.
. 5.120

[
]. .
[] .
[] , []
.
[ ] ,
.
,
[].
(, ), ,
.

[ ]

301

5.10.4. [
]
.
[Web]
web-
Internet. web- [
Web]. [Web]
.
[]
,
.
[].
[]
.
[]
, ,
.
[]
.
[]

.
[]
.
[]
,
, .
[].
[]
.

5.10.5. [ ]
[ ] [ ].
[ ]
[ ]
.
,
.
, ,
.

Terrasoft 3.X

302

5.11. []
[] (. 5.121),
, , ,
,
.
. 5.121 []

.
[] [],
, .
[] :

[] .

[ ]
(
).

[ ]
.

[ ]
.

[ ]
Terrasoft.

[]

303


[] , . 303

[] , . 303

[], . 304

[ ], . 305

[ ], . 306

[ ], . 307

[ ], . 309

5.11.1. []
[] (. 5.122)
, .
. 5.122 []

,
, , .
,
.
,
. ,
, [] [].

[],
.

[] , . 303

5.11.2. []
[] (. 5.123)
,
.

Terrasoft 3.X

304

. 5.123 []


[].

[] , . 303

[], . 304

5.11.3. []
[] (. 5.124)
.
. 5.124 []

[]

305


[] :

[ ] ,
, .

.

[ ] ,
.

[
.

[] []
[] (. 5.124) ,
.
, ,
.
[].

[]
.

, . 103

, . 104

, . 107

5.11.4. [ ]
[ ] (. 5.125)
. ,
,
.
. 5.125 [ ]

Terrasoft 3.X

306


[], [] []
, ,
.
[], [], [] []
( ).
, ,
.
,
.

.
()
.
- ,
,
.


.

, . 123

[ ], . 306

[ ], . 307

5.11.5. [ ]
[ ] (. 5.126)
,

. , , [
] .

[]

307

. 5.126 [ ]

, [ ]
.
[ ]
[ ] (. 5.126)
().
,
.
[ ]
.
: , .
.


.

, . 128

[ ], . 305

[ ], . 307

5.11.6. [ ]
[ ] (. 5.127)
,
.

Terrasoft 3.X

308

. 5.127 [ ]

,
[
].
[ ]
(. 5.127) ,
.
[ ] [ ]
[ ],
.
[] .
[], [], [], [] [
]
. ,
,
.

,
, .

, . 126

[ ], . 305

[ ], . 306

[]

309

5.11.7. [ ]
[ ] ,
,
Terrasoft.

[ ] .
.

,
.
.
[ ] :

[] .

[ ]
.

[ ]
Terrasoft.


[] [ ], . 309

[ ] [ ], .
311

[ ]
[ ], . 312

5.11.7.1. [] [
]
[] [ ] (. 5.128)
.
,
.

Terrasoft 3.X

310

. 5.128 [] [ ]


. , , ,
- .
[] :

[] , .

[] , .

[ ]
.
,
.
Terrasoft 3.X,
.
.


UpdateActiveSessionPeriod 5 60 .
[]
. , []
[ ].

[]

311


.
[ ]
(. 5.128)
.
[]
.
, ,
.

,
. , 2 Terrasoft 3.X
Terrasoft.
. , 3
. ,
,
. ,
, .

.

5.11.7.2. [ ]
[ ]
[ ] [ ]
(. 5.129) ,
[] ,
.

Terrasoft 3.X

312

. 5.129 [ ] [ ]

[ ] .
[] , .
[] ,
.
.

5.11.7.3. [ ]
[ ]
[ ]
Terrasoft
, (. 5.130).

[]

313

. 5.130 [ ]

[ ]
,
.
[ ]
( ).
[] []
. []
,
. ,
.
Terrasoft
. ,
,
.
[ ] :

,
.

( ), ( )
. ,
, ,
( ), ..
.

Terrasoft, ,
.

Terrasoft 3.X

314

.
- ,
.

315

6. -
- , , ,
, , .

,

.
- [] Terrasoft.

, .
- Terrasoft Administrator
, . 6.1.
. 6.1 -

- [Workflow] [Workflow Diagrams].


-, [] > [Workflow
Diagram] .
, ,
wd_XXX. [Caption].

,
[Ctrl].

Terrasoft 3.X

316



, [Ctrl].

-, . 317

-, . 343

, . 345

317

6.1. -
-
.
,
, .
-:
.
.
,
.

(
).

,
-,
.
Workflow Diagram Workflow
Action.

.

.
.
.
.
, ,
, .
.

, , , , . 318

, . 322

, . 323

, . 324

, . 325

-, . 326

, . 340

Terrasoft 3.X

318

6.1.1. , , ,

, ,
-.
.
.
.

, (. 6.2).
. 6.2

:
1. :
1. [Workflow] > [Workflow Diagrams]
( [Workflow Diagrams]).
2. wd_Call.
3. .
2.
1. (. 6.3).

319

. 6.3

:
a. .
b.
, .
.
2. . :
a.
.
b.
.
c.

- (. 6.4).

. 6.4 -

Terrasoft 3.X

320

[] .
[] .
[]
. .
[ ] .
[]
[] .
.
[]
. ,
[]
. ,
,
.
[ ]
.
[ ] .
[ ] : <
>+< [ ]>.
[ ] .
,
1 .
[ ]
.
, ,
,
( []). ,
.
3. (. 6.5).
. 6.5

:
a. ,

321

b. .
c.

,
.

4. . :
a.
.

b.
, .
5. .
(. 6.6),
. .
Terrasoft [] > []
> [] > [ ] .
. 6.6

6. -.

, .
.

,
.
, :

Terrasoft 3.X

, ,
, ;

322

-,
. 6.7.
. 6.7



, .

-
,
.

6.1.2.
, ,

.
, ,
. ,
(. 6.8).

323

. 6.8

1. .
2. .
3. . :
a.

b. ,
.
.
4.
.
5.
.
6. .
7.
.

6.1.3.
, ,
.
, .
. -,
. 6.9.

Terrasoft 3.X

324

. 6.9

:
1. .
2. . :
a.

b. ,
.
.
c.

:
[DelayType] wddtDay ( ); [Value] 1
( ).

3.
.
4. .
5. .
,
.

6.1.4.

. ,
:
1. ,

2. ,
. .
3. ,
,
.

,
,
TaskStatusID=={F5DA68EB-4EEF-9E69-A36B54CFED91},
.

.

,
[UseExpression] True.

325

4. , :
a. [UseExpression]
False.
b. [Code] (
).
c.

[Caption] .
.

d. OnDecision,
.
,
function Item3OnDecision(DecisionItem, IsComplete, ResultLinkCodes)
{ if (a < 10)
{ResultLinkCodes.Value = 'K1';}
else
if (a == 10)
{ResultLinkCodes.Value = 'K2';}
else
{ResultLinkCodes.Value = 'K1;K2';}
}
K1, K2 , [Code] .
- . 6.10.
. 6.10

6.1.5.

-.
, :
1. ,

2. ,
. .
Terrasoft 3.X

326

3. OnExecute,
.

6.1.6. -
. ,
.
.
.

- .
Workflow Action
Workflow Actions.
-
:
1.
.

2. ,
.
3. .
.

-


E-mail, . 326

, . 328

, . 330

, . 334

/ , . 337

, . 339

6.1.6.1. E-mail
e-mail .
. 6.11.

327

. 6.11 [] E-mail

- :
1. .
[] e-mail-.
2. ,
-.
3. , :
a. .
b. ,
.
c.

,
.

4. :
a. [ ],
, .
b. [ ],
e-mail.
, , . 6.11,
[ ],
[].
[ID], ContactID.
[] (. 6.12) , e-mail
[] ( ).

Terrasoft 3.X

328

. 6.12 [] E-mail

(
[]), ,
-. ,
.
[ ]
[], [ ]
.

6.1.6.2.
,
,
.
, -
.
, ?
, ..

,

..
. 6.13.

329

. 6.13

- :
1. ,
.
2. , .
3. ,
:
a. .
b.
. ,
,
.
4. . ,
.

[], [].
5. [
].

[ ].

Terrasoft 3.X

330


(. 6.6)
, .

6.1.6.3.
,
, .
. 6.14.
. 6.14

- :
1. .
.
2. ,
, .

331

a. ,
, ,
,
.
b. ,
,
[ ,
, ID ]. ,
.
ID .

ID .
c.

,
, ,

.

d. [ ],
.
3.
. , ,
.

[ ].

-
,
.
4.
,
. 6.15.

Terrasoft 3.X

332

. 6.15

.

.

,
.
.
, [ ],
. [
]
.
.


.

,
[ ]
. ,
/ .
[] (. 6.16)

333

( );
.
. 6.16 []


. , ,
,
.
,
,
(. 6.15).

. ,
ID (AccountID) ,
:
1. .
2.
.

3. [Caption]
. -.
4.
wnd_AccountEdit.

5. [ ].
6. , ID , .
7. .

Terrasoft 3.X

334

,
AccountID.
,
.
, , (OwnerID) .
:
1. .
2. OwnerID
[] .
3. [
]
.
4. .

6.1.6.4.

. 6.17.
. 6.17

, -
.
, Terrasoft
Administrator, .

335

,
, .
- :
1. , .
2. ,
,
.
.
3.
. .
4. ,
.
, ,
, .

, .

[] [] .
,
[].
, .

,
. 6.18.

Terrasoft 3.X

336

. 6.18

:
1. .
.
2. . ,
[ ],
. [
] .


.
3.
,
[ ]
.
4. :

a.

[].
, .

337

b. ,
[ ].
c.


, .

[
] .
.
, -
, . , ,
ID , .
:
1. .
2. (ds_Contact).
3. .
4. .
5. RecordID, ID
, .
6. [] .
7. [ ]
. ,
, [].
[].

6.1.6.5. /
/ ,
- .
, . 6.19.

Terrasoft 3.X

338

. 6.19 /

- :
1. .
2. :
a. .
b. .
,
.
3. , .
,
. , ,
,
.
4.
. ,

.

339

5. ,
,
/
.

.

, ,
[]. . 6.15.

6.1.6.6.

-,
-.


, ,
.
,
, .

[]
[]. . 6.20.
. 6.20

[ ( )] .
[] .
[ ],
[] ,
.
(, ,
, , , )
.

.

Terrasoft 3.X

340


. Terrasoft Service
Desk.

[] .
Terrasoft RM.


Terrasoft Service Desk.

[]


[].
Terrasoft Sales, Terrasoft Service Desk.

6.1.7.
- ,

. ,
.
,
. ,
.
1. :
a. Workflow Diagram wd_Contract
([Caption]) .
b. (. 6.21).

341

. 6.21

c.

2. , , :
a. Workflow Diagram wd_WorkWithClient
([Caption]) .
b. .
c.

3.
(. 6.22).

Terrasoft 3.X

342

. 6.22

a.

b.
, .
.
c.

[DiagramUSI]
wd_Contract.

d. [WaitForCompletion] True.

.
4.
.

5. .

343

6.2. -

. :
1. [], :
a. .
b. [ ]
[ ] .
-
Terrasoft Administrator,
.
2. , :
a. [ ]
[ ] .
b. (. 6.23)
[OK].
. 6.23

c.

-
Terrasoft Administrator,
.

-
- . :
1. []
[ ] : [
] [
].
2. [ ]
(. 6.24).

Terrasoft 3.X

344

. 6.24 -

, - ,
- -,
-
.

345

6.3.

-
, , .

[] >[] > [ ]. ,
,
(. 6.25).
. 6.25


, . 6.26.
. 6.26

[] .
.
[ ] ,
,
.
Terrasoft 3.X

346

, .
[] , .
. [
] ,
. ,
.

, ,
:
Auto_ID ,
;
Auto_Dataset_USI USI ,
.

, .
/ (
) ( ).

.

, [
].
[] .
[ ].
.

347

7. Terrasoft Administrator

Terrasoft
Administrator

,
.
CRM- .
CRM-,
- .
-,
.
Terrasoft
, .
Terrasoft Administrator ,
TSAdmin.exe [Bin]
.
,
, ,
.

Terrasoft Administrator
.
Terrasoft Platform SDK.

Terrasoft Administrator, . 348

, . 359

, . 361

, . 393

-, . 402

-, . 406

Terrasoft Administrator, . 418

Terrasoft 3.X

348

7.1. Terrasoft Administrator


Terrasoft Administrator . 7.1.
. 7.1 Terrasoft Administrator

Terrasoft Administrator :

(1);

(2);

(3);

(4).

Terrasoft Administrator
.

Terrasoft Administrator, . 348

, . 350

, . 355

Terrasoft Administrator, . 958

, . 357

7.1.1. Terrasoft Administrator


Terrasoft Administrator (. 7.2)
, ,
,
.

Terrasoft Administrator

349

. 7.2 Terrasoft Administrator

[] [],
Terrasoft Administrator.
Terrasoft Administrator.
[] Terrasoft
Administrator :

[] / .

[ ]
(. 7.3).

. 7.3

[]

.
:

[ ]
, [ ]
.

[ ]
.

[GREP ]
() .


.

Terrasoft 3.X

[...]
. []
.

350


,
[Ctrl]+[F12] .

7.1.2.
,
.

,
[Ctrl] + [E].
.

, . 350

[], . 950

, . 352

, . 353

, . 354

7.1.2.1.

, . 7.4.
. 7.4


Terrasoft Administrator
.
(Insert).
, :

[]

,
.

[]
.

(Enter). , , SQL (, Table, SelectQuery, Dataset .), :

[Edit < >] ;

[Preview < >] SQL- . ,


SQL-, .

Terrasoft Administrator

351

(Shift+Ctrl+Insert).

.
, (F2).
,
(Ctrl+Delete).
(Ctrl+F).
.
Terrasoft Administrator, ,
. -
(, Table),
, ,
.

7.1.2.2.

.

(. 7.5)

. 7.5

Terrasoft 3.X

, , ,
.
. , Terrasoft Service Desk
[Problems], [ServiceAgreements],

352

Terrasoft XRM , [Projects],


[Invoices] .


. ,
[Details], ,
.

, ,
, . ,
[Common] ,
.

7.1.2.3.
(. 7.6) ,
.
. 7.6


, :
[ ] XML
.
[ ] XML.
,
.

(, ) ,
. ,
.
[ ] ,
. ,
.

Terrasoft Administrator

353

[ ] ,
.
[ ] ,
.

, ,
.
[ ] ,
.
.
[] .

7.1.2.4.
(. 7.7),
, []
.
. 7.7

[ID];

[ ];

[];

[].

Terrasoft 3.X

354

( [USI]),
( []).
, Script, Table, DBDataset.
, .
[] , .
.

7.1.2.5.
,
(. 7.8).
. 7.8

[ ] ,
.
[ ] :
, ,
, (<>=<USI>-< >) .

, , ,
[Ctrl] + [F].
[ ] ,
.
[ ]
.
[] ,
(
[]) ( []).

Terrasoft Administrator

355


,
Terrasoft Administrator,
[Shift] + [Ctrl] + [F].
[]
.

7.1.3.
Terrasoft Administrator
. , Window
(. 7.9).
. 7.9

.
(), [Ctrl]
+ [Tab], () [Ctrl] + [Shift] + [Tab].
,
.


Terrasoft Administrator.
.
(1)
:
(Ctrl+S).

Terrasoft 3.X

356

, Table
,

.
Script,
(F12). .
(F5).
.
Window,
(Ctrl+P). .
SQL- (Ctrl+P).
( Table), ( SelectQuery,
InsertQuery, UpdateQuery, DeleteQuery, InsertSelectQuery).
SQL-, ,

(Ctrl+Del).
.
(Ctrl+F4).
(2)
,
, , Table,
(Window, Script, Workflow Diagram).
(3)
,
. , Table ,
, , Window
(, Frame, DataGrid) (, DatasetLink).

:
. []
.
, . ,
Fields Table []
[], Indexes [].

.

. , Table Enum
[], ,
, , .

Terrasoft Administrator

357

,
. , , Script, ImageList,
FastReport.

, ,
, .
(4)
(
[]) ( []).
, , Dataset, Window, Script
.

7.1.4.
Terrasoft Administrator
.
[]
[GREP ]. ,
. 7.10.
. 7.10

[ ] ,
, []. ,
[].
,
.

Terrasoft 3.X

358

,
.
. []
, .
[] , .
[] []
.
,
[
].

359

7.2.
, ,
.
:

, ;

(Unique Service Identifier,


USI).

.
:
Table .
Script Jscript,
.
SelectQuery ,
( ).
InsertQuery ,
( ).

UpdateQuery , , ,
( ).
DeleteQuery , ,
( ).
InsertSelectQuery ,
.
CustomQuery , SQL-,
.
Dataset ,
, .
.
MemoryDataset ,
, .
Window
.
ImageList , ,
.

Terrasoft 3.X

360

Enum , ,
. , ,
.
UserFields ,
.
Workflow Action , ,
-.
Workflow Diagram -.
FastReport Fast Report.
ADOConnection .
ADODataset ,
.
ADOCommand .

361

7.3.
,
.

Table, . 361

Select Query, . 366

Insert Query, . 370

Update Query, . 371

Delete Query, . 372

InsertSelect Query, . 373

Custom Query, . 374

Dataset, . 376

MemoryDataset, . 382

User Fields, . 383

Enum, . 385

ImageList, . 386

ADOConnection, . 388

ADOCommand, . 389

ADOCommand, . 389

7.3.1. Table
Table .
:

, Table
,

.


Table, . 361

Table, . 362

7.3.1.1. Table

Table, . 7.11.

Terrasoft 3.X

362

. 7.11 Table

[SQL ] .
, , : tbl_XXX.


tbl_XXX.
[]

[] : [ ], [
].
[ ]
,
[] [
].
[ ] ,
, -
,
( -).
[ ]
tbl_XXXRight,
.
[].
[ ]
[ ] []
, .
[ ] ,
. ,
, [ ],
, .

7.3.1.2. Table
,
Table. . 7.12.

363

. 7.12 Table

(Fields)
, Table
[Fields] [] .
,
. : ID ( ), CreatedOn (
), CreatedByID ( ), ModifiedOn ( ),
ModifiedByID ( ).
(. 7.13) .
. 7.13

[] .
[]

[] [ ].
Terrasoft 3.X

364

[ ] . :

[ ] ,
.

[] ANSII
(, ).

[ Unicode]
UNICODE (.. , ).

[ ] .

[ ] .

[] (true / false).

[/] ( ).

[ ]
(, , RTF-).

[ ]
.

[]
.

[] .
(
).
[] .
.
[ /] /.
(, , /).
[] .
, .
[] ,
.
[ ],
.

[] .
(Indexes)
, Table
[Indexes] [] .
.
: [] [] [
].
[] (. 7.14)
.

365

. 7.14

,
.
.
(. 7.15).
. 7.15

(Relations)
, Table
[Relations] [] .
Relations
.
(. 7.16) .
. 7.16

[ ] ,
.
[ ] ,
.
[] .
[ ],
, ,
.
,
, .
Terrasoft 3.X

366

7.3.2. Select Query


Select Query
.
Select-,
Union. Select.
:

Select-;

Select :

, ;

( SQL-), .


Select Query, . 366

Select Query, . 366

7.3.2.1. Select Query


(. 7.17) :
. 7.17

[] ,
, , DataSet.
, , sq_XXX.


sq_XXX.
[] .
[] .

7.3.2.2. Select Query



Select Query, . 7.18.

367

. 7.18 Select Query

FROM
, ,
FROM.
, ,
Join FROM.
Join (. 7.19) :
1. Join, , LEFT OUTER JOIN. Join
SQL.
2. .
3. ,
.
. 7.19 Join

[ ] Join
, Select , ,
().
Select
Select SQL ,
, .

Terrasoft 3.X

368

. 7.20 Select

Select (. 7.20) [ ]
, . -1,
.

,
[ ] -1
( 40).
[] ,
Select-. Select-.
Select, .
[
.

(Distinct)]

Select .
Select. :

[ ] ,
(. 7.21).
. 7.21

, ;

( / / );

,
. ,
,
, [AccountTypeID] 0,
[Name] 1;

,
- ;

369


,
.

/
, , ..

[ ],
,
.

[-] ,
(. 7.22).
. 7.22 -

[ ].

[ ] ,
. , , ,
. ,
.
[ SQL] SQL-,
Terrasoft Administrator, , ,
, ,
.
Where
, , Where.
Where :

, SQL, , Is
Null, Between, Like ..;

,
.

, SQL,
, Parameters.
(Test Subquery
) , .
. 7.23.
Terrasoft 3.X

370

. 7.23 Like

AND OR,
Where (. 7.24).
. 7.24 Where

,
.
Parameters
, Where,
Parameters (. 7.25).
. 7.25

, , .
Table.
,
, ,
.
.
, .
,
.
/ .

7.3.3. Insert Query


Insert Query .
:

, ;

371

, .

, , iq_XXX.


iq_XXX.
[]
.

(. 7.26)

. 7.26 Insert Query

, ,
, . 7.27.
. 7.27 Insert Query

, []
.

.
(. 7.28) ,
( ).
. 7.28 Insert Query

. .

7.3.4. Update Query


Update Query , .
Terrasoft 3.X

372

, ;

, ;

, , uq_XXX.


uq_XXX.
, , (. 7.29).
. 7.29 Update Query

, ,
, . 7.30.
. 7.30 Update Query

, []
.

.
Insert Query (. 7.28).
Select Query.

7.3.5. Delete Query


Delete Query .
:

, ;

373

, , dq_XXX.


dq_XXX.
, , .
Update Query (. 7.29).
Select Query.

7.3.6. InsertSelect Query


InsertSelect Query
.
:

,
;

, .

, , isq_XXX.


isq_XXX.
, , .
Insert Query (. 7.28).
Insert
Query Select Query.
InsertSelect Query . 7.31.

Terrasoft 3.X

374

. 7.31 InsertSelect Query

Insert
Select.

7.3.7. Custom Query


Custom Query SQL-,
. SQL c
.
Custom Query SQL-,
. ,

, ..
:

SQL-;

, , cq_XXX.


cq_XXX.
Custom Query . 7.32.

375

. 7.32 Custom Query

.
[]

[ ]

. , -
, .
[ ] (. 7.33).
. 7.33

, ,
<!_!>, , <!tbl_Contact!>.
Custom Query , Select
Query.
, ,
Custom Query
[ ]

Custom Query Parameters.

Terrasoft 3.X

376

7.3.8. Dataset
Dataset .
:

, , ;

.

F12 Dataset,
.
F12 ,
Dataset.


Dataset, . 376

, Dataset, . 378

Dataset, . 380

Dataset, . 381

7.3.8.1. Dataset
Dataset . 7.34.

377

. 7.34 Dataset

[] ,
, Dataset
(, ).
, , ds_XXX.


ds_XXX.
[] .
Dataset ,
.
[ ] ,
Dataset.
[ ], [
], [ ],
/ / , [
], [ ], [ ]
. , , ,
[ ]
[ ].
[ ]
. .
.

Terrasoft 3.X

378

, [
] ,
, ,
.
[ ] Dataset
- ,

( -).
[USI ] , Dataset.
[], Dataset
(,
).
[], [], [], ,
Dataset, ,
.
[] .

7.3.8.2. , Dataset
, Dataset,
Dataset,
Data Fields.

, Dataset,
, Select Query Dataset.
Dataset.
:

[ ] ANSII
(, ).

[ ] .

[ ] .

[ ] (true / false).

[ /] ( ).

[ ] (,
, RTF-).

[ ] Dataset.

[ ]
(Enum).

[ ]

.

Dataset . 7.35.

379

. 7.35 Dataset


Dataset
.
[] ,
Dataset, , .

Dataset
Dataset.
[] Dataset.
, .
[ ] Dataset
, [ ]

.
[] ,
.

.
,
, . ,
[ ].
Dataset,
[ ],
.
[ ]
.

Terrasoft 3.X

380

,
.
[ ]
, , ,
.
[ ],
, , ,
.
[ ]
.
[ ] ,
. ,
.
[ ] .
[]
.

7.3.8.3. Dataset
[]
Dataset.
[OnDatasetAfterAppend]
, [OnDatasetBeforeAppend]
.
[OnDatasetAfterCancel] / [OnDatasetBeforeCancel] /
Dataset.
[OnDatasetAfterClose] / [OnDatasetBeforeClose] /
Dataset.
[OnDatasetAfterCopy] / [OnDatasetBeforeCopy] /
.
[OnDatasetAfterDelete] / [OnDatasetBeforeDelete] /
Dataset.
[OnDatasetAfterEdit] / [OnDatasetBeforeEdit] /
Dataset.
[OnDatasetAfterOpen] / [OnDatasetBeforeOpen] /
Dataset.
[OnDatasetBeforeLookupDatasetOpen]


.
[OnDatasetAfterPositionChange] / [OnDatasetBeforePositionChange]
/ .

[OnDatasetAfterPost] / [OnDatasetBeforePost] /
.
[OnDatasetCalcFields]
.

381

[OnDatasetChangeDataField]
Dataset.
[OnDatasetInsertDataField] , Dataset
, [OnDataRemoveDataField] Dataset .
[OnDatasetDataChange] Dataset.
[OnDatasetError] ,
, ,
.
[OnDatasetFilterRecord] , ,

.
[OnDatasetGettingDisplayValuesDisabled] ,
.
[OnDatasetGettingDisplayValuesEnabled] ,
.
[OnDatasetIsFilteredChanged] ,
.
[OnDatasetStateChange] Dataset.
[OnDatasetRefreshRecord] .
[OnDatasetRemoveDataField] ,
.
[OnEventsDisabled] / [OnEventsEnabled]
/ Dataset.
[OnNotify] , Dataset
.
[OnDatasetCalcSummary]
.

[OnDatasetChangeDataFieldCaption]
.
[OnDatasetChangeDataFieldIsReadOnly] ,
[ ] .
[OnDatasetChangeDataFieldIsRequired]
[] .
[OnDatasetDuplicatesFound] , (
) .
.

7.3.8.4. Dataset
- Dataset,
. :
1. Dataset .
2. [Value] .

Terrasoft 3.X

382

3. Dataset ,
.
4. ,
.
5. Dataset
. .

7.3.9. MemoryDataset
MemoryDataset ,
. . Terrasoft
Administrator , ,
, ..
:

, ;

Dataset, .
, ,
mds_XXX.


mds_XXX.
MemoryDataset . 7.36.
. 7.36 MemoryDataset


Dataset.

383

, ,
MemoryDataset (. 7.37).
. 7.37 MemoryDataset


Dataset.
MemoryDataset ,
Dataset. .
MemoryDataset , Dataset.

7.3.10. User Fields


User Fields . User Fields
.
( , ..)
, [] >
[ ] .

User Fields, . 383

User Fields, . 384

User Fields , . 384

7.3.10.1. User Fields


User Fields . 7.38.
. 7.38 User Fields

[] .
, , uf_XXX.


uf_XXX.
[] ,
.

Terrasoft 3.X

384

[ DBDataset] Dataset,
.
.
[ ] ,
.

7.3.10.2. User Fields


, ,
User Fields.
. 7.39.
. 7.39 User Fields

, ,
[ ] Tables
Terrasoft Administrator.
,
, [ ] Windows
Terrasoft
Administrator.
, ,
. [ ]

DataGrid.
, (
Dataset), .

7.3.10.3. User Fields


, ,
, .
FrameGroup.
, ,
UserFieldsGroup [UserFields]
, .

385

7.3.11. Enum
Enum
. , , Dataset
( ,
),
Window.

Enum, . 385

, . 385

7.3.11.1. Enum
(. 7.40) :

[] .

[] .

. 7.40

7.3.11.2.
Enum,
. 7.41.
. 7.41

,
[ ] .
. 7.42.
. 7.42

Terrasoft 3.X

386

[]
.
[].
[] , ,
[] .
[] .

7.3.12. ImageList
ImageList .
, , ,
.

ImageList, . 386

ImageList, . 386

, . 387

7.3.12.1. ImageList
(. 7.43) :
. 7.43 ImageList

[] ImageList. ,
, il_XXX.


il_XXX.
[] .
[] ImageList.

7.3.12.2. ImageList
,
ImageList, . 7.44.

387

. 7.44

, :
1.
.

[]

2. .
3. []
.


(. 7.45).
. 7.45

7.3.12.3.
Window :

.
[]
:

[DisabledImageName] .

[ImageName] .

[HotImageName] .

[PressedImageName] .

Terrasoft 3.X

388

7.3.13. ADO-
ADO- ,
, - .
Terrasoft Administrator ADO-:

ADOConnection;

ADOCommand;

ADODataset.

,
( ADOConnection),
( ADOCommand)
ADODataset.

ADOConnection, . 388

ADOCommand, . 389

ADODataset, . 390

7.3.13.1. ADOConnection
ADOConnection
.

ADOConnection
adocon_XXX.

(. 7.46).

ADOConnection

. 7.46 ADOConnection

[] , ADOConnection
ADOCommand ADODataset.
[] .
[] ADOConnection.

389

[ ] .
Windows.
.
[] ADOConnection
.
[] , ,
.
[ ]
. ,
.
. .

7.3.13.2. ADOCommand
ADOCommand
.

ADOCommand
adocmd_XXX.
SQL- ADOCommand,
. 7.47.
. 7.47 ADOCommand

[] ,
ADODataset.

ADOCommand

[] .
[] ADOCommand.
[ ] ,
Windows .
.
[] ADOConnection.
Terrasoft 3.X

390

,
ADOConnection.
[] .
[ SQL] .
,
[ ] ADOCommand
(. 7.48).
. 7.48

,
.
[]
ADOCommand.

7.3.13.3. ADODataset
ADODataset
.

ADODataset
adods_XXX.
ADODataset ,
. 7.49.

391

. 7.49 ADODataset

ADODataset Dataset,
, ADO-.
[ ] ,
Windows .
.
[] ADOConnection.
,
ADOConnection.
[ SQL] ADODataset
.
,
[ ] Parameters
ADODataset (. 7.50).
. 7.50 ADODataset

Terrasoft 3.X

392

,
.
[]
Parameters ADODataset.
, SQL-,
ADODataset, [ ]
Data Fields ADODataset.
[ ] ADODataset ,
.
: clUseClient ( ) clUseServer
( ).
ADODataset.

http://
msdn2.microsoft.com.
[ ] ,
. : ctUnspcified
(), ctOpenForwardOnly ( ), ctStatic (),
ctKeyset ( ) ctDynamic ().
[ ] clUseServer,
[ ] ctOpenForwardOnly.
ADODataset , [ ]
clUseClient, [ ] ctKeyset.
[] Dataset.
[SQL- ] SQL-,
[ SQL], .
[ ], [ ], [ ]
, ,
Terrasoft Administrator. ADOCommand.

393

7.4.
,
. Window
FastReport.

Window, . 393

FastReport, . 398

7.4.1. Window
Window .
:

, ;

.

F12 ,
.
F12 ,
.

.
Window.


wnd_XXX.
[
] Terrasoft Administrator.
Window,
[]
Terrasoft Administrator,
. ,
.
[Name]
.
. 7.51.

Terrasoft 3.X

394

. 7.51


, . 394

, . 395

, . 396

7.4.1.1.
[]
Window.
[Align] .
[BorderStyle] , , .
[Caption] (
Terrasoft Administrator).
[Direction]
( ).
[Height], [Width] .
[IsEnabled] ,
.
[IsKeyPreview] True, ,
(OnKeyPress, OnKeyUp, OnKeyDown),
.
[IsResizable] True ,
.

395

[IsStayOnTop] True
.
[IsTransparent] True,
.
[IsVisible] .
[Left] [Top] .
[Name] . .
, , wnd_XXX.
[OffsetBottom], [OffsetTop], [OffsetLeft], [OffsetRight] ,
, ,
.
[PopupMenu] .
[Script] , .
[Tag] .
[TemplateWindowUSI] USI ,
.
[TemplateWindowUSI]
.
[UseProfile] ,
True. ,
.
[USI] .
[WindowCaption] .
[WindowState] , ,
, /.

7.4.1.2.
[]
Window.
[OnActivate] , (,
Alt+Tab),
[OnDeactivate] .
[OnInheritedComponentNotFound] ,
.
[OnKeyDown], [OnKeyPress], [OnKeyUp] , ,
, ,
.
[OnModifiedComponent]
. , .

[OnNotify] , .
[OnVisualComponentClick]
.
[OnCreate] .
Terrasoft 3.X

396

[OnShow] , .
[OnPrepare]
.
[OnEventsDisabled] / [OnEventsEnabled]
/ .
[OnFocusedControl] , -
(,
).
[UseProfile] True,
[OnProfileDeserialize] ,
[OnProfileSerialize] .
[OnGetProfileKey]
.
[OnCloseQuery], [OnClose].
[OnCloseQuery]
.
[OnResize].
Terrasoft Platform SDK.

7.4.1.3.
Window
.
Window [].
. 7.52.
. 7.52


: Frame, FrameSet, FrameGroup.
, .

397

(FrameSet):

(),
(Splitter).
IsResizable.

( IsResizable
= True).

FrameSet
( IsClient = True).

(Frame):


FrameSet.


Administrator.

Terrasoft

(FrameGroup):


[]
.
:
DatasetLink Dataset
. , DatasetLink
, DataControl. , IntegerDataControl. ,
, .
EnumLink (Enum).
ActionMenu
.
Terrasoft
Platform SDK.

Terrasoft 3.X

398

7.4.2. FastReport
FastReport .
:

, Master Detail;

( Pascal Script, JScript, BasicScript, C++Script).



F12 FastReport,
.
F12 ,
FastReport.


fr_XXX.

FastReport . 7.53.
. 7.53


Terrasoft Administrator []
.

FastReport, . 399

FastReport, . 399

FastReport, . 399

399

7.4.2.1. FastReport
[]
FastReport. . 7.54.
. 7.54

[Caption] .
.
[Script] .
[TemplateReportUSI] ,
.
[USI] .

7.4.2.2. FastReport
[]
Script. . 7.55.
. 7.55

[OnPrepare] .
[OnPreview] .

7.4.2.3. FastReport
.
FastReport FastReport
( , ).
Dataset.
,
[TS] > [TS Dataset] [Data] (. 7.56).

Terrasoft 3.X

400

. 7.56

, [Data] FastReport
TSDataset. Dataset
FastReport. [] TSDataset
[USI] Dataset, Terrasoft
Administrator.
Dataset, ,
[FetchRecordsCount], .

. , ,
-1.
, , ,

. ,
[ ]
.
[
]. ,
. . 7.57.
. 7.57

,
[].

.

401


Terrasoft Administrator
. ,
. , :
1. Terrasoft Administrator .
2. ,
[] > [FastReport].
3. [ ]
.
4. .
() .

Terrasoft 3.X

402

7.5. -
Script,
- .
.

Script, . 402

7.5.1. Script
Script
JScript. .
JavaScript. ,
, Terrasoft Platform SDK.
:

.
Ctrl+G,
.
,
, .
, Ctrl.

, Ctrl,
.

, . 402

, . 403

, . 404

7.5.1.1.
[]
Script. . 7.58.
. 7.58

403

[Caption] .
, , < ,
><Script> scr_XXX.
[Description] .


, [Shift] + [Ctrl] + [T].
[Timeout]
. ,
.
, [Timeout] -1.
[USI] .

7.5.1.2.
, ,

Terrasoft
Administrator
.
,
. 7.59.
. 7.59

,
[] .
Terrasoft
Administrator .
Window, ,
.

,
,
, .

[]
.

Terrasoft 3.X

404

[]
.
[]
.

7.5.1.3.
Script
, . 7.60.
. 7.60


MS Office.
, .
[] .
[]
. Main().
-
.
[ / ] .
[].
[ / ] . []
, .
[]
.

[ ]
, [Ctrl] + [G].
[ ] ,
. ,
, .

, [Ctrl]
.
[Alt] + [].

.

[]:

[ ] (F5).

405

[ ()] ,
(Ctrl+F5).
.

[ ()] ,
(Shift+F5).
.


,
[] . ,
[]
> [ ].
[] > [ ] .

Terrasoft 3.X

406

7.6. -
- [Workflow] [Workflow
Diagrams]. Workflow Diagram.
- .
Workflow Action.

Workflow Diagram, . 406

Workflow Action, . 414

7.6.1. Workflow Diagram


Workflow Diagram .
, ,
wd_XXX.


wd_XXX.
Workflow Diagram
[].
[ ] :

[ ]
,

[ ]
.

-
-. :
1. []
[ ] : [
] [
].
2. [ ].
- .
Workflow
Diagram:

-;

-;

-;

-;

-.

407


-, . 407

-, . 407

-, . 412

-, . 413

-, . 413

7.6.1.1. -
Workflow Diagram []
. . 7.61.
. 7.61 -

[Caption] -.
.
[MaxProcessedItems]
-.
[Script] -.
[USI] Workflow Diagram .
[Parameters] .

7.6.1.2. -
-
-, .
, -
, ,
ID .
(. 7.62),

[] [Parameters]
(. 7.61)

Terrasoft 3.X

-.

408

. 7.62


.
,
. 7.63.
. 7.63

,
(, , , ..).

409

,
.

,
.
.
, .
(, , )
[] (. 7.63).
[]
True False.
/
.

, .


/ .

JavaScript (. 7.64).

[].
. 7.64


[]
[].
[ ]
.
[ ].


[].

Terrasoft 3.X

410


(. 7.62)

.

.


, (. 7.65).
,
, ,
.
. 7.65 -

,
.

.
/
.

[] .
, - (. 7.66).
. 7.66 -

411

.
,
.
-,
.
[OK],
.
, ,
.
-
, []
. ,
(. 7.63)
. (. 7.67)
.
. 7.67


[
].
-
-. ,
, -,
, []
,
. ,
, , Owner1 Owner2.
Owner1 :
1. Owner1.
2. .
3. , .
4. []
.

ID

5. , [ ].
Terrasoft 3.X

412

Owner2, ID ,
.
Owner1 OwnerID
. , OwnerID
.


Workflow Action.
:
1. Owner1 .
2. . :
a. -
.
b.
OwnerID.
c.

, ,
Owner1
OwnerID.
[]
[]
Owner1 .

7.6.1.3. -
Workflow Diagram []
. . 7.68.
. 7.68 -

[OnAfterItemExecute] / [OnBeforeItemExecute] /
-.
[OnEventsDisabled] / [OnEventsEnabled]
/ -.
[OnNotify] , -
.

413

7.6.1.4. -
- .
-.
[] -.
. 7.69.
. 7.69 -

- :
[Caption] -.
[Left] [Top] .
[Name] -.
, ,
, [Height]
[Width].
:
[DelayType] (, , ).
[Value] .
,
[ProcessImmediately]. True,
.
, .
:
[DiagramUSI] Workflow Diagram,
.
[WaitForCompletion] True
.
- :
[CaptionPosition] .
[Code] .

7.6.1.5. -
- []
.
.
Terrasoft 3.X

414

[OnStart],
-.
[OnFinish],
-.
:
[OnAfterExecute] .
[OnBeforeExecute] .
[OnExecute],
.
[OnDecision],
.
[OnCollected] ,
, .
[OnGetCustomDelay],
(
).
:
[OnAfterComlete] .
[OnBeforeStart] .

7.6.2. Workflow Action


Workflow Action -.
,
.
-.

Workflow Action, . 414

Workflow Action, . 415

Workflow Action, . 416

7.6.2.1. Workflow Action


(. 7.70) :

415

. 7.70

[] Workflow Action. ,
, wa_XXX.


wa_XXX.
[] . .
[] .
[ ] .
-.
[] .
[] Workflow Action.

7.6.2.2. Workflow Action


- ,

(. 7.71),
[] [Parameters] .

Terrasoft 3.X

416

. 7.71

.
-
-.
, OwnerID
.
:
1. OwnerID.
2. .
3. , .
4. [] .
5. [ ].


-

.

7.6.2.3. Workflow Action


Workflow Action []
.
. 7.72.

417

. 7.72

[OnCancel] .
[OnEventsDisabled] / [OnEventsEnabled]
/ .
[OnExecute] .
[OnGetDisplayCaption] .
[OnGetLinksInfo]
.
[OnInitialize] .
[OnNotify] ,
.

Terrasoft 3.X

418

7.7. Terrasoft
Administrator

Ctrl+F12

Ctrl+E

/ .

Shift+Ctrl+Insert

F2

, .

Ctrl+Delete

, ,
.

Ctrl+F

, .

Shift+Ctrl+F

,
Terrasoft Administrator.

Insert

Shift+Alt+S

GREP .

Ctrl+Tab

(
).

Ctrl+Shift+Tab

(
).

Ctrl+Alt+L

Ctrl+S

C .

F12

Script,
.

F5

Ctrl+P

Window,

SQL- .

Ctrl+O

( Script).

Ctrl+S

( Script).

Ctrl+F9

(
Script).

Terrasoft

419

F9

( Script).

Shift+Ctrl+S

( Script).

Alt+G

( Script).

Ctrl+G

( Script).

F5

:
debugger;
Script.

Ctrl+F5

,
.
:
if (System.GetLocalComputerName() == 'PC_NAME') { debugger; }
Script.

Shift+F5

,
:
if (Connector.CurrentUser.Name == 'Supervisor') { debugger; }
Script.

Ctrl+/


(
Script).

Shift+Ctrl+R

/ (
Script).

Shift+Ctrl+P

( Script).

Terrasoft 3.X

420

8. Terrasoft
Administrator
,
[] Terrasoft Administrator.

: , Terrasoft
, ,
.
.

.
.
Excel
MS Excel, Terrasoft
3.X .

, . 421

, . 429

MS Excel, . 434

421

8.1.

[ ] [] Terrasoft Administrator.
. 8.1.
. 8.1

,
. :

(1);

(2) ;

(3) .

[]
(. 8.2).
. 8.2 []

[] -
.

Terrasoft 3.X

422

[]
.
Windows.
[] [ ] ,
Windows .
[] .
:

[] .
, ;

[] . ,

[] .
, ,
.

[] .
.

[ ]
.


, . 422

, . 423

, . 424

, . 425

, . 426

, . 427

, . 427

8.1.1.
,
.
. 8.3.

423

. 8.3

, ,
[] [].
, Terrasoft,
, .

[
].

8.1.2.
,
.
, .

. 8.4.
. 8.4

:
Terrasoft 3.X

424

USI- Terrasoft
Administrator. USI-
? *. , -\Accounts\* ,
Accounts. ?
.

(, Table, Window, Script ..);

(ID) ;

,
. 8.4 ,
.
.

8.1.3.
. ,
,
. [Common],
, . 8.5.
, []
> [].
. 8.5 [Common]


,
[ ],
. .

.
.
.
Main.
[] ,
( []

425

). ,
, -.
[ ] ,
-.

8.1.4.

, .

. . 8.6.
. 8.6

[] ,
. [],

.
:

XML- ;

XML- .

OnBeforeApply ;

OnAfterApply .

,
:

Terrasoft 3.X

OnDelete , ;

426

OnConflictNewExist , ,
-
-;

OnConflictDeletedChanged , -
, , -.

XML- , ,
OnConflictChanged.
, .
:
Source* -.
Destination* -.
*Storage TSObjectLibrary.XMLStorage .
*Node TSObjectLibrary.XMLStorageNode .
ActionValue TSObjectLibrary.Value ,
, .
Common:

aaDoNothing .
.

aaSkip
.

aaApply
.

:
AttributeName .
Value .
OldValue .
NewValue .

8.1.5.
[
] .
. 8.1 (3).
[] , .
[ ] .
[ ] .
[] ,
.
[] .
[] .

.
: []

427

[],
,
.

8.1.6.
1. Terrasoft Administrator.
2. [] > [ ].
3. ,
, c [] .
4. .
5.
.
6. [ ]
[] .
7. , .
8.
[] .

8.1.7.

,
, .

UPDFRM

SRCCFG

,
.
UPDFRM SRCUSR.

SRCUSR

,
.
UPDFRM SRCCFG.

SRCPWD

,
.
UPDFRM, SRCCFG SRCUSR.
,
.

DSTCFG

, .
UPDFRM
DSTUSR.

DSTUSR

,
.
UPDFRM DSTCFG.

Terrasoft 3.X

428

DSTPWD

,
.
UPDFRM, DSTCFG DSTUSR.
,
.

SAVETO

FORCE

PACKNAME

.
3.3.1 3.3.2.
TSAdmin.exe /USR="Supervisor" /CFG="ts332" /UPDFRM /SRCCFG="ts331" /
SRCUSR="Supervisor"
/DSTCFG="ts332"
/DSTUSR="Supervisor"
/
SAVETO="D:\Projects\Package331to332Sales_MS_RUS\Package\"
/FORCE
/
PACKNAME="Sales33131to33247RUS"

USR CFG, ,
Terrasoft 3.X Terrasoft Administrator,

.

,
,
.

429

8.2.
[
] [] Terrasoft Administrator.
, . 8.7.
. 8.7

[]
, .
[] [] ,
, .
,
[ ].
[ ] Package,
.
, Terrasoft
(, ), [OK]

SQL. ,
.. ,
. , (
),
. ,
.

. (. 8.8).
. 8.8

Terrasoft 3.X

430

,
,
, (. 8.9).
. 8.9

,
, (), (, ,
), , (Table, DBDataset, FastReport
..).
( ) /
( ),
.
(, ) :

,
.

, ,
, .


, ,
, .

,
[] ,
, , /
(. 8.10).
. 8.10

431

,
.
,
.
[
] [ ].
.
, Terrasoft,
,
.


[] (. 8.11).
. 8.11


, :

[ ] ,
;

[ ] .


[F7]
[ ],
[F8]
[ ].

[ ]
, ;

[ ]
.

[] .
[ ] (. 8.9)
, .
.

Terrasoft 3.X

432

.
,
[] (. 8.12).
. 8.12

XML-
(. 8.13).
. 8.13


, ,
.

XML-.

, . 432

8.2.1.

,
, .

APPLYFRM

APLCFG

,
.
APPLYFRM APLUSR.

APLUSR

,
.
APPLYFRM APLCFG.

433

APLPWD

,
.
APPLYFRM, APLCFG APLUSR.
,
.

LOADFROM

.
3.3.1 3.3.2.
TSAdmin.exe /APPLYFRM /CFG="ts332" /USR="Supervisor" /APLCFG ="ts331" /
APPLUSR="Supervisor"
/LOADFROM
="D:\Projects\Package331to332Sales_MS_RUS\Package\"
USR CFG ,
.

,
Terrasoft Terrasoft Administrator,

.

,
,
.

Terrasoft 3.X

434

8.3. MS Excel
MS Excel .


Terrasoft,
[].


,
,
.

MS Excel,
: TSClient.exe /wnd=wnd_Import.

Terrasoft,
[] : /
wnd=wnd_Import.
. 8.14.
. 8.14


, . 434

, . 436

MS Excel, . 440

8.3.1.
Terrasoft,
MS Excel. ,
MS Excel
c.
,
Terrasoft Administrator.
[ ]
]. . 8.15.

MS Excel

435

. 8.15

,
;

MS Excel ( [])
Terrasoft.

[]
(. 8.16)
Terrasoft .
. 8.16


MS Excel.
[]
(. 8.17) .

Terrasoft 3.X

436

. 8.17

[] MS Excel,
Terrasoft,
[].
MS Excel.

8.3.2.
.
[ ] [
] (. 8.18).
. 8.18

:
,
MS Excel;
Terrasoft.
[]
[ ] (. 8.19)
:

MS Excel

437

[] ;
.
(. 8.14) [ ].
. 8.19

[ ] .


, , MS Access, - .
[ ]
.
[] ,
.
[ (COM)] TSADOImportLibrary.ADOSource.
Terrasoft ADO,
MS Excel.
[ ] GetRecordset.
TSADOImportLibrary.ADOSource, MS
Excel.
[] Terrasoft,
.
[ ] wnd_ExcelImportOptionsEdit.
(. 8.20),
SQL-,
.
[] [ ] (. 8.18).
[]
.

[] [ ] (. 8.18).

Terrasoft 3.X

438

(. 8.20) <*.xls>,
, ,
:
. 8.20

[FROM] MS
Excel ;

[UNION], ,
[WHERE];

MS Excel ,
.

:
SELECT `$`. + ' ' + `$`. + ' '
+ `$`. AS , '{613C78E1-BB34-4F8DB9B5-D90CC146EEDC}'
AS
,
`$`.,
`$`.,
`$`.,
`$`., `$`.USD FROM `$`
WHERE (`$`. Is Not Null)
UNION SELECT `$`. + ' ' + `$`. + ' ' +
`$`. AS , '{613C78E1-BB34-4F8D-B9B5D90CC146EEDC}' AS , `$`.[ ], `$`.,
`$`., `$`., `$`.USD FROM `$` WHERE
(`$`.[ ] Is Not Null)

MS Excel Terrasoft.
[] [ ]
(. 8.18) [ ] (. 8.21)
:

MS Excel

439

. 8.21

[ ] MS Excel.
[ ] Terrasoft.
[ ] Terrasoft. :

, .
MS Excel Terrasoft.

,
. []
(. 8.21)
.

,
. []
[
] (. 8.15).

, MS Excel
.
[ ] ID,
[] .
,
.

[ ] :
.
, Terrasoft
,
Terrasoft.
,
Terrasoft.
[] ,
.
[] .

Terrasoft 3.X

440

,
, [ ] (. 8.21)
.
[]
, .

, MS Excel.

8.3.3. MS Excel
,
:
TSClient.exe /wnd=wnd_Import.
(. 8.14), [
] MS Excel,
[ ] (. 8.18).
MS Excel [] (
), .
[],
[] .