Fornecedor x Dependentes
A tabela DHT faz parte do sistema ERP Protheus da TOTVS e é utilizada para fornecedor x dependentes.
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 DHT 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 DHT, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | DHT |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | DHT990 |
| X2_NOME | Fornecedor x Dependentes |
| X2_NOMESPA | Proveedor vs. Dependientes |
| X2_NOMEENG | Supplier x Dependents |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | DHT_FILIAL+DHT_FORN+DHT_LOJA+DHT_COD |
| X2_PYME | S |
| X2_MODULO | 2 |
| X2_DISPLAY | - |
| X2_SYSOBJ | - |
| X2_USROBJ | - |
| X2_POSLGT | 1 |
| X2_CLOB | 2 |
| X2_AUTREC | 1 |
| X2_TAMFIL | 2 |
| X2_TAMUN | 0 |
| X2_TAMEMP | 0 |
| X2_STAMP | - |
| X2_INSDT | 2 |
| D_E_L_E_T_ | - |
| R_E_C_N_O_ | 3296 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DHT | 01 | DHT_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial | Sucursal | Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 51040 | 0 |
| DHT | 02 | DHT_FORN | C | 6 | 0 | Fornecedor | Proveedor | Supplier | Fornecedor | Proveedor | Supplier | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | 001 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 51041 | 0 |
| DHT | 03 | DHT_LOJA | C | 2 | 0 | Loja | Tienda | Store | Loja | Tienda | Store | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | 002 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 51042 | 0 |
| DHT | 04 | DHT_COD | C | 6 | 0 | Codigo Ident | Código Ident | Ident Code | Codigo Identificação | Código Identificación | Identification code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 51043 | 0 |
| DHT | 05 | DHT_NOME | C | 60 | 0 | Nome | Nomb | Name | Nome Dependente | Nomb Dependiente | Dependent's Name | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 51044 | 0 |
| DHT | 06 | DHT_CPF | C | 11 | 0 | CPF | RCPF | SSN | CPF | RCPF | SSN | @R 999.999.999-99 | CGC(M->DHT_CPF) | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 51045 | 0 |
| DHT | 07 | DHT_DTNASC | D | 8 | 0 | Dt Nasc | Fch Nacim | Birth Dt | Data Nascimento | Fecha Nacimiento | Birth Date | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 51046 | 0 |
| DHT | 08 | DHT_RELACA | C | 2 | 0 | Rel Depende | Rel Depende | Depend Rel | Relacao Dependencia | Relación Dependencia | Dependency Relationship | 99 | - | x x x x x x x x x x x x x x x x | - | P9 | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 51047 | 0 |
| DHT | 09 | DHT_PENSAO | C | 1 | 0 | Pensao Alime | Pensión Alim | Alimony | Pensao Alimenticia | Pensión Alimenticia | Alimony | 9 | Pertence(" 01") | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | 0=Não;1=Sim | 0=No;1=Sí | 0=No;1=Yes | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 51048 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DHT | 1 | DHT_FILIAL+DHT_FORN+DHT_LOJA+DHT_CPF | Fornecedor + Loja + CPF | Proveedor + Tienda + RCPF | Supplier + Store + SSN | S | - | - | S | 2 | 3 | - | 7884 | 0 |
Ela é utilizada para fornecedor x dependentes 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.