Itens do acordo
A tabela G5X faz parte do sistema ERP Protheus da TOTVS e é utilizada para itens do acordo.
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 G5X 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 G5X, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | G5X |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | G5X990 |
| X2_NOME | Itens do acordo |
| X2_NOMESPA | Ítems del acuerdo |
| X2_NOMEENG | Agreement Items |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | C |
| X2_MODOEMP | C |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | G5X_FILIAL+G5X_CODACO+G5X_CODREV+G5X_ITEM |
| X2_PYME | S |
| X2_MODULO | 89 |
| X2_DISPLAY | G5X_FILIAL+G5X_CODACO+G5X_ITEM |
| 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_ | 4693 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| G5X | 01 | G5X_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 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | S | N | N | - | - | - | 1 | 1 | - | - | - | 75683 | 0 |
| G5X | 02 | G5X_CODACO | C | 6 | 0 | Código | Código | Code | Código do Acordo | Código del acuerdo | Agreement Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | N | N | - | - | - | 1 | 1 | - | - | - | 75684 | 0 |
| G5X | 03 | G5X_CODREV | C | 2 | 0 | Cód. Revisão | Cód. Revis. | Review Code | Código da Revisão | Código de la revisión | Review Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | - | N | - | - | - | 1 | 1 | - | - | - | 75685 | 0 |
| G5X | 04 | G5X_ITEM | C | 2 | 0 | Sequência | Secuencia | Sequence | Sequência | Secuencia | Sequence | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | N | N | - | - | - | 1 | 1 | - | - | - | 75686 | 0 |
| G5X | 05 | G5X_GRPROD | C | 4 | 0 | Grupo Prod. | Grupo Prod. | Prod. Group | Grupo de Produtos | Grupo de productos | Products Group | @! | ExistCpo("SBM",M->G5X_GRPROD) | x x x x x x x x x x x x x x x x | - | SBM | 1 | xxx | - | S | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | N | N | - | - | - | 1 | 1 | - | - | - | 75687 | 0 |
| G5X | 06 | G5X_GRPDES | C | 30 | 0 | Desc. Prod. | Desc. Prod. | Prod. Descr. | Descrição Grupo Produto | Descripción Grupo Product | Product Group Description | @! | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI,Posicione("SBM", 1, xFilial("SBM")+G5X->G5X_GRPROD, "BM_DESC"),"") | - | 1 | xx | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | S | N | N | - | - | - | 1 | 1 | - | - | - | 75688 | 0 |
| G5X | 07 | G5X_DESTIN | C | 1 | 0 | Destino | Destino | Destination | Destino | Destino | Destination | @! | Pertence("123") | x x x x x x x x x x x x x x x x | - | - | 1 | xxx | - | - | - | N | A | R | - | - | 1=Nacional;2=Internacional;3=Todos | 1=Nacional;2=Internacional;3=Todos | 1=Domestic;2=International;3=All | - | - | - | - | - | S | - | - | S | N | N | - | - | - | 1 | 1 | - | - | - | 75689 | 0 |
| G5X | 08 | G5X_ASSIST | C | 2 | 0 | Tipo Emissão | Tipo emisión | Issue Tp | Código Tipo Emissão | Código tipo emisión | Issue Type Code | @! | ExistCpo("G5O",M->G5X_ASSIST) | x x x x x x x x x x x x x x x x | - | G5O | 1 | xxx | - | S | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | N | N | - | - | - | 1 | 1 | - | - | - | 75690 | 0 |
| G5X | 09 | G5X_DSCTPE | C | 40 | 0 | Desc Tp Emis | Desc Tp Emis | Issue Tp Des | Descrição Tipo Emissão | Descripción tipo emisión | Issue Type Description | @! | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI, ALLTRIM(POSICIONE("G5O", 1, XFILIAL("G5O")+G5X->G5X_ASSIST, "G5O_DESCR")), "") | - | 1 | x x xx x | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 75691 | 0 |
| G5X | 10 | G5X_TPVAL | C | 1 | 0 | Tipo Valor | Tipo valor | Value Tp | Tipo de Valor | Tipo de valor | Value Type | @! | Pertence("12") | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | A | R | - | - | 1=Porcentagem;2=Valor Fixo | 1=Porcentaje;2=Valor fijo | 1=Percentage;2=Fixed Value | - | - | - | - | - | S | - | - | S | N | N | - | - | - | 1 | 1 | - | - | - | 75692 | 0 |
| G5X | 11 | G5X_BASCAL | C | 2 | 0 | Base Calc | Base Cálc | Calc Base | Base de Cálculo | Base de cálculo | Calculation Base | @! | ExistCpo("SX5","X5"+M->G5X_BASCAL) | x x x x x x x x x x x x x x x x | - | X5 | 1 | xx | - | S | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 75693 | 0 |
| G5X | 12 | G5X_NBASEC | C | 55 | 0 | Desc B Calc | Desc B Cálc | Calc Bs Desc | Descrição Base Cálculo | Descripción base cálculo | Calculation Base Descript | @! | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI, ALLTRIM(POSICIONE("SX5", 1, XFILIAL("SX5")+"X5"+G5X->G5X_BASCAL, "X5_DESCRI")), "") | - | 1 | x x xx x | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 75694 | 0 |
| G5X | 13 | G5X_VALOR | N | 14 | 2 | Valor | Valor | Value | Valor | Valor | Value | @E 99,999,999,999.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 75695 | 0 |
| G5X | 14 | G5X_REEMBO | N | 14 | 2 | Reembolso | Reembolso | Refund | Reembolso | Reembolso | Refund | @E 99,999,999,999.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 75696 | 0 |
| G5X | 15 | G5X_REMARC | N | 14 | 2 | Remarcação | Remarcación | Repricing | Remarcação | Remarcación | Repricing | @E 99,999,999,999.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 75697 | 0 |
| G5X | 16 | G5X_CANCEL | N | 14 | 2 | Cancelamento | Anulación | Cancelation | Cancelamento | Anulación | Cancelation | @E 99,999,999,999.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 75698 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| G5X | 1 | G5X_FILIAL+G5X_CODACO+G5X_CODREV+G5X_ITEM | Código + Cód. Revisão + Sequência | Código + Cód. Revis. + Secuencia | Code + Review Code + Sequence | S | - | - | S | 2 | 3 | - | 11121 | 0 |
Ela é utilizada para itens do acordo 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.