Dicionário Protheus
Início
O Poder da Hiperautomação

Tabela CVF no Protheus

Estrutura da Visão

O que é a tabela CVF no Protheus?

A tabela CVF faz parte do sistema ERP Protheus da TOTVS e é utilizada para estrutura da visão.

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 CVF 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 CVF, incluindo todos os campos e índices relacionados.

Propriedades da Tabela

Propriedade Valor
X2_CHAVE CVF
X2_PATH \DATA\
X2_ARQUIVO CVF990
X2_NOME Estrutura da Visão
X2_NOMESPA Estructura de la Vision
X2_NOMEENG Vision structure
X2_ROTINA -
X2_MODO E
X2_MODOUN E
X2_MODOEMP E
X2_DELET 0
X2_TTS -
X2_UNICO CVF_FILIAL+CVF_CODIGO+CVF_ORDEM
X2_PYME S
X2_MODULO 34
X2_DISPLAY CVF_FILIAL+CVF_CODIGO+CVF_CONTAG+CVF_ORDEM
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_ 2789
R_E_C_D_E_L_ 0

Campos da Tabela CVF (21 campos)

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_
CVF 01 CVF_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 - - - - N - - - - - - - - - - 033 - S - - N N N - - - 1 2 - - - 43795 0
CVF 02 CVF_CODIGO C 3 0 Cod Visao Cod. vision View Code Codigo da Visao Gerencial Codigo vision de gestion Management View Code @! Ctb161Vld('CVF_CODIGO',INCLUI) x x x x x x x x x x x x x x x x - - 1 x x - - - S - - - - - - - - - - - - S - - N N N - - - 1 2 - - - 43796 0
CVF 03 CVF_CONTAG C 20 0 Entid Gerenc Ent. Gestion Manag. Ent. Entidade Gerencial Entidad de gestion Management Entity @! ExistChav("CVF",M->CVF_CODIGO+M->CVF_CONTAG,1,) .And. Ctb161Vld('CVF_CONTAG',INCLUI) x x x x x x x x x x x x x x x xx - - 1 x xxx - - - S - - - - - - - - - - 003 - S - - N N N - - - 1 1 - - - 43797 0
CVF 04 CVF_ORDEM C 10 0 Ordem Orden Order Ordem de exibicao Orden de exhibicion Display order @! ExistChav("CVF",M->CVF_CODIGO+M->CVF_ORDEM,4,) .And. Ctb161Vld('CVF_ORDEM',INCLUI) x x x x x x x x x x x x x x x x - - 1 x xxxx - - - S - - - - - - - - - - - - S - - N N N - - - 1 1 - - - 43798 0
CVF 05 CVF_CLASSE C 1 0 Classe Clase Category Classe da Entid Gerencial Clase de Entid Gerencial Manag.Ent.Categ. ! Ctb161Vld('CVF_CLASSE',INCLUI) x x x x x x x x x x x x x x x x x - - 1 x xxx - - - S - - - - 1=Sintetica;2=Analitica 1=Sintetica;2=Analitica 1=Summarized;2=Detailed - - - - - S - - N N N - - - 1 1 - - - 43799 0
CVF 06 CVF_CTASUP C 20 0 Entid Super Entid Super Sup.Entity Entidade Superior Entidad Superior Sup Entity @! Ctb161Vld('CVF_CTASUP',INCLUI) x x x x x x x x x x x x x x x x CVF->CVF_CONTAG - 1 x xx - - - S A - - - - - - - - - 003 - S - - N N N - - - 1 2 - - - 43800 0
CVF 07 CVF_DESCCG C 40 0 Desc Ent Ger Desc Ent Ger Mag.Ent.Desc Descricao Entid Gerencial Descrip Entid Gerencial Manag.Entity Desc. @! Ctb161Vld('CVF_DESCCG',INCLUI) x x x x x x x x x x x x x x x x - - 1 x x xx - - - S - - - - - - - - !M->CVF_TRACO - - - S - - N N N - - - 1 2 - - - 43801 0
CVF 08 CVF_NORMAL C 1 0 Cond Normal Cond Normal Std.Status Condicao Normal da Entid Condicion Normal de Entid Entity Std.Status @! Ctb161Vld('CVF_NORMAL',INCLUI) x x x x x x x x x x x x x x x x - - 1 x xxx - - - S - - - - 1=Debito;2=Credito 1=Debito;2=Credito 1=Debit;2=Credit - - - - - S - - N N N - - - 1 1 - - - 43802 0
CVF 09 CVF_COLUNA C 1 0 Coluna Columna Column Coluna Columna Column - Ctb161Vld('CVF_COLUNA',INCLUI) x x x x x x x x x x x x x x x x "0" - 1 x xx - - - N - - - - 0=Nenhuma;1=Coluna 1;2=Coluna 2;3=Coluna 3;4=Coluna 4;5=Coluna 5;6=Coluna 6;7=Coluna 7;8=Coluna 8 0=Ninguna;1=Columna 1;2=Columna 2;3=Columna 3;4=Columna 4;5=Columna 5;6=Columna 6;7=Columna 7;8=Columna 8 0=None;1=Column 1;2=Column 2;3=Column 3;4=Column 4;5=Column 5;6=Column 6;7=Column 7;8=Column 8 - - - - - S - - N N N - - - 1 2 - - - 43803 0
CVF 10 CVF_NEGRIT L 1 0 Negrito Negrita Bold Negrito Negrita Bold - - x x x x x x x x x x x x x x x x CTB161SetL(.T.,.F.,.F.,.F.) - 1 xx - S - - - V - - - - - - M->CVF_CLASSE=="1" - - - S - - N N N - - - 1 2 - - - 43804 0
CVF 11 CVF_TOTAL L 1 0 Total Geral Total Gral. Grand Total Total Geral Total General Grand Total - - x x x x x x x x x x x x x x x x CTB161SetL(.F.,.T.,.F.,.F.) - 1 x xx - S - - - V - - - - - - M->CVF_CLASSE=="1" - - - S - - N N N - - - 1 2 - - - 43805 0
CVF 12 CVF_SEPARA L 1 0 Sem Valor Sin Valor No Value Linha sem valor Linea sin valor Row No Value - - x x x x x x x x x x x x x x x x CTB161SetL(.F.,.F.,.T.,.F.) - 1 x xx - S - - - V - - - - - - M->CVF_CLASSE=="1" - - - S - - N N N - - - 1 2 - - - 43806 0
CVF 13 CVF_TRACO L 1 0 Traco Trazo Trace Traco Trazo Trace - - x x x x x x x x x x x x x x x x CTB161SetL(.F.,.F.,.F.,.T.) - 1 x xx - S - - - V - - - - - - M->CVF_CLASSE=="1" - - - S - - N N N - - - 1 2 - - - 43807 0
CVF 14 CVF_IDENT C 1 0 Identificad. Identificad. Identif. Identificador Identificador Identifier - - x x x x x x x x x x x x x x x - - 1 xx - - - - - - - - - - - - - - - - S - - N N N - - - 1 2 - - - 43808 0
CVF 15 CVF_TOTVIS C 1 0 Resul.Visao? Resul.Vision Vision Res. Resultado da Visao? Resultado de la Vision Vision Result @! - x x x x x x x x x x x x x x x x - - 1 x x - - - N A R - - 1=Sim;2=Nao 1=Si;2=No 1=Yes;2=No - - - - - S - - N N N - - - 1 2 - - - 43809 0
CVF 16 CVF_VISENT C 1 0 Vis. Entid.? Vis. Entid. View Ent. Visualiza entidade? Visualiza entidad View entity @! - x x x x x x x x x x x x x x x x - - 1 x x - - - N A R - - 1=Sim;2=Nao 1=Si;2=No 1=Yes;2=No - - - - - S - - N N N - - - 1 2 - - - 43810 0
CVF 17 CVF_SLDENT C 1 0 Sld. Entid.? Saldo Entid Ent.Blc. Saldo Entidade? Saldo Entidade Entity Balance @! - x x x x x x x x x x x x x x x x - - 1 x x - - - - - - - - 1=Processamento;2=Saldo Anterior;3=Saldo Atual;4=Variacao 1=Procesamiento;2=Saldo Anterior;3=Saldo Actual;4=Variacion 1=Processing;2=Prev.Blc.;3=Current Blc.;4=Variation - - - - - S - - N N N - - - 1 2 - - - 43811 0
CVF 18 CVF_FATSLD C 1 0 Fator Entid? Factor Entid Ent.Fac. Fator Entidade? Factor Entidad Entity Factor @! - x x x x x x x x x x x x x x x x - - 1 x x - - - N A R - - 1=Matem;2=Inverte 1=Matem;2=Invierte 1=Mathem.;2=Inv. - - - - - S - - N N N - - - 1 2 - - - 43812 0
CVF 19 CVF_DETHCG C 200 0 Cont. Descr. Cont. Descr. Desc cont Continuação Descr Ent Ger Continuac. Descr Ent Genr Cont. Desc. Inf. Ger @!S40 - x x x x x x x x x x x x x x x x - - 1 x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 43813 0
CVF 20 CVF_TPVALO C 1 0 Sim. Vl. Sim. Val. Vl. Sym. Sim. Vl. Sim. Val. Vl. Sym. @! - x x x x x x x x x x x x x x x x - - 1 x - - - S A R - - D=Padrao D/C;S=Imprime Sinais;P=Parenteses;C=Imprime C;N=Sinal Neg.Credor D=Estandar D/C;S=Imprime Signos;P=Parentesis;C=Imprime C;N=Signo Neg.Acreedor D=D/C Pattern;S=Prints Signs;P=Brackets;C= Prints C;N=Creditor Neg. Sign - - - - - S - - N - N - - - 1 2 - - - 43814 0
CVF 21 CVF_PICTUR C 45 0 Pic Ent Ger Pic Ent Ger Man.Ent.Pic. Picture Ent. Gerencial Picture Ent. Gerencial Management Ent. Picture @! - x x x x x x x x x x x x x x x x - - 1 x - - - S A R - - - - - - - - - - S - - N - N - - - 1 2 - - - 43815 0

Índices da Tabela CVF (4 índices)

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_
CVF 1 CVF_FILIAL+CVF_CODIGO+CVF_CONTAG+CVF_ORDEM Cod Visao + Entid Gerenc + Ordem Cod. vision + Ent. Gestion + Orden View Code + Manag. Ent. + Order S - - S 2 3 - 6731 0
CVF 2 CVF_FILIAL+CVF_CODIGO+CVF_CTASUP+CVF_ORDEM+CVF_CONTAG Cod Visao + Entid Super + Ordem + Entid Gerenc Cod. vision + Entid Super + Orden + Ent. Gestion View Code + Sup.Entity + Order + Manag. Ent. S - - N 2 3 - 6732 0
CVF 3 CVF_FILIAL+CVF_DESCCG Desc Ent Ger Desc Ent Ger Mag.Ent.Desc S - - S 2 3 - 6733 0
CVF 4 CVF_FILIAL+CVF_CODIGO+CVF_ORDEM Cod Visao + Ordem Cod. vision + Orden View Code + Order S - - S 2 3 - 6734 0

Perguntas frequentes

Para que serve a tabela CVF no Protheus?

Ela é utilizada para estrutura da visão dentro do sistema ERP Protheus.

Como consultar os campos da tabela CVF?

Nesta página você pode visualizar todos os campos, incluindo tipo, tamanho e validações.

O que são os índices da tabela CVF?

Os índices são estruturas que melhoram a performance de busca e acesso aos dados dentro do Protheus.

Exemplo de consulta SQL da tabela CVF

Modelo de query gerado automaticamente com base na estrutura da tabela.

SELECT
    CVF_FILIAL,
    CVF_CODIGO,
    CVF_CONTAG,
    CVF_ORDEM,
    CVF_CLASSE,
    CVF_CTASUP,
    CVF_DESCCG,
    CVF_NORMAL,
    CVF_COLUNA,
    CVF_NEGRIT,
    CVF_TOTAL,
    CVF_SEPARA,
    CVF_TRACO,
    CVF_IDENT,
    CVF_TOTVIS,
    CVF_VISENT,
    CVF_SLDENT,
    CVF_FATSLD,
    CVF_DETHCG,
    CVF_TPVALO,
    CVF_PICTUR
FROM CVF
WHERE
    D_E_L_E_T_ = ' '
    AND CVF_FILIAL = 'VALOR'
    AND CVF_CODIGO = 'VALOR'
    AND CVF_CONTAG = 'VALOR'
    AND CVF_ORDEM = 'VALOR'
    AND CVF_CLASSE = 'VALOR'
    AND CVF_CTASUP = 'VALOR'
    AND CVF_DESCCG = 'VALOR'
    AND CVF_NORMAL = 'VALOR'
    AND CVF_COLUNA = 'VALOR'
    AND CVF_IDENT = 'VALOR'
    AND CVF_TOTVIS = 'VALOR'
    AND CVF_VISENT = 'VALOR'
    AND CVF_SLDENT = 'VALOR'
    AND CVF_FATSLD = 'VALOR'
    AND CVF_DETHCG = 'VALOR'
    AND CVF_TPVALO = 'VALOR'
    AND CVF_PICTUR = 'VALOR'