database smarmotech LAYOUT (TEXT="veprrp001 Validacion Ventas",STYLE="basic") GRID { Historico [h1 ] Orden [ord ] Sucursal [sc ] Rango: fecha Inicial[f1 ] VALOR BRUTO [BR ] Fecha Final [f2 ] DESCUENTOS [DES ] Cod Cia [c] SUB-TOTAL [SU ] Tipo de Venta [t] ITBIS [IT ] Numero de Factura(s)[b ] NETO [NE ] Condicion Pago [k1 ] Conduce [c1 ] Tipo Cliente [t1][t11 ] } end tables vetb00002 ATTRIBUTES COMBOBOX sc = formonly.sucid; COMBOBOX h1 = formonly.historico,INCLUDE=("SI","NO"),DEFAULT="NO"; COMBOBOX ord = formonly.orden, ITEMS=(("T","TIPO VENTAS"),("F","FACTURAS"),("N","NCF")),DEFAULT="T"; c = vetb00002.cod_cia; k1 = vetb00002.cond_pago; f1 = formonly.fecha1 type date, autonext,comments="Digite Fecha Inicial", format = "dd/mm/yyyy"; f2 = formonly.fecha2 type date, autonext,comments="Digite Fecha Final", format = "dd/mm/yyyy"; t = formonly.ventas,autonext, comments="1 - Ventas Locales 2 - Ventas Exportacion - Ambas"; b = vetb00002.factura; t1 = vetb00002.tipo_cliente; t11 = formonly.sec_cliente; br = formonly.valor_bruto; des = formonly.descuento; su = formonly.sub_total; it = formonly.itbis; ne = formonly.neto; c1 = formonly.conduce; instructions delimiters " " end