REL CAD MAT/MED X ITEM PRESC.
A tabela GNL faz parte do sistema ERP Protheus da TOTVS e é utilizada para rel cad mat/med x item presc..
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 GNL 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 GNL, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | GNL |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | GNL990 |
| X2_NOME | REL CAD MAT/MED X ITEM PRESC. |
| X2_NOMESPA | INF ARC MAT/MED VS ITEM PRESC. |
| X2_NOMEENG | MAT/MED FILE VS PRSC.ITEM LIST |
| 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_ | 5192 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GNL | 01 | GNL_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 | xxxxxx x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83324 | 0 |
| GNL | 02 | GNL_CDMEDI | C | 15 | 0 | Cod Medicam | Cod Medicam | Med.Code | Codigo do Medicamento | Codigo del Medicamento | Medication Code | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | 030 | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83325 | 0 |
| GNL | 03 | GNL_CDITEM | C | 3 | 0 | Cod Item | Cod Item | Item Cod. | Codigo do Item | Codigo del Item | Item Code | - | - | 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 | - | - | - | 83326 | 0 |
| GNL | 04 | GNL_CODLOC | C | 2 | 0 | Setor | Sector | Sector | Codigo do setor | Codigo del sector | Sector Code | @! | HS_VldA53() | x x x x x x x x x x x x x x x x | - | GCS | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83327 | 0 |
| GNL | 05 | GNL_NOMLOC | C | 30 | 0 | Descricao | Descripcion | Description | Descricao do setor | Descripcion del sector | Sector Description | @! | - | x x x x x x x x x x x x x x x x | HS_INIPADR('GCS',1,GNL->GNL_CODLOC,'GCS_NOMLOC') | - | 1 | xxxxxx x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione('GCS',1,xFilial('GCS')+GNL_CODLOC,'GCS_NOMLOC') | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83328 | 0 |
| GNL | 06 | GNL_DISPAR | N | 2 | 0 | Disparo | Disparo | Trigger | Qtde horas inic. aplicac. | Cant horas inic. aplicac. | Number of hours used | @E 99 | HS_VldA53() | 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 | - | - | - | 83329 | 0 |
| GNL | 07 | GNL_IDREGI | C | 1 | 0 | Regime | Regimen | Diet | Identificacao Regime | Identificacion Regimen | Diet Identification | - | - | x x x x x x x x x x x x x x x x | '0' | - | 1 | xxxxxx x | - | - | - | S | A | R | - | - | 0=Normal;1=Urgente;2=Se necessario | 0=Normal;1=Urgente;2=Si fuera necesario | 0=Regular;1=Emergency;2=Required | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83330 | 0 |
| GNL | 08 | GNL_OBSREG | C | 50 | 0 | Complemento | Complemento | Complement | Observcao do Regime | Observacion del Regimen | Rule complement | @! | - | 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 | - | - | - | 83331 | 0 |
| GNL | 09 | GNL_OBSERV | C | 50 | 0 | Observacao | Observacion | Note | Observacao | Observacion | Note | @! | - | 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 | - | - | - | 83332 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GNL | 1 | GNL_FILIAL+GNL_CDMEDI+GNL_CDITEM | Cod Medicam + Cod Item | Cod Medicam + Cod Item | Med.Code + Item Cod. | S | - | - | S | 2 | 3 | - | 12299 | 0 |
| GNL | 2 | GNL_FILIAL+GNL_CDMEDI+GNL_CODLOC | Cod Medicam + Setor | Cod Medicam + Sector | Med.Code + Sector | S | - | - | S | 2 | 3 | - | 12300 | 0 |
Ela é utilizada para rel cad mat/med x item presc. 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.