ACM System Admin Guide
User Manual:
Open the PDF directly: View PDF .
Page Count: 178
www.wallstreetsystems.com
Wall Street Systems – Empowering Treasury Trade and Settlement
Wallstreet Suite
Accounting Module
System Administration Guide
Version 7.3.16
Information in this document is subject to change without notice and does not represent a commitment on the part
of Wall Street Systems. The software and documentation, which includes information contained in any databases,
described in this document is furnished under a license agreement or nondisclosure agreement and may only be
used or copied in accordance with the terms of the agreement. It is against the law to copy the software or
documentation except as specially allowed in the license or nondisclosure agreement. No part of this publication
may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical,
photocopying, recording, or otherwise, without the prior written permission of Wall Street Systems.
Although Wall Street Systems has tested the software and reviewed the documentation, Wall Street Systems
makes herein no warranty or representation, either expressed or implied, with respect to software or
documentation, its quality, performance, marketability, or fitness for a particular purpose. As a result, this
software is provided "as is", and in no event will Wall Street Systems be liable for direct, indirect, special,
incidental, or consequential damages from any defect in the software or by virtue of providing this
documentation, even if advised of the possibility of such damages. The documentation may contain technical
inaccuracies and omissions.
The mention of an activity or instrument in this publication does not imply that all matters relating to that activity or
instrument are supported by Wallstreet Suite, nor does it imply that processing of or by that activity or instrument is
carried out in any particular way, even if such processing is customary in some or all parts of the industry.
The windows and screen images shown herein were obtained from prototypes during software development. The
actual windows and screen images in the software may differ.
© Copyright 2011 Wall Street Systems IPH AB. All rights reserved.
Second Edition (September 2011)
This edition applies to Wallstreet Suite version 7.3.16 and to all later releases and versions until indicated in new
editions or Wall Street Systems communications. Make sure you are using the latest edition for the release level of
the Wall Street Systems product.
Wall Street Systems, WSS, WALLSTREET, WALLSTREET SUITE and the Wall Street Systems logos are
trademarks of Wall Street Systems Delaware, Inc.
Finance KIT, Trema and Trema logo are trademarks of Wall Street Systems Sweden AB.
Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States
and/or other countries.
Adobe, Acrobat, and Acrobat Reader are either registered trademarks or trademarks of Adobe Systems
Incorporated in the United States and/or other countries.
All other products mentioned in this book may be trademarks or service marks of their respective companies or
organizations.
Company names, people names, and data used in examples are fictitious unless otherwise noted.
2
Contents
Preface .............................................................................................................................9
How to use this guide .................................................................................................................... 9
How to rotate pages in Acrobat Reader ...................................................................................... 9
Methodology ................................................................................................................................ 9
Using the script examples ........................................................................................................... 9
IMPORTANT! UTF-8 encoding ................................................................................................... 9
Copying and pasting script examples ......................................................................................... 9
Associated documents ................................................................................................................ 10
1 System architecture ..................................................................................................11
1.1
1.2
1.3
1.4
Overview ................................................................................................................................ 11
Application server ................................................................................................................. 11
Database ................................................................................................................................ 11
Shared components .............................................................................................................. 11
2 Hardware requirements ............................................................................................15
3 Database maintenance .............................................................................................17
3.1 Building the database ........................................................................................................... 17
3.1.1 Oracle ............................................................................................................................. 17
3.1.2 Microsoft SQL Server ...................................................................................................... 19
3.1.3 Sybase ............................................................................................................................ 19
3.2 Manual database upgrade .................................................................................................... 20
3.2.1 Upgrading from version before 7.2.2.1 ........................................................................... 20
3.2.2 Upgrading from 7.2.2.1 ................................................................................................... 22
3.3 Enabling SDM on a non-SDM system ................................................................................. 23
3.4 Performance tuning .............................................................................................................. 24
4 ACM server configuration and maintenance ..........................................................25
4.1 Properties configuration ...................................................................................................... 25
4.2 ORB services configuration ................................................................................................. 26
4.2.1 Client side ....................................................................................................................... 26
4.2.2 Server side ...................................................................................................................... 26
4.2.3 Specific configuration use cases ..................................................................................... 27
4.2.3.1 BiDirectional setting for ACM Reports .................................................................. 27
Accounting Module System Administration Guide
3
4.2.3.2 ACM Server IP setting on machine with multiple network interfaces .................... 28
4.3 Memory settings .................................................................................................................... 28
4.4 Logging .................................................................................................................................. 29
4.4.1 Server log file size ........................................................................................................... 29
4.4.2 Server log file appender .................................................................................................. 29
4.5 Connection Pool setup ......................................................................................................... 30
4.5.1 Connection Testing ......................................................................................................... 30
4.5.2 Connection Pool logging ................................................................................................. 31
4.5.3 Connection Pool size ...................................................................................................... 32
4.6 Time zones setup .................................................................................................................. 32
4.6.1 ACM Server under GMT ................................................................................................. 32
4.6.2 Setting non-GMT time zone ............................................................................................ 33
5 ACM client configuration and maintenance ...........................................................35
5.1 Verifying ACM menu ............................................................................................................. 35
5.2 Setting Accounting Manager directory ............................................................................... 35
5.3 SSL setup ............................................................................................................................... 36
5.3.1 SSL without client authentication .................................................................................... 36
5.3.2 SSL with client authentication ......................................................................................... 36
5.3.3 Example .......................................................................................................................... 36
5.4 ORB configuration ................................................................................................................ 37
6 Using accounting administrator tools ....................................................................39
6.1 Accounting dynamic data verification report ..................................................................... 39
6.1.1 Introduction ..................................................................................................................... 39
6.1.1.1 Ledger independent checks ................................................................................. 39
6.1.1.2 Perspectives checks ............................................................................................. 39
6.1.1.3 Stored balances checks ....................................................................................... 39
6.1.1.4 Voucher balances checks ..................................................................................... 40
6.1.1.5 Account properties checks ................................................................................... 40
6.1.1.6 Posting checks ..................................................................................................... 40
6.1.1.7 All checks ............................................................................................................. 40
6.1.2 Starting the report ........................................................................................................... 41
6.1.3 Starting parameters ........................................................................................................ 41
6.1.4 Report layouts ................................................................................................................. 41
6.1.5 Report drill-downs ........................................................................................................... 42
6.1.6 Report output example .................................................................................................... 42
6.2 Accounting System Administration Task activity .............................................................. 42
6.2.1 Introduction ..................................................................................................................... 42
6.2.2 Starting parameters ........................................................................................................ 43
6.2.3 Activating workflow ......................................................................................................... 43
6.2.3.1 ACM-ERP-SAP-RETRY-STOP workflow ............................................................ 44
6.2.3.2 Other workflows .................................................................................................... 44
6.2.4 Saving ERP document to file .......................................................................................... 44
6.2.5 Setting accounting system log level ................................................................................ 44
4
© Wall Street Systems IPH AB - Confidential
6.2.6 Setting system properties ............................................................................................... 45
7 Setting up security ....................................................................................................47
7.1 Storing the ACM Server password ...................................................................................... 47
7.2 Managing permissions ......................................................................................................... 47
7.2.1 Static data permissions ................................................................................................... 48
7.2.1.1 Domain permissions ............................................................................................. 48
7.2.1.2 Object permissions ............................................................................................... 49
7.2.2 Accounting user groups .................................................................................................. 52
7.2.3 Ledger permissions ......................................................................................................... 53
7.2.3.1 Ledger permissions for activities .......................................................................... 53
7.2.3.2 Ledger permissions for reports ............................................................................. 53
7.2.3.3 Ledger permissions for voucher states ................................................................. 54
8 Customizing accounting framework .......................................................................55
8.1 TRM accounting inputs and events generation ................................................................. 55
8.1.1 Customizing inputs generation ........................................................................................ 55
8.1.2 Customizing events generation ....................................................................................... 57
8.2 CLM accounting inputs and events generation ................................................................. 58
8.2.1 Customizing inputs generation ........................................................................................ 58
8.2.2 Customizing events generation ....................................................................................... 59
8.3 Accounting processing ........................................................................................................ 59
8.3.1 Customizing entries and vouchers .................................................................................. 60
8.3.1.1 Introduction ........................................................................................................... 60
8.3.1.2 BEFORE-MAPPING and BEFORE-POSTING customizations ............................ 61
8.3.1.3 AFTER-POSTING customization ......................................................................... 62
8.3.1.4 Customizations vs. Undo Accounting ................................................................... 64
8.3.1.5 Using csd_auxiliary field ....................................................................................... 64
8.3.1.6 Using CSD Auxiliary flag ...................................................................................... 64
8.3.1.7 Troubleshooting .................................................................................................... 65
8.3.2 Customizing transaction zero-sweeping granularity ....................................................... 65
8.3.3 Activity Parallelization ..................................................................................................... 66
8.4 Accounting reports ............................................................................................................... 67
8.4.1 Customizing report parameters and output columns ...................................................... 67
8.4.1.1 Report files ........................................................................................................... 67
8.4.1.2 Customizing columns ........................................................................................... 67
8.4.1.3 Customizing startup parameters ........................................................................... 68
8.4.1.4 Customizing postprocessors ................................................................................ 69
8.4.2 Customizing maximum rows in report ............................................................................. 70
8.4.3 Customizing drill-downs .................................................................................................. 70
8.4.4 Restricting list of offered ledgers ..................................................................................... 70
8.5 Accounting Manager ............................................................................................................. 71
8.5.1 Customizing drill-downs to the report generator ............................................................. 71
8.5.2 Customizing memory settings ......................................................................................... 71
8.5.3 Restricting list of offered ledgers ..................................................................................... 72
Accounting Module System Administration Guide
5
8.6 Accounting Monitor .............................................................................................................. 72
8.7 Hedge Manager ..................................................................................................................... 72
8.7.1 Hedge relation flow ......................................................................................................... 73
8.7.1.1 Default flow ........................................................................................................... 73
8.7.1.2 Flow customization ............................................................................................... 73
8.7.1.3 Conditioned flow ................................................................................................... 74
8.7.1.4 Calling CSDs from the flow ................................................................................... 75
8.7.2 Hedge Manager modes .................................................................................................. 77
8.7.2.1 Hedge relation states vs. Hedge Manager commands ......................................... 78
8.7.2.2 Default modes ...................................................................................................... 78
8.7.2.3 Modes customization ............................................................................................ 78
8.7.3 Hedge Managers per result modes ................................................................................. 79
9 Interfacing with ERP .................................................................................................81
9.1 Technical overview ............................................................................................................... 81
9.2 Interfacing with SAP ............................................................................................................. 82
9.2.1 Using SAP Business Connector ..................................................................................... 83
9.2.2 Using SAP Exchange Infrastructure ............................................................................... 83
9.3 ERP Document Key adjustment .......................................................................................... 84
9.3.1 ERP Document Key mechanism ..................................................................................... 84
9.3.2 ERP Document Key example ......................................................................................... 85
9.3.3 Possible problems if exporting to SAP ............................................................................ 85
9.3.3.1 WSS database vs. SAP containing some previous exports ................................. 85
9.3.3.2 Multiple WSS to one SAP ..................................................................................... 87
9.4 Using Targets 2 and 3 in Account Mode ............................................................................. 88
9.5 Customizations ..................................................................................................................... 88
9.5.1 XSL transformation ......................................................................................................... 88
9.5.2 Customization via reports ............................................................................................... 89
9.5.3 Support for special characters in the ERP document ..................................................... 89
9.6 Troubleshooting .................................................................................................................... 90
9.6.1 Logical System: XY is not configured in XIAPIviaHTTPClient ........................................ 90
9.6.1.1 Symptoms ............................................................................................................. 90
9.6.1.2 Resolution ............................................................................................................. 91
10 Accounting Balances Snapshot API .....................................................................95
10.1 Technical overview ............................................................................................................. 95
10.2 Message structure .............................................................................................................. 97
10.2.1 Request Message Structure ......................................................................................... 97
10.2.2 Response message structure ....................................................................................... 97
10.2.2.1 Regular response message structure ................................................................. 97
10.2.2.2 Stable vs. not stable snapshot ............................................................................ 98
10.2.2.3 Balance Structure ............................................................................................... 98
10.2.2.4 Error Message .................................................................................................. 101
10.2.2.5 Closing message structure ............................................................................... 101
10.3 API usage example ........................................................................................................... 101
6
© Wall Street Systems IPH AB - Confidential
10.4 Other configuration parameters ...................................................................................... 102
11 Tips for migration to ACM ....................................................................................105
11.1
11.2
11.3
11.4
Using the Migration Date .................................................................................................. 105
Upload of manual vouchers for open TRM transactions .............................................. 105
Manually entered PRE-BOOKED vouchers .................................................................... 106
Starting-up time to maturity feature ................................................................................ 107
12 Factory accounting data upload ..........................................................................109
12.1 Loading factory accounting data ..................................................................................... 109
Appendix A: Event DIMs structure .......................................................................................111
A.1 Accounting Event ............................................................................................................... 111
A.2 Entity Event ......................................................................................................................... 115
Appendix B: Object permissions..........................................................................................119
B.1
B.2
B.3
B.4
B.5
ACM permissions ............................................................................................................... 119
ACM objects with permissions per ACM user groups .................................................... 119
ACM-MAIN-ACCOUNTANT vs. ACM-ADMIN .................................................................... 136
ACM-ACCOUNTANT vs. ACM-MAIN-ACCOUNTANT ....................................................... 136
Handling of M tables .......................................................................................................... 137
Appendix C: ERP document structure .................................................................................139
C.1 ERP output - description in table ...................................................................................... 139
C.2 ERP output - description by XSD ...................................................................................... 143
C.3 ERP output in XML format - example ............................................................................... 160
C.3.1 About the structure ....................................................................................................... 160
C.3.2 Example for Voucher Mode .......................................................................................... 161
C.3.3 Example for Account Mode by balance ........................................................................ 164
Appendix D: ACM environment variables............................................................................167
Appendix E: Secure Socket Layer ........................................................................................171
E.1 Basic SSL terms ................................................................................................................. 171
E.2 System setup ...................................................................................................................... 172
Appendix F: TRM FX conversion ..........................................................................................173
Appendix G: Event Type mapping to ACMEntry .................................................................177
Accounting Module System Administration Guide
7
8
© Wall Street Systems IPH AB - Confidential
Preface
Welcome to the Accounting Module System Administration Guide. This guide describes the system
administrative tasks required for the Wallstreet Suite Accounting Module (ACM). The guide also
includes a few tips, how to customize the default accounting behavior of the system.
This guide is intended for system administrators, who maintain and administer ACM, and the
technical consultants implementing the system. They all should have experience with the following:
•
The particular database and operating system platforms being used
•
3-tier architecture concepts
•
Network configuration and maintenance
•
TRM installation.
How to use this guide
How to rotate pages in Acrobat Reader
Some pages in this book have graphics rotated so that they can fit on the page. To see these
normally on your computer monitor, use the View - Rotate View menu option in Acrobat Reader,
or the equivalent keyboard shortcuts: Shift+Ctrl+Plus keys and Shift+Ctrl+Minus keys.
Methodology
There is no single "correct" way of administrating ACM. This guide proposes one way which can be
used as a basis.
Using the script examples
Included in this guide are scripts that you can use during administration. These are examples, and
therefore use some values that you must change to suit your administration.
IMPORTANT! UTF-8 encoding
From TRM version 7.1, all SQL scripts use UTF-8 encoding. When copying and pasting script
examples, ensure that your text editor or terminal console supports UTF-8. Otherwise, characters
that are outside the 7-bit ASCII character range can be inadvertently changed, and the database
tools that you use may not warn you that a problem has occurred.
Copying and pasting script examples
You can copy script examples by opening this guide in Adobe Acrobat or Acrobat Reader, then
pasting the clipboard contents into a plain text editor. However, if the script starts on one page and
ends on another, you should ensure that you do not copy a block of text that goes over a page
boundary; if you do this, you will find unwanted data being inserted into the script. To avoid this:
•
In Acrobat, Select the Text tool (the mouse pointer becomes an "I" bar).
•
In Acrobat, select and copy only as far as the end of the page.
Accounting Module System Administration Guide
9
•
In the plain text editor, paste the text.
•
In Acrobat, select and copy from the top of the next page.
•
And so on.
Warning:
Some code lines in this book may be too long to be displayed as a single line and as
such they are displayed on more lines. When you paste such code into an editor, it
will be pasted as more lines of code. Please remember to remove the unwanted line
breaks.
Associated documents
Associated documents can be accessed from the Help menu of the Wallstreet Suite’s applications.
10
© Wall Street Systems IPH AB - Confidential
Chapter 1
System architecture
This chapter outlines the key concepts of ACM architecture. A technical understanding of the overall
ACM architecture is a prerequisite for correct ACM administration and customizaition.
1.1 Overview
•
ACM is based on a 3-tier architecture containing client applications, a J2EE application server,
and a database server.
•
ACM is installed as an add-on module to TRM:
–
ACM uses some core TRM components in all tiers (client, application server, and database).
–
TRM has to be fully installed and operational prior to ACM installation. The versions of TRM
and ACM must match.
1.2 Application server
•
J2EE based, allows deployment under Apache Tomcat or BEA Weblogic.
•
Executes the business logic of the ACM application.
•
Uses connection pooling in order to use database resources efficiently. Connections are open
under a privileged application server user acmdbo
1.3 Database
•
ACM builds and uses its specific database objects (tables, views, stored procedures etc.) in the
same database as TRM.
•
ACM accesses some TRM database objects (security model, shared static data entities,
interfacing tables).
1.4 Shared components
These are components delivered with TRM and used by ACM:
•
Static Data Framework – all ACM editors are implemented as SDF editors. The binaries from the
TRM installation are executed when any ACM editor is launched.
•
Report Generator.
•
Naming Service.
Accounting Module System Administration Guide
11
1 System architecture
1.4 Shared components
•
TRM Message Delivery System (mdsd).
•
Subset of TRM database objects (tables, stored procedures, views) in the database.
•
TRM database build script (extended by ACM-specific features).
The following picture shows the the overall Wallstreet Suite architecture:
The diagram depicts several important aspects, namely in the area of communication between the
key components:
•
•
ACM Client
–
ACM editors are SDF based and consequently they communicate with the ACM database via
the standard TRM components (database connection).
–
ACM reports are based on the TRM Report Generator. ACM reports use the capability to
invoke its data source as a CORBA service. ACM implements this CORBA server inside its
application server. ACM registers with the naming service (shared with TRM) under the
context finance-kit/ as service report_datasource. represents the
real value,for example PROD or TEST1: FK_IDENT is a mandatory TRM environment variable.
–
ACM Entry Manager communicates with ACM Application Server via the HTTP protocol. The
ACM Application Server business logic is implemented as servlets running inside the J2EE
container.
ACM Application Server
–
12
ACM Application Server is registered as a listener to mdsd events in order to be notified
about static data changes in TRM. Therefore it is essential that mdsd is operational for
applications to behave correctly.
© Wall Street Systems IPH AB - Confidential
1 System architecture
1.4 Shared components
–
ACM Application Server communicates with CMM via the Web Services interface in order to
exchange accounting data. Consequently, on the network level, the HTTP protocol must be
enabled.
–
ACM Application Server communicates with the TRM / ACM database via pooled JDBC
connections in order to use DB resources efficiently.
Accounting Module System Administration Guide
13
1 System architecture
1.4 Shared components
14
© Wall Street Systems IPH AB - Confidential
Chapter 2
Hardware requirements
ACM installation requires an installed and fully operational TRM database. The TRM database must
be exactly the same version as ACM (e.g. ACM version 7.1.0.7 requires TRM version 7.1.0.7)
ACM requires the same hardware as TRM (see the WSS Database Setup Guide). In addition, ACM
modifies and adds the following requirements:
For the ACM database server, a computer equipped with the following:
–
TRM database server requirements
–
An extra 500 MB of free disk space available need per each 100,000 accounting entries
in the system.
Oracle Database Server tablespace sizes:
Tablespace
Used by
Minimum size
USERS
ACM tables
TRM size + 250MB per 100,000 entries
INDX
ACM indexes
TRM size + 250MB per 100,000 entries
WORK
ACM temporary tables
TRM size + 200MB
For the ACM Server:
–
TRM Real-time Server requirements
–
An extra 500 MB of free disk space.
For the ACM Client:
–
TRM client requirements
–
An extra 200 MB of free disk space
–
the network must be configured to allow the ACM Client computers communicating with the
ACM Application Server via the HTTP protocol on the ports specified in the ACM Application
Server configuration.
Note: ACM Application Server and ACM database can be installed either on a single machine or
on two dedicated machines if higher performance is required.
Accounting Module System Administration Guide
15
2 Hardware requirements
16
© Wall Street Systems IPH AB - Confidential
Chapter 3
Database maintenance
Correct database maintenance is one of the key assumptions of a correct system usage and
operation. You can read all about it in the WSS Database Setup Guide. That guide covers all three
supported databases: Oracle, MSSQL, and Sybase.
3.1 Building the database
ACM is installed into the same database (and into the same database schema for Oracle) as TRM.
Once the TRM database is installed, you simply add the ACM objects to those created for TRM.
For building the database objects, ACM uses a wrapper script acmbuild.pl around the TRM build
script (build.pl); this acm scripts adds some functionality to the TRM build script (for instance,
accounting perspective checking, extended validations, referencing integrity checking, etc.). All that
functionality is added into the generated stored procedures used by ACM editors, e.g. they are
added into the commit, remove, revert and search procedures.
The command line options for the ACM build are the same as for the TRM build script, i.e. all the
build script options (-U, -P, -S, etc.) as described in the appendix of the WSS Database Setup Guide
are valid for the ACM build too.
3.1.1 Oracle
This section describes the ACM database build process for Oracle. Follow these steps:
1. Check the connection to the Oracle database (replace with the dbo user’s password)
Unix:
sqlplus dbo/@$FK_DB_SERVER
Windows:
sqlplus dbo/@%FK_DB_SERVER%
2. When successfully connected, type exit and press ENTER
If the connection fails, check that:
–
tnsnames.ora contains a proper connection specification.
–
Oracle client is properly installed.
–
The database server you are connecting to is running.
–
There is no network error.
3. Switch to the appropriate directory
Unix
cd $FK_HOME/share/oracle
Windows
cd /d %FK_HOME%\share\oracle
Accounting Module System Administration Guide
17
3 Database maintenance
3.1 Building the database
4. Build ACM database objects using the Perl script acmbuild.pl provided:
Unix:
./acmbuild -D $FK_DB_SERVER -U dbo -P -t \* -V \* -p \* -g \* -u -w -v
Windows:
perl acmbuild.pl -D %FK_DB_SERVER% -U dbo -P -t * -V * -p * -g * -u -w
-v
Warning:
The -w option enables the database for the Static Data Manager (SDM). You should
include the -w option only if you are going to install SDM. Please note that it is
mandatory to install SDM for ACM when SDM has been installed for TRM.
5. Start an SQLPLUS session
Unix
sqlplus dbo/@$FK_DB_SERVER
Windows
sqlplus dbo/@%FK_DB_SERVER%
6. Recompile the invalid dbo’s stored objects (run inside the SQLPLUS session):
Unix
START $FK_HOME/share/oracle/migration/fast_recomp.sql
Windows
START %FK_HOME%\share\oracle\migration\fast_recomp.sql
7. Ensure that there are no invalid objects for the user dbo (run inside the SQLPLUS session)
select object_type, count(object_name) qty_invalid from user_objects where status
= 'INVALID' group by object_type;
8. Make sure that the last database build version finished is the same as the version of ACM you
installed:
select max(SPKGVersion) from ACMVersion where SParameters = 'finished';
9. Exit the SQLPLUS session by typing exit and pressing the ENTER key.
Notes
•
It is necessary to escape the asterisks (*) with the backslashes for non-Windows platforms.
Replace with the dbo user password in the command line examples.
•
Owing to a bug in Oracle database server version 9.2.0.6 and some later versions, views using
ANSI joins become invalid when compiled under a user other than the view’s owner. If you use a
recompilation script run under the SYS user, then ACM views become invalid. Recompile ACM
views under the DBO user only. For the bug reference, see
https://metalink.oracle.com/metalink/plsql/showdoc?db=Bug&id=3466980
•
Despite the fact that ACM Application Server uses the ORACLE_SID environment variable to
populate the ACM_JDBC_URL environment variable, the sqlplus command must be run with a
database name according to the local tnsnames.ora configuration file. Typically ORACLE_SID
contains the Oracle database SID while FK_DB_SERVER environment variable contains a TNS alias
from the local tnsnames.ora.
18
© Wall Street Systems IPH AB - Confidential
3 Database maintenance
3.1 Building the database
3.1.2 Microsoft SQL Server
This section describes the ACM database build process for MSSQL. Follow these steps:
1. Check the connection to the MSSQL database (replace with the fk user’s password)
isql –S %FK_DB_SERVER% –d %FK_DATABASE% –U fk –P
2. When successfully connected, type exit and press the ENTER key.
If the connection fails, check that
–
The MSSQL client is properly installed.
–
The database server you are connecting to is properly registered.
–
The database server you are connecting to is running.
–
You are using the MSSQL isql tool and not the Sybase isql tool. The MSSQL isql utility
path must be on system PATH prior to any path containing the Sybase isql utility.
–
There is no network error.
3. Switch to the appropriate directory
cd /d %FK_HOME%\share\mssql
4. Build ACM database objects using the Perl script acmbuild.pl provided:
perl acmbuild.pl –S %FK_DB_SERVER% -D %FK_DATABASE% -U dbo -P -t * -V
* -p * -g * -u -w -v
Warning:
The -w option enables the database for the Static Data Manager (SDM). You should
include the -w option only if you are going to install SDM. Please note that it is
mandatory to install SDM for ACM when SDM has been installed for TRM.
5. Start an isql session:
isql –S %FK_DB_SERVER% –d %FK_DATABASE% –U fk –P
6. Make sure that the last database build version finished is the same as the version of ACM you
installed:
select max(SPKGVersion) from ACMVersion where SParameters = 'finished'
go
7. Exit the isql session by typing exit and pressing the ENTER key.
3.1.3 Sybase
This section describes the ACM database build process for Sybase. Follow these steps:
1. Check the connection to the Sybase database (replace with the fk user’s password)
isql –S %FK_DB_SERVER% –D %FK_DATABASE% –U fk –P
2. When successfully connected, type exit and press the ENTER key.
If the connection fails, check that
–
The Sybase client is properly installed.
–
The database server you are connecting to is properly registered.
–
The database server you are connecting to is running.
–
You are using the Sybase isql tool and not the MSSQL isql tool. The Sybase isql utility
path must be on system PATH prior to any path containing the MSSQL isql utility.
–
There is no network error.
Accounting Module System Administration Guide
19
3 Database maintenance
3.2 Manual database upgrade
3. Switch to the appropriate directory
cd /d %FK_HOME%\share\sybase
4. Build ACM database objects using the Perl script acmbuild.pl provided:
perl acmbuild.pl –S %FK_DB_SERVER% -D %FK_DATABASE% -U dbo -P -t \* -V
\* -p \* -g \* -u -w -v
Warning:
The -w option enables the database for the Static Data Manager (SDM). You should
include the -w option only if you are going to install SDM. Please note that it is
mandatory to install SDM for ACM when SDM has been installed for TRM.
5. Start an isql session:
isql –S %FK_DB_SERVER% –D %FK_DATABASE% –U fk –P
6. Make sure that the last database build version finished is the same as the version of ACM you
installed:
select max(SPKGVersion) from ACMVersion where SParameters = 'finished'
go
7. Exit the isql session by typing exit and pressing the ENTER key.
3.2 Manual database upgrade
ACM upgrade depends on a version from which you start the upgrade.
•
If your version, from which you start the upgrade, is 7.2.2.1 or later, follow just the guidelines
described in chapter 3.2.2 Upgrading from 7.2.2.1 on page 22.
•
If your version, from which you start the upgrade, is older than 7.2.2.1, you have to upgrade to
7.2.2.1 version first as described in 3.2.1 Upgrading from version before 7.2.2.1 on page 20
and then you must continue the upgrade up to the just installing version according the
guidelines in chapter 3.2.2 Upgrading from 7.2.2.1 on page 22.
3.2.1 Upgrading from version before 7.2.2.1
All the upgrade tasks including the database upgrade should be done via the Suite Installer.
However, if there is a reason for it, you can perform the database upgrade manually.
ACM provides an automatic upgrade script to upgrade the database structures of ACM.
Before running the upgrade script, make sure that you have evaluated the TRM/ACM environment.
To run the script run the following commands (replace with one of the following:
oracle, mssql, sybase):
Unix:
cd $FK_HOME/share/
–
Oracle:
./acmupgrade.pl -D -U -P -w
–
Sybase:
./acmupgrade.pl –S -D -U -P
-w
Windows:
20
© Wall Street Systems IPH AB - Confidential
3 Database maintenance
3.2 Manual database upgrade
cd %FK_HOME%\share\
–
Oracle
perl acmupgrade.pl -D -U -P -w
–
MSSQL, Sybase
perl acmupgrade.pl –S -D -U -P
-w
Warning:
The -w option enables the database for the Static Data Manager (SDM). You should
include the -w option only if you are upgrading an installation with SDM installed.
The acmupgrade.pl options are as follows:
-S
Database server name. This option is used for MSSQL and Sybase only.
-D
Database name (MSSQL, Sybase) or Oracle TNS alias set up on the local machine
-U
Username of the database objects owner (typically "DBO" for Oracle, "fk" for
MSSQL and Sybase)
-P
User password
-w
Create or upgrade the SDM data structures. You should include the -w option
-s
Source Exif Data:
File Type : PDF
File Type Extension : pdf
MIME Type : application/pdf
PDF Version : 1.6
Linearized : Yes
Page Mode : UseOutlines
Signing Date : 2011:09:08 15:11:38+02:00
Signing Authority : ARE_Acrobat Collaboration V7.0 P9 0000109
Annotation Usage Rights : Create, Delete, Modify, Copy, Import, Export
XMP Toolkit : 3.1-702
Producer : Acrobat Distiller 7.0.5 (Windows)
Create Date : 2011:09:08 13:23:52Z
Creator Tool : FrameMaker 7.2
Modify Date : 2011:09:08 15:11:38+02:00
Metadata Date : 2011:09:08 15:11:38+02:00
Format : application/pdf
Title : ACM System Admin Guide
Creator : Karel Novacek
Document ID : uuid:707d5477-c71e-47dd-87b9-f5e2a7dade92
Instance ID : uuid:f6818164-5319-4b18-b26a-5844ae872ed6
Has XFA : No
Page Count : 178
Author : Karel Novacek
EXIF Metadata provided by EXIF.tools