Informacoes Adicionais
A tabela G4B faz parte do sistema ERP Protheus da TOTVS e é utilizada para informacoes adicionais.
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 G4B 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 G4B, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | G4B |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | G4B990 |
| X2_NOME | Informacoes Adicionais |
| X2_NOMESPA | Informaciones adicionales |
| X2_NOMEENG | Additional Information |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | G4B_FILIAL+G4B_NUMID+G4B_IDITEM+G4B_NUMSEQ+G4B_CODPAX+G4B_TPENT+G4B_ITEM+G4B_CONORI |
| X2_PYME | N |
| X2_MODULO | 89 |
| X2_DISPLAY | - |
| X2_SYSOBJ | - |
| X2_USROBJ | - |
| X2_POSLGT | 2 |
| X2_CLOB | 1 |
| 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_ | 4636 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| G4B | 01 | G4B_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial do Sistema | Sucursal del sistema | Branch of System | - | - | x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | 033 | - | N | - | - | S | - | N | - | - | - | 2 | 1 | - | - | - | 74919 | 0 |
| G4B | 02 | G4B_NUMID | C | 10 | 0 | Núm. Ident. | Nº Ident. | Ident Numb | Número Identificação RV | Número identificación RV | VC Identification Number | - | - | x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | S | - | N | - | - | - | 2 | 1 | - | - | - | 74920 | 0 |
| G4B | 03 | G4B_IDITEM | C | 4 | 0 | Id Item | Id Item | Item ID | Seq Item Registro Venda | Sec ítem Registro Venta | Sales Record Item Seq | - | - | x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | S | - | N | - | - | - | 2 | 1 | - | - | - | 74921 | 0 |
| G4B | 04 | G4B_NUMSEQ | C | 2 | 0 | Sequência | Secuencia | Sequence | Sequência Identificação | Secuencia Identificación | Identification Sequence | - | - | x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | S | - | N | - | - | - | 2 | 1 | - | - | - | 74922 | 0 |
| G4B | 05 | G4B_CODPAX | C | 5 | 0 | Passageiro | Pasajero | Passenger | Código do Passageiro | Código del pasajero | Passenger Code | - | - | x x x x x x x x x x x x x x x | - | G3SPAS | 1 | xxxx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | S | - | N | - | - | - | 2 | 1 | - | - | - | 74923 | 0 |
| G4B | 06 | G4B_CLIENT | C | 6 | 0 | Cód. Cliente | Cód. Cliente | Cust Code | Código do Cliente | Código del cliente | Customer Code | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | 001 | - | N | - | - | S | - | N | - | - | - | 2 | 1 | - | - | - | 74924 | 0 |
| G4B | 07 | G4B_TPENT | C | 2 | 0 | Entidade | Ente | Entity | Tipo da Entidade | Tipo del ente | Entity Type | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | S | - | N | - | - | - | 2 | 1 | - | - | - | 74925 | 0 |
| G4B | 08 | G4B_TITUL | C | 40 | 0 | Nome Entidad | Nom. Ente | Entity Name | Nome da Entidade | Nombre del ente | Entity Name | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | S | - | N | - | - | - | 2 | 1 | - | - | - | 74926 | 0 |
| G4B | 09 | G4B_LOJA | C | 2 | 0 | Loja Origem | Tienda Orige | Origin Store | Loja do Cliente | Tienda del cliente | Store of Customer | @! | ExistCpo("SA1",FwFldGet("G3Q_CLIENT")+M->G4B_LOJA) | x x x x x x x x x x x x x x x x | - | SA1G4A | 1 | xxxxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 002 | - | N | - | - | S | - | N | - | - | - | 2 | 1 | - | - | - | 74927 | 0 |
| G4B | 10 | G4B_ITEM | C | 50 | 0 | Conteúdo | Contenido | Content | Chave do Conteúdo | Clave del contenido | Content Key | - | - | x x x x x x x x x x x x x x x x | - | G3G | 1 | xx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | S | - | N | - | - | - | 2 | 1 | - | - | - | 74928 | 0 |
| G4B | 11 | G4B_DESENT | C | 60 | 0 | Descrição | Descripción | Description | Descrição do Item | Descripción del ítem | Item Description | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | S | - | N | - | - | - | 2 | 1 | - | - | - | 74929 | 0 |
| G4B | 12 | G4B_CONORI | C | 6 | 0 | Conc. Ori. | Conc. Ori. | Orig Conc | Conciliação de origem | Conciliación de origen | Origin Conciliation | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 74930 | 0 |
| G4B | 13 | G4B_CONINU | C | 6 | 0 | Conc. Inu. | Conc. Inu. | Unus Conc | Conciliação de inut. | Conciliación de Inut. | Unus Conciliation | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 74931 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| G4B | 1 | G4B_FILIAL+G4B_NUMID+G4B_IDITEM+G4B_NUMSEQ+G4B_CODPAX+G4B_TPENT+G4B_ITEM | Núm. Ident. + Id Item + Sequência + Passageiro + Entidade + Conteúdo | Nº Ident. + Id Item + Secuencia + Pasajero + Ente + Contenido | Ident Numb + Item ID + Sequence + Passenger + Entity + Content | S | - | - | S | 2 | 3 | - | 11006 | 0 |
Ela é utilizada para informacoes adicionais 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
G4B_FILIAL,
G4B_NUMID,
G4B_IDITEM,
G4B_NUMSEQ,
G4B_CODPAX,
G4B_CLIENT,
G4B_TPENT,
G4B_TITUL,
G4B_LOJA,
G4B_ITEM,
G4B_DESENT,
G4B_CONORI,
G4B_CONINU
FROM G4B
WHERE
D_E_L_E_T_ = ' '
AND G4B_FILIAL = 'VALOR'
AND G4B_NUMID = 'VALOR'
AND G4B_IDITEM = 'VALOR'
AND G4B_NUMSEQ = 'VALOR'
AND G4B_CODPAX = 'VALOR'
AND G4B_CLIENT = 'VALOR'
AND G4B_TPENT = 'VALOR'
AND G4B_TITUL = 'VALOR'
AND G4B_LOJA = 'VALOR'
AND G4B_ITEM = 'VALOR'
AND G4B_DESENT = 'VALOR'
AND G4B_CONORI = 'VALOR'
AND G4B_CONINU = 'VALOR'