Dicionário Protheus
Início

Tabela VIF no Protheus

Integração Ppa

O que é a tabela VIF no Protheus?

A tabela VIF faz parte do sistema ERP Protheus da TOTVS e é utilizada para integração ppa.

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

Propriedades da Tabela

Propriedade Valor
X2_CHAVE VIF
X2_PATH \DATA\
X2_ARQUIVO VIF990
X2_NOME Integração Ppa
X2_NOMESPA Integración Ppa
X2_NOMEENG PPA Integration
X2_ROTINA -
X2_MODO E
X2_MODOUN E
X2_MODOEMP E
X2_DELET 0
X2_TTS -
X2_UNICO -
X2_PYME S
X2_MODULO 14
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_ 10469
R_E_C_D_E_L_ 0

Campos da Tabela VIF (57 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_
VIF 01 VIF_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 - - - - S V - - - - - - - - - 033 - S - - N N N - - - 1 2 - - - 170697 0
VIF 02 VIF_CODMAR C 3 0 Cod. Marca Cod. Marca Brand Code Codigo da Marca Codigo de Marca Brand Code @!S3 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170698 0
VIF 03 VIF_DATEST D 8 0 Dt. Estoque Fc. Estoque Stock Dt Data do Estoque Fecha de Estoque Stock Date - - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170699 0
VIF 04 VIF_MODALI C 1 0 Modalidade Modalidad Modality Modalidade Modalidad Modality @!S1 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170700 0
VIF 05 VIF_GOVEVL N 12 2 Governo VL Gobierno VL Govern NS Governo Venda Liquida Gobierno Venta Liquida Government Net Sale @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170701 0
VIF 06 VIF_GOVECV N 12 2 Governo CV Gobierno CV Governo CS Governo Custo das Vendas Gobierno Costo de Ventas Government Cost of Sales @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170702 0
VIF 07 VIF_FROTVL N 12 2 Frotista VL Flotista VL Fleet NS Frotista Venda Liquida Flotista Venta Liquida Fleet net sale @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170703 0
VIF 08 VIF_FROTCV N 12 2 Frotista CV Flotista CV Fleet CS Frotista Custo das Vendas Flotista Costo de Ventas Fleet cost of sales @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170704 0
VIF 09 VIF_SEGUVL N 12 2 Segurad VL Segurad VL Insur. NS Seguradora Venda Liquida Seguradora Venta Liquida Insurer Net Sale @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170705 0
VIF 10 VIF_SEGUCV N 12 2 Segurad CV Segurad CV Insur. CS Seguradora Custo Vendas Seguradora Custo Ventas Insurer Cost of Sales @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170706 0
VIF 11 VIF_LPECVL N 12 2 Lj Pecas VL Td. Rep.VL Parts NS Lj Pecas Vendas Liquida Tienda Piezas Ventas Liqu Unit Parts Net Sales @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170707 0
VIF 12 VIF_LPECCV N 12 2 Lj Pecas CV Td Piezas CC Parts CS Lj Pecas Custo das Vendas Piezas Costo de Venta Mos Unit Parts Cost of Sales @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170708 0
VIF 13 VIF_OFINVL N 12 2 Oficina VL Taller VL Wrkshp NS Oficina Venda Liquida Oficina Venta Liquida Workshop Net Sale @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170709 0
VIF 14 VIF_OFINCV N 12 2 Oficina CV Taller CV Wrkshp CS Oficina Custo das Vendas Taller Costo de Ventas Workshop Cost of Sales @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170710 0
VIF 15 VIF_REDEVL N 12 2 Rede VL Red VL Chain NV Rede Venda Liquida Red Venta Liquida Chain Net Sale @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170711 0
VIF 16 VIF_REDECV N 12 2 Rede CV Red CV Chain CS Rede Custo das Vendas Red Costo de Ventas Chain Cost of Sales @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170712 0
VIF 17 VIF_CBALVL N 12 2 Balcao VL Mostr. VL Counter NS Balcao Venda Liquida Venta Liquida Mostrador Counter Net Sale @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170713 0
VIF 18 VIF_CBALCV N 12 2 Balcao CV Mostrador CV Counter CS Balcao Custo das Vendas Costo de Ventas Mostrador Counter Cost of Sales @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170714 0
VIF 19 VIF_DECLVL N 12 2 Dem Clien VL Otr Clien VL Oth.Cus.N.S. Demais Clientes Vda Liq Otros Clientes Vta. Liq. Other Customers Net Sales @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170715 0
VIF 20 VIF_DECLCV N 12 2 Dem Clien CV Otr Clien CV Other Cli CS Demais Clientes Cst Venda Demas Clientes Cst Venta Other Clien Cost of Sales @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170716 0
VIF 21 VIF_GARAVL N 12 2 Garantia VL Garantia VL Guarantee NS Garantia Venda Liquida Garantia Venta Liquida Guarantee Net Sale @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170717 0
VIF 22 VIF_GARACV N 12 2 Garantia CV Garantia CV Guarantee CS Garantia Custo das Vendas Garantia Costo de Ventas Guarantee Cost of Sales @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170718 0
VIF 23 VIF_COINVL N 12 2 Cons Int VL Cons Int VL Int Cons NS Cons Interno Venda Liquid Cons Interno Venta Liquid Internal cons. Net Sale @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170719 0
VIF 24 VIF_COINCV N 12 2 Cons Int CV Cons Int CV Int Cons CS Cons Interno Cst Vendas Cons Interno Cst Ventas Internal cons. Cost of Sa @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170720 0
VIF 25 VIF_ACESVL N 12 2 Aces VL Aces VL Access NS Acessorios Venda Liquida Acesorios Venta Liquida Accessories Net Sale @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170721 0
VIF 26 VIF_ACESCV N 12 2 Aces CV Aces CV Access CS Acessorios Custo Vendas Acessorios Costo Ventas Accessories Cost Sales @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170722 0
VIF 27 VIF_TACEVL N 12 2 Tot Ace VL Tot Ace VL Acc tot NS Tot Acess. Venda Liquida Tot Aces. Venta Liquida Tot Access Net Sale @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170723 0
VIF 28 VIF_TACECV N 12 2 Tot Ace CV Tot Ace CV Acc tot CS Tot Acess. Custo Vendas Tot Aces. Costo Ventas Tot Access Cost of Sales @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170724 0
VIF 29 VIF_OUVEVL N 12 2 Out Venda VL Otr Venta VL Oth Sale NS Outras Vendas Vda Liquida Otras Ventas Vta Liquida Other Sales Net Sale @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170725 0
VIF 30 VIF_OUVECV N 12 2 Out Venda CV Otr Venta CV Oth Sale CS Outras Vendas Cst Vendas Outras Ventas Cst Ventas Other Sales Cost of Sales @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170726 0
VIF 31 VIF_TTGEVL N 12 2 Tt Geral VL Tot Gral. VN Grnad Tt NS Tt Geral Vda Liquida Total Gral. Vta. Neta Net cost salegrand total @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170727 0
VIF 32 VIF_TTGECV N 12 2 Tt Geral CV Tot Gral. CV Grnad Tt CS Tt Geral Cst Liquido Tot Gral. Costo Neto Net cost net grand total @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170728 0
VIF 33 VIF_VEPEVL N 12 2 Vend Pend VL Vent Pend VL PendSale NS Venda Pendente Vda Liquid Venta Pendente Vda Liquid Pending sale net sale @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170729 0
VIF 34 VIF_VEPECV N 12 2 Vend Pend CV Vent Pend CV PendSale CST Venda Pendente Cst Liquid Venta Pendente Cst Liquid Pending sale net cst @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170730 0
VIF 35 VIF_MREDEO N 12 2 Rede Red Network Rede Red Network @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170731 0
VIF 36 VIF_LJPECA N 12 2 Lojas Pecas Tiendas Rep. Parts Store Lojas de Pecas Tiendas de Piezas Parts store @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170732 0
VIF 37 VIF_FABRIC N 12 2 Fabricante Fabricante Manufacturer Fabricante Fabricante Manufacturer @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170733 0
VIF 38 VIF_TRETER N 12 2 Tot Red Terc Tot Red Terc Thir.Net.Tot Total Rede Terceiros Total Red Terceros Total network Third parti @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170734 0
VIF 39 VIF_OUTCOM N 12 2 Outras Compr Otras Compr Other purch. Outras Compras Otras Compras Other purchases @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170735 0
VIF 40 VIF_COMESP N 12 2 Compras Esp Compras Esp Specific Pur Compras Especificas Compras Especificas Specific purchases @E 999,999,999.99 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170736 0
VIF 41 VIF_GERENT N 3 0 Gerente Gerente Manager Gerente Gerente Manager @E 999 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170737 0
VIF 42 VIF_ADMOUT N 3 0 Adm Outros Adm. Otros Adm Other Administrativo Outros Administrativo Otros Administrative Other @E 999 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170738 0
VIF 43 VIF_BALVAR N 3 0 Balcao Varej Mostr. p/men Ret. Counter Vendedores Balcao Varejo Vendedores p/menor Retail Sales Clerk @E 999 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170739 0
VIF 44 VIF_BALOFI N 3 0 Balcao Ofici Mostr Taller Rep.Sh.Count Vendedores Balcao Oficina Vendrs. Mostrador Taller Repair Shop Sales Clerk @E 999 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170740 0
VIF 45 VIF_VENATA N 3 0 Vda Atacado Vta p/Mayor SalesWholesa Vendedores Atacado Vendedores por Mayor Sales wholesale @E 999 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170741 0
VIF 46 VIF_VENACE N 3 0 Vda Acessor. Vta Accesor. Sales Acces. Vendedores Acessorios Vendedores Accesorios Sales Accessories @E 999 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170742 0
VIF 47 VIF_NOMRES C 15 0 Nome Respons Nombre Resp. Respon. Name Nome do Responsavel Nombre del Responsable Responsible Name @! - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170743 0
VIF 48 VIF_VEIVEN N 6 0 Veics Vendid Vehics Vendi Vehic. Sold Veiculos Vendidos Vehiculos Vendidos Vehicles sold @E 999,999 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170744 0
VIF 49 VIF_VEIOFI N 6 0 Veics Oficin Vehics Ofici Vehic.Wrkshp Veiculos Oficina Vehiculos Taller Vehicles workshop @E 999,999 - x x x xx x x x x x x x x x x x x x x - - 1 x x x - - - S V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 170745 0
VIF 50 VIF_MESANO C 4 0 Mes/Ano Ref Mes/Ano Ref Ref.Mth/Year Mes/Ano de Ref do Relato Mes/Ano de Ref del Inform Report refer. Mth./Year - - x x xx x x x x x x x x x x x x x - - 1 xxxxxx x - - - N A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 170746 0
VIF 51 VIF_TPECAC N 12 2 Tt Pec/Ace Tt Rep/Acc Tt Pec/Ace Total Pecas/Acessorios Total Reptos/Accesorios Total Pecas/Acessorios @E 999,999,999.99 - x x xx x x x x x x x x x x x x x - - 1 xxxxxx x - - - N A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 170747 0
VIF 52 VIF_TOUTRO N 12 2 Tt Outros Tt Outros Tt Others Tt Outros Tt Outros Tt Others @E 999,999,999.99 - x x xx x x x x x x x x x x x x x - - 1 xxxxxx x - - - N A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 170748 0
VIF 53 VIF_EPECAC N 12 2 Ent Pec/Ace Ent Pec/Ace Inf Par/Acc. Ent Pec/Ace Ent Pec/Ace Int Par/ Acc. @E 999,999,999.99 - x x xx x x x x x x x x x x x x x - - 1 xxxxxx x - - - N A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 170749 0
VIF 54 VIF_EOUTRO N 12 2 Entr Outros Entr Otros Inflow Other Entr Outros Entr Otros Entr Outros @E 999,999,999.99 - x x xx x x x x x x x x x x x x x - - 1 xxxxxx x - - - N A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 170750 0
VIF 55 VIF_SPECAC N 12 2 Saida Pec/Ac Salida Rep/A Pec/Ac Outfl Saida Pec/Ac Salida Rep/Ac Saida Pec/Ac @E 999,999,999.99 - x x xx x x x x x x x x x x x x x - - 1 xxxxxx x - - - N A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 170751 0
VIF 56 VIF_SOUTRO N 12 2 Saida Outros Salidas Otr. Outflow Othe Saida Outros Salida Otros Saida Outros @E 999,999,999.99 - x x xx x x x x x x x x x x x x x - - 1 xxxxxx x - - - N A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 170752 0
VIF 57 VIF_QTDORI N 7 0 Qtd Pc Ori Ctd Pc Ori Orig Pc Qty Qtd Pc Ori Ctd Pc Orig Qtd Pc Ori @E 9,999,999 - x x xx x x x x x x x x x x x x x - - 1 xxxxxx x - - - N A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 170753 0

Índices da Tabela VIF (1 í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_
VIF 1 VIF_FILIAL+VIF_CODMAR+DTOS(VIF_DATEST)+VIF_MODALI Cod. Marca + Dt. Estoque + Modalidade Cod. Marca + Fc. Estoque + Modalidad Brand Code + Stock Dt + Modality S - - S 2 3 - 24742 0

Perguntas frequentes

Para que serve a tabela VIF no Protheus?

Ela é utilizada para integração ppa dentro do sistema ERP Protheus.

Como consultar os campos da tabela VIF?

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

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

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

Exemplo de consulta SQL da tabela VIF

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

SELECT
    VIF_FILIAL,
    VIF_CODMAR,
    VIF_DATEST,
    VIF_MODALI,
    VIF_GOVEVL,
    VIF_GOVECV,
    VIF_FROTVL,
    VIF_FROTCV,
    VIF_SEGUVL,
    VIF_SEGUCV,
    VIF_LPECVL,
    VIF_LPECCV,
    VIF_OFINVL,
    VIF_OFINCV,
    VIF_REDEVL,
    VIF_REDECV,
    VIF_CBALVL,
    VIF_CBALCV,
    VIF_DECLVL,
    VIF_DECLCV,
    VIF_GARAVL,
    VIF_GARACV,
    VIF_COINVL,
    VIF_COINCV,
    VIF_ACESVL,
    VIF_ACESCV,
    VIF_TACEVL,
    VIF_TACECV,
    VIF_OUVEVL,
    VIF_OUVECV,
    VIF_TTGEVL,
    VIF_TTGECV,
    VIF_VEPEVL,
    VIF_VEPECV,
    VIF_MREDEO,
    VIF_LJPECA,
    VIF_FABRIC,
    VIF_TRETER,
    VIF_OUTCOM,
    VIF_COMESP,
    VIF_GERENT,
    VIF_ADMOUT,
    VIF_BALVAR,
    VIF_BALOFI,
    VIF_VENATA,
    VIF_VENACE,
    VIF_NOMRES,
    VIF_VEIVEN,
    VIF_VEIOFI,
    VIF_MESANO,
    VIF_TPECAC,
    VIF_TOUTRO,
    VIF_EPECAC,
    VIF_EOUTRO,
    VIF_SPECAC,
    VIF_SOUTRO,
    VIF_QTDORI
FROM VIF
WHERE
    D_E_L_E_T_ = ' '
    AND VIF_FILIAL = 'VALOR'
    AND VIF_CODMAR = 'VALOR'
    AND VIF_DATEST BETWEEN '20260501' AND '20260531'
    AND VIF_MODALI = 'VALOR'
    AND VIF_GOVEVL = 0
    AND VIF_GOVECV = 0
    AND VIF_FROTVL = 0
    AND VIF_FROTCV = 0
    AND VIF_SEGUVL = 0
    AND VIF_SEGUCV = 0
    AND VIF_LPECVL = 0
    AND VIF_LPECCV = 0
    AND VIF_OFINVL = 0
    AND VIF_OFINCV = 0
    AND VIF_REDEVL = 0
    AND VIF_REDECV = 0
    AND VIF_CBALVL = 0
    AND VIF_CBALCV = 0
    AND VIF_DECLVL = 0
    AND VIF_DECLCV = 0
    AND VIF_GARAVL = 0
    AND VIF_GARACV = 0
    AND VIF_COINVL = 0
    AND VIF_COINCV = 0
    AND VIF_ACESVL = 0
    AND VIF_ACESCV = 0
    AND VIF_TACEVL = 0
    AND VIF_TACECV = 0
    AND VIF_OUVEVL = 0
    AND VIF_OUVECV = 0
    AND VIF_TTGEVL = 0
    AND VIF_TTGECV = 0
    AND VIF_VEPEVL = 0
    AND VIF_VEPECV = 0
    AND VIF_MREDEO = 0
    AND VIF_LJPECA = 0
    AND VIF_FABRIC = 0
    AND VIF_TRETER = 0
    AND VIF_OUTCOM = 0
    AND VIF_COMESP = 0
    AND VIF_GERENT = 0
    AND VIF_ADMOUT = 0
    AND VIF_BALVAR = 0
    AND VIF_BALOFI = 0
    AND VIF_VENATA = 0
    AND VIF_VENACE = 0
    AND VIF_NOMRES = 'VALOR'
    AND VIF_VEIVEN = 0
    AND VIF_VEIOFI = 0
    AND VIF_MESANO = 'VALOR'
    AND VIF_TPECAC = 0
    AND VIF_TOUTRO = 0
    AND VIF_EPECAC = 0
    AND VIF_EOUTRO = 0
    AND VIF_SPECAC = 0
    AND VIF_SOUTRO = 0
    AND VIF_QTDORI = 0