Param Fis. Fin Receita - CAB
A tabela G6A faz parte do sistema ERP Protheus da TOTVS e é utilizada para param fis. fin receita - cab.
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 G6A 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 G6A, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | G6A |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | G6A990 |
| X2_NOME | Param Fis. Fin Receita - CAB |
| X2_NOMESPA | Parám Fis. Fin Ingreso - CAB |
| X2_NOMEENG | Rev Fin Fis Param - CAB |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | G6A_FILIAL+G6A_CODIGO |
| X2_PYME | S |
| X2_MODULO | 89 |
| X2_DISPLAY | G6A_CODIGO+G6A_CDCLAS |
| 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_ | 4706 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| G6A | 01 | G6A_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 | - | - | 001 | 1 | 1 | - | - | - | 75802 | 0 |
| G6A | 02 | G6A_CODIGO | C | 6 | 0 | Código | Código | Code | Cód. Parametros Fiscais e | Cód. Parámetros fiscales | Tax Parameter Code and | @! | ExistChav("G6A",FwFldget("G6A_CODIGO")) | x x x x x x x x x x x x x x x x | GetSxeNum("G6A","G6A_CODIGO") | - | 1 | xx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | - | N | - | - | 001 | 1 | 1 | - | - | - | 75803 | 0 |
| G6A | 03 | G6A_CDCLAS | C | 3 | 0 | Cód. Classif | Cód. Clasif | Class Code | Código Classif. Acordo | Código Clasif. Acuerdo | Agreement Classif Code | @! | ExistCpo("G8B",FwFldGet("G6A_CDCLAS")) | x x x x x x x x x x x x x x x x | - | G8B | 1 | xxx | - | S | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | - | N | - | - | 001 | 1 | 1 | - | - | - | 75804 | 0 |
| G6A | 04 | G6A_CLASS | C | 30 | 0 | Classific. | Clasific. | Classif. | Classificação do Acordo | Clasificación del acuerdo | Agreement Classification | @! | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI,Posicione("G8B", 1 , xFilial("G8B") + G6A->G6A_CDCLAS, "G8B_DESCRI"),"") | - | 1 | xx | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("G8B", 1 , xFilial("G8B") + G6A->G6A_CDCLAS, "G8B_DESCRI") | - | - | S | - | - | S | - | N | - | - | 001 | 1 | 1 | - | - | - | 75805 | 0 |
| G6A | 05 | G6A_CODPRD | C | 15 | 0 | Cód. Produto | Cód. Prod. | Prod Code | Código do Produto | Código del producto | Product Code | @! | ExistCpo("SB1",FwFldGet("G6A_CODPRD")) | x x x x x x x x x x x x x x x x | - | SB1 | 1 | xxx | - | S | - | S | A | R | - | - | - | - | - | - | - | - | 030 | - | S | - | - | S | - | N | - | - | 001 | 1 | 1 | - | - | - | 75806 | 0 |
| G6A | 06 | G6A_DSCPRD | C | 30 | 0 | Descr. Prod. | Descr. Prod. | Prod.Descrip | Descrição do Produto | Descripción del producto | Product Description | @! | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI, Posicione("SB1",1,xFilial("SB1")+FwFldGet("G6A_CODPRD"),"B1_DESC"),"") | - | 1 | xx | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("SB1",1,xFilial("SB1")+G6A->G6A_CODPRD,"B1_DESC") | - | - | S | - | - | S | - | N | - | - | 001 | 1 | 1 | - | - | - | 75807 | 0 |
| G6A | 07 | G6A_PRDTS | C | 3 | 0 | TS Padrão | TS Estándar | Default OT | Código Tipo Saída | Código Tipo Salida | Outflow Type Code | @999 | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI,Posicione("SB1",1,xFilial("SB1")+FwFldGet("G6A_CODPRD"),"B1_TS"),"") | - | 1 | xx | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("SB1",1,xFilial("SB1")+G6A->G6A_CODPRD,"B1_TS") | - | - | S | - | - | S | - | N | - | - | 001 | 1 | 1 | - | - | - | 75808 | 0 |
| G6A | 08 | G6A_CODCO | C | 12 | 0 | Conta Orçam. | Cta. Presupu | Budget Acct | Código Conta Orçamentária | Código Cta Presupuestaria | Budget Account Code | @! | ExistCpo("AK5",FwFldGet("G6A_CODCO")) | x x x x x x x x x x x x x x x x | - | AK5 | 1 | xxx | - | S | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | - | N | - | - | 001 | 1 | 1 | - | - | - | 75809 | 0 |
| G6A | 09 | G6A_DSCCO | C | 60 | 0 | Descr. Conta | Descr. Cta. | Acct.Descrip | Descr. Conta Orçamentária | Descr. Cuenta Presupuest. | Budget Account Descriptin | @! | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI,Posicione("AK5",1,xFilial("AK5")+FwFldGet("G6A_CODCO"),"AK5_DESCRI"),"") | - | 1 | xx | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("AK5",1,xFilial("AK5")+G6A->G6A_CODCO,"AK5_DESCRI") | - | - | S | - | - | S | - | N | - | - | 001 | 1 | 1 | - | - | - | 75810 | 0 |
| G6A | 10 | G6A_CORP | L | 1 | 0 | Corporativo | Corporativo | Corporate | Segmento Corporativo | Segmento Corporativo | Corporate Segment | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | - | N | - | - | 002 | 1 | 1 | - | - | - | 75811 | 0 |
| G6A | 11 | G6A_EVENTO | L | 1 | 0 | Evento | Evento | Event | Segmento Evento | Segmento Evento | Event Segment | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | - | N | - | - | 002 | 1 | 1 | - | - | - | 75812 | 0 |
| G6A | 12 | G6A_LAZER | L | 1 | 0 | Lazer | Entretenim. | Leisure | Segmento Lazer | Segmento Entretenimiento | Leisure Segment | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | - | N | - | - | 002 | 1 | 1 | - | - | - | 75813 | 0 |
| G6A | 13 | G6A_SERIE | C | 3 | 0 | Serie | Serie | Series | Serie documento Saída | Serie documento salida | Outbound Doc Series | !!! | - | x x x x x x x x x x x x x x x x | - | 01 | 1 | x xxxx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 095 | - | S | - | - | N | - | N | - | - | 001 | 2 | 1 | - | - | - | 75814 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| G6A | 1 | G6A_FILIAL+G6A_CODIGO+G6A_CDCLAS | Código + Cód. Classif | Código + Cód. Clasif | Code + Class Code | S | - | - | S | 2 | 3 | - | 11138 | 0 |
Ela é utilizada para param fis. fin receita - cab 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
G6A_FILIAL,
G6A_CODIGO,
G6A_CDCLAS,
G6A_CLASS,
G6A_CODPRD,
G6A_DSCPRD,
G6A_PRDTS,
G6A_CODCO,
G6A_DSCCO,
G6A_CORP,
G6A_EVENTO,
G6A_LAZER,
G6A_SERIE
FROM G6A
WHERE
D_E_L_E_T_ = ' '
AND G6A_FILIAL = 'VALOR'
AND G6A_CODIGO = 'VALOR'
AND G6A_CDCLAS = 'VALOR'
AND G6A_CLASS = 'VALOR'
AND G6A_CODPRD = 'VALOR'
AND G6A_DSCPRD = 'VALOR'
AND G6A_PRDTS = 'VALOR'
AND G6A_CODCO = 'VALOR'
AND G6A_DSCCO = 'VALOR'
AND G6A_SERIE = 'VALOR'