This guide will teach you the step-by-step installation of TOTVS Sales Management.
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.
Installation of local project
To integrate with Protheus services, make sure WS REST data are correctly configured.IMPORTANT!
;====================================================================
;======================== 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
Risk Alert
Be careful when using the configuration parameter with the key "Security=0" because, that way, integrations (APIs) will not require authentication. Consequently, data from your environment can be queried without any authorization control.
[MSSQL/P12133MNTDBEXP]
user=<your_user>
password=
TableSpace=
IndexSpace=
Disable=0
AutoStamp=1
UseRowStamp=1
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:
5. Access the page http://localhost:4200/ and login as TGV user with password 1, in alias TPROTHEUSFAT
6. After loading the data, the TGV application will be ready for use