• A Confluence está sendo executada atualmente com todos os plugins que não são do sistema desabilitados. Pode haver perda de algumas funcionalidades
Páginas filhas
  • Sales Management Portal: Installation Guide

CONTENTS

  1. Overview
  2. totvs-gestão-de-vendas installation
  3. Configurations
    1. APPSERVER
    2. DBACCESS
  4. Running Setup
  5. Related subjects


01. OVERVIEW

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.


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"
    • npm install
  • 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


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.


b. DBACCESS

[MSSQL/P12133MNTDBEXP]
user=<your_user>
password=
TableSpace=
IndexSpace=
Disable=0
AutoStamp=1
UseRowStamp=1


04. Configuring SETUP 



05. RELATED SUBJECTS


06. OBSOLETE DOCUMENTATION