Complemento de Seguro
A tabela DU6 faz parte do sistema ERP Protheus da TOTVS e é utilizada para complemento de seguro.
Ela pertence ao dicionário de dados do Protheus (SX2) e armazena informações essenciais utilizadas em processos como cadastros, movimentações e integrações do sistema.
A tabela DU6 possui diversos campos (SX3), cada um com regras específicas como tipo, tamanho e validações, além de índices (SIX) que otimizam a performance das consultas.
Nesta página você pode consultar a estrutura completa da tabela DU6, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | DU6 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | DU6990 |
| X2_NOME | Complemento de Seguro |
| X2_NOMESPA | Complemento de Seguro |
| X2_NOMEENG | Insurance Complement |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | - |
| X2_PYME | S |
| X2_MODULO | 43 |
| X2_DISPLAY | DU6_FILIAL+DU6_NCONTR+DU6_SERVIC+DU6_COMSEG+DU6_CDRDES |
| X2_SYSOBJ | - |
| X2_USROBJ | - |
| X2_POSLGT | 1 |
| X2_CLOB | 2 |
| X2_AUTREC | 2 |
| X2_TAMFIL | 2 |
| X2_TAMUN | 0 |
| X2_TAMEMP | 0 |
| X2_STAMP | 2 |
| X2_INSDT | 2 |
| D_E_L_E_T_ | - |
| R_E_C_N_O_ | 3521 |
| R_E_C_D_E_L_ | 0 |
| X3_ARQUIVO | X3_ORDEM | X3_CAMPO | X3_TIPO | X3_TAMANHO | X3_DECIMAL | X3_TITULO | X3_TITSPA | X3_TITENG | X3_DESCRIC | X3_DESCSPA | X3_DESCENG | X3_PICTURE | X3_VALID | X3_USADO | X3_RELACAO | X3_F3 | X3_NIVEL | X3_RESERV | X3_CHECK | X3_TRIGGER | X3_PROPRI | X3_BROWSE | X3_VISUAL | X3_CONTEXT | X3_OBRIGAT | X3_VLDUSER | X3_CBOX | X3_CBOXSPA | X3_CBOXENG | X3_PICTVAR | X3_WHEN | X3_INIBRW | X3_GRPSXG | X3_FOLDER | X3_PYME | X3_CONDSQL | X3_CHKSQL | X3_IDXSRV | X3_ORTOGRA | X3_IDXFLD | X3_TELA | X3_PICBRV | X3_AGRUP | X3_POSLGT | X3_MODAL | X3_CHKSUM | X3_ADDSUM | D_E_L_E_T_ | R_E_C_N_O_ | R_E_C_D_E_L_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DU6 | 01 | DU6_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial do Sistema | Sucursal del Sistema | System Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 54889 | 0 |
| DU6 | 02 | DU6_NCONTR | C | 15 | 0 | No.Contrato | No.Contrato | Contract No. | Numero do Contrato | Numero del Contrato | Contract Number | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 54890 | 0 |
| DU6 | 03 | DU6_SERVIC | C | 3 | 0 | Servico | Servicio | Service | Servico | Servicio | Service | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | - | - | - | - | - | - | - | - | - | 012 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 54891 | 0 |
| DU6 | 04 | DU6_COMSEG | C | 2 | 0 | Componente | Componente | Component | Componente | Componente | Component | 99 | - | x x x x x x xx x x x x x x x x | - | DU3 | 1 | xx | - | S | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 54892 | 0 |
| DU6 | 05 | DU6_DESCOM | C | 20 | 0 | Descricao | Descripcion | Description | Desc.Componente | Desc.Componente | Component Desc. | @! | - | x x x x x x xx x x x x x x x x | Iif(!Inclui,Posicione("DU3",1, xFilial("DU3")+DU6->DU6_COMSEG,"DU3_DESCRI"),"") | - | 1 | x x | - | - | - | - | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 54893 | 0 |
| DU6 | 06 | DU6_CDRDES | C | 6 | 0 | Cod.Reg.Des. | Cod.Reg.Des. | Des.Reg.Code | Cod.Regiao Destino | Cod.Region Destino | Destination Region Cd. | @! | ExistCpo("DUY",M->DU6_CDRDES,1) | x x x x x x x x x x x x x x x x | - | DUY | 1 | xx | - | S | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 54894 | 0 |
| DU6 | 07 | DU6_REGDES | C | 30 | 0 | Reg.Destino | Reg.Destino | Dest. Region | Reg.Destino | Reg.Destino | Destination Reg. | @! | TmsPesqRegiao("DU6_CDRDES","DU6_REGDES") | x x x x x x xx x x x x x x x x | Iif(Inclui,"",Posicione("DUY",1,xFilial("DUY")+DU6->DU6_CDRDES,"DUY_DESCRI")) | - | 1 | x x x | - | - | - | S | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 54895 | 0 |
| DU6 | 08 | DU6_SEGCLI | N | 6 | 2 | Seg.Cliente | Seg.Cliente | Seg.Customer | Seg.Cliente | Seg.Cliente | Seg.Customer | @E 999.99% | Positivo() | x x x x x x xx x x x x x x x x | - | - | 1 | x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 54896 | 0 |
| INDICE | ORDEM | CHAVE | DESCRICAO | DESCSPA | DESCENG | PROPRI | F3 | NICKNAME | SHOWPESQ | IX_VIRTUAL | IX_VIRCUST | D_E_L_E_T_ | R_E_C_N_O_ | R_E_C_D_E_L_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DU6 | 1 | DU6_FILIAL+DU6_NCONTR+DU6_SERVIC+DU6_COMSEG+DU6_CDRDES | No.Contrato + Servico + Componente + Cod.Reg.Des. | No.Contrato + Servicio + Componente + Cod.Reg.Des. | Contract No. + Service + Component + Des.Reg.Code | S | - | - | S | 2 | 3 | - | 8394 | 0 |
Ela é utilizada para complemento de seguro dentro do sistema ERP Protheus.
Nesta página você pode visualizar todos os campos, incluindo tipo, tamanho e validações.
Os índices são estruturas que melhoram a performance de busca e acesso aos dados dentro do Protheus.
Modelo de query gerado automaticamente com base na estrutura da tabela.
SELECT
DU6_FILIAL,
DU6_NCONTR,
DU6_SERVIC,
DU6_COMSEG,
DU6_DESCOM,
DU6_CDRDES,
DU6_REGDES,
DU6_SEGCLI
FROM DU6
WHERE
D_E_L_E_T_ = ' '
AND DU6_FILIAL = 'VALOR'
AND DU6_NCONTR = 'VALOR'
AND DU6_SERVIC = 'VALOR'
AND DU6_COMSEG = 'VALOR'
AND DU6_DESCOM = 'VALOR'
AND DU6_CDRDES = 'VALOR'
AND DU6_REGDES = 'VALOR'
AND DU6_SEGCLI = 0