Árvore de páginas

Versões comparadas

Chave

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

...

Produto:

Solucoes_totvs
SolucaoTOTVS Prestadores de Serviços Terceirização

Solucoes_totvs_cross
SolucaoCross

Solucoes_totvs_parceiros
SolucaoParceiros

Solucoes_totvs_parceirosexptotvs
SolucaoParcsExpsTOTVS

Linha de Produto:

Linhas_totvs
LinhaLinha Protheus

Segmento:

Segmentos_totvs
SegmentoServiços

Módulo:

TERCEIRIZAÇÃO(SIGATEC)

Função:TECA996A.PRW
País:Brasil
Ticket:TECA984Não há.PRW
Requisito/Story/Issue (informe o requisito relacionado) :

DSERSGS-14705


02. SITUAÇÃO/REQUISITO

EM CONSTRUÇÃO.Necessário criação de nova rotina. 

03. SOLUÇÃO

Criação de Tabela:

1-)  Acesse Configurador > Base de Dados > Dicionário > Bases de Dados

2-)  Posicione o cursor em Dicionário de dados e clique em Incluir 

Realize o preenchimento da tabela TCW

...

Após o preenchimento dos dados da tabela TCW clique em confirmar

Criação dos campos da tabela TCW 

Procedimento para criar os novos campos no Protheus:

1-) Acesse Configurador > Base de Dados > Dicionário > Bases de Dados

2-) Clique em 
Dicionário de Dados posicione o cursor em campos e selecione a tabela onde este campo será inserido e clique em editar

4-) Preencha os campos da tabela TCW  conforme tabela abaixo:

Section
bordertrue
X3_CAMPOX3_TIPOX3_TAMANHOX3_DECIMALX3_TITULOX3_DESCRICX3_RELACAOX3_F3X3_PICTUREX3_BROWSEX3_VISUALX3_CONTEXTX3_VLDUSER
TCW_FILIALC80Filial      Filial do Sistema                                                                                                                                              @!                                           N

                                                                                                                                
TCW_CODCCTC80Codigo CCT  Codigo CCT                                                                                                                                               SWY   @!                                           SARExistCpo("SWY")                                                                                                                 
TCW_CODIGOC60Codigo      Codigo                   GETSXENUM('TCW','TCW_CODIGO')                                                                                                         @!                                           SVR                                                                                                                                
TCW_DESCRIC300Descricao   Descricao                                                                                                                                                      @!                                           SAR                                                                                                                                
TCW_DSCCCTC300Desc. CCT   Desc. CCT                IIF(!INCLUI,ALLTRIM( POSICIONE("SWY",1,XFILIAL('SWY')+TCW->TCW_CODCCT,"WY_DESC")),"")                                                 @!                                           SVV                                                                                                                                

Criação dos índices da tabela TCW 

1-) Posicione na tabela e clique em editar e posicione em índices

2-) Clique em Incluir e em outras ações selecione campos:

Selecione os campo Filial e Código(TCW_FILIAL+TCW_CODIGO).


Repita o processo anterior para prosseguir com a criação das tabelas a seguir:

Criação de Tabela:

1-)  Acesse Configurador > Base de Dados > Dicionário > Bases de Dados

2-)  Posicione o cursor em Dicionário de dados e clique em Incluir 

Realize o preenchimento da tabela TCX

...

Após o preenchimento dos dados da tabela TCX clique em confirmar

Section
bordertrue
X3_CAMPOX3_TIPOX3_TAMANHOX3_DECIMALX3_TITULOX3_DESCRICX3_RELACAOX3_F3X3_PICTUREX3_BROWSEX3_VISUALX3_CONTEXTX3_VLDUSER
TCX_FILIALC80Filial      Filial do Sistema                                                                                                                                              @!                                           N

                                                                                                                                
TCX_CODIGOC60Codigo      Codigo                   GETSXENUM('TCX','TCX_CODIGO')                                                                                                         @!                                           NAR                                                                                                                                
TCX_CODTBLC60Cod. Tabela Codigo da Tabela                                                                                                                                         REB   @!                                           NAR                                                                                                                                
TCX_CODTCWC60Cod. Config Codigo da Configuracao                                                                                                                                         @!                                           NAR                                                                                                                                
TCX_DESCRIC500Decricao    Decricao                                                                                                                                                       @!                                           NAR                                                                                                                                
TCX_ITEM  C30Item        Item                                                                                                                                                           @!                                           NVR                                                                                                                                
TCX_PORCENN142Porcentagem Porcentagem                                                                                                                                                    @E 99,999,999,999.99                         NAR                                                                                                                                
TCX_TABELAC10Tabela      Tabela                                                                                                                                                         @!                                           NVRPertence("12")                                                                                                                  
TCX_TIPOPEC10Tipo Item   Tipo do Item                                                                                                                                                   @!                                           NAR                                                                                                                                
TCX_TIPTBLC10Tipo        Tipo                                                                                                                                                           @!                                           NARPertence("12")                                                                                                                  


Criação dos índices da tabela TCX 

1-) Posicione na tabela e clique em editar e posicione em índices

2-) Clique em Incluir e em outras ações selecione campos:

Selecione os campo Filial e Código(TCX_FILIAL+TCX_CODIGO).


04. DEMAIS INFORMAÇÕES

N/A

...

05. ASSUNTOS RELACIONADOS



Templatedocumentos