Páginas filhas
  • Legal Desk Syncing Queue - JURA170 - Proforma Invoicing of Services - P12

Versões comparadas

Chave

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

...

Deck of Cards
effectDuration0.5
historyfalse
idsamples
effectTypefade
Card
defaulttrue
id1
labelREST Server Configuration

To enable REST in Microsiga Protheus®, edit the appserver.ini configuration file with the following content.

To avoid conflict, be mindful of the communication ports used:

[HTTPV11] 
Enable=1
AddressFamily=1 
Sockets=HTTPREST
TimeOut=120

[HTTPREST]
Port=8889
IPsBind= 
MaxQueue=10 
URIs=HTTPURI
SECURITY=0

[HTTPURI]
URL=/
PrepareIn=99,01
OnStart=REST_START 
OnConnect=REST_CONNECT 
OnExit=REST_EXIT 
Instances=1,10

[ONSTART] 
jobs=HTTPJOB

[HTTPJOB] 
MAIN=HTTP_START
ENVIRONMENT=P12

You also need to add item MAXSTRINGSIZE=10 in [General] and of FWFRAME_TRACELOG=0 in the environment block.

The configuration above follows the Protheus REST defaults; therefore, if the resource is already enabled in Protheus, you do not need to make any changes.

You can use authentication HTTP Basic or Auth 1.0a. To do so, change item SECURITY [HTTPREST] to 1 or delete it.

Card
defaulttrue
id2
labelParametrizaçãoParameter Settings

Click option +Initial Load and view the parameters settings screen, as follows: 

Information

Confirm in Execute to continue after filling out the Questions or Cancel.

Questions

Fill out the fields as needed.

Processes Log

Processing.

The screen displayed shows each record of the queue composed by the following fields:

Fill out the information in accordance to the instructions in Main Fields

 

Clique na opção +Carga Inicial e visualize a tela de parametrização sendo:

Informações
Confirme em Executar para prosseguir após preencher as Perguntas ou Cancelar.

Perguntas
Preencha os campos conforme a necessidade.

Log de Processos;
Processamento; 

A exibição da tela mostra cada registro da fila composto pelos seguintes campos:

Preencha as informações de acordo com as orientações descritas em Principais Campos.

Card
id3
labelOutras Ações Other Actions / Pesquisar

Permite a pesquisa de informações com a utilização de filtros que as ordenam, baseado no índice selecionado considerando, por exemplo, a filial+código.

Image Removed

...

Search

It allows you to search the information by using filters to organize it based on the index selected, considering, for example, the branch+code.

Image Added

Main Fields 
Âncora
principaiscampos
principaiscampos

 
CampoField

DescriçãoDescription

CódigoCode:  

Número sequencial de identificação do registro

ModeloNome do modelo de dados modificado. No exemplo de tipo de tabela de serviços, trata-se do JURA047.
ChaveChave primária de identificação do registro no modelo de dados. Neste caso e na grande maioria a chave é composta pela filial + código.
OperaçãoCódigo da operação onde, 3 é inclusão, 4 alteração e 5 exclusão.
TImeStampData e hora da manipulação.
StatusSituação do registro onde 1-Pendente indica que o sistema LegalDesk ainda não integrou e 2-Concluído para quando já tiver sido feita a integração do registro. Lembrando que a mudança desta situação está sob responsabilidade do LegalDesk.

Conteúdo Relacionado

Sequential number of record identification.

Model

Name of modified data model. In the example of services table type, it is JURA047.

Key

Primary key for record identification in data model. In this case, as in most cases, the key is composed of branch + code.

Operation

Operation code in which 3 is addition, 4 editing and 5 deletion.

TImeStampDate and time of operation.
Status

Status of record in which 1-Pending indicates the LegalDesk system has not yet integrated the record and 2-Finished indicates when the integration of the record is already done. Remember that LegalDesk is responsible for changing this status.

Related Content

LegalDesk Syncing Parameters (jura171)
Expenses Parâmetros Sincronização Legal Desk (jura171)
Despesas (jura049)
TimeSheet-Movimentações Transactions (jura144)
Lançamento Tabelado Table Entries (jura027)
Clientes Clients (jura148)
Casos Cases (jura070)