CONTENTS
- Overview
- totvs-gestão-de-vendas installation
- Configurations
- APPSERVER
- DBACCESS
- Running Setup
- Related subjects
01. OVERVIEW
This guide will teach you the step-by-step installation of TOTVS Sales Management.
Aviso |
---|
TOTVS Sales Management requires Microsiga Protheus® Release 12.1.33 or higher and binary files with date of dispatch equal to or after August/2020. |
02. EXAMPLE OF INSTALLATION
Installation of local project
- Execute the Clone of Project TOTVS Sales Management, of GIT repository.
- Using VSCode, access the folder in which the repository is locally cloned.
- Using VSCode, install the dependencies of project "totvs-gestão-de-vendas"
- Using VSCode, access the directory "totvs-gestão-de-vendas"
- Ins project TOTVS Sales Management, find the file "environment.ts"
- <directory location where project is cloned>\totvs-gestao-de-vendas\src\environments\enviroment.ts
- Change the URL variable, entering the URL of REST server used in test
- Using VSCode, execute command "ng serve --o" to run the application locally.
Card documentos |
---|
Informacao | To integrate with Protheus services, make sure WS REST data are correctly configured. |
---|
Titulo | IMPORTANT! |
---|
|
03. Configurations
a. APPSERVER
;====================================================================
;======================== WEB REST ==================================
;====================================================================
[HTTPV11]
Enable=1
ADVPL=0
Sockets=HTTP_REST
TimeOut=120
[HTTP_REST]
BUGS=0
HSM=0
MaxQueue=10
Port=8080
SECURITY=0
SSL2=0
SSL3=0
State=0
TLS1=0
URIs=HTTPURI
Verbose=0
[HTTPURI]
URL=/rest
PrepareIn=All
OnConnect=REST_CONNECT
OnExit=REST_EXIT
Instances=1,2
CORSEnable=0
AllowOrigin=*
OnStart=REST_CONNECT
[HTTPJOB]
MAIN=HTTP_START
ENVIRONMENT=Protheus_12_33
;====================================================================
;======================== ADVPR ==================================
;====================================================================
[ADVPR]
REST=localhost:8080/rest/
Coverage=0
CoverPortal=0
FailTestCover=false
;====================================================================
;======================== START JOB ==================================
;====================================================================
[OnStart]
JOBS=HTTPJOB
REFRESHRATE=120
b. DBACCESS
[MSSQL/P12133MNTDBEXP]
user=<your_user>
password=
TableSpace=
IndexSpace=
Disable=0
AutoStamp=1
UseRowStamp=1
04. Configuring SETUP
Totvs custom tabs box |
---|
tabs | Step 01, Step 02, Step 03, Step 04, Step 05, Step 06 |
---|
ids | step1,step2,step3,step4,step5,step6 |
---|
|
Totvs custom tabs box items |
---|
default | yes |
---|
referencia | step1 |
---|
| 1. Start the SmartClient with initial program: SETUPTGV, ensuring it has exclusive access. 
|
Totvs custom tabs box items |
---|
| 2. Select company T1, BRANCH D MG 01 and click confirm:

|
Totvs custom tabs box items |
---|
| 3a. When the wizard displays its message, make sure you have backed up the data and click Param. 
3b. select the 3 options and click OK. 
|
Totvs custom tabs box items |
---|
| 4a. Login as admin user and confirm the dictionary updates. 
4b. After updating, the conclusion message is displayed: 
|
Totvs custom tabs box items |
---|
| 5. Access the page http://localhost:4200/ and login as TGV user with password 1, in alias TPROTHEUSFAT

|
Totvs custom tabs box items |
---|
| 6. After loading the data, the TGV application will be ready for use

|
|
06. DOCUMENTAÇÕES OBSOLETAS