Cirúrgias por Atendimentos
A tabela GDU faz parte do sistema ERP Protheus da TOTVS e é utilizada para cirúrgias por atendimentos.
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 GDU 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 GDU, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | GDU |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | GDU990 |
| X2_NOME | Cirúrgias por Atendimentos |
| X2_NOMESPA | Cirugías por Atenciones |
| X2_NOMEENG | Surgeries by Attendance |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | - |
| X2_PYME | S |
| 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_ | 4917 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GDU | 01 | GDU_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 | - | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 033 | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 79684 | 0 |
| GDU | 02 | GDU_REGATE | C | 6 | 0 | Atendimento | Atencion | Servicing | Registro de atendimento | Registro de atencion | Servicing registration | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 79685 | 0 |
| GDU | 03 | GDU_CODPRO | C | 4 | 0 | Codigo | Codigo | Code | Codigo Procedimento | Codigo Procedimiento | Procedure Code | - | HS_VLDCCIH() | x x x x x x x x x x x x x x x x | - | GA7 | 1 | xxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 79686 | 0 |
| GDU | 04 | GDU_NOMPRO | C | 40 | 0 | Nome | Nombre | Name | Nome Procedimento | Nombre Procedimiento | Procedure Name | @! | - | x x x x x x x x x x x x x x x x | If(!Inclui,Posicione("GA7",1,xFilial("GA7")+GDU->GDU_CODPRO,"GA7_DESC"),"") | - | 1 | - | - | - | - | S | V | V | - | - | - | - | - | - | - | POSICIONE("GA7",1,XFILIAL("GA7")+GDU->GDU_CODPRO,"GA7_DESC") | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 79687 | 0 |
| GDU | 05 | GDU_PORCIR | C | 1 | 0 | Porte | Porte | Importance | Porte cirugia | Porte cirugia | Surgery Importance | - | - | x x x x x x x x x x x x x x x | - | - | 1 | xxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 79688 | 0 |
| GDU | 06 | GDU_CLACIR | C | 1 | 0 | Classific. | Clasific. | Classificat. | Classificacao cirurgia | Clasificacion cirurgia | Surgery classification | - | - | x x x x x x x x x x x x x x x | - | - | 1 | xxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 79689 | 0 |
| GDU | 07 | GDU_SITCIR | C | 1 | 0 | Situacao | Situacion | Status | Situacao cirurgia | Situacao cirurgia | Status of the surgery | - | - | x x x x x x x x x x x x x x x | - | - | 1 | xxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 79690 | 0 |
| GDU | 08 | GDU_LOGARQ | C | 40 | 0 | Log do Arq | Log del Arch | File Log | Log do Arq | Log del Archivo | File Log | @! | - | x x x x x x x x x x x x x x x | HS_LOGARQ() | - | 1 | - | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 79691 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GDU | 1 | GDU_FILIAL+GDU_REGATE+GDU_CODPRO | Atendimento + Codigo | Atencion + Codigo | Servicing + Code | S | - | - | S | 2 | 3 | - | 11690 | 0 |
Ela é utilizada para cirúrgias por atendimentos 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
GDU_FILIAL,
GDU_REGATE,
GDU_CODPRO,
GDU_NOMPRO,
GDU_PORCIR,
GDU_CLACIR,
GDU_SITCIR,
GDU_LOGARQ
FROM GDU
WHERE
D_E_L_E_T_ = ' '
AND GDU_FILIAL = 'VALOR'
AND GDU_REGATE = 'VALOR'
AND GDU_CODPRO = 'VALOR'
AND GDU_NOMPRO = 'VALOR'
AND GDU_PORCIR = 'VALOR'
AND GDU_CLACIR = 'VALOR'
AND GDU_SITCIR = 'VALOR'
AND GDU_LOGARQ = 'VALOR'