Simulações de Vendas
A tabela SV4 faz parte do sistema ERP Protheus da TOTVS e é utilizada para simulações de vendas.
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 SV4 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 SV4, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | SV4 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | SV4990 |
| X2_NOME | Simulações de Vendas |
| X2_NOMESPA | Simulaciones de Venta |
| X2_NOMEENG | Sales Simulations |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | - |
| X2_PYME | S |
| X2_MODULO | 0 |
| 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_ | 8721 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SV4 | 01 | V4_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 | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145854 | 0 |
| SV4 | 02 | V4_VEICULO | C | 15 | 0 | Veiculo | Vehiculo | Vehicle | Codigo do Veiculo | Codigo del Vehiculo | Vehicle Code | @! | ExistChav("SV1",M->V1_CODIGO,,"EXISTVEI") | x x x xx x x x x x x x x x x x x x | GetSx8Num("SV1") | - | 1 | xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 145855 | 0 |
| SV4 | 03 | V4_CHASSI | C | 17 | 0 | Chassi | Chasis | Chassis | Numero do Chassi | Chasis | Chassis Number | @! | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145856 | 0 |
| SV4 | 04 | V4_ANOFAB | C | 2 | 0 | Ano | A±o | Year | Ano de Fabricacao | Ano de Fabricacion | Manufacture Year | 99 | NaoVazio() | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145857 | 0 |
| SV4 | 05 | V4_MODFAB | C | 2 | 0 | Mod | Modelo | Model | Modelo de Fabricacao | Modelo de Fabricacion | Manufacturing Model | 99 | NaoVazio() | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145858 | 0 |
| SV4 | 06 | V4_PRCCOM | N | 16 | 2 | Preco Compra | Prc Compra | Purchase Pr. | Preco de Compra | Precio de Compra | Purchase Price | @E 999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145859 | 0 |
| SV4 | 07 | V4_PRCTAB | N | 16 | 2 | Preco Tabela | Precio Tabla | List Price | Preco de Tabela | Precio de la Tabla | List Price | @E 999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145860 | 0 |
| SV4 | 08 | V4_PERCUS | N | 6 | 2 | Perc. Custo | % Costo | Perc.Cost | % Financeiro de Estoque | % Financiero de Stock | % Inventory Financial | @E 999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145861 | 0 |
| SV4 | 09 | V4_CUSTEST | N | 16 | 2 | Valor Custo | Valor Costo | Cost Value | Val. Custo Finan. Estoque | Valor Costo Finan. Stock | Inventory Fin. Cost Value | @E 9,999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145862 | 0 |
| SV4 | 10 | V4_REPAROS | N | 16 | 2 | Reparos | Arreglos | Repair | Valor do Reparo efetuado | Valor Arreglo Efectuado | Value of Repair | @E 9,999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145863 | 0 |
| SV4 | 11 | V4_VALIPVA | N | 16 | 2 | Valor IPVA | Valor IPVA | IPVA Value | Valor do IPVA | Impuesto sobre Vehiculos | IPVA Value | @E 9,999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145864 | 0 |
| SV4 | 12 | V4_DOCTOS | N | 16 | 2 | Valor Doctos | Valor Doc. | Doc.Value | Valor de Documentos... | Valor de Documentos... | Document Value | @E 9,999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145865 | 0 |
| SV4 | 13 | V4_FRETE | N | 16 | 2 | Valor Frete | Valor Flete | Freight | Valor de Frete | Valor de Flete | Freight Value | @E 9,999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145866 | 0 |
| SV4 | 14 | V4_SEGURO | N | 16 | 2 | Seguros | Seguros | Insurance | Valor do Seguro | Valor del Seguro | Insurance Value | @E 9,999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145867 | 0 |
| SV4 | 15 | V4_PRCCUST | N | 16 | 2 | Preco Custo | Precio Costo | Cost Price | Preco de Custo do Veiculo | Precio de Costo VehÝculo | Vehicle Cost Price | @E 9,999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145868 | 0 |
| SV4 | 16 | V4_PERMARG | N | 6 | 2 | Perc. Margem | % Margen | Margin % | Perc. Margem para Venda | % de Margen de Venta | Margin Percentage /Sales | @E 999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145869 | 0 |
| SV4 | 17 | V4_VALMARG | N | 16 | 2 | Valor Margem | Valor Margen | Margin Value | Valor da Margem de Venda | Valor de Margen de Venta | Value of Sales Margin | @E 9,999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145870 | 0 |
| SV4 | 18 | V4_PRECO | N | 16 | 2 | Preco Total | Precio Total | Total Price | Preco do Veiculo | Precio del Vehiculo | Vehicle Price | @E 9,999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145871 | 0 |
| SV4 | 19 | V4_PERDESC | N | 6 | 2 | Perc. Desc. | % Descuento | % Discount | Perc. de Desconto | Porcentaje del Descuento | Discount Percentage | @E 999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145872 | 0 |
| SV4 | 20 | V4_DESCONT | N | 16 | 2 | Desconto | Descuento | Discount | Valor do Desconto | Valor del Descuento | Discount Value | @E 9,999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145873 | 0 |
| SV4 | 21 | V4_PRCVEN | N | 16 | 2 | Preco Venda | Precio Venta | Sales Price | Preco de Venda | Precio de Venta | Sales Price | @E 9,999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145874 | 0 |
| SV4 | 22 | V4_PERCOMI | N | 6 | 2 | Perc. Comiss | % Comision | Commission % | Perc. Comissao/Vendedor | % Comision/Vendedor | Commission / Seller % | @E 999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145875 | 0 |
| SV4 | 23 | V4_COMISS | N | 16 | 2 | Valor Frete | Valor Flete | Freight Val. | Valor de Frete | Valor de Flete | Freight Value | @E 9,999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145876 | 0 |
| SV4 | 24 | V4_REVENDA | C | 6 | 0 | Revenda | Revendedor | Resale | Codigo da Revenda | Codigo del Revendedor | Resale Code | @! | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145877 | 0 |
| SV4 | 25 | V4_LOJAREV | C | 2 | 0 | Loja | Tienda | Unit | Loja da Revenda | Tienda del Revendedor | Resale Unit | @! | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 002 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145878 | 0 |
| SV4 | 26 | V4_LOCAL | C | 2 | 0 | Armazem | Deposito | Warehouse | Armazem do Veiculo | Deposito del VehÝculo | Vehicle Warehouse | @! | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 024 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145879 | 0 |
| SV4 | 27 | V4_PEDVEN | C | 6 | 0 | Ped. Venda | Pedido Venta | Sales Order | Codigo do Pedido de Venda | Codigo del Pedido Venta | Sales Order Code | @! | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145880 | 0 |
| SV4 | 28 | V4_PERIMPO | N | 6 | 2 | % de Imposto | % Impuesto | % Tax | Percentual de Impostos | Porcentaje de Impuestos | Tax Percentage | @ 999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145881 | 0 |
| SV4 | 29 | V4_VALIMPO | N | 16 | 2 | Valor Imp. O | Valor Imp. O | Tax Value O | Valor do Imposto O | Valor del Impuesto O | Tax Value O | @ 9,999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145882 | 0 |
| SV4 | 30 | V4_ENTRADA | N | 16 | 2 | Entrada | Vlr Entrada | Down Payment | Valor de Entrada | Valor de Entrada | Down Payment | @ 9,999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145883 | 0 |
| SV4 | 31 | V4_PARCELA | N | 3 | 0 | Num.Parcelas | Num. Cuotas | Installments | N·mero de Parcelas | Numero de Cuotas | Number of Installments | 999 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145884 | 0 |
| SV4 | 32 | V4_INDICE | N | 10 | 6 | Indice | Indice | Index | Inidice | Indice | Index | @ 999.99999 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145885 | 0 |
| SV4 | 33 | V4_FINANCI | N | 16 | 2 | Financiado | Financiado | Financed | Valor Financiado | Valor Financiado | Financed Value | @ 9,999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145886 | 0 |
| SV4 | 34 | V4_VPARCE | N | 16 | 2 | Parcela | Cuota | Installment | Valor da Parcela | Valor de la Cuota | Value of installment | @ 9,999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145887 | 0 |
| SV4 | 35 | V4_OUTROS | N | 16 | 2 | Outros | Otros | Others | Outros Valores | Otros Valores | Other Values | @ 9,999,999,999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145888 | 0 |
| SV4 | 36 | V4_DESCTOT | N | 6 | 2 | Desconto Tot | Dsct. Total | Total Disc. | Desconto Total | Descuento Total | Total Discount | @ 999.99 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145889 | 0 |
| SV4 | 37 | V4_STATUS | C | 2 | 0 | Status | Estatus | Status | Status | Estatus | Status | - | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145890 | 0 |
| SV4 | 38 | V4_USUARIO | C | 15 | 0 | Usuario | Usuario | User | Usuario | Usuario | User | @! | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145891 | 0 |
| SV4 | 39 | V4_CONDPAG | C | 3 | 0 | Cond. Pagto | Cond. Pago | Payment Term | Código da Cond. Pagto | Codigo Condicion de Pago | Payment Term Code | 999 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145892 | 0 |
| SV4 | 40 | V4_ADMINIS | C | 3 | 0 | Financiadora | Financista | Financ.Inst. | Código da Financiadora | Codigo del Financista | Financing Institut. Code | 999 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145893 | 0 |
| SV4 | 41 | V4_PLACA | C | 7 | 0 | Placa | Chapa | Numberplate | Placa | Chapa | Numberplate | @R XXX 9999 | - | x x x xx x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 145894 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SV4 | 1 | V4_FILIAL+V4_VEICULO+V4_CHASSI | Veiculo + Chassi | Vehiculo + Chasis | Vehicle + Chassis | S | - | - | S | 2 | 3 | - | 20768 | 0 |
Ela é utilizada para simulações de vendas 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
V4_FILIAL,
V4_VEICULO,
V4_CHASSI,
V4_ANOFAB,
V4_MODFAB,
V4_PRCCOM,
V4_PRCTAB,
V4_PERCUS,
V4_CUSTEST,
V4_REPAROS,
V4_VALIPVA,
V4_DOCTOS,
V4_FRETE,
V4_SEGURO,
V4_PRCCUST,
V4_PERMARG,
V4_VALMARG,
V4_PRECO,
V4_PERDESC,
V4_DESCONT,
V4_PRCVEN,
V4_PERCOMI,
V4_COMISS,
V4_REVENDA,
V4_LOJAREV,
V4_LOCAL,
V4_PEDVEN,
V4_PERIMPO,
V4_VALIMPO,
V4_ENTRADA,
V4_PARCELA,
V4_INDICE,
V4_FINANCI,
V4_VPARCE,
V4_OUTROS,
V4_DESCTOT,
V4_STATUS,
V4_USUARIO,
V4_CONDPAG,
V4_ADMINIS,
V4_PLACA
FROM SV4
WHERE
D_E_L_E_T_ = ' '
AND V4_FILIAL = 'VALOR'
AND V4_VEICULO = 'VALOR'
AND V4_CHASSI = 'VALOR'
AND V4_ANOFAB = 'VALOR'
AND V4_MODFAB = 'VALOR'
AND V4_PRCCOM = 0
AND V4_PRCTAB = 0
AND V4_PERCUS = 0
AND V4_CUSTEST = 0
AND V4_REPAROS = 0
AND V4_VALIPVA = 0
AND V4_DOCTOS = 0
AND V4_FRETE = 0
AND V4_SEGURO = 0
AND V4_PRCCUST = 0
AND V4_PERMARG = 0
AND V4_VALMARG = 0
AND V4_PRECO = 0
AND V4_PERDESC = 0
AND V4_DESCONT = 0
AND V4_PRCVEN = 0
AND V4_PERCOMI = 0
AND V4_COMISS = 0
AND V4_REVENDA = 'VALOR'
AND V4_LOJAREV = 'VALOR'
AND V4_LOCAL = 'VALOR'
AND V4_PEDVEN = 'VALOR'
AND V4_PERIMPO = 0
AND V4_VALIMPO = 0
AND V4_ENTRADA = 0
AND V4_PARCELA = 0
AND V4_INDICE = 0
AND V4_FINANCI = 0
AND V4_VPARCE = 0
AND V4_OUTROS = 0
AND V4_DESCTOT = 0
AND V4_STATUS = 'VALOR'
AND V4_USUARIO = 'VALOR'
AND V4_CONDPAG = 'VALOR'
AND V4_ADMINIS = 'VALOR'
AND V4_PLACA = 'VALOR'