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.
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.
IMPORTANT!
To integrate with Protheus services, make sure WS REST data are correctly configured.
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
1. Start the SmartClient with initial program: SETUPTGV, ensuring it has exclusive access.

2. Select company T1, BRANCH D MG 01 and click confirm:

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.

4a. Login as admin user and confirm the dictionary updates.

4b. After updating, the conclusion message is displayed:

6. After loading the data, the TGV application will be ready for use

06. OBSOLETE DOCUMENTATION