Vertex Sales Tax Q Serieis(STQ)第三方税包安装学习

之前做了一个第三方税包的Vertex Sales Tax Q Serieis(STQ)的feature,稍微学习了一下,按照user guide 一步一步安装和搭环境,user guide 写的不错,按照上面的来做,一下子就懂弄好了,不错,以下安装的步骤:

STQ install steps:

  1. 将QSUT.tar包(包含Development kit 和Utility kit)解压到安装目录

tar –xvf QSUT.tar

 

  1. 设置相关的环境变量(oracle相关,共享库环境变量)

Install therequired Oracle library in the p$ORACLE_HOME/lib and include this

directory in theenvironment variable that  describes thesearch path for shared

libraries onyour system. 

The followingtable lists the name and environment variable for each operating

system:

 

OS  Library Name Environment Variable

AIX  libclntsh.so LIBPATH

HP-UX forPARISC  libclntsh.sl  LD_LIBRARY_PATH  or SHLIB_PATH

All others(including HP-UX for Itanium)   libclntsh.so  LD_LIBRARY_PATH

 

Complete thefollowing steps on a UNIX wo rkstation to set the shared library

environmentvariable:

1.   Type the following on the command line:

setenv envir_var ${envir_var}:/path/lib

where:

envir_var is theenvironment variable for your UNIX system

path is the pathwhere the Developmen t kit or the Utility kit exists

 

setenv LD_LIBRARY_PATH ${ORACLE_HOME}/lib:${LD_LIBRARY_PATH}

setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}: /u1/yyang/ntt/SUN/Solaris10/64bit/Oracle11.1__Oracle11.2/lib

 

  1. oracle配置(populating (STQ)database objects)

在catlog库上建了以下几张表:unix上到script目录下,输入以下命令sqlplus  ntt_yy/arbor123@RDCO1106然后分别用start命令执行下面四个sql语句。

SQL>start locins.sql 

SQL>start rateins.sql

SQL>start regins.sql 

SQL>start tdmins.sql 

 

Creatingdatabase objects

Use thefollowing session example as a guide to creating STQ database objects. In

the example, STQdatabase objects are  created in thedefault tablespace called

vertex for theuser called vertex.

$sqlplus 

Enter user-name: vertex 

Enter password: password

SQL>startlocins.sql 

SQL>startrateins.sql

SQL>startregins.sql 

SQL>starttdmins.sql 

SQL>exit;

where:

vertex is thename of the user assigned  to access thedefau lt tablespace called

vertex.

password is thepassword for the user assigned to access STQ database

objects.

 

  1. Assigning a Register Database ID  and Description

regutil

                Vertex Sales Tax Q SeriesRegister Utilities Program

                         Version 4.0.6.0  May 11th 2010

                        Copyright 1995-2013Vertex Inc.

 

       Enter Datasource For Register Database:

       -> ntt_yy

 

       Enter Server Name For Register Database:

       -> RDCO1106

 

       Enter User Id For Register Database:

       -> ntt_yy

 

       Enter Password For Register Database:

       -> arbor123

Sales Tax Error:

Error --Register database Id does not exist

 

 

 

                 Main Menu

                 ---------

             1. -  Load Utility

             2. -  UnLoad Utility

             3. -  Table Transfer

             4. -  Purge Register DataBaseTable(s)

             5. -  Enter Register DatasourceInformation

             6. -  Create Register DataBase Id

             7. -  Create SalesTax Report(s)

             8. -  Create Sales Tax Returns File

             9. -  Create Sales Tax ReturnsReport(s)

            10. -  Exit

 

                  Choice: 6

 

 

       Enter Register ID (Max 25 chars ): regid_ntt

 

 

       Enter Register ID Description: regdes_ntt

 

 

        Server ID and Server Description wereadded to the Register ID Table

 

        **** RegUtil was Successful  ****

 

  1. Connecting to STQ database objects

vsttest

Vertex Sales TaxQ Series - VST test database diagnostics program

 

Version 4.0.62010/05/11

 

Copyright1999-2013 Vertex Inc.

 

 

Select a VSTtest function to execute

-------------------------------------

 

1.  - Connect GeoCoder Database

2.  - Connect Rate Database

3.  - Connect Register Database

4.  - Connect TDM Database

5.  - Connect All Databases

 

6.  - Execute Test Cases

 

9.  - Exit

 

* - indicates anactive database connection is established.

 

Select: 1

 

EnterDatasource: ntt_yy

 

Enter ServerName: RDCO1106

 

Enter User ID: ntt_yy

 

Enter Password: arbor123

 

Select a VSTtest function to execute

-------------------------------------

 

1*  - Connect GeoCoder Database

2.  - Connect Rate Database

3.  - Connect Register Database

4.  - Connect TDM Database

5.  - Connect All Databases

 

6.  - Execute Test Cases

 

9.  - Exit

 

* - indicates anactive database connection is established.

 

Select: 2

 

Enter Datasource:ntt_yy

 

Enter ServerName: RDCO1106

 

Enter User ID:ntt_yy

 

Enter Password:arbor123

 

Select a VSTtest function to execute

-------------------------------------

 

1*  - Connect GeoCoder Database

2*  - Connect Rate Database

3.  - Connect Register Database

4.  - Connect TDM Database

5.  - Connect All Databases

 

6.  - Execute Test Cases

 

9.  - Exit

 

* - indicates anactive database connection is established.

 

Select: 3

 

EnterDatasource: ntt_yy

 

Enter ServerName: RDCO1106

 

Enter User ID:ntt_yy

 

Enter Password:arbor123

 

Select a VSTtest function to execute

-------------------------------------

 

1*  - Connect GeoCoder Database

2*  - Connect Rate Database

3*  - Connect Register Database

4.  - Connect TDM Database

5.  - Connect All Databases

 

6.  - Execute Test Cases

 

9.  - Exit

 

* - indicates anactive database connection is established.

 

Select: 9

 

  1. Populating and updating GeoCoder database tables(开始导数据,geocoder表)

locupd

 

 

                Q Series GeoCoder MonthlyUpdate Program

                         Version 4.0.6.0  May 11th 2010

                        Copyright 2009-2013Vertex Inc.

 

 

        WARNING!! The update process willdestroy the contents of the

        current database before it creates anew one.  Please make

        a backup before proceeding.

 

             Main Menu

             ---------

        1. -  Update GeoCoder Database.

        2. -  Update ZIP+4 Data in GeoCoderDatabase.

 

        9. -  Exit.

 

        Enter Selection: 1

 

        Beginning GeoCoder Update Process

 

        Enter GeoCoder Data Source: ntt_yy

        Enter GeoCoder Server Name: RDCO1106

        Enter GeoCoder User ID:ntt_yy

        Enter GeoCoder User Password:arbor123

        GeoCoder Update Setup:

        (1=DoNot include township records, 2=Include township records): 2

        Enter the path of the update files:/users/denver/yyang/VertexNew

        Updating database.  Please Wait...

 

        GeoCoder Update Successful.

     Main Menu

             ---------

        1. -  Update GeoCoder Database.

        2. -  Update ZIP+4 Data in GeoCoderDatabase.

 

        9. -  Exit.

 

        Enter Selection: 2

 

        Beginning ZIP+4 Update Process

 

        Enter GeoCoder Data Source: ntt_yy

        Enter GeoCoder Server Name: RDCO1106

        Enter GeoCoder User ID: ntt_yy

        EnterGeoCoder User Password: arbor123

        Enter the path of the update files:/users/denver/yyang/VertexNew

        Updating ZIP+4 database.  Please Wait...

 

        GeoCoder Update Successful.

 

 

 

        WARNING!! The update process willdestroy the contents of the

        current database before it creates anew one.  Please make

        a backup before proceeding.

 

  1. 导rate表

#rateins

 

 

                Vertex Sales Tax Q Series RateInitial Install Program

                         Version 4.0.6.0  May 11th 2010

                        Copyright 1995-2013Vertex Inc.

 

 

        WARNING!! The update process willdestroy the contents of the

        current database before it creates anew one.  Please make

        a backup before proceeding.

 

             Main Menu

             ---------

        1. -  Install Rate Database.

        2. -  Exit.

 

        Enter Selection: 1

 

        Beginning Rate Install Process

 

        Enter Rate Data Source : ntt_yy

        Enter Rate Server Name: RDCO1106

        Enter Rate User ID: ntt_yy

        Enter Rate User Password: arbor123

        Enter the path of the update files:/users/denver/yyang/VertexNew

        Updating database.  Please Wait...

 

        Rate Installation Successful.

 

  1. 测试一下testcase看是否可以用

Select a VSTtest function to execute

-------------------------------------

 

1.  - Connect GeoCoder Database

2.  - Connect Rate Database

3.  - Connect Register Database

4.  - Connect TDM Database

5.  - Connect All Databases

 

6.  - Execute Test Cases

 

9.  - Exit

 

* - indicates anactive database connection is established.

 

Select: 5

 

EnterDatasource: ntt_yy

 

Enter ServerName: RDCO1106

 

Enter User ID:ntt_yy

 

Enter Password:arbor123

 

Select a VSTtest function to execute

-------------------------------------

 

1*  - Connect GeoCoder Database

2*  - Connect Rate Database

3*  - Connect Register Database

4*  - Connect TDM Database

5.  - Connect All Databases

 

6.  - Execute Test Cases

 

9.  - Exit

 

* - indicates anactive database connection is established.

 

Select: 6

 

 

Test Case File:/users/denver/yyang/ntt/SUN/Solaris10/64bit/Oracle11.1__Oracle11.2/utils/vsttest.cdf

 

Debug File(optional):

 

Use VST databasecaching? (Y=Yes, N=No,X=Exit): Y

 

Use TDM databaseexceptions? (Y=Yes, N=No, X=Exit): N

 

Writecalculation results to the register? (Y=Yes, N=No, X=Exit): Y

 

Access method?(1=Geocode, 2=State/Zip, 3=State/City/Zip 4=Both, X=Exit): 4

 

Continue if CalcErrors occur? (Y=Yes,N=No, X=Exit): N

20 RecordsProcessed. - Percent Complete: 100%


 

Test casessuccessfully processed.

 

注意这里一定要先选择5,connect alldatabase,否则的话会出现以下warningConnectionsto the GeoCoder and Rate databases must be established

prior toexecuting test cases.

 

你可能感兴趣的:(STQ)