Eventos CTE
A tabela GI7 faz parte do sistema ERP Protheus da TOTVS e é utilizada para eventos cte.
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 GI7 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 GI7, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | GI7 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | GI7990 |
| X2_NOME | Eventos CTE |
| X2_NOMESPA | Eventos CTE |
| X2_NOMEENG | CTE Events |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | GI7_FILIAL+GI7_CODIGO+GI7_TIPCTE+GI7_SEQUEN |
| X2_PYME | S |
| X2_MODULO | 88 |
| 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_ | 5072 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GI7 | 01 | GI7_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 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 81779 | 0 |
| GI7 | 02 | GI7_CODIGO | C | 10 | 0 | Código | Código | Code | Código | Código | Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 81780 | 0 |
| GI7 | 03 | GI7_TIPCTE | C | 1 | 0 | Tipo do CTE | Tipo de e-CT | CTE Type | Tipo do CTE | Tipo de e-CT | CTE Type | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 81781 | 0 |
| GI7 | 04 | GI7_SEQUEN | C | 2 | 0 | Sequencia | Secuencia | Sequence | Sequencia | Secuencia | Sequence | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 81782 | 0 |
| GI7 | 05 | GI7_STATUS | C | 1 | 0 | Status | Estatus | Status | Status Trans | Estatus Trans | Trans Status | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 81783 | 0 |
| GI7 | 06 | GI7_XMLENV | M | 10 | 0 | XML/ENV | XML/ENV | XML/SUBM | Xml de Envio | Xml de envío | Submission XML | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 81784 | 0 |
| GI7 | 07 | GI7_XMLRET | M | 10 | 0 | XML/RET | XML/RET | XML/RET | XML de retorno | XML de devolución | Return XML | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 81785 | 0 |
| GI7 | 08 | GI7_PROTOC | C | 15 | 0 | Protocolo | Comprob. | Protocol | Protocolo | Comprob. | Protocol | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 81786 | 0 |
| GI7 | 09 | GI7_CHVCTE | C | 44 | 0 | Chave CTE | Clave e-CT | CTE Key | Chave do CTE | Clave e-CT | CTE Key | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 81787 | 0 |
| GI7 | 10 | GI7_CODREF | C | 10 | 0 | Cod. Ref. | Cód Ref. | Ref Code | Código de ref. TSS | Código de Ref. TSS | TSS Ref Code | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 81788 | 0 |
| GI7 | 11 | GI7_MOTREJ | M | 10 | 0 | Mot.Rejeição | Mot.Rechazo | Reject Reas | Motivo de Rejeiçao | Motivo de rechazo | Reason for Rejection | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 81789 | 0 |
| GI7 | 12 | GI7_DTENV | D | 8 | 0 | Data envio | Fecha de env | Shipment Dt | Data de envio | Fecha de envío | Shipment Date | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 81790 | 0 |
| GI7 | 13 | GI7_DTAUT | D | 8 | 0 | Data Autoriz | Fch Autoriz | Auth Date | Data de autorizaçao | Fecha de autorización | Authorization Date | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 81791 | 0 |
| GI7 | 14 | GI7_USUINC | C | 6 | 0 | Usuario/Inc | Usuario/Inc | User/Inc | Usuario de inclusão | Usuario de inclusión | Inclusion User | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 81792 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GI7 | 1 | GI7_FILIAL+GI7_CODIGO+GI7_TIPCTE+GI7_SEQUEN | Código + Tipo do CTE + Sequencia | Código + Tipo de e-CT + Secuencia | Code + CTE Type + Sequence | S | - | - | S | 2 | 3 | - | 12047 | 0 |
Ela é utilizada para eventos cte 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.