INTEROCORRENCIAS X COLETA
A tabela GHK faz parte do sistema ERP Protheus da TOTVS e é utilizada para interocorrencias x coleta.
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 GHK 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 GHK, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | GHK |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | GHK990 |
| X2_NOME | INTEROCORRENCIAS X COLETA |
| X2_NOMESPA | INTEROCURRENCIAS VS. RECOLECCI |
| X2_NOMEENG | INTEROCCURRENCES vs. COLLEC. |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | - |
| X2_PYME | N |
| X2_MODULO | 51 |
| X2_DISPLAY | - |
| 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_ | 5050 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GHK | 01 | GHK_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 x | - | - | 1 | x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 033 | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81365 | 0 |
| GHK | 02 | GHK_CODINT | C | 6 | 0 | Codigo | Codigo | Code | Codigo sequencial | Codigo secuencial | Sequential code | @! | - | x x x x x x x x x x x x x x x x | GetSxeNum('GHK', 'GHK_CODINT',, 1) | - | 1 | xxxxxxxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 81366 | 0 |
| GHK | 03 | GHK_DESINT | C | 40 | 0 | Descricao | Descripcion | Description | Descricao Intercorrencia | Descrip Intercalacion | Intercurrence Description | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxxxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 81367 | 0 |
| GHK | 04 | GHK_REGATE | C | 6 | 0 | Atendimento | Atencion | Attendance | Atendimento do doador | Atencion del donador | Donor attendance | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81368 | 0 |
| GHK | 05 | GHK_CDANAM | C | 6 | 0 | Cd. Anamnese | Cd Anamnesis | Anamnesis Cd | Codigo da Anamnese | Cod. de la Anamnesis | Code of Anamnesis | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81369 | 0 |
| GHK | 06 | GHK_CDCOLE | C | 6 | 0 | Id. Coleta | Id. Recolecc | Collec. Id. | Identificacao Coleta | Identif. Recoleccion | Collection Identification | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81370 | 0 |
| GHK | 07 | GHK_DTINTE | D | 8 | 0 | Data Interc. | Fecha Interc | Interc. Date | Data da Intercorrencia | Fecha de Intercalacion | Intercurrence Date | @D | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81371 | 0 |
| GHK | 08 | GHK_HRINTE | C | 5 | 0 | Hora Interc. | Hora Interc. | Interc. time | Hora da Intercorrencia | Hora de Intercurrencia | Intercurrence Time | 99:99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81372 | 0 |
| GHK | 09 | GHK_CDINTE | C | 6 | 0 | Tipo Interc. | Tipo Interc. | Interc. Type | Tipo de Intercorrencia | Tipo de Intercurrencia | Intercurrence Type | @! | HS_VldM01() | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81373 | 0 |
| GHK | 10 | GHK_DSINTE | C | 40 | 0 | Descricao | Descripcion | Description | Descricao Tp. Intercorre | Descr. Tipo Interc. | Intercurrence Tp. Descrip | @! | - | x x x x x x x x x x x x x x x x | HS_IniPadr('GHM',1,GHK->GHK_CDINTE,'GHM_DSINTE') | - | 1 | xxxxxx x | - | - | - | S | V | V | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 81374 | 0 |
| GHK | 11 | GHK_ORINTE | C | 8 | 0 | Origem | Origen | Origin | Em qual rotina ‚ gerada | En qué rutina se generó | In which routine, generat | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 81375 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GHK | 1 | GHK_FILIAL+GHK_CODINT | Codigo | Codigo | Code | S | - | - | S | 2 | 3 | - | 11993 | 0 |
| GHK | 2 | GHK_FILIAL+GHK_REGATE | Atendimento | Atencion | Attendance | S | - | - | S | 2 | 3 | - | 11994 | 0 |
Ela é utilizada para interocorrencias x coleta 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.