Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Painel

The Sales Management Portal is a web platform integrated with the Billing module (SIGAFAT) of Microsiga Protheus®. To perform this integration, your environment must be correctly configured with the requirements listed below:

Aviso
titleLicense Server

We recommend the use of the License Server dated equal to or after 6/14/2022.

Totvs custom tabs box
tabs01 - DBAccess, 02 - Appserver, 03 - TOTVS Mingle
idsconfig1,config2,config3
Totvs custom tabs box items
defaultyes
referenciaconfig1

Para sincronizar os dados as APIs do Portal Gestão de Vendas utilizam o campo To sync data, the Sales Management Portal APIs use the field S_T_A_M_P_ como parâmetro de busca, sendo necessária a inclusão da chave UseRowStamp no as a search parameter, which requires adding the key UseRowStamp in TOTVS DBAccess.


Aviso
titleConfiguração ODBC Configuration

For environments using PostgreSQL database, we recommend configuring the ODBC as documented below.

How to create an ODBC data source to use with

Para ambientes que utilizem banco de dados PostgreSQL, recomendamos a configuração do ODBC conforme documento abaixo.

Como criar uma fonte de dados ODBC para uso com PostgreSQL

Bloco de código
firstline1
titleExemplo Example dbaccess.ini
linenumberstrue
[General]
Port=7890

[MSSQL]
environments=environment

[MSSQL/environment]
UseRowStamp=1
memoinquery=1
Totvs custom tabs box items
defaultno
referenciaconfig2

Comunicação REST Communication

  • The Sales Management Portal communicates with the Protheus server through HTTP requests. For this communication to occur, you need to set some configurations in the APPServer.
  • For further information on REST, refer to the reference document of the routine
  • O Portal Gestão de Vendas efetua comunicação com o servidor Protheus através de requisições HTTP. Para que essa comunicação ocorra será necessário efetuar algumas configurações no servidor APPServer.
  • Para maiores informações sobre REST consulte o documento de referenciada da rotina.


Aviso
titleChave de SegurançaSecurity Key

If you do not enter the Security Key in Caso a Chave Security não seja informado no "appserver.ini" ou seja informado com o valor 0, não serão validados as permissões de acesso do usuário.Para maiores informações consulte o documento de referenciada da rotina clicando aqui, or enter the value 0 in it, your access permissions are not validated.

For further information, click here to access the reference document of the routine.

Aviso
titleChave PrepareIn Key

Caso a chave PrepareIn esteja apontando para empresas específicas, na funcionalidade de Troca de Filial, os usuários terão acesso apenas às empresas informadas nesta chave. Caso não seja necessário este tipo de restrição, mantê-la como If the PrepareIn key is pointing towards specific companies, in the Branch Change feature, you can only access the companies entered in this key. If you do not need this restriction type, keep it set to "All".

Para maiores informações, consulte a documentação clicando aquiFor further information, refer to the documentation by clicking here.

Informações
titleImportanteImportant

We recommend configuring REST as shown in the example belowRecomendamos a configuração do REST seguindo o exemplo abaixo

Bloco de código
titleexemplo example appserver.ini
[ENVIRONMENT]
	SourcePath=\TOTVS\apo\
	RootPath=\TOTVS\Protheus_data\
	StartPath=\system\
	RpoDb=Top
	RpoLanguage=multi
	RegionalLanguage=BRA
	RpoVersion=120
	dbserver=localhost
	dbdatabase=MSSQL
	dbalias=ENVIRONMENT
	dbport=7890
	TOPMemoMega=30

[Drivers]
	Active=TCP
	MultiProtocolPort=1	
	multiprotocolportsecure=0
	Secure=SSL

[HTTPJOB]
	ENVIRONMENT=ENVIRONMENT
	MAIN=HTTP_START

[HTTPREST]
	BUGS=0
	HSM=0	
	MaxQueue=10	
	Port=8282
	SECURITY=1
	SSL2=0
	SSL3=0
	State=0
	TLS1=0
	URIs=HTTPURI
	Verbose=0	

[HTTPURI]
	AllowOrigin=*
	CORSEnable=0
	Instances=1,2
	OnConnect=REST_CONNECT
	OnExit=REST_EXIT
	OnStart=REST_START
	PrepareIn=All
	URL=/rest/
	Stateless=1

[HTTPV11]
	ADVPL=0
	Enable=1
	Sockets=HTTPREST
	TimeOut=120
			
[HTTPSERVER]
	Enable=0
	Servers=HTTP_REST
​
[HTTP_REST]
	hostname=localhost
	port=9995
	locations=HTTP_ROOT
​
[HTTP_ROOT]
	Path=/rest/
	RootPath=root/web
	ThreadPool=THREAD_POOL
	​
[THREAD_POOL]
	Environment=ENVIRONMENT
	MinFreeThreads=1
	MinThreads=1
	MaxThreads=10

[OnStart]
	JOBS=HTTPJOB
	REFRESHRATE=120
Totvs custom tabs box items
defaultno
referenciaconfig3
Informações
titleAlias TOTVS Mingle Alias

Para configurar o To configure TOTVS Mingle, o servidor Appserver deve possuir um IP publico.the Appserver must have a public IP.

  • The Sales Management Portal platform is stored in a TOTVS cloud. For the application to be able to communicate with the Protheus server, you need to configure TOTVS Mingle, which plays the role of a gateway between the application and the Protheus server. Moreover, when you configure TOTVS Mingle, the application begins to use default Protheus Authentication data.
  • To configure TOTVS Mingle, the Appserver must have a public IP.
  • The system Administrator must request an Alias through the page TOTVS MINGLE and inform the app Sales Management Portal.
  • You will receive the access key by
  • A plataforma Portal Gestão de Venda é armazenada em uma nuvem TOTVS. Para que a aplicação possa se comunicar com o servidor Protheus é necessário efetuar a configuração do TOTVS Mingle, que executa o papel de um gateway entre a aplicação é o servidor Protheus. Além disso, ao configurar o TOTVS Mingle, a aplicação passa a utilizar os dados de Autenticação padrão do Protheus.
  • Para configurar o TOTVS Mingle, o servidor Appserver deve possuir um IP publico.
  • O Administrador do sistema deve solicitar um Alias, através da pagina TOTVS MINGLE e informar o app Portal Gestão de Vendas.
  • O Usuário deve receber a chave de acesso por e-mail.


Informações
titleEmpresaCompany/FilialBranch

Enter at least one company and branch in the Mingle register.Deve ser informado ao menos uma empresa e filial no cadastro do Mingle



  • O Alias recebido deve ser o mesmo utilizado para acessar a plataforma e deve ser inserido junto com os dados do Login do usuárioThe Alias received must be the same used for accessing the platform and you must enter it with your Login data.



Âncora
TECNICASTECHNICALTECNICAS
TECHNICAL

05.

...

TECHNICAL DATA

Painel

Âncora
ENTRARENTERENTRAR
ENTER

Totvs custom tabs box
tabsEntrarEnter, Carga InicialInitial Load, VersãoVersion, SairExit
idsentrar1enter1,entrar2enter2,entrar3enter3,entrar4enter4
Totvs custom tabs box items
defaultyes
referenciaentrar1enter1

To access the Sales Management Portal, the Sales Representative must enter the same User and Password used in TOTVS Backoffice (Protheus Line), besides entering the Alias used by the company.


Image Added


For further information on the Alias, access the minimum requirements session

Para acessar o Portal Gestão de Vendas o Vendedor deve informar o mesmo Usuário e Senha utilizado no TOTVS Backoffice (Linha Protheus), além de informar o Alias utilizado pela empresa.

Image Removed

Para maiores informações sobre o Alias acesse a sessão requisitos mínimos.

Totvs custom tabs box items
defaultno
referenciaentrar2enter2

After clicking the button Enter, the Sales Representative is diverted to the Initial Data Load page, which loads some settings used by the Sales Management Portal.


Image Added


This load is executed only in first access or if the user is changed

Após clicar no botão Entrar o Vendedor será redirecionado para a página de Carga Inicial de dados, está página carrega algumas configurações utilizadas pelo Portal Gestão de Vendas.

Image Removed

Esta carga é efetuada apenas no primeiro acesso ou caso o usuário seja alterado.

Totvs custom tabs box items
defaultno
referenciaentrar3enter3

When you log onto the Sales Management Portal, the system checks whether the Protheus server version is the same found in the User Portal. If the Sales Representative (user) receives the message below, it means the Repository (RPO) must be updated by applying the latest continuous dispatch package found HERE. The user will be unable to login until the repository is updated to its most recent versionAo realizar o login no Portal de Gestão de Vendas, é executada uma verificação para avaliar se a versão do servidor Protheus é a mesma que consta no Portal do Usuário. Caso o Vendedor ( usuário ) receba a mensagem abaixo, significa que o deve ser atualizado o Repositório ( RPO ) aplicando o último pacote da expedição continua que consta AQUI. O usuário ficará impossibilitado de realizar o login até que o repositório seja atualizado com sua versão mais recente.


Totvs custom tabs box items
defaultno
referenciaentrar4enter4

In the toolbar, click the button with the user icon.

The toolbar is located at the top of the page.

Then, access the menu option Exit

Na barra de ferramentas, clique no botão com o ícone de usuário.

A barra de ferramentas esta localizada na parte superior da página.

Em seguida acesse a opção de menu Sair.




Âncora
TABLES
TABLESTABELAS_UTILIZADASTABELAS_UTILIZADAS

06.

...

TABLES

Painel

...

  • Sales Representatives' Offline Filters Table
  • AQ5 - Sales Representatives' Offline Items Table
  • DA0 - Price List
  • DA1 - Price List Items
  • SA1 - Customers
  • SA3 - Sales Representatives
  • SA4 - Carriers.
  • SB1 - Generic Description of Product
  • SB2 - Physical and Financial Balances
  • SC5 - Sales Orders
  • SC6 - Sales Order Items
  • SC9 - Orders Released
  • SD2 - Invoices Sales Items  
  • SE1 - Accounts Receivable
  • SE4 - Payment Terms
  • SF2 - Outgoing Invoices Header  
  • SU5 - Contacts
  • SX5 - Generic Tables
  • SYA - Countries
  • SCJ - Quotations
  • SCK - Quotation Items

Âncora
ENTRY_POINTS
ENTRY_POINTS

07. ENTRY POINTS

Painel


Âncora
RELATED
RELATED

08. RELATED TOPICS

Painel

...

07. PONTOS DE ENTRADA

Painel

...

08. ASSUNTOS RELACIONADOS

Painel
HTML
<!-- esconder o menu --> 


<style>
div.theme-default .ia-splitter #main {
    margin-left: 0px;
}
.ia-fixed-sidebar, .ia-splitter-left {
    display: none;
}
#main {
    padding-left: 10px;
    padding-right: 10px;
    overflow-x: hidden;
}

.aui-header-primary .aui-nav,  .aui-page-panel {
    margin-left: 0px !important;
}
.aui-header-primary .aui-nav {
    margin-left: 0px !important;
}
</style>