modificaciones facturacion electronica

This commit is contained in:
Luis
2026-10-15 16:07:57 -04:00
parent 07649704b1
commit ba982b7635
158 changed files with 206301 additions and 27838 deletions
+539
View File
@@ -0,0 +1,539 @@
<?xml version='1.0' encoding='windows-1252'?>
<Form name="vefmmt001.tmp" build="3.20.05" text="CREACION FACTURAS VENTAS" style="basic" width="147" height="40">
<ActionDefaultList>
<ActionDefault name="bncf" image="about"/>
<ActionDefault name="anular" image="delete"/>
</ActionDefaultList>
<ToolBar name="toolbar1">
<ToolBarItem name="nuevo" image="new" text="Factura" comment="Nueva Factura">
<LStr text="Factura" comment="Nueva Factura"/>
</ToolBarItem>
<ToolBarItem name="buscar" image="find" text="Buscar Factura" comment="Criterio de busqueda">
<LStr text="Buscar Factura" comment="Criterio de busqueda"/>
</ToolBarItem>
<ToolBarSeparator name="toolbarseparator1"/>
<ToolBarItem name="salir" image="quit" text="Salir">
<LStr text="Salir"/>
</ToolBarItem>
</ToolBar>
<LStr text="CREACION FACTURAS VENTAS"/>
<Grid name="grid1" width="147" height="40">
<Group name="group1" text="Encabezado" posY="0" posX="1" gridWidth="82" gridHeight="6">
<LStr text="Encabezado"/>
<Label name="label1" width="9" text="Compania:" posY="1" posX="5" gridWidth="9">
<LStr text="Compania:"/>
</Label>
<FormField name="formonly.cod_cia" colName="cod_cia" fieldId="0" sqlTabName="formonly" tabIndex="1">
<Edit width="2" autoNext="1" posY="1" posX="18" gridWidth="2"/>
</FormField>
<FormField name="formonly.compania" colName="compania" fieldId="1" sqlTabName="formonly" tabIndex="2" noEntry="1">
<Edit width="53" posY="1" posX="22" gridWidth="53"/>
</FormField>
<Label name="label2" width="6" text="Ventas" posY="2" posX="8" gridWidth="6">
<LStr text="Ventas"/>
</Label>
<FormField name="formonly.ventas" colName="ventas" fieldId="2" sqlTabName="formonly" tabIndex="3">
<ComboBox width="34" posY="2" posX="18" gridWidth="36"/>
</FormField>
<Label name="label33" width="13" text="Descripcion" justify="right" posY="3" posX="1" gridWidth="13">
<LStr text="Descripcion"/>
</Label>
<FormField name="formonly.descripcion_doc" colName="descripcion_doc" fieldId="3" sqlTabName="formonly" tabIndex="65">
<Edit width="37" shift="up" posY="3" posX="18" gridWidth="37"/>
</FormField>
</Group>
<Group name="group2" text="parametros" posY="0" posX="84" gridWidth="22" gridHeight="6">
<LStr text="parametros"/>
<Label text="ITBIS" posY="1" posX="1" gridWidth="5"/>
<FormField name="formonly.ch_itbi" colName="ch_itbi" sqlType="CHAR" fieldId="4" sqlTabName="formonly" tabIndex="4" defaultValue="S" notNull="1" required="1">
<CheckBox width="8" valueChecked="S" valueUnchecked="N" posY="1" posX="11" gridWidth="8"/>
</FormField>
<Label text="Membrete" posY="2" posX="1" gridWidth="9"/>
<FormField name="formonly.ch_encabeza" colName="ch_encabeza" sqlType="CHAR" fieldId="5" sqlTabName="formonly" tabIndex="5" defaultValue="S" notNull="1" required="1">
<CheckBox width="8" valueChecked="S" valueUnchecked="N" posY="2" posX="11" gridWidth="8"/>
</FormField>
<Label text="Servicios" posY="3" posX="1" gridWidth="9"/>
<FormField name="formonly.ch_servicios" colName="ch_servicios" sqlType="CHAR" fieldId="6" sqlTabName="formonly" tabIndex="6" defaultValue="N" notNull="1" required="1">
<CheckBox width="8" valueChecked="S" valueUnchecked="N" posY="3" posX="11" gridWidth="8"/>
</FormField>
<Label name="label30" width="7" text="Proforma" posY="4" posX="1" gridWidth="7">
<LStr text="Proforma"/>
</Label>
<FormField name="formonly.proforma" colName="proforma" fieldId="7" sqlTabName="formonly" tabIndex="63" defaultValue="CONDUCE">
<CheckBox width="7" valueChecked="PROFORMA" valueUnchecked="CONDUCE" posY="4" posX="11" gridWidth="7"/>
</FormField>
</Group>
<Group name="group8" text="MENSAJES DGII" posY="2" posX="116" gridWidth="31" gridHeight="6">
<LStr text="MENSAJES DGII"/>
<FormField name="formonly.estado" colName="estado" fieldId="8" sqlTabName="formonly" tabIndex="67">
<Edit width="10" posY="1" posX="2" gridWidth="10"/>
</FormField>
<FormField name="formonly.trackid" colName="trackid" fieldId="9" sqlTabName="formonly" tabIndex="68">
<Edit width="26" scroll="1" posY="3" posX="2" gridWidth="26"/>
</FormField>
<FormField name="formonly.mensaje_dgii" colName="mensaje_dgii" fieldId="10" sqlTabName="formonly" tabIndex="69">
<Edit width="28" scroll="1" posY="4" posX="2" gridWidth="28"/>
</FormField>
</Group>
<Group name="group3" text="Documentos" posY="6" posX="1" gridWidth="114" gridHeight="8">
<LStr text="Documentos"/>
<Label name="label5" width="5" text="Orden" posY="1" posX="2" gridWidth="5">
<LStr text="Orden"/>
</Label>
<FormField name="formonly.orden" colName="orden" fieldId="11" sqlTabName="formonly" tabIndex="13">
<Edit width="6" posY="1" posX="13" gridWidth="6"/>
</FormField>
<Label name="label9" width="5" text="Fecha" posY="1" posX="35" gridWidth="5">
<LStr text="Fecha"/>
</Label>
<FormField name="formonly.fecha_cotizacion" colName="fecha_cotizacion" fieldId="12" sqlTabName="formonly" tabIndex="8">
<Edit width="10" format="dd/mm/yyyy" posY="1" posX="42" gridWidth="10"/>
</FormField>
<Label name="label26" width="10" text="ALMACEN" posY="2" posX="2" gridWidth="10">
<LStr text="ALMACEN"/>
</Label>
<FormField name="formonly.bodega" colName="bodega" fieldId="13" sqlTabName="formonly" tabIndex="58" defaultValue="1">
<ComboBox width="16" posY="2" posX="13" gridWidth="18"/>
</FormField>
<Label name="label4" width="7" text="CONDUCE" posY="2" posX="33" gridWidth="7">
<LStr text="CONDUCE"/>
</Label>
<FormField name="formonly.conduce" colName="conduce" fieldId="14" sqlTabName="formonly" tabIndex="9" required="1">
<Edit width="6" autoNext="1" posY="2" posX="42" gridWidth="6"/>
</FormField>
<Label name="label10" width="14" text="Fecha Conduce:" posY="2" posX="50" gridWidth="14">
<LStr text="Fecha Conduce:"/>
</Label>
<FormField name="formonly.fecha_conduce" colName="fecha_conduce" fieldId="15" sqlTabName="formonly" tabIndex="10">
<Edit width="15" format="dd/mm/yyyy" comment="Digite La Fecha del Conduce" posY="2" posX="65" gridWidth="15">
<LStr comment="Digite La Fecha del Conduce"/>
</Edit>
</FormField>
<Label name="label8" width="7" text="Factura" posY="2" posX="81" gridWidth="7">
<LStr text="Factura"/>
</Label>
<FormField name="formonly.factura" colName="factura" fieldId="16" sqlTabName="formonly" tabIndex="11" noEntry="1" required="1">
<Edit width="6" posY="2" posX="97" gridWidth="6"/>
</FormField>
<Button name="anular" width="7" tabIndex="12" posY="2" posX="105" gridWidth="7"/>
<Label name="label3" width="10" text="Cotizacion" posY="3" posX="2" gridWidth="10">
<LStr text="Cotizacion"/>
</Label>
<FormField name="formonly.pcotizacion" colName="pcotizacion" fieldId="17" sqlTabName="formonly" tabIndex="7">
<Edit width="6" posY="3" posX="13" gridWidth="6"/>
</FormField>
<Label name="label11" width="11" text="Fecha Orden" posY="3" posX="50" gridWidth="11">
<LStr text="Fecha Orden"/>
</Label>
<FormField name="formonly.fecha_orden" colName="fecha_orden" fieldId="18" sqlTabName="formonly" tabIndex="14">
<Edit width="15" format="dd/mm/yyyy" comment="Digite La Fecha de La Orden" posY="3" posX="65" gridWidth="15">
<LStr comment="Digite La Fecha de La Orden"/>
</Edit>
</FormField>
<Label name="label7" width="14" text="Fecha Factura:" posY="3" posX="81" gridWidth="14">
<LStr text="Fecha Factura:"/>
</Label>
<FormField name="formonly.fecha_factura" colName="fecha_factura" fieldId="19" sqlTabName="formonly" tabIndex="15">
<Edit width="14" posY="3" posX="97" gridWidth="14"/>
</FormField>
<Label name="label6" width="9" text="Documento" posY="4" posX="2" gridWidth="9">
<LStr text="Documento"/>
</Label>
<FormField name="formonly.documento_ref" colName="documento_ref" fieldId="20" sqlTabName="formonly" tabIndex="16">
<Edit width="16" comment="Orden Compras Cliente" posY="4" posX="13" gridWidth="16">
<LStr comment="Orden Compras Cliente"/>
</Edit>
</FormField>
<Label text="Fecha Vence" posY="4" posX="30" gridWidth="11"/>
<FormField name="formonly.p_fecha_ven" colName="p_fecha_ven" sqlType="DATE" fieldId="21" sqlTabName="formonly" noEntry="1" tabIndex="70">
<Label width="10" format="dd/mm/yyyy" posY="4" posX="42" gridWidth="10"/>
</FormField>
<Label name="label27" width="14" text="Factura F" posY="4" posX="81" gridWidth="14">
<LStr text="Factura F"/>
</Label>
<FormField name="formonly.factura1" colName="factura1" fieldId="22" sqlTabName="formonly" tabIndex="60" noEntry="1" required="1">
<Edit width="6" posY="4" posX="97" gridWidth="6"/>
</FormField>
<Label text="NCF" posY="5" posX="2" gridWidth="3"/>
<FormField name="formonly.codigodgii" colName="codigodgii" fieldId="23" sqlTabName="formonly" tabIndex="71">
<ButtonEdit width="17" action="f2" shift="up" posY="5" posX="6" gridWidth="19"/>
</FormField>
<FormField name="formonly.descripcion_ncf" colName="descripcion_ncf" fieldId="24" sqlTabName="formonly" tabIndex="18">
<Edit width="43" posY="5" posX="27" gridWidth="43"/>
</FormField>
<Label name="label34" width="14" text="Fecha Vencimiento" posY="5" posX="81" gridWidth="14">
<LStr text="Fecha Vencimiento"/>
</Label>
<FormField name="formonly.fecha_vencimiento" colName="fecha_vencimiento" fieldId="25" sqlTabName="formonly" tabIndex="66">
<Edit width="12" posY="5" posX="97" gridWidth="12"/>
</FormField>
<FormField name="formonly.kncf" colName="kncf" fieldId="26" sqlTabName="formonly" tabIndex="19">
<Edit width="19" posY="6" posX="6" gridWidth="19"/>
</FormField>
<Label name="label29" width="8" text="Ruta impresion" posY="6" posX="27" gridWidth="8">
<LStr text="Ruta impresion"/>
</Label>
<FormField name="formonly.imprime" colName="imprime" fieldId="27" sqlTabName="formonly" tabIndex="62">
<Edit width="45" posY="6" posX="37" gridWidth="45"/>
</FormField>
</Group>
<Group name="group4" text="Cliente" posY="14" posX="1" gridWidth="84" gridHeight="11">
<LStr text="Cliente"/>
<Label name="label12" width="7" text="Cliente" posY="1" posX="2" gridWidth="7">
<LStr text="Cliente"/>
</Label>
<Label text=":" posY="1" posX="16" gridWidth="1"/>
<FormField name="formonly.tipo_cliente" colName="tipo_cliente" fieldId="28" sqlTabName="formonly" tabIndex="20">
<Edit width="4" autoNext="1" comment="Digite Codigo Cliente o Presione Ctrl-E Para Crear y/o Buscar" posY="1" posX="18" gridWidth="4">
<LStr comment="Digite Codigo Cliente o Presione Ctrl-E Para Crear y/o Buscar"/>
</Edit>
</FormField>
<FormField name="formonly.sec_cliente" colName="sec_cliente" fieldId="29" sqlTabName="formonly" tabIndex="21">
<Edit width="8" autoNext="1" comment="Digite Codigo Cliente o Presione Ctrl-E Para Crear y/o Buscar" posY="1" posX="24" gridWidth="8">
<LStr comment="Digite Codigo Cliente o Presione Ctrl-E Para Crear y/o Buscar"/>
</Edit>
</FormField>
<FormField name="formonly.nombre" colName="nombre" fieldId="30" sqlTabName="formonly" tabIndex="22" noEntry="1">
<Edit width="33" posY="1" posX="33" gridWidth="33"/>
</FormField>
<Label name="label13" width="9" text="Direccion" posY="2" posX="2" gridWidth="9">
<LStr text="Direccion"/>
</Label>
<Label text=":" posY="2" posX="16" gridWidth="1"/>
<FormField name="formonly.direccion" colName="direccion" fieldId="31" sqlTabName="formonly" tabIndex="23" noEntry="1">
<Edit width="44" posY="2" posX="18" gridWidth="44"/>
</FormField>
<Label name="label14" width="7" text="Ubicac." posY="3" posX="2" gridWidth="7">
<LStr text="Ubicac."/>
</Label>
<Label text=":" posY="3" posX="16" gridWidth="1"/>
<FormField name="formonly.ciudad" colName="ciudad" fieldId="32" sqlTabName="formonly" tabIndex="24" noEntry="1">
<Edit width="18" posY="3" posX="18" gridWidth="18"/>
</FormField>
<FormField name="formonly.zona" colName="zona" fieldId="33" sqlTabName="formonly" tabIndex="25">
<Edit width="3" autoNext="1" picture="###" comment="Entre Zona o Pais del Cliente o Presione Ctrl-W" posY="3" posX="38" gridWidth="3">
<LStr comment="Entre Zona o Pais del Cliente o Presione Ctrl-W"/>
</Edit>
</FormField>
<FormField name="formonly.descrip1" colName="descrip1" fieldId="34" sqlTabName="formonly" tabIndex="26" noEntry="1">
<Edit width="36" posY="3" posX="43" gridWidth="36"/>
</FormField>
<Label name="label15" width="7" text="Balance" posY="4" posX="2" gridWidth="7">
<LStr text="Balance"/>
</Label>
<Label text=":" posY="4" posX="16" gridWidth="1"/>
<FormField name="formonly.ch_balance" colName="ch_balance" fieldId="35" sqlTabName="formonly" tabIndex="27" noEntry="1">
<Edit width="15" posY="4" posX="18" gridWidth="15"/>
</FormField>
<Label name="label28" width="15" text="NUMERO RNC" posY="4" posX="37" gridWidth="15">
<LStr text="NUMERO RNC"/>
</Label>
<FormField name="formonly.num_rnc" colName="num_rnc" fieldId="36" sqlTabName="formonly" tabIndex="61" noEntry="1">
<Edit width="20" posY="4" posX="53" gridWidth="20"/>
</FormField>
<Label name="label16" width="8" text="Vendedor" posY="5" posX="2" gridWidth="8">
<LStr text="Vendedor"/>
</Label>
<Label text=":" posY="5" posX="16" gridWidth="1"/>
<FormField name="formonly.sec_vend" colName="sec_vend" fieldId="37" sqlTabName="formonly" tabIndex="28">
<Edit width="4" autoNext="1" comment="Digite Codigo Vendedor o Presione Ctrl-W Para Ayuda" posY="5" posX="18" gridWidth="4">
<LStr comment="Digite Codigo Vendedor o Presione Ctrl-W Para Ayuda"/>
</Edit>
</FormField>
<FormField name="formonly.nombre_vend" colName="nombre_vend" fieldId="38" sqlTabName="formonly" tabIndex="29" noEntry="1">
<Edit width="29" posY="5" posX="24" gridWidth="29"/>
</FormField>
<Label name="label17" width="9" text="Condicion" posY="6" posX="2" gridWidth="9">
<LStr text="Condicion"/>
</Label>
<Label text=":" posY="6" posX="16" gridWidth="1"/>
<FormField name="formonly.cond_pago" colName="cond_pago" fieldId="39" sqlTabName="formonly" tabIndex="30">
<ComboBox width="33" posY="6" posX="18" gridWidth="35"/>
</FormField>
<Label name="label18" width="15" text="Transportista :" posY="7" posX="2" gridWidth="15">
<LStr text="Transportista :"/>
</Label>
<FormField name="formonly.cod_transp" colName="cod_transp" fieldId="40" sqlTabName="formonly" tabIndex="31">
<Edit width="2" autoNext="1" comment="Digite el Codigo del transportista o Presione Ctrl-W Para Ayuda" posY="7" posX="18" gridWidth="2">
<LStr comment="Digite el Codigo del transportista o Presione Ctrl-W Para Ayuda"/>
</Edit>
</FormField>
<FormField name="formonly.sec_transp" colName="sec_transp" fieldId="41" sqlTabName="formonly" tabIndex="32">
<Edit width="4" autoNext="1" comment="Digite el Codigo del transportista o Presione Ctrl-W Para Ayuda" posY="7" posX="22" gridWidth="4">
<LStr comment="Digite el Codigo del transportista o Presione Ctrl-W Para Ayuda"/>
</Edit>
</FormField>
<FormField name="formonly.nombre_tran" colName="nombre_tran" fieldId="42" sqlTabName="formonly" tabIndex="33" noEntry="1">
<Edit width="30" posY="7" posX="28" gridWidth="30"/>
</FormField>
<Label name="label19" width="6" text="Tarifa" posY="8" posX="2" gridWidth="6">
<LStr text="Tarifa"/>
</Label>
<Label text=":" posY="8" posX="16" gridWidth="1"/>
<FormField name="formonly.cod_tarifa" colName="cod_tarifa" fieldId="43" sqlTabName="formonly" tabIndex="34">
<Edit width="2" autoNext="1" comment="Digite Codigo Tarifa apagar al transportista" posY="8" posX="18" gridWidth="2">
<LStr comment="Digite Codigo Tarifa apagar al transportista"/>
</Edit>
</FormField>
<FormField name="formonly.descrip5" colName="descrip5" fieldId="44" sqlTabName="formonly" tabIndex="35" noEntry="1">
<Edit width="17" posY="8" posX="22" gridWidth="17"/>
</FormField>
<FormField name="formonly.descrip6" colName="descrip6" fieldId="45" sqlTabName="formonly" tabIndex="36" noEntry="1">
<Edit width="17" posY="8" posX="41" gridWidth="17"/>
</FormField>
<Label name="label31" width="10" text="Doc. Referencia" posY="8" posX="60" gridWidth="10">
<LStr text="Doc. Referencia"/>
</Label>
<FormField name="formonly.pdocumento_ref" colName="pdocumento_ref" fieldId="46" sqlTabName="formonly" tabIndex="64">
<Edit width="8" shift="up" scroll="1" posY="8" posX="73" gridWidth="8"/>
</FormField>
<Label name="label20" width="15" text="Fecha Embarque:" posY="9" posX="2" gridWidth="15">
<LStr text="Fecha Embarque:"/>
</Label>
<FormField name="formonly.fecha_embarque" colName="fecha_embarque" fieldId="47" sqlTabName="formonly" tabIndex="37">
<Edit width="11" format="dd/mm/yyyy" posY="9" posX="18" gridWidth="11"/>
</FormField>
<Label text="Placa :" posY="9" posX="38" gridWidth="7"/>
<FormField name="formonly.placa_transp" colName="placa_transp" fieldId="48" sqlTabName="formonly" tabIndex="38">
<Edit width="12" autoNext="1" shift="up" posY="9" posX="46" gridWidth="12"/>
</FormField>
<Label name="label32" width="12" text="Factura Exp." posY="9" posX="60" gridWidth="12">
<LStr text="Factura Exp."/>
</Label>
<FormField name="formonly.factura_e" colName="factura_e" fieldId="49" sqlTabName="formonly" tabIndex="39">
<Edit width="8" posY="9" posX="73" gridWidth="8"/>
</FormField>
</Group>
<Group name="group5" posY="15" posX="86" gridWidth="32" gridHeight="10">
<Label name="label21" width="11" text="Sub-total :" posY="2" posX="1" gridWidth="11">
<LStr text="Sub-total :"/>
</Label>
<FormField name="formonly.sub_total" colName="sub_total" fieldId="50" sqlTabName="formonly" tabIndex="40" noEntry="1">
<Edit width="17" posY="2" posX="13" gridWidth="17"/>
</FormField>
<Label name="label22" width="11" text="Descuento :" posY="3" posX="1" gridWidth="11">
<LStr text="Descuento :"/>
</Label>
<FormField name="formonly.porc_desc" colName="porc_desc" fieldId="51" sqlTabName="formonly" tabIndex="41" noEntry="1">
<Edit width="5" posY="3" posX="13" gridWidth="5"/>
</FormField>
<FormField name="formonly.desc_valor" colName="desc_valor" fieldId="52" sqlTabName="formonly" tabIndex="42" noEntry="1">
<Edit width="10" posY="3" posX="20" gridWidth="10"/>
</FormField>
<Label name="label23" width="5" text="ITBIS" posY="4" posX="1" gridWidth="5">
<LStr text="ITBIS"/>
</Label>
<FormField name="formonly.porc_itbi" colName="porc_itbi" fieldId="53" sqlTabName="formonly" tabIndex="43" noEntry="1">
<Edit width="5" posY="4" posX="13" gridWidth="5"/>
</FormField>
<FormField name="formonly.itbi" colName="itbi" fieldId="54" sqlTabName="formonly" tabIndex="44" noEntry="1">
<Edit width="10" posY="4" posX="20" gridWidth="10"/>
</FormField>
<Label name="label24" width="5" text="Total" posY="5" posX="1" gridWidth="5">
<LStr text="Total"/>
</Label>
<FormField name="formonly.total_fact" colName="total_fact" fieldId="55" sqlTabName="formonly" tabIndex="45" noEntry="1">
<Edit width="17" posY="5" posX="13" gridWidth="17"/>
</FormField>
<Label name="label25" width="8" text="Tasa US$" posY="6" posX="1" gridWidth="8">
<LStr text="Tasa US$"/>
</Label>
<FormField name="formonly.prima_us" colName="prima_us" fieldId="56" sqlTabName="formonly" tabIndex="46">
<Edit width="9" posY="6" posX="13" gridWidth="9"/>
</FormField>
</Group>
<Group name="group6" text="Detalle" posY="25" posX="1" gridWidth="129" gridHeight="10">
<LStr text="Detalle"/>
<Table pageSize="7" name="table1" width="112" posY="1" posX="1" gridWidth="127" gridHeight="8" tabName="s_fact">
<TableColumn name="formonly.area" colName="area" fieldId="57" sqlTabName="formonly" tabIndex="47" text="AREA">
<Edit width="10"/>
<LStr text="AREA"/>
</TableColumn>
<TableColumn name="formonly.cod_n" colName="cod_n" fieldId="58" sqlTabName="formonly" tabIndex="48" text="CLASE">
<Edit width="10" autoNext="1" comment="Digite Codigo del Producto o Ctrl-W Para Ayuda">
<LStr comment="Digite Codigo del Producto o Ctrl-W Para Ayuda"/>
</Edit>
<LStr text="CLASE"/>
</TableColumn>
<TableColumn name="formonly.cod_grupo" colName="cod_grupo" fieldId="59" sqlTabName="formonly" tabIndex="49" text="GRUPO">
<Edit width="5" autoNext="1" comment="Digite Codigo del Producto o Ctrl-W Para Ayuda">
<LStr comment="Digite Codigo del Producto o Ctrl-W Para Ayuda"/>
</Edit>
<LStr text="GRUPO"/>
</TableColumn>
<TableColumn name="formonly.cod_tipo" colName="cod_tipo" fieldId="60" sqlTabName="formonly" tabIndex="50" text="TIPO">
<Edit width="10" autoNext="1" comment="Digite Codigo del Producto o Ctrl-W Para Ayuda">
<LStr comment="Digite Codigo del Producto o Ctrl-W Para Ayuda"/>
</Edit>
<LStr text="TIPO"/>
</TableColumn>
<TableColumn name="formonly.cod_sec" colName="cod_sec" fieldId="61" sqlTabName="formonly" tabIndex="51" text="MEDIDA">
<Edit width="10" autoNext="1" comment="Digite Codigo del Producto o Ctrl-W Para Ayuda">
<LStr comment="Digite Codigo del Producto o Ctrl-W Para Ayuda"/>
</Edit>
<LStr text="MEDIDA"/>
</TableColumn>
<TableColumn name="formonly.descrip_esp" colName="descrip_esp" fieldId="62" sqlTabName="formonly" tabIndex="52" noEntry="1">
<Edit width="25"/>
</TableColumn>
<TableColumn name="formonly.unidad_med" colName="unidad_med" fieldId="63" sqlTabName="formonly" tabIndex="53" noEntry="1">
<Edit width="3"/>
</TableColumn>
<TableColumn name="formonly.cantidad" colName="cantidad" fieldId="64" sqlTabName="formonly" tabIndex="54" text="CANTIDAD">
<Edit width="7" autoNext="1" comment="Digite Cantidad a Facturar a ARTICULO">
<LStr comment="Digite Cantidad a Facturar a ARTICULO"/>
</Edit>
<LStr text="CANTIDAD"/>
</TableColumn>
<TableColumn name="formonly.precio" colName="precio" fieldId="65" sqlTabName="formonly" tabIndex="55" text="PRECIO">
<Edit width="10"/>
<LStr text="PRECIO"/>
</TableColumn>
<TableColumn name="formonly.cantidad_2" colName="cantidad_2" fieldId="66" sqlTabName="formonly" tabIndex="56" text="DESCUENTO">
<Edit width="6" comment="Digite el porciento a descontar a este ARTICULO">
<LStr comment="Digite el porciento a descontar a este ARTICULO"/>
</Edit>
<LStr text="DESCUENTO"/>
</TableColumn>
<TableColumn name="formonly.monto_fact" colName="monto_fact" sqlType="DECIMAL(16,2)" fieldId="67" sqlTabName="formonly" tabIndex="57" text="MONTO FACTURA" noEntry="1" numAlign="1">
<Edit width="10"/>
<LStr text="MONTO FACTURA"/>
</TableColumn>
<TableColumn name="formonly.kit_id" colName="kit_id" fieldId="68" sqlTabName="formonly" tabIndex="59" text="KIT" noEntry="1">
<Edit width="8"/>
<LStr text="KIT"/>
</TableColumn>
</Table>
</Group>
</Grid>
<RecordView tabName="formonly">
<Link colName="cod_cia" fieldIdRef="0"/>
<Link colName="compania" fieldIdRef="1"/>
<Link colName="ventas" fieldIdRef="2"/>
<Link colName="descripcion_doc" fieldIdRef="3"/>
<Link colName="ch_itbi" fieldIdRef="4"/>
<Link colName="ch_encabeza" fieldIdRef="5"/>
<Link colName="ch_servicios" fieldIdRef="6"/>
<Link colName="proforma" fieldIdRef="7"/>
<Link colName="estado" fieldIdRef="8"/>
<Link colName="trackid" fieldIdRef="9"/>
<Link colName="mensaje_dgii" fieldIdRef="10"/>
<Link colName="orden" fieldIdRef="11"/>
<Link colName="fecha_cotizacion" fieldIdRef="12"/>
<Link colName="bodega" fieldIdRef="13"/>
<Link colName="conduce" fieldIdRef="14"/>
<Link colName="fecha_conduce" fieldIdRef="15"/>
<Link colName="factura" fieldIdRef="16"/>
<Link colName="pcotizacion" fieldIdRef="17"/>
<Link colName="fecha_orden" fieldIdRef="18"/>
<Link colName="fecha_factura" fieldIdRef="19"/>
<Link colName="documento_ref" fieldIdRef="20"/>
<Link colName="p_fecha_ven" fieldIdRef="21"/>
<Link colName="factura1" fieldIdRef="22"/>
<Link colName="codigodgii" fieldIdRef="23"/>
<Link colName="descripcion_ncf" fieldIdRef="24"/>
<Link colName="fecha_vencimiento" fieldIdRef="25"/>
<Link colName="kncf" fieldIdRef="26"/>
<Link colName="imprime" fieldIdRef="27"/>
<Link colName="tipo_cliente" fieldIdRef="28"/>
<Link colName="sec_cliente" fieldIdRef="29"/>
<Link colName="nombre" fieldIdRef="30"/>
<Link colName="direccion" fieldIdRef="31"/>
<Link colName="ciudad" fieldIdRef="32"/>
<Link colName="zona" fieldIdRef="33"/>
<Link colName="descrip1" fieldIdRef="34"/>
<Link colName="ch_balance" fieldIdRef="35"/>
<Link colName="num_rnc" fieldIdRef="36"/>
<Link colName="sec_vend" fieldIdRef="37"/>
<Link colName="nombre_vend" fieldIdRef="38"/>
<Link colName="cond_pago" fieldIdRef="39"/>
<Link colName="cod_transp" fieldIdRef="40"/>
<Link colName="sec_transp" fieldIdRef="41"/>
<Link colName="nombre_tran" fieldIdRef="42"/>
<Link colName="cod_tarifa" fieldIdRef="43"/>
<Link colName="descrip5" fieldIdRef="44"/>
<Link colName="descrip6" fieldIdRef="45"/>
<Link colName="pdocumento_ref" fieldIdRef="46"/>
<Link colName="fecha_embarque" fieldIdRef="47"/>
<Link colName="placa_transp" fieldIdRef="48"/>
<Link colName="factura_e" fieldIdRef="49"/>
<Link colName="sub_total" fieldIdRef="50"/>
<Link colName="porc_desc" fieldIdRef="51"/>
<Link colName="desc_valor" fieldIdRef="52"/>
<Link colName="porc_itbi" fieldIdRef="53"/>
<Link colName="itbi" fieldIdRef="54"/>
<Link colName="total_fact" fieldIdRef="55"/>
<Link colName="prima_us" fieldIdRef="56"/>
<Link colName="area" fieldIdRef="57"/>
<Link colName="cod_n" fieldIdRef="58"/>
<Link colName="cod_grupo" fieldIdRef="59"/>
<Link colName="cod_tipo" fieldIdRef="60"/>
<Link colName="cod_sec" fieldIdRef="61"/>
<Link colName="descrip_esp" fieldIdRef="62"/>
<Link colName="unidad_med" fieldIdRef="63"/>
<Link colName="cantidad" fieldIdRef="64"/>
<Link colName="precio" fieldIdRef="65"/>
<Link colName="cantidad_2" fieldIdRef="66"/>
<Link colName="monto_fact" fieldIdRef="67"/>
<Link colName="kit_id" fieldIdRef="68"/>
</RecordView>
<RecordView tabName="undefined">
<Link colName="cod_cia" fieldIdRef="0"/>
<Link colName="compania" fieldIdRef="1"/>
<Link colName="ventas" fieldIdRef="2"/>
<Link colName="ch_itbi" fieldIdRef="4"/>
<Link colName="ch_encabeza" fieldIdRef="5"/>
<Link colName="ch_servicios" fieldIdRef="6"/>
<Link colName="pcotizacion" fieldIdRef="17"/>
<Link colName="fecha_cotizacion" fieldIdRef="12"/>
<Link colName="conduce" fieldIdRef="14"/>
<Link colName="fecha_conduce" fieldIdRef="15"/>
<Link colName="factura" fieldIdRef="16"/>
<Link colName="orden" fieldIdRef="11"/>
<Link colName="fecha_orden" fieldIdRef="18"/>
<Link colName="fecha_factura" fieldIdRef="19"/>
<Link colName="documento_ref" fieldIdRef="20"/>
<Link colName="p_fecha_ven" fieldIdRef="21"/>
<Link colName="descripcion_ncf" fieldIdRef="24"/>
<Link colName="kncf" fieldIdRef="26"/>
<Link colName="tipo_cliente" fieldIdRef="28"/>
<Link colName="sec_cliente" fieldIdRef="29"/>
<Link colName="nombre" fieldIdRef="30"/>
<Link colName="direccion" fieldIdRef="31"/>
<Link colName="ciudad" fieldIdRef="32"/>
<Link colName="zona" fieldIdRef="33"/>
<Link colName="descrip1" fieldIdRef="34"/>
<Link colName="ch_balance" fieldIdRef="35"/>
<Link colName="sec_vend" fieldIdRef="37"/>
<Link colName="nombre_vend" fieldIdRef="38"/>
<Link colName="cond_pago" fieldIdRef="39"/>
<Link colName="cod_transp" fieldIdRef="40"/>
<Link colName="sec_transp" fieldIdRef="41"/>
<Link colName="nombre_tran" fieldIdRef="42"/>
<Link colName="cod_tarifa" fieldIdRef="43"/>
<Link colName="descrip5" fieldIdRef="44"/>
<Link colName="descrip6" fieldIdRef="45"/>
<Link colName="fecha_embarque" fieldIdRef="47"/>
<Link colName="placa_transp" fieldIdRef="48"/>
<Link colName="factura_e" fieldIdRef="49"/>
<Link colName="sub_total" fieldIdRef="50"/>
<Link colName="porc_desc" fieldIdRef="51"/>
<Link colName="desc_valor" fieldIdRef="52"/>
<Link colName="porc_itbi" fieldIdRef="53"/>
<Link colName="itbi" fieldIdRef="54"/>
<Link colName="total_fact" fieldIdRef="55"/>
<Link colName="prima_us" fieldIdRef="56"/>
<Link colName="bodega" fieldIdRef="13"/>
<Link colName="factura1" fieldIdRef="22"/>
<Link colName="num_rnc" fieldIdRef="36"/>
<Link colName="imprime" fieldIdRef="27"/>
<Link colName="proforma" fieldIdRef="7"/>
<Link colName="pdocumento_ref" fieldIdRef="46"/>
<Link colName="descripcion_doc" fieldIdRef="3"/>
<Link colName="fecha_vencimiento" fieldIdRef="25"/>
<Link colName="codigodgii" fieldIdRef="23"/>
<Link colName="estado" fieldIdRef="8"/>
<Link colName="trackid" fieldIdRef="9"/>
<Link colName="mensaje_dgii" fieldIdRef="10"/>
</RecordView>
</Form>
+6 -9
View File
@@ -21,7 +21,7 @@
<RecordField colName="cod_cia" fieldIdRef="11" name="cod_cia" sqlTabName="formonly" table_alias_name="" uid="{87cb6786-cbdb-471a-a02c-1e29ca15026d}"/>
<RecordField colName="compania" fieldIdRef="12" name="compania" sqlTabName="formonly" table_alias_name="" uid="{c020ef21-f25f-4ad2-b44d-44a2812e92f2}"/>
<RecordField colName="ventas" fieldIdRef="14" name="ventas" sqlTabName="formonly" table_alias_name="" uid="{eb3907ce-0f4b-4648-bdb8-fec2e4045c17}"/>
<RecordField colName="ch_itbi" defaultValue="N" fieldIdRef="0" name="ch_itbi" sqlTabName="formonly" sqlType="CHAR" table_alias_name="" uid="{4ce0ff48-ef95-48b4-b076-4aee20eca512}"/>
<RecordField colName="ch_itbi" defaultValue="S" fieldIdRef="0" name="ch_itbi" sqlTabName="formonly" sqlType="CHAR" table_alias_name="" uid="{4ce0ff48-ef95-48b4-b076-4aee20eca512}"/>
<RecordField colName="ch_encabeza" defaultValue="S" fieldIdRef="1" name="ch_encabeza" sqlTabName="formonly" sqlType="CHAR" table_alias_name="" uid="{47718de2-b5c5-49f7-ab9e-c42013220b63}"/>
<RecordField colName="ch_servicios" defaultValue="N" fieldIdRef="2" name="ch_servicios" sqlTabName="formonly" sqlType="CHAR" table_alias_name="" uid="{5e9637e9-b873-493f-b021-459356323a2e}"/>
<RecordField colName="pcotizacion" fieldIdRef="4" name="pcotizacion" sqlTabName="formonly" table_alias_name="" uid="{7dc8f296-7ae2-486b-9df5-a9b9a5bcf0b7}"/>
@@ -65,7 +65,7 @@
<RecordField colName="prima_us" fieldIdRef="25" name="prima_us" sqlTabName="formonly" table_alias_name="" uid="{6a69d2bb-8c58-49f5-8972-303450083a52}"/>
<RecordField colName="" defaultValue="1" fieldIdRef="58" name="bodega" sqlTabName="" table_alias_name="" uid="{c7408e5c-8fa4-451e-8e9d-09ebe674f562}"/>
<RecordField colName="factura" fieldIdRef="59" name="factura1" sqlTabName="formonly" table_alias_name="" uid="{ce8c6041-57e5-4d02-b2a4-016fddc76097}"/>
<RecordField colName="nombre_tran" fieldIdRef="60" name="num_rnc" sqlTabName="formonly" table_alias_name="" uid="{b25291aa-1e4e-478d-a330-683e25edeaac}"/>
<RecordField colName="num_rnc" fieldIdRef="60" name="num_rnc" sqlTabName="formonly" table_alias_name="" uid="{b25291aa-1e4e-478d-a330-683e25edeaac}"/>
<RecordField colName="" fieldIdRef="61" name="imprime" sqlTabName="" table_alias_name="" uid="{bc8c569e-f677-4d05-87a3-2144d6c6cba8}"/>
<RecordField colName="" defaultValue="CONDUCE" fieldIdRef="62" name="proforma" sqlTabName="" table_alias_name="" uid="{b8165b9c-d598-4135-996f-b5f8b6d0f927}"/>
<RecordField colName="" fieldIdRef="63" name="pdocumento_ref" sqlTabName="" table_alias_name="" uid="{68f0ad43-a64b-427c-b406-cf4933eb27ed}"/>
@@ -75,7 +75,6 @@
<RecordField fieldIdRef="66" name="estado" uid="{400bc37e-31b7-42b3-bc92-a29a4f38ed75}"/>
<RecordField fieldIdRef="67" name="trackid" uid="{dae40e04-4fb9-450d-acf2-aa8d12003754}"/>
<RecordField fieldIdRef="68" name="mensaje_dgii" uid="{af29c209-c462-4aa6-ac7a-ebc9e7f68454}"/>
<RecordField fieldIdRef="69" name="fpago" uid="{1acb5e32-d46f-4697-b0cd-99ca84197d5f}"/>
</Record>
<Form gridHeight="40" gridWidth="147" name="vefmmt001" style="basic" text="CREACION FACTURAS VENTAS">
<ActionDefaultList name="ActionDefaultList1">
@@ -100,7 +99,7 @@
</Group>
<Group gridHeight="6" gridWidth="22" name="Group2" posX="84" posY="0" text="parametros">
<Label posX="1" posY="1" text="ITBIS"/>
<CheckBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ch_itbi" defaultValue="N" fieldId="0" gridHeight="1" gridWidth="8" name="ch_itbi" notNull="true" posX="11" posY="1" required="true" sqlTabName="formonly" sqlType="CHAR" tabIndex="4" table_alias_name="" valueChecked="S" valueUnchecked="N" widget="CheckBox"/>
<CheckBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ch_itbi" defaultValue="S" fieldId="0" gridHeight="1" gridWidth="8" name="ch_itbi" notNull="true" posX="11" posY="1" required="true" sqlTabName="formonly" sqlType="CHAR" tabIndex="4" table_alias_name="" valueChecked="S" valueUnchecked="N" widget="CheckBox"/>
<Label posX="1" posY="2" text="Membrete"/>
<CheckBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ch_encabeza" defaultValue="S" fieldId="1" gridHeight="1" gridWidth="8" name="ch_encabeza" notNull="true" posX="11" posY="2" required="true" sqlTabName="formonly" sqlType="CHAR" tabIndex="5" table_alias_name="" valueChecked="S" valueUnchecked="N" widget="CheckBox"/>
<Label posX="1" posY="3" text="Servicios"/>
@@ -166,16 +165,14 @@
<Label posX="16" posY="4" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ch_balance" fieldId="56" gridHeight="1" gridWidth="15" name="ch_balance" noEntry="true" posX="18" posY="4" sqlTabName="formonly" tabIndex="27" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="15" name="Label28" posX="37" posY="4" text="NUMERO RNC"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="nombre_tran" fieldId="60" gridHeight="1" gridWidth="20" name="num_rnc" noEntry="true" posX="53" posY="4" sqlTabName="formonly" tabIndex="61" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="num_rnc" fieldId="60" gridHeight="1" gridWidth="20" name="num_rnc" noEntry="true" posX="53" posY="4" sqlTabName="formonly" tabIndex="61" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="8" name="Label16" posX="2" posY="5" text="Vendedor"/>
<Label posX="16" posY="5" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="sec_vend" comment="Digite Codigo Vendedor o Presione Ctrl-W Para Ayuda" fieldId="31" gridHeight="1" gridWidth="4" name="sec_vend" posX="18" posY="5" sqlTabName="formonly" tabIndex="28" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="nombre_vend" fieldId="32" gridHeight="1" gridWidth="29" name="nombre_vend" noEntry="true" posX="24" posY="5" sqlTabName="formonly" tabIndex="29" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="10" name="label44" posX="60" posY="5" text="Forma de Pago"/>
<Label gridHeight="1" gridWidth="9" name="Label17" posX="2" posY="6" text="Condicion"/>
<Label posX="16" posY="6" text=":"/>
<ComboBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="cond_pago" fieldId="23" gridHeight="1" gridWidth="35" items="" name="cond_pago" posX="18" posY="6" sqlTabName="formonly" tabIndex="30" table_alias_name="" widget="ComboBox"/>
<ComboBox fieldId="69" gridHeight="1" gridWidth="21" items="" name="fpago" posX="60" posY="6" tabIndex="-1" title="combobox1" widget="ComboBox"/>
<Label gridHeight="1" gridWidth="15" name="Label18" posX="2" posY="7" text="Transportista :"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_transp" comment="Digite el Codigo del transportista o Presione Ctrl-W Para Ayuda" fieldId="33" gridHeight="1" gridWidth="2" name="cod_transp" posX="18" posY="7" sqlTabName="formonly" tabIndex="31" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="sec_transp" comment="Digite el Codigo del transportista o Presione Ctrl-W Para Ayuda" fieldId="34" gridHeight="1" gridWidth="4" name="sec_transp" posX="22" posY="7" sqlTabName="formonly" tabIndex="32" table_alias_name="" widget="Edit"/>
@@ -205,8 +202,8 @@
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="itbi" fieldId="43" gridHeight="1" gridWidth="10" name="itbi" noEntry="true" posX="20" posY="4" sqlTabName="formonly" tabIndex="44" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="5" name="Label24" posX="1" posY="5" text="Total"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="total_fact" fieldId="44" gridHeight="1" gridWidth="17" name="total_fact" noEntry="true" posX="13" posY="5" sqlTabName="formonly" tabIndex="45" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="8" name="Label25" posX="1" posY="6" text="Prima US"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="prima_us" fieldId="25" gridHeight="1" gridWidth="9" name="prima_us" noEntry="true" posX="13" posY="6" sqlTabName="formonly" tabIndex="46" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="8" name="Label25" posX="1" posY="6" text="Tasa US$"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="prima_us" fieldId="25" gridHeight="1" gridWidth="9" name="prima_us" posX="13" posY="6" sqlTabName="formonly" tabIndex="46" table_alias_name="" widget="Edit"/>
</Group>
<Group gridHeight="10" gridWidth="129" name="Group6" posX="1" posY="25" text="Detalle">
<Table gridHeight="8" gridWidth="127" name="Table1" posX="1" posY="1" totalRows="7" unitWidth="characters" width="112">
@@ -0,0 +1,232 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ManagedForm fileVersion="31400" gstVersion="31405" name="ManagedForm" uid="{b927f81b-62b6-4073-9411-a497cff52d66}">
<AGSettings>
<DynamicProperties version="2"/>
</AGSettings>
<Record additionalTables="" joinLeft="" joinOperator="" joinRight="" name="s_fact" order="" uid="{5b87636f-878f-49b9-8a5b-1377d464321f}" where="">
<RecordField colName="area" fieldIdRef="45" name="area" sqlTabName="formonly" table_alias_name="" uid="{87a168b8-c085-4e1d-8542-2d383bca8bb7}"/>
<RecordField colName="cod_n" fieldIdRef="46" name="cod_n" sqlTabName="formonly" table_alias_name="" uid="{4fca87a0-d769-40db-9054-7149fe69eda4}"/>
<RecordField colName="cod_grupo" fieldIdRef="47" name="cod_grupo" sqlTabName="formonly" table_alias_name="" uid="{51096d11-fc1c-4493-b736-74b4833ec18b}"/>
<RecordField colName="cod_tipo" fieldIdRef="48" name="cod_tipo" sqlTabName="formonly" table_alias_name="" uid="{7baeecc3-7c12-469f-abff-f24ca44b3264}"/>
<RecordField colName="cod_sec" fieldIdRef="49" name="cod_sec" sqlTabName="formonly" table_alias_name="" uid="{f9743280-94a9-447a-ac0a-5aedef51f657}"/>
<RecordField colName="descrip_esp" fieldIdRef="50" name="descrip_esp" sqlTabName="formonly" table_alias_name="" uid="{54f6fa29-5423-4862-9d5e-3c0e77f80f79}"/>
<RecordField colName="unidad_med" fieldIdRef="51" name="unidad_med" sqlTabName="formonly" table_alias_name="" uid="{248af50a-504c-4e01-b7d9-470b549f46cb}"/>
<RecordField colName="cantidad" fieldIdRef="52" name="cantidad" sqlTabName="formonly" table_alias_name="" uid="{58af67b8-ba8e-4f72-bbb6-f0c64c81cd52}"/>
<RecordField colName="precio" fieldIdRef="53" name="precio" sqlTabName="formonly" table_alias_name="" uid="{8e0c9eed-0ea0-487f-a050-ab6bfa9dbd05}"/>
<RecordField colName="cantidad_2" fieldIdRef="54" name="cantidad_2" sqlTabName="formonly" table_alias_name="" uid="{65b7c941-4948-4b73-beea-082225a59b3c}"/>
<RecordField colName="monto_fact" fieldIdRef="55" name="monto_fact" sqlTabName="formonly" sqlType="DECIMAL" table_alias_name="" uid="{08aae4e0-6a43-4997-a57f-66bda47ac3c5}"/>
<RecordField colName="" fieldIdRef="57" name="kit_id" sqlTabName="" table_alias_name="" uid="{f678a1fe-d1de-4d9c-990d-f4a84a8ac4dd}"/>
</Record>
<Record additionalTables="" joinLeft="" joinOperator="" joinRight="" name="Undefined" order="" uid="{3cc9d733-930a-4cd8-a528-558e0f76f043}" where="">
<RecordField colName="cod_cia" fieldIdRef="11" name="cod_cia" sqlTabName="formonly" table_alias_name="" uid="{87cb6786-cbdb-471a-a02c-1e29ca15026d}"/>
<RecordField colName="compania" fieldIdRef="12" name="compania" sqlTabName="formonly" table_alias_name="" uid="{c020ef21-f25f-4ad2-b44d-44a2812e92f2}"/>
<RecordField colName="ventas" fieldIdRef="14" name="ventas" sqlTabName="formonly" table_alias_name="" uid="{eb3907ce-0f4b-4648-bdb8-fec2e4045c17}"/>
<RecordField colName="ch_itbi" defaultValue="S" fieldIdRef="0" name="ch_itbi" sqlTabName="formonly" sqlType="CHAR" table_alias_name="" uid="{4ce0ff48-ef95-48b4-b076-4aee20eca512}"/>
<RecordField colName="ch_encabeza" defaultValue="S" fieldIdRef="1" name="ch_encabeza" sqlTabName="formonly" sqlType="CHAR" table_alias_name="" uid="{47718de2-b5c5-49f7-ab9e-c42013220b63}"/>
<RecordField colName="ch_servicios" defaultValue="N" fieldIdRef="2" name="ch_servicios" sqlTabName="formonly" sqlType="CHAR" table_alias_name="" uid="{5e9637e9-b873-493f-b021-459356323a2e}"/>
<RecordField colName="pcotizacion" fieldIdRef="4" name="pcotizacion" sqlTabName="formonly" table_alias_name="" uid="{7dc8f296-7ae2-486b-9df5-a9b9a5bcf0b7}"/>
<RecordField colName="fecha_cotizacion" fieldIdRef="5" name="fecha_cotizacion" sqlTabName="formonly" table_alias_name="" uid="{c5bc659d-13aa-4534-b4e7-9e4794659963}"/>
<RecordField colName="conduce" fieldIdRef="28" name="conduce" sqlTabName="formonly" table_alias_name="" uid="{b85081a8-cb6c-4828-b4bc-44e50f7fbf38}"/>
<RecordField colName="fecha_conduce" fieldIdRef="29" name="fecha_conduce" sqlTabName="formonly" table_alias_name="" uid="{5c62ef93-d208-4bb0-84cb-a9e0eecff6aa}"/>
<RecordField colName="factura" fieldIdRef="16" name="factura" sqlTabName="formonly" table_alias_name="" uid="{6b900b3d-a808-480b-8c8a-8acac48b267b}"/>
<RecordField colName="orden" fieldIdRef="26" name="orden" sqlTabName="formonly" table_alias_name="" uid="{97c6f74c-f97c-4368-8f60-97f133f1eae9}"/>
<RecordField colName="fecha_orden" fieldIdRef="27" name="fecha_orden" sqlTabName="formonly" table_alias_name="" uid="{efd7db9e-23db-46c8-a6c5-b44a5c6460dd}"/>
<RecordField colName="fecha_factura" fieldIdRef="17" name="fecha_factura" sqlTabName="formonly" table_alias_name="" uid="{e359ff25-5134-4a2b-8c44-950a1b5baa07}"/>
<RecordField colName="documento_ref" fieldIdRef="9" name="documento_ref" sqlTabName="formonly" table_alias_name="" uid="{f9d092db-e079-4828-94b1-580328a24747}"/>
<RecordField colName="p_fecha_ven" fieldIdRef="3" name="p_fecha_ven" sqlTabName="formonly" sqlType="DATE" table_alias_name="" uid="{028aa52b-d335-40d8-888c-f3a18af554cc}"/>
<RecordField colName="descripcion_ncf" fieldIdRef="7" name="descripcion_ncf" sqlTabName="formonly" table_alias_name="" uid="{f2cbd694-5abc-4ddb-88dc-aca3f48c12e9}"/>
<RecordField colName="kncf" fieldIdRef="8" name="kncf" sqlTabName="formonly" table_alias_name="" uid="{2a1f5118-eb53-4bbe-9204-6d9a98cb96a2}"/>
<RecordField colName="tipo_cliente" fieldIdRef="18" name="tipo_cliente" sqlTabName="formonly" table_alias_name="" uid="{7bb15795-acd1-4503-a5d9-2be97dfa347e}"/>
<RecordField colName="sec_cliente" fieldIdRef="19" name="sec_cliente" sqlTabName="formonly" table_alias_name="" uid="{4c822344-a545-4815-9160-9e0ffdbb675b}"/>
<RecordField colName="nombre" fieldIdRef="20" name="nombre" sqlTabName="formonly" table_alias_name="" uid="{34cb2cb9-8371-4c56-acc3-1e7454f8d887}"/>
<RecordField colName="direccion" fieldIdRef="21" name="direccion" sqlTabName="formonly" table_alias_name="" uid="{474da069-3292-4cfd-8a8b-002ae726b4c1}"/>
<RecordField colName="ciudad" fieldIdRef="22" name="ciudad" sqlTabName="formonly" table_alias_name="" uid="{e7f12bf4-f3bd-48c2-a30e-1b55bde43fa9}"/>
<RecordField colName="zona" fieldIdRef="15" name="zona" sqlTabName="formonly" table_alias_name="" uid="{ec13971e-0195-4dac-90f5-c612142c0194}"/>
<RecordField colName="descrip1" fieldIdRef="10" name="descrip1" sqlTabName="formonly" table_alias_name="" uid="{6998d158-b562-412c-8e10-c07a1063a388}"/>
<RecordField colName="ch_balance" fieldIdRef="56" name="ch_balance" sqlTabName="formonly" table_alias_name="" uid="{ca3337fb-91de-4855-9aa2-9b483be07a28}"/>
<RecordField colName="sec_vend" fieldIdRef="31" name="sec_vend" sqlTabName="formonly" table_alias_name="" uid="{da34ee96-7c30-416c-87b9-5cf1b3ef9acb}"/>
<RecordField colName="nombre_vend" fieldIdRef="32" name="nombre_vend" sqlTabName="formonly" table_alias_name="" uid="{158414e5-8aa3-4a8b-9ad5-718d154b5ccc}"/>
<RecordField colName="cond_pago" fieldIdRef="23" name="cond_pago" sqlTabName="formonly" table_alias_name="" uid="{781b7871-e958-4777-a08a-9168ba1d5265}"/>
<RecordField colName="cod_transp" fieldIdRef="33" name="cod_transp" sqlTabName="formonly" table_alias_name="" uid="{9a079b53-4ad1-456f-bfd3-0b067aa1d20f}"/>
<RecordField colName="sec_transp" fieldIdRef="34" name="sec_transp" sqlTabName="formonly" table_alias_name="" uid="{9c0bd28a-dae6-44ce-bcac-cee7340fc35d}"/>
<RecordField colName="nombre_tran" fieldIdRef="35" name="nombre_tran" sqlTabName="formonly" table_alias_name="" uid="{662c63c2-e7e6-4839-b2ee-2bd0058e731f}"/>
<RecordField colName="cod_tarifa" fieldIdRef="38" name="cod_tarifa" sqlTabName="formonly" table_alias_name="" uid="{36058b6a-4a2d-4dd8-8119-b52771c0626f}"/>
<RecordField colName="descrip5" fieldIdRef="39" name="descrip5" sqlTabName="formonly" table_alias_name="" uid="{6a2d7fc1-843a-4389-9a8e-eb214d0b7520}"/>
<RecordField colName="descrip6" fieldIdRef="40" name="descrip6" sqlTabName="formonly" table_alias_name="" uid="{73c2c4a4-2943-4f69-8bbc-02198aca43fb}"/>
<RecordField colName="fecha_embarque" fieldIdRef="36" name="fecha_embarque" sqlTabName="formonly" table_alias_name="" uid="{f1263c35-6ef7-4fdf-9c2e-a1459e27d8a4}"/>
<RecordField colName="placa_transp" fieldIdRef="37" name="placa_transp" sqlTabName="formonly" table_alias_name="" uid="{9ea9d290-36a0-49ce-85e1-b59cb805b443}"/>
<RecordField colName="factura_e" fieldIdRef="13" name="factura_e" sqlTabName="formonly" table_alias_name="" uid="{1e240bf3-6111-485a-8499-433a1e79f677}"/>
<RecordField colName="sub_total" fieldIdRef="41" name="sub_total" sqlTabName="formonly" table_alias_name="" uid="{344b7b62-d635-4a13-80c0-6286bb728052}"/>
<RecordField colName="porc_desc" fieldIdRef="24" name="porc_desc" sqlTabName="formonly" table_alias_name="" uid="{2ca0bece-24d7-452b-bb32-47ec64eb7583}"/>
<RecordField colName="desc_valor" fieldIdRef="42" name="desc_valor" sqlTabName="formonly" table_alias_name="" uid="{2d45ebd5-3534-4afc-bca3-a93d06e7a1f9}"/>
<RecordField colName="porc_itbi" fieldIdRef="30" name="porc_itbi" sqlTabName="formonly" table_alias_name="" uid="{9650a045-1db4-4409-8b3d-742c3003581b}"/>
<RecordField colName="itbi" fieldIdRef="43" name="itbi" sqlTabName="formonly" table_alias_name="" uid="{a932889d-15a9-4a7b-ac73-79ac31dd7785}"/>
<RecordField colName="total_fact" fieldIdRef="44" name="total_fact" sqlTabName="formonly" table_alias_name="" uid="{86505d4a-16cf-4585-a10e-d312c5546279}"/>
<RecordField colName="prima_us" fieldIdRef="25" name="prima_us" sqlTabName="formonly" table_alias_name="" uid="{6a69d2bb-8c58-49f5-8972-303450083a52}"/>
<RecordField colName="" defaultValue="1" fieldIdRef="58" name="bodega" sqlTabName="" table_alias_name="" uid="{c7408e5c-8fa4-451e-8e9d-09ebe674f562}"/>
<RecordField colName="factura" fieldIdRef="59" name="factura1" sqlTabName="formonly" table_alias_name="" uid="{ce8c6041-57e5-4d02-b2a4-016fddc76097}"/>
<RecordField colName="nombre_tran" fieldIdRef="60" name="num_rnc" sqlTabName="formonly" table_alias_name="" uid="{b25291aa-1e4e-478d-a330-683e25edeaac}"/>
<RecordField colName="" fieldIdRef="61" name="imprime" sqlTabName="" table_alias_name="" uid="{bc8c569e-f677-4d05-87a3-2144d6c6cba8}"/>
<RecordField colName="" defaultValue="CONDUCE" fieldIdRef="62" name="proforma" sqlTabName="" table_alias_name="" uid="{b8165b9c-d598-4135-996f-b5f8b6d0f927}"/>
<RecordField colName="" fieldIdRef="63" name="pdocumento_ref" sqlTabName="" table_alias_name="" uid="{68f0ad43-a64b-427c-b406-cf4933eb27ed}"/>
<RecordField colName="" fieldIdRef="64" name="descripcion_doc" sqlTabName="" table_alias_name="" uid="{52e416dd-043d-4c27-8ab7-6c0c0ba25538}"/>
<RecordField colName="" fieldIdRef="65" name="fecha_vencimiento" sqlTabName="" table_alias_name="" uid="{e4ac0fd5-ba5b-4885-988b-9a1cd3e3f920}"/>
<RecordField colName="codigodgii" fieldIdRef="6" name="codigodgii" sqlTabName="formonly" table_alias_name="" uid="{cbe9e609-72ca-44db-9b52-36f7a7876953}"/>
<RecordField fieldIdRef="66" name="estado" uid="{400bc37e-31b7-42b3-bc92-a29a4f38ed75}"/>
<RecordField fieldIdRef="67" name="trackid" uid="{dae40e04-4fb9-450d-acf2-aa8d12003754}"/>
<RecordField fieldIdRef="68" name="mensaje_dgii" uid="{af29c209-c462-4aa6-ac7a-ebc9e7f68454}"/>
<RecordField fieldIdRef="69" name="fpago" uid="{1acb5e32-d46f-4697-b0cd-99ca84197d5f}"/>
</Record>
<Form gridHeight="40" gridWidth="147" name="vefmmt001" style="basic" text="CREACION FACTURAS VENTAS">
<ActionDefaultList name="ActionDefaultList1">
<ActionDefault image="about" name="bncf"/>
<ActionDefault acceleratorName1="F8" image="delete" name="anular"/>
</ActionDefaultList>
<ToolBar name="ToolBar1">
<ToolBarItem comment="Nueva Factura" image="new" name="nuevo" text="Factura"/>
<ToolBarItem comment="Criterio de busqueda" image="find" name="buscar" text="Buscar Factura"/>
<ToolBarSeparator name="ToolBarSeparator1"/>
<ToolBarItem image="quit" name="salir" text="Salir"/>
</ToolBar>
<Grid gridHeight="40" gridWidth="147" name="Grid1" posX="0" posY="0">
<Group gridHeight="6" gridWidth="82" name="Group1" posX="1" posY="0" text="Encabezado">
<Label gridHeight="1" gridWidth="9" name="Label1" posX="5" posY="1" text="Compania:"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_cia" fieldId="11" gridHeight="1" gridWidth="2" name="cod_cia" posX="18" posY="1" sqlTabName="formonly" tabIndex="1" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="compania" fieldId="12" gridHeight="1" gridWidth="53" name="compania" noEntry="true" posX="22" posY="1" sqlTabName="formonly" tabIndex="2" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="6" name="Label2" posX="8" posY="2" text="Ventas"/>
<ComboBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ventas" fieldId="14" gridHeight="1" gridWidth="36" items="" name="ventas" posX="18" posY="2" sqlTabName="formonly" tabIndex="3" table_alias_name="" widget="ComboBox"/>
<Label gridHeight="1" gridWidth="13" justify="right" name="Label33" posX="1" posY="3" text="Descripcion"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" case="upper" colName="" fieldId="64" gridHeight="1" gridWidth="37" name="descripcion_doc" posX="18" posY="3" sqlTabName="" tabIndex="65" table_alias_name="" title="Edit1" widget="Edit"/>
</Group>
<Group gridHeight="6" gridWidth="22" name="Group2" posX="84" posY="0" text="parametros">
<Label posX="1" posY="1" text="ITBIS"/>
<CheckBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ch_itbi" defaultValue="S" fieldId="0" gridHeight="1" gridWidth="8" name="ch_itbi" notNull="true" posX="11" posY="1" required="true" sqlTabName="formonly" sqlType="CHAR" tabIndex="4" table_alias_name="" valueChecked="S" valueUnchecked="N" widget="CheckBox"/>
<Label posX="1" posY="2" text="Membrete"/>
<CheckBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ch_encabeza" defaultValue="S" fieldId="1" gridHeight="1" gridWidth="8" name="ch_encabeza" notNull="true" posX="11" posY="2" required="true" sqlTabName="formonly" sqlType="CHAR" tabIndex="5" table_alias_name="" valueChecked="S" valueUnchecked="N" widget="CheckBox"/>
<Label posX="1" posY="3" text="Servicios"/>
<CheckBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ch_servicios" defaultValue="N" fieldId="2" gridHeight="1" gridWidth="8" name="ch_servicios" notNull="true" posX="11" posY="3" required="true" sqlTabName="formonly" sqlType="CHAR" tabIndex="6" table_alias_name="" valueChecked="S" valueUnchecked="N" widget="CheckBox"/>
<Label gridHeight="1" gridWidth="7" name="Label30" posX="1" posY="4" text="Proforma"/>
<CheckBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="" defaultValue="CONDUCE" fieldId="62" gridHeight="1" gridWidth="7" name="proforma" posX="11" posY="4" sqlTabName="" tabIndex="63" table_alias_name="" title="CheckBox1" valueChecked="PROFORMA" valueUnchecked="CONDUCE" widget="CheckBox"/>
</Group>
<Group gridHeight="6" gridWidth="31" name="group8" posX="116" posY="2" text="MENSAJES DGII">
<Edit fieldId="66" gridHeight="1" gridWidth="10" name="estado" posX="2" posY="1" tabIndex="-1" title="edit1" widget="Edit"/>
<Edit fieldId="67" gridHeight="1" gridWidth="26" name="trackid" posX="2" posY="3" scroll="true" tabIndex="-1" title="edit1" widget="Edit"/>
<Edit fieldId="68" gridHeight="1" gridWidth="28" name="mensaje_dgii" posX="2" posY="4" scroll="true" tabIndex="-1" title="edit1" widget="Edit"/>
</Group>
<Group gridHeight="8" gridWidth="114" name="Group3" posX="1" posY="6" text="Documentos">
<Label gridHeight="1" gridWidth="5" name="Label5" posX="2" posY="1" text="Orden"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="orden" fieldId="26" gridHeight="1" gridWidth="6" name="orden" posX="13" posY="1" sqlTabName="formonly" tabIndex="13" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="5" name="Label9" posX="35" posY="1" text="Fecha"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="fecha_cotizacion" fieldId="5" format="dd/mm/yyyy" gridHeight="1" gridWidth="10" name="fecha_cotizacion" posX="42" posY="1" sqlTabName="formonly" tabIndex="8" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="10" name="Label26" posX="2" posY="2" text="ALMACEN"/>
<ComboBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="" defaultValue="1" fieldId="58" gridHeight="1" gridWidth="18" items="" name="bodega" posX="13" posY="2" sqlTabName="" tabIndex="58" table_alias_name="" title="ComboBox1" widget="ComboBox"/>
<Label gridHeight="1" gridWidth="7" name="Label4" posX="33" posY="2" text="CONDUCE"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="conduce" fieldId="28" gridHeight="1" gridWidth="6" name="conduce" posX="42" posY="2" required="true" sqlTabName="formonly" tabIndex="9" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="Label10" posX="50" posY="2" text="Fecha Conduce:"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="fecha_conduce" comment="Digite La Fecha del Conduce" fieldId="29" format="dd/mm/yyyy" gridHeight="1" gridWidth="15" name="fecha_conduce" posX="65" posY="2" sqlTabName="formonly" tabIndex="10" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="7" name="Label8" posX="81" posY="2" text="Factura"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="factura" fieldId="16" gridHeight="1" gridWidth="6" name="factura" noEntry="true" posX="97" posY="2" required="true" sqlTabName="formonly" tabIndex="11" table_alias_name="" widget="Edit"/>
<Button gridHeight="1" gridWidth="7" name="anular" posX="105" posY="2" tabIndex="12"/>
<Label gridHeight="1" gridWidth="10" name="Label3" posX="2" posY="3" text="Cotizacion"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="pcotizacion" fieldId="4" gridHeight="1" gridWidth="6" name="pcotizacion" posX="13" posY="3" sqlTabName="formonly" tabIndex="7" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="11" name="Label11" posX="50" posY="3" text="Fecha Orden"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="fecha_orden" comment="Digite La Fecha de La Orden" fieldId="27" format="dd/mm/yyyy" gridHeight="1" gridWidth="15" name="fecha_orden" posX="65" posY="3" sqlTabName="formonly" tabIndex="14" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="Label7" posX="81" posY="3" text="Fecha Factura:"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="fecha_factura" fieldId="17" gridHeight="1" gridWidth="14" name="fecha_factura" posX="97" posY="3" sqlTabName="formonly" tabIndex="15" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="9" name="Label6" posX="2" posY="4" text="Documento"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="documento_ref" comment="Orden Compras Cliente" fieldId="9" gridHeight="1" gridWidth="16" name="documento_ref" posX="13" posY="4" sqlTabName="formonly" tabIndex="16" table_alias_name="" widget="Edit"/>
<Label posX="30" posY="4" text="Fecha Vence"/>
<FFLabel aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="p_fecha_ven" fieldId="3" format="dd/mm/yyyy" gridHeight="1" gridWidth="10" name="p_fecha_ven" posX="42" posY="4" sqlTabName="formonly" sqlType="DATE" table_alias_name="" widget="FFLabel"/>
<Label gridHeight="1" gridWidth="14" name="Label27" posX="81" posY="4" text="Factura F"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="factura" fieldId="59" gridHeight="1" gridWidth="6" name="factura1" noEntry="true" posX="97" posY="4" required="true" sqlTabName="formonly" tabIndex="60" table_alias_name="" widget="Edit"/>
<Label posX="2" posY="5" text="NCF"/>
<ButtonEdit action="f2" aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" case="upper" colName="codigodgii" fieldId="6" gridHeight="1" gridWidth="19" name="codigodgii" posX="6" posY="5" sqlTabName="formonly" tabIndex="-1" table_alias_name="" widget="ButtonEdit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="descripcion_ncf" fieldId="7" gridHeight="1" gridWidth="43" name="descripcion_ncf" posX="27" posY="5" sqlTabName="formonly" tabIndex="18" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="Label34" posX="81" posY="5" text="Fecha Vencimiento"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="" fieldId="65" gridHeight="1" gridWidth="12" name="fecha_vencimiento" posX="97" posY="5" sqlTabName="" tabIndex="66" table_alias_name="" title="Edit1" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="kncf" fieldId="8" gridHeight="1" gridWidth="19" name="kncf" posX="6" posY="6" sqlTabName="formonly" tabIndex="19" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="8" name="Label29" posX="27" posY="6" text="Ruta impresion"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="" fieldId="61" gridHeight="1" gridWidth="45" name="imprime" posX="37" posY="6" sqlTabName="" tabIndex="62" table_alias_name="" title="Edit1" widget="Edit"/>
</Group>
<Group gridHeight="11" gridWidth="84" name="Group4" posX="1" posY="14" text="Cliente">
<Label gridHeight="1" gridWidth="7" name="Label12" posX="2" posY="1" text="Cliente"/>
<Label posX="16" posY="1" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="tipo_cliente" comment="Digite Codigo Cliente o Presione Ctrl-E Para Crear y/o Buscar" fieldId="18" gridHeight="1" gridWidth="4" name="tipo_cliente" posX="18" posY="1" sqlTabName="formonly" tabIndex="20" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="sec_cliente" comment="Digite Codigo Cliente o Presione Ctrl-E Para Crear y/o Buscar" fieldId="19" gridHeight="1" gridWidth="8" name="sec_cliente" posX="24" posY="1" sqlTabName="formonly" tabIndex="21" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="nombre" fieldId="20" gridHeight="1" gridWidth="33" name="nombre" noEntry="true" posX="33" posY="1" sqlTabName="formonly" tabIndex="22" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="9" name="Label13" posX="2" posY="2" text="Direccion"/>
<Label posX="16" posY="2" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="direccion" fieldId="21" gridHeight="1" gridWidth="44" name="direccion" noEntry="true" posX="18" posY="2" sqlTabName="formonly" tabIndex="23" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="7" name="Label14" posX="2" posY="3" text="Ubicac."/>
<Label posX="16" posY="3" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ciudad" fieldId="22" gridHeight="1" gridWidth="18" name="ciudad" noEntry="true" posX="18" posY="3" sqlTabName="formonly" tabIndex="24" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="zona" comment="Entre Zona o Pais del Cliente o Presione Ctrl-W" fieldId="15" gridHeight="1" gridWidth="3" name="zona" picture="###" posX="38" posY="3" sqlTabName="formonly" tabIndex="25" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="descrip1" fieldId="10" gridHeight="1" gridWidth="36" name="descrip1" noEntry="true" posX="43" posY="3" sqlTabName="formonly" tabIndex="26" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="7" name="Label15" posX="2" posY="4" text="Balance"/>
<Label posX="16" posY="4" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ch_balance" fieldId="56" gridHeight="1" gridWidth="15" name="ch_balance" noEntry="true" posX="18" posY="4" sqlTabName="formonly" tabIndex="27" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="15" name="Label28" posX="37" posY="4" text="NUMERO RNC"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="nombre_tran" fieldId="60" gridHeight="1" gridWidth="20" name="num_rnc" noEntry="true" posX="53" posY="4" sqlTabName="formonly" tabIndex="61" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="8" name="Label16" posX="2" posY="5" text="Vendedor"/>
<Label posX="16" posY="5" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="sec_vend" comment="Digite Codigo Vendedor o Presione Ctrl-W Para Ayuda" fieldId="31" gridHeight="1" gridWidth="4" name="sec_vend" posX="18" posY="5" sqlTabName="formonly" tabIndex="28" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="nombre_vend" fieldId="32" gridHeight="1" gridWidth="29" name="nombre_vend" noEntry="true" posX="24" posY="5" sqlTabName="formonly" tabIndex="29" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="10" name="label44" posX="60" posY="5" text="Forma de Pago"/>
<Label gridHeight="1" gridWidth="9" name="Label17" posX="2" posY="6" text="Condicion"/>
<Label posX="16" posY="6" text=":"/>
<ComboBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="cond_pago" fieldId="23" gridHeight="1" gridWidth="35" items="" name="cond_pago" posX="18" posY="6" sqlTabName="formonly" tabIndex="30" table_alias_name="" widget="ComboBox"/>
<ComboBox fieldId="69" gridHeight="1" gridWidth="21" items="" name="fpago" posX="60" posY="6" tabIndex="-1" title="combobox1" widget="ComboBox"/>
<Label gridHeight="1" gridWidth="15" name="Label18" posX="2" posY="7" text="Transportista :"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_transp" comment="Digite el Codigo del transportista o Presione Ctrl-W Para Ayuda" fieldId="33" gridHeight="1" gridWidth="2" name="cod_transp" posX="18" posY="7" sqlTabName="formonly" tabIndex="31" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="sec_transp" comment="Digite el Codigo del transportista o Presione Ctrl-W Para Ayuda" fieldId="34" gridHeight="1" gridWidth="4" name="sec_transp" posX="22" posY="7" sqlTabName="formonly" tabIndex="32" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="nombre_tran" fieldId="35" gridHeight="1" gridWidth="30" name="nombre_tran" noEntry="true" posX="28" posY="7" sqlTabName="formonly" tabIndex="33" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="6" name="Label19" posX="2" posY="8" text="Tarifa"/>
<Label posX="16" posY="8" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_tarifa" comment="Digite Codigo Tarifa apagar al transportista" fieldId="38" gridHeight="1" gridWidth="2" name="cod_tarifa" posX="18" posY="8" sqlTabName="formonly" tabIndex="34" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="descrip5" fieldId="39" gridHeight="1" gridWidth="17" name="descrip5" noEntry="true" posX="22" posY="8" sqlTabName="formonly" tabIndex="35" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="descrip6" fieldId="40" gridHeight="1" gridWidth="17" name="descrip6" noEntry="true" posX="41" posY="8" sqlTabName="formonly" tabIndex="36" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="10" name="Label31" posX="60" posY="8" text="Doc. Referencia"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" case="upper" colName="" fieldId="63" gridHeight="1" gridWidth="8" name="pdocumento_ref" posX="73" posY="8" scroll="true" sqlTabName="" tabIndex="64" table_alias_name="" title="Edit1" widget="Edit"/>
<Label gridHeight="1" gridWidth="15" name="Label20" posX="2" posY="9" text="Fecha Embarque:"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="fecha_embarque" fieldId="36" format="dd/mm/yyyy" gridHeight="1" gridWidth="11" name="fecha_embarque" posX="18" posY="9" sqlTabName="formonly" tabIndex="37" table_alias_name="" widget="Edit"/>
<Label posX="38" posY="9" text="Placa :"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" case="upper" colName="placa_transp" fieldId="37" gridHeight="1" gridWidth="12" name="placa_transp" posX="46" posY="9" sqlTabName="formonly" tabIndex="38" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="12" name="Label32" posX="60" posY="9" text="Factura Exp."/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="factura_e" fieldId="13" gridHeight="1" gridWidth="8" name="factura_e" posX="73" posY="9" sqlTabName="formonly" tabIndex="39" table_alias_name="" widget="Edit"/>
</Group>
<Group gridHeight="10" gridWidth="32" name="Group5" posX="86" posY="15">
<Label gridHeight="1" gridWidth="11" name="Label21" posX="1" posY="2" text="Sub-total :"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="sub_total" fieldId="41" gridHeight="1" gridWidth="17" name="sub_total" noEntry="true" posX="13" posY="2" sqlTabName="formonly" tabIndex="40" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="11" name="Label22" posX="1" posY="3" text="Descuento :"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="porc_desc" fieldId="24" gridHeight="1" gridWidth="5" name="porc_desc" noEntry="true" posX="13" posY="3" sqlTabName="formonly" tabIndex="41" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="desc_valor" fieldId="42" gridHeight="1" gridWidth="10" name="desc_valor" noEntry="true" posX="20" posY="3" sqlTabName="formonly" tabIndex="42" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="5" name="Label23" posX="1" posY="4" text="ITBIS"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="porc_itbi" fieldId="30" gridHeight="1" gridWidth="5" name="porc_itbi" noEntry="true" posX="13" posY="4" sqlTabName="formonly" tabIndex="43" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="itbi" fieldId="43" gridHeight="1" gridWidth="10" name="itbi" noEntry="true" posX="20" posY="4" sqlTabName="formonly" tabIndex="44" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="5" name="Label24" posX="1" posY="5" text="Total"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="total_fact" fieldId="44" gridHeight="1" gridWidth="17" name="total_fact" noEntry="true" posX="13" posY="5" sqlTabName="formonly" tabIndex="45" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="8" name="Label25" posX="1" posY="6" text="Prima US"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="prima_us" fieldId="25" gridHeight="1" gridWidth="9" name="prima_us" noEntry="true" posX="13" posY="6" sqlTabName="formonly" tabIndex="46" table_alias_name="" widget="Edit"/>
</Group>
<Group gridHeight="10" gridWidth="129" name="Group6" posX="1" posY="25" text="Detalle">
<Table gridHeight="8" gridWidth="127" name="Table1" posX="1" posY="1" totalRows="7" unitWidth="characters" width="112">
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="area" fieldId="45" gridHeight="1" gridWidth="10" name="area" posX="0" posY="0" sqlTabName="formonly" tabIndex="47" table_alias_name="" title="AREA" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_n" comment="Digite Codigo del Producto o Ctrl-W Para Ayuda" fieldId="46" gridHeight="1" gridWidth="10" name="cod_n" posX="10" posY="0" sqlTabName="formonly" tabIndex="48" table_alias_name="" title="CLASE" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_grupo" comment="Digite Codigo del Producto o Ctrl-W Para Ayuda" fieldId="47" gridHeight="1" gridWidth="5" name="cod_grupo" posX="20" posY="0" sqlTabName="formonly" tabIndex="49" table_alias_name="" title="GRUPO" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_tipo" comment="Digite Codigo del Producto o Ctrl-W Para Ayuda" fieldId="48" gridHeight="1" gridWidth="10" name="cod_tipo" posX="25" posY="0" sqlTabName="formonly" tabIndex="50" table_alias_name="" title="TIPO" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_sec" comment="Digite Codigo del Producto o Ctrl-W Para Ayuda" fieldId="49" gridHeight="1" gridWidth="10" name="cod_sec" posX="35" posY="0" sqlTabName="formonly" tabIndex="51" table_alias_name="" title="MEDIDA" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="descrip_esp" fieldId="50" gridHeight="1" gridWidth="25" name="descrip_esp" noEntry="true" posX="45" posY="0" sqlTabName="formonly" tabIndex="52" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="unidad_med" fieldId="51" gridHeight="1" gridWidth="3" name="unidad_med" noEntry="true" posX="70" posY="0" sqlTabName="formonly" tabIndex="53" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cantidad" comment="Digite Cantidad a Facturar a ARTICULO" fieldId="52" gridHeight="1" gridWidth="7" name="cantidad" posX="73" posY="0" sqlTabName="formonly" tabIndex="54" table_alias_name="" title="CANTIDAD" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="precio" fieldId="53" gridHeight="1" gridWidth="10" name="precio" posX="80" posY="0" sqlTabName="formonly" tabIndex="55" table_alias_name="" title="PRECIO" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="cantidad_2" comment="Digite el porciento a descontar a este ARTICULO" fieldId="54" gridHeight="1" gridWidth="6" name="cantidad_2" posX="90" posY="0" sqlTabName="formonly" tabIndex="56" table_alias_name="" title="DESCUENTO" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="monto_fact" fieldId="55" gridHeight="1" gridWidth="10" name="monto_fact" noEntry="true" posX="96" posY="0" scaleDecimal="2" sqlTabName="formonly" sqlType="DECIMAL" tabIndex="57" table_alias_name="" title="MONTO FACTURA" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="" fieldId="57" gridHeight="1" gridWidth="8" name="kit_id" noEntry="true" posX="106" posY="0" sqlTabName="" tabIndex="59" table_alias_name="" title="KIT" widget="Edit"/>
</Table>
</Group>
</Grid>
</Form>
<DiagramLayout>
<![CDATA[AAAAAgAAAEwAewAzAGMAYwA5AGQANwAzADMALQA5ADMAMABhAC0ANABjAGQAOAAtAGEANQAyADgALQA1ADUAOABlADAAZgA3ADYAZgAwADQAMwB9QCQAAFAAAJRAJAAAUAAAlAAAAAAAAAAAAQAAAEwAewA1AGIAOAA3ADYAMwA2AGYALQA4ADcAOABmAC0ANAA5AGIAOQAtADgAYQA1AGIALQAxADMANwA3AGQANAA2ADQAMwAyADEAZgB9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQ==]]>
</DiagramLayout>
</ManagedForm>
@@ -0,0 +1,229 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ManagedForm fileVersion="31400" gstVersion="31405" name="ManagedForm" uid="{b927f81b-62b6-4073-9411-a497cff52d66}">
<AGSettings>
<DynamicProperties version="2"/>
</AGSettings>
<Record additionalTables="" joinLeft="" joinOperator="" joinRight="" name="s_fact" order="" uid="{5b87636f-878f-49b9-8a5b-1377d464321f}" where="">
<RecordField colName="area" fieldIdRef="45" name="area" sqlTabName="formonly" table_alias_name="" uid="{87a168b8-c085-4e1d-8542-2d383bca8bb7}"/>
<RecordField colName="cod_n" fieldIdRef="46" name="cod_n" sqlTabName="formonly" table_alias_name="" uid="{4fca87a0-d769-40db-9054-7149fe69eda4}"/>
<RecordField colName="cod_grupo" fieldIdRef="47" name="cod_grupo" sqlTabName="formonly" table_alias_name="" uid="{51096d11-fc1c-4493-b736-74b4833ec18b}"/>
<RecordField colName="cod_tipo" fieldIdRef="48" name="cod_tipo" sqlTabName="formonly" table_alias_name="" uid="{7baeecc3-7c12-469f-abff-f24ca44b3264}"/>
<RecordField colName="cod_sec" fieldIdRef="49" name="cod_sec" sqlTabName="formonly" table_alias_name="" uid="{f9743280-94a9-447a-ac0a-5aedef51f657}"/>
<RecordField colName="descrip_esp" fieldIdRef="50" name="descrip_esp" sqlTabName="formonly" table_alias_name="" uid="{54f6fa29-5423-4862-9d5e-3c0e77f80f79}"/>
<RecordField colName="unidad_med" fieldIdRef="51" name="unidad_med" sqlTabName="formonly" table_alias_name="" uid="{248af50a-504c-4e01-b7d9-470b549f46cb}"/>
<RecordField colName="cantidad" fieldIdRef="52" name="cantidad" sqlTabName="formonly" table_alias_name="" uid="{58af67b8-ba8e-4f72-bbb6-f0c64c81cd52}"/>
<RecordField colName="precio" fieldIdRef="53" name="precio" sqlTabName="formonly" table_alias_name="" uid="{8e0c9eed-0ea0-487f-a050-ab6bfa9dbd05}"/>
<RecordField colName="cantidad_2" fieldIdRef="54" name="cantidad_2" sqlTabName="formonly" table_alias_name="" uid="{65b7c941-4948-4b73-beea-082225a59b3c}"/>
<RecordField colName="monto_fact" fieldIdRef="55" name="monto_fact" sqlTabName="formonly" sqlType="DECIMAL" table_alias_name="" uid="{08aae4e0-6a43-4997-a57f-66bda47ac3c5}"/>
<RecordField colName="" fieldIdRef="57" name="kit_id" sqlTabName="" table_alias_name="" uid="{f678a1fe-d1de-4d9c-990d-f4a84a8ac4dd}"/>
</Record>
<Record additionalTables="" joinLeft="" joinOperator="" joinRight="" name="Undefined" order="" uid="{3cc9d733-930a-4cd8-a528-558e0f76f043}" where="">
<RecordField colName="cod_cia" fieldIdRef="11" name="cod_cia" sqlTabName="formonly" table_alias_name="" uid="{87cb6786-cbdb-471a-a02c-1e29ca15026d}"/>
<RecordField colName="compania" fieldIdRef="12" name="compania" sqlTabName="formonly" table_alias_name="" uid="{c020ef21-f25f-4ad2-b44d-44a2812e92f2}"/>
<RecordField colName="ventas" fieldIdRef="14" name="ventas" sqlTabName="formonly" table_alias_name="" uid="{eb3907ce-0f4b-4648-bdb8-fec2e4045c17}"/>
<RecordField colName="ch_itbi" defaultValue="S" fieldIdRef="0" name="ch_itbi" sqlTabName="formonly" sqlType="CHAR" table_alias_name="" uid="{4ce0ff48-ef95-48b4-b076-4aee20eca512}"/>
<RecordField colName="ch_encabeza" defaultValue="S" fieldIdRef="1" name="ch_encabeza" sqlTabName="formonly" sqlType="CHAR" table_alias_name="" uid="{47718de2-b5c5-49f7-ab9e-c42013220b63}"/>
<RecordField colName="ch_servicios" defaultValue="N" fieldIdRef="2" name="ch_servicios" sqlTabName="formonly" sqlType="CHAR" table_alias_name="" uid="{5e9637e9-b873-493f-b021-459356323a2e}"/>
<RecordField colName="pcotizacion" fieldIdRef="4" name="pcotizacion" sqlTabName="formonly" table_alias_name="" uid="{7dc8f296-7ae2-486b-9df5-a9b9a5bcf0b7}"/>
<RecordField colName="fecha_cotizacion" fieldIdRef="5" name="fecha_cotizacion" sqlTabName="formonly" table_alias_name="" uid="{c5bc659d-13aa-4534-b4e7-9e4794659963}"/>
<RecordField colName="conduce" fieldIdRef="28" name="conduce" sqlTabName="formonly" table_alias_name="" uid="{b85081a8-cb6c-4828-b4bc-44e50f7fbf38}"/>
<RecordField colName="fecha_conduce" fieldIdRef="29" name="fecha_conduce" sqlTabName="formonly" table_alias_name="" uid="{5c62ef93-d208-4bb0-84cb-a9e0eecff6aa}"/>
<RecordField colName="factura" fieldIdRef="16" name="factura" sqlTabName="formonly" table_alias_name="" uid="{6b900b3d-a808-480b-8c8a-8acac48b267b}"/>
<RecordField colName="orden" fieldIdRef="26" name="orden" sqlTabName="formonly" table_alias_name="" uid="{97c6f74c-f97c-4368-8f60-97f133f1eae9}"/>
<RecordField colName="fecha_orden" fieldIdRef="27" name="fecha_orden" sqlTabName="formonly" table_alias_name="" uid="{efd7db9e-23db-46c8-a6c5-b44a5c6460dd}"/>
<RecordField colName="fecha_factura" fieldIdRef="17" name="fecha_factura" sqlTabName="formonly" table_alias_name="" uid="{e359ff25-5134-4a2b-8c44-950a1b5baa07}"/>
<RecordField colName="documento_ref" fieldIdRef="9" name="documento_ref" sqlTabName="formonly" table_alias_name="" uid="{f9d092db-e079-4828-94b1-580328a24747}"/>
<RecordField colName="p_fecha_ven" fieldIdRef="3" name="p_fecha_ven" sqlTabName="formonly" sqlType="DATE" table_alias_name="" uid="{028aa52b-d335-40d8-888c-f3a18af554cc}"/>
<RecordField colName="descripcion_ncf" fieldIdRef="7" name="descripcion_ncf" sqlTabName="formonly" table_alias_name="" uid="{f2cbd694-5abc-4ddb-88dc-aca3f48c12e9}"/>
<RecordField colName="kncf" fieldIdRef="8" name="kncf" sqlTabName="formonly" table_alias_name="" uid="{2a1f5118-eb53-4bbe-9204-6d9a98cb96a2}"/>
<RecordField colName="tipo_cliente" fieldIdRef="18" name="tipo_cliente" sqlTabName="formonly" table_alias_name="" uid="{7bb15795-acd1-4503-a5d9-2be97dfa347e}"/>
<RecordField colName="sec_cliente" fieldIdRef="19" name="sec_cliente" sqlTabName="formonly" table_alias_name="" uid="{4c822344-a545-4815-9160-9e0ffdbb675b}"/>
<RecordField colName="nombre" fieldIdRef="20" name="nombre" sqlTabName="formonly" table_alias_name="" uid="{34cb2cb9-8371-4c56-acc3-1e7454f8d887}"/>
<RecordField colName="direccion" fieldIdRef="21" name="direccion" sqlTabName="formonly" table_alias_name="" uid="{474da069-3292-4cfd-8a8b-002ae726b4c1}"/>
<RecordField colName="ciudad" fieldIdRef="22" name="ciudad" sqlTabName="formonly" table_alias_name="" uid="{e7f12bf4-f3bd-48c2-a30e-1b55bde43fa9}"/>
<RecordField colName="zona" fieldIdRef="15" name="zona" sqlTabName="formonly" table_alias_name="" uid="{ec13971e-0195-4dac-90f5-c612142c0194}"/>
<RecordField colName="descrip1" fieldIdRef="10" name="descrip1" sqlTabName="formonly" table_alias_name="" uid="{6998d158-b562-412c-8e10-c07a1063a388}"/>
<RecordField colName="ch_balance" fieldIdRef="56" name="ch_balance" sqlTabName="formonly" table_alias_name="" uid="{ca3337fb-91de-4855-9aa2-9b483be07a28}"/>
<RecordField colName="sec_vend" fieldIdRef="31" name="sec_vend" sqlTabName="formonly" table_alias_name="" uid="{da34ee96-7c30-416c-87b9-5cf1b3ef9acb}"/>
<RecordField colName="nombre_vend" fieldIdRef="32" name="nombre_vend" sqlTabName="formonly" table_alias_name="" uid="{158414e5-8aa3-4a8b-9ad5-718d154b5ccc}"/>
<RecordField colName="cond_pago" fieldIdRef="23" name="cond_pago" sqlTabName="formonly" table_alias_name="" uid="{781b7871-e958-4777-a08a-9168ba1d5265}"/>
<RecordField colName="cod_transp" fieldIdRef="33" name="cod_transp" sqlTabName="formonly" table_alias_name="" uid="{9a079b53-4ad1-456f-bfd3-0b067aa1d20f}"/>
<RecordField colName="sec_transp" fieldIdRef="34" name="sec_transp" sqlTabName="formonly" table_alias_name="" uid="{9c0bd28a-dae6-44ce-bcac-cee7340fc35d}"/>
<RecordField colName="nombre_tran" fieldIdRef="35" name="nombre_tran" sqlTabName="formonly" table_alias_name="" uid="{662c63c2-e7e6-4839-b2ee-2bd0058e731f}"/>
<RecordField colName="cod_tarifa" fieldIdRef="38" name="cod_tarifa" sqlTabName="formonly" table_alias_name="" uid="{36058b6a-4a2d-4dd8-8119-b52771c0626f}"/>
<RecordField colName="descrip5" fieldIdRef="39" name="descrip5" sqlTabName="formonly" table_alias_name="" uid="{6a2d7fc1-843a-4389-9a8e-eb214d0b7520}"/>
<RecordField colName="descrip6" fieldIdRef="40" name="descrip6" sqlTabName="formonly" table_alias_name="" uid="{73c2c4a4-2943-4f69-8bbc-02198aca43fb}"/>
<RecordField colName="fecha_embarque" fieldIdRef="36" name="fecha_embarque" sqlTabName="formonly" table_alias_name="" uid="{f1263c35-6ef7-4fdf-9c2e-a1459e27d8a4}"/>
<RecordField colName="placa_transp" fieldIdRef="37" name="placa_transp" sqlTabName="formonly" table_alias_name="" uid="{9ea9d290-36a0-49ce-85e1-b59cb805b443}"/>
<RecordField colName="factura_e" fieldIdRef="13" name="factura_e" sqlTabName="formonly" table_alias_name="" uid="{1e240bf3-6111-485a-8499-433a1e79f677}"/>
<RecordField colName="sub_total" fieldIdRef="41" name="sub_total" sqlTabName="formonly" table_alias_name="" uid="{344b7b62-d635-4a13-80c0-6286bb728052}"/>
<RecordField colName="porc_desc" fieldIdRef="24" name="porc_desc" sqlTabName="formonly" table_alias_name="" uid="{2ca0bece-24d7-452b-bb32-47ec64eb7583}"/>
<RecordField colName="desc_valor" fieldIdRef="42" name="desc_valor" sqlTabName="formonly" table_alias_name="" uid="{2d45ebd5-3534-4afc-bca3-a93d06e7a1f9}"/>
<RecordField colName="porc_itbi" fieldIdRef="30" name="porc_itbi" sqlTabName="formonly" table_alias_name="" uid="{9650a045-1db4-4409-8b3d-742c3003581b}"/>
<RecordField colName="itbi" fieldIdRef="43" name="itbi" sqlTabName="formonly" table_alias_name="" uid="{a932889d-15a9-4a7b-ac73-79ac31dd7785}"/>
<RecordField colName="total_fact" fieldIdRef="44" name="total_fact" sqlTabName="formonly" table_alias_name="" uid="{86505d4a-16cf-4585-a10e-d312c5546279}"/>
<RecordField colName="prima_us" fieldIdRef="25" name="prima_us" sqlTabName="formonly" table_alias_name="" uid="{6a69d2bb-8c58-49f5-8972-303450083a52}"/>
<RecordField colName="" defaultValue="1" fieldIdRef="58" name="bodega" sqlTabName="" table_alias_name="" uid="{c7408e5c-8fa4-451e-8e9d-09ebe674f562}"/>
<RecordField colName="factura" fieldIdRef="59" name="factura1" sqlTabName="formonly" table_alias_name="" uid="{ce8c6041-57e5-4d02-b2a4-016fddc76097}"/>
<RecordField colName="nombre_tran" fieldIdRef="60" name="num_rnc" sqlTabName="formonly" table_alias_name="" uid="{b25291aa-1e4e-478d-a330-683e25edeaac}"/>
<RecordField colName="" fieldIdRef="61" name="imprime" sqlTabName="" table_alias_name="" uid="{bc8c569e-f677-4d05-87a3-2144d6c6cba8}"/>
<RecordField colName="" defaultValue="CONDUCE" fieldIdRef="62" name="proforma" sqlTabName="" table_alias_name="" uid="{b8165b9c-d598-4135-996f-b5f8b6d0f927}"/>
<RecordField colName="" fieldIdRef="63" name="pdocumento_ref" sqlTabName="" table_alias_name="" uid="{68f0ad43-a64b-427c-b406-cf4933eb27ed}"/>
<RecordField colName="" fieldIdRef="64" name="descripcion_doc" sqlTabName="" table_alias_name="" uid="{52e416dd-043d-4c27-8ab7-6c0c0ba25538}"/>
<RecordField colName="" fieldIdRef="65" name="fecha_vencimiento" sqlTabName="" table_alias_name="" uid="{e4ac0fd5-ba5b-4885-988b-9a1cd3e3f920}"/>
<RecordField colName="codigodgii" fieldIdRef="6" name="codigodgii" sqlTabName="formonly" table_alias_name="" uid="{cbe9e609-72ca-44db-9b52-36f7a7876953}"/>
<RecordField fieldIdRef="66" name="estado" uid="{400bc37e-31b7-42b3-bc92-a29a4f38ed75}"/>
<RecordField fieldIdRef="67" name="trackid" uid="{dae40e04-4fb9-450d-acf2-aa8d12003754}"/>
<RecordField fieldIdRef="68" name="mensaje_dgii" uid="{af29c209-c462-4aa6-ac7a-ebc9e7f68454}"/>
</Record>
<Form gridHeight="40" gridWidth="147" name="vefmmt001" style="basic" text="CREACION FACTURAS VENTAS">
<ActionDefaultList name="ActionDefaultList1">
<ActionDefault image="about" name="bncf"/>
<ActionDefault acceleratorName1="F8" image="delete" name="anular"/>
</ActionDefaultList>
<ToolBar name="ToolBar1">
<ToolBarItem comment="Nueva Factura" image="new" name="nuevo" text="Factura"/>
<ToolBarItem comment="Criterio de busqueda" image="find" name="buscar" text="Buscar Factura"/>
<ToolBarSeparator name="ToolBarSeparator1"/>
<ToolBarItem image="quit" name="salir" text="Salir"/>
</ToolBar>
<Grid gridHeight="40" gridWidth="147" name="Grid1" posX="0" posY="0">
<Group gridHeight="6" gridWidth="82" name="Group1" posX="1" posY="0" text="Encabezado">
<Label gridHeight="1" gridWidth="9" name="Label1" posX="5" posY="1" text="Compania:"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_cia" fieldId="11" gridHeight="1" gridWidth="2" name="cod_cia" posX="18" posY="1" sqlTabName="formonly" tabIndex="1" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="compania" fieldId="12" gridHeight="1" gridWidth="53" name="compania" noEntry="true" posX="22" posY="1" sqlTabName="formonly" tabIndex="2" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="6" name="Label2" posX="8" posY="2" text="Ventas"/>
<ComboBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ventas" fieldId="14" gridHeight="1" gridWidth="36" items="" name="ventas" posX="18" posY="2" sqlTabName="formonly" tabIndex="3" table_alias_name="" widget="ComboBox"/>
<Label gridHeight="1" gridWidth="13" justify="right" name="Label33" posX="1" posY="3" text="Descripcion"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" case="upper" colName="" fieldId="64" gridHeight="1" gridWidth="37" name="descripcion_doc" posX="18" posY="3" sqlTabName="" tabIndex="65" table_alias_name="" title="Edit1" widget="Edit"/>
</Group>
<Group gridHeight="6" gridWidth="22" name="Group2" posX="84" posY="0" text="parametros">
<Label posX="1" posY="1" text="ITBIS"/>
<CheckBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ch_itbi" defaultValue="S" fieldId="0" gridHeight="1" gridWidth="8" name="ch_itbi" notNull="true" posX="11" posY="1" required="true" sqlTabName="formonly" sqlType="CHAR" tabIndex="4" table_alias_name="" valueChecked="S" valueUnchecked="N" widget="CheckBox"/>
<Label posX="1" posY="2" text="Membrete"/>
<CheckBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ch_encabeza" defaultValue="S" fieldId="1" gridHeight="1" gridWidth="8" name="ch_encabeza" notNull="true" posX="11" posY="2" required="true" sqlTabName="formonly" sqlType="CHAR" tabIndex="5" table_alias_name="" valueChecked="S" valueUnchecked="N" widget="CheckBox"/>
<Label posX="1" posY="3" text="Servicios"/>
<CheckBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ch_servicios" defaultValue="N" fieldId="2" gridHeight="1" gridWidth="8" name="ch_servicios" notNull="true" posX="11" posY="3" required="true" sqlTabName="formonly" sqlType="CHAR" tabIndex="6" table_alias_name="" valueChecked="S" valueUnchecked="N" widget="CheckBox"/>
<Label gridHeight="1" gridWidth="7" name="Label30" posX="1" posY="4" text="Proforma"/>
<CheckBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="" defaultValue="CONDUCE" fieldId="62" gridHeight="1" gridWidth="7" name="proforma" posX="11" posY="4" sqlTabName="" tabIndex="63" table_alias_name="" title="CheckBox1" valueChecked="PROFORMA" valueUnchecked="CONDUCE" widget="CheckBox"/>
</Group>
<Group gridHeight="6" gridWidth="31" name="group8" posX="116" posY="2" text="MENSAJES DGII">
<Edit fieldId="66" gridHeight="1" gridWidth="10" name="estado" posX="2" posY="1" tabIndex="-1" title="edit1" widget="Edit"/>
<Edit fieldId="67" gridHeight="1" gridWidth="26" name="trackid" posX="2" posY="3" scroll="true" tabIndex="-1" title="edit1" widget="Edit"/>
<Edit fieldId="68" gridHeight="1" gridWidth="28" name="mensaje_dgii" posX="2" posY="4" scroll="true" tabIndex="-1" title="edit1" widget="Edit"/>
</Group>
<Group gridHeight="8" gridWidth="114" name="Group3" posX="1" posY="6" text="Documentos">
<Label gridHeight="1" gridWidth="5" name="Label5" posX="2" posY="1" text="Orden"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="orden" fieldId="26" gridHeight="1" gridWidth="6" name="orden" posX="13" posY="1" sqlTabName="formonly" tabIndex="13" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="5" name="Label9" posX="35" posY="1" text="Fecha"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="fecha_cotizacion" fieldId="5" format="dd/mm/yyyy" gridHeight="1" gridWidth="10" name="fecha_cotizacion" posX="42" posY="1" sqlTabName="formonly" tabIndex="8" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="10" name="Label26" posX="2" posY="2" text="ALMACEN"/>
<ComboBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="" defaultValue="1" fieldId="58" gridHeight="1" gridWidth="18" items="" name="bodega" posX="13" posY="2" sqlTabName="" tabIndex="58" table_alias_name="" title="ComboBox1" widget="ComboBox"/>
<Label gridHeight="1" gridWidth="7" name="Label4" posX="33" posY="2" text="CONDUCE"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="conduce" fieldId="28" gridHeight="1" gridWidth="6" name="conduce" posX="42" posY="2" required="true" sqlTabName="formonly" tabIndex="9" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="Label10" posX="50" posY="2" text="Fecha Conduce:"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="fecha_conduce" comment="Digite La Fecha del Conduce" fieldId="29" format="dd/mm/yyyy" gridHeight="1" gridWidth="15" name="fecha_conduce" posX="65" posY="2" sqlTabName="formonly" tabIndex="10" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="7" name="Label8" posX="81" posY="2" text="Factura"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="factura" fieldId="16" gridHeight="1" gridWidth="6" name="factura" noEntry="true" posX="97" posY="2" required="true" sqlTabName="formonly" tabIndex="11" table_alias_name="" widget="Edit"/>
<Button gridHeight="1" gridWidth="7" name="anular" posX="105" posY="2" tabIndex="12"/>
<Label gridHeight="1" gridWidth="10" name="Label3" posX="2" posY="3" text="Cotizacion"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="pcotizacion" fieldId="4" gridHeight="1" gridWidth="6" name="pcotizacion" posX="13" posY="3" sqlTabName="formonly" tabIndex="7" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="11" name="Label11" posX="50" posY="3" text="Fecha Orden"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="fecha_orden" comment="Digite La Fecha de La Orden" fieldId="27" format="dd/mm/yyyy" gridHeight="1" gridWidth="15" name="fecha_orden" posX="65" posY="3" sqlTabName="formonly" tabIndex="14" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="Label7" posX="81" posY="3" text="Fecha Factura:"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="fecha_factura" fieldId="17" gridHeight="1" gridWidth="14" name="fecha_factura" posX="97" posY="3" sqlTabName="formonly" tabIndex="15" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="9" name="Label6" posX="2" posY="4" text="Documento"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="documento_ref" comment="Orden Compras Cliente" fieldId="9" gridHeight="1" gridWidth="16" name="documento_ref" posX="13" posY="4" sqlTabName="formonly" tabIndex="16" table_alias_name="" widget="Edit"/>
<Label posX="30" posY="4" text="Fecha Vence"/>
<FFLabel aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="p_fecha_ven" fieldId="3" format="dd/mm/yyyy" gridHeight="1" gridWidth="10" name="p_fecha_ven" posX="42" posY="4" sqlTabName="formonly" sqlType="DATE" table_alias_name="" widget="FFLabel"/>
<Label gridHeight="1" gridWidth="14" name="Label27" posX="81" posY="4" text="Factura F"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="factura" fieldId="59" gridHeight="1" gridWidth="6" name="factura1" noEntry="true" posX="97" posY="4" required="true" sqlTabName="formonly" tabIndex="60" table_alias_name="" widget="Edit"/>
<Label posX="2" posY="5" text="NCF"/>
<ButtonEdit action="f2" aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" case="upper" colName="codigodgii" fieldId="6" gridHeight="1" gridWidth="19" name="codigodgii" posX="6" posY="5" sqlTabName="formonly" tabIndex="-1" table_alias_name="" widget="ButtonEdit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="descripcion_ncf" fieldId="7" gridHeight="1" gridWidth="43" name="descripcion_ncf" posX="27" posY="5" sqlTabName="formonly" tabIndex="18" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="Label34" posX="81" posY="5" text="Fecha Vencimiento"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="" fieldId="65" gridHeight="1" gridWidth="12" name="fecha_vencimiento" posX="97" posY="5" sqlTabName="" tabIndex="66" table_alias_name="" title="Edit1" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="kncf" fieldId="8" gridHeight="1" gridWidth="19" name="kncf" posX="6" posY="6" sqlTabName="formonly" tabIndex="19" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="8" name="Label29" posX="27" posY="6" text="Ruta impresion"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="" fieldId="61" gridHeight="1" gridWidth="45" name="imprime" posX="37" posY="6" sqlTabName="" tabIndex="62" table_alias_name="" title="Edit1" widget="Edit"/>
</Group>
<Group gridHeight="11" gridWidth="84" name="Group4" posX="1" posY="14" text="Cliente">
<Label gridHeight="1" gridWidth="7" name="Label12" posX="2" posY="1" text="Cliente"/>
<Label posX="16" posY="1" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="tipo_cliente" comment="Digite Codigo Cliente o Presione Ctrl-E Para Crear y/o Buscar" fieldId="18" gridHeight="1" gridWidth="4" name="tipo_cliente" posX="18" posY="1" sqlTabName="formonly" tabIndex="20" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="sec_cliente" comment="Digite Codigo Cliente o Presione Ctrl-E Para Crear y/o Buscar" fieldId="19" gridHeight="1" gridWidth="8" name="sec_cliente" posX="24" posY="1" sqlTabName="formonly" tabIndex="21" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="nombre" fieldId="20" gridHeight="1" gridWidth="33" name="nombre" noEntry="true" posX="33" posY="1" sqlTabName="formonly" tabIndex="22" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="9" name="Label13" posX="2" posY="2" text="Direccion"/>
<Label posX="16" posY="2" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="direccion" fieldId="21" gridHeight="1" gridWidth="44" name="direccion" noEntry="true" posX="18" posY="2" sqlTabName="formonly" tabIndex="23" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="7" name="Label14" posX="2" posY="3" text="Ubicac."/>
<Label posX="16" posY="3" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ciudad" fieldId="22" gridHeight="1" gridWidth="18" name="ciudad" noEntry="true" posX="18" posY="3" sqlTabName="formonly" tabIndex="24" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="zona" comment="Entre Zona o Pais del Cliente o Presione Ctrl-W" fieldId="15" gridHeight="1" gridWidth="3" name="zona" picture="###" posX="38" posY="3" sqlTabName="formonly" tabIndex="25" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="descrip1" fieldId="10" gridHeight="1" gridWidth="36" name="descrip1" noEntry="true" posX="43" posY="3" sqlTabName="formonly" tabIndex="26" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="7" name="Label15" posX="2" posY="4" text="Balance"/>
<Label posX="16" posY="4" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ch_balance" fieldId="56" gridHeight="1" gridWidth="15" name="ch_balance" noEntry="true" posX="18" posY="4" sqlTabName="formonly" tabIndex="27" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="15" name="Label28" posX="37" posY="4" text="NUMERO RNC"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="nombre_tran" fieldId="60" gridHeight="1" gridWidth="20" name="num_rnc" noEntry="true" posX="53" posY="4" sqlTabName="formonly" tabIndex="61" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="8" name="Label16" posX="2" posY="5" text="Vendedor"/>
<Label posX="16" posY="5" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="sec_vend" comment="Digite Codigo Vendedor o Presione Ctrl-W Para Ayuda" fieldId="31" gridHeight="1" gridWidth="4" name="sec_vend" posX="18" posY="5" sqlTabName="formonly" tabIndex="28" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="nombre_vend" fieldId="32" gridHeight="1" gridWidth="29" name="nombre_vend" noEntry="true" posX="24" posY="5" sqlTabName="formonly" tabIndex="29" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="9" name="Label17" posX="2" posY="6" text="Condicion"/>
<Label posX="16" posY="6" text=":"/>
<ComboBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="cond_pago" fieldId="23" gridHeight="1" gridWidth="35" items="" name="cond_pago" posX="18" posY="6" sqlTabName="formonly" tabIndex="30" table_alias_name="" widget="ComboBox"/>
<Label gridHeight="1" gridWidth="15" name="Label18" posX="2" posY="7" text="Transportista :"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_transp" comment="Digite el Codigo del transportista o Presione Ctrl-W Para Ayuda" fieldId="33" gridHeight="1" gridWidth="2" name="cod_transp" posX="18" posY="7" sqlTabName="formonly" tabIndex="31" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="sec_transp" comment="Digite el Codigo del transportista o Presione Ctrl-W Para Ayuda" fieldId="34" gridHeight="1" gridWidth="4" name="sec_transp" posX="22" posY="7" sqlTabName="formonly" tabIndex="32" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="nombre_tran" fieldId="35" gridHeight="1" gridWidth="30" name="nombre_tran" noEntry="true" posX="28" posY="7" sqlTabName="formonly" tabIndex="33" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="6" name="Label19" posX="2" posY="8" text="Tarifa"/>
<Label posX="16" posY="8" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_tarifa" comment="Digite Codigo Tarifa apagar al transportista" fieldId="38" gridHeight="1" gridWidth="2" name="cod_tarifa" posX="18" posY="8" sqlTabName="formonly" tabIndex="34" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="descrip5" fieldId="39" gridHeight="1" gridWidth="17" name="descrip5" noEntry="true" posX="22" posY="8" sqlTabName="formonly" tabIndex="35" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="descrip6" fieldId="40" gridHeight="1" gridWidth="17" name="descrip6" noEntry="true" posX="41" posY="8" sqlTabName="formonly" tabIndex="36" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="10" name="Label31" posX="60" posY="8" text="Doc. Referencia"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" case="upper" colName="" fieldId="63" gridHeight="1" gridWidth="8" name="pdocumento_ref" posX="73" posY="8" scroll="true" sqlTabName="" tabIndex="64" table_alias_name="" title="Edit1" widget="Edit"/>
<Label gridHeight="1" gridWidth="15" name="Label20" posX="2" posY="9" text="Fecha Embarque:"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="fecha_embarque" fieldId="36" format="dd/mm/yyyy" gridHeight="1" gridWidth="11" name="fecha_embarque" posX="18" posY="9" sqlTabName="formonly" tabIndex="37" table_alias_name="" widget="Edit"/>
<Label posX="38" posY="9" text="Placa :"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" case="upper" colName="placa_transp" fieldId="37" gridHeight="1" gridWidth="12" name="placa_transp" posX="46" posY="9" sqlTabName="formonly" tabIndex="38" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="12" name="Label32" posX="60" posY="9" text="Factura Exp."/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="factura_e" fieldId="13" gridHeight="1" gridWidth="8" name="factura_e" posX="73" posY="9" sqlTabName="formonly" tabIndex="39" table_alias_name="" widget="Edit"/>
</Group>
<Group gridHeight="10" gridWidth="32" name="Group5" posX="86" posY="15">
<Label gridHeight="1" gridWidth="11" name="Label21" posX="1" posY="2" text="Sub-total :"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="sub_total" fieldId="41" gridHeight="1" gridWidth="17" name="sub_total" noEntry="true" posX="13" posY="2" sqlTabName="formonly" tabIndex="40" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="11" name="Label22" posX="1" posY="3" text="Descuento :"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="porc_desc" fieldId="24" gridHeight="1" gridWidth="5" name="porc_desc" noEntry="true" posX="13" posY="3" sqlTabName="formonly" tabIndex="41" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="desc_valor" fieldId="42" gridHeight="1" gridWidth="10" name="desc_valor" noEntry="true" posX="20" posY="3" sqlTabName="formonly" tabIndex="42" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="5" name="Label23" posX="1" posY="4" text="ITBIS"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="porc_itbi" fieldId="30" gridHeight="1" gridWidth="5" name="porc_itbi" noEntry="true" posX="13" posY="4" sqlTabName="formonly" tabIndex="43" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="itbi" fieldId="43" gridHeight="1" gridWidth="10" name="itbi" noEntry="true" posX="20" posY="4" sqlTabName="formonly" tabIndex="44" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="5" name="Label24" posX="1" posY="5" text="Total"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="total_fact" fieldId="44" gridHeight="1" gridWidth="17" name="total_fact" noEntry="true" posX="13" posY="5" sqlTabName="formonly" tabIndex="45" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="8" name="Label25" posX="1" posY="6" text="Tasa US$"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="prima_us" fieldId="25" gridHeight="1" gridWidth="9" name="prima_us" posX="13" posY="6" sqlTabName="formonly" tabIndex="46" table_alias_name="" widget="Edit"/>
</Group>
<Group gridHeight="10" gridWidth="129" name="Group6" posX="1" posY="25" text="Detalle">
<Table gridHeight="8" gridWidth="127" name="Table1" posX="1" posY="1" totalRows="7" unitWidth="characters" width="112">
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="area" fieldId="45" gridHeight="1" gridWidth="10" name="area" posX="0" posY="0" sqlTabName="formonly" tabIndex="47" table_alias_name="" title="AREA" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_n" comment="Digite Codigo del Producto o Ctrl-W Para Ayuda" fieldId="46" gridHeight="1" gridWidth="10" name="cod_n" posX="10" posY="0" sqlTabName="formonly" tabIndex="48" table_alias_name="" title="CLASE" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_grupo" comment="Digite Codigo del Producto o Ctrl-W Para Ayuda" fieldId="47" gridHeight="1" gridWidth="5" name="cod_grupo" posX="20" posY="0" sqlTabName="formonly" tabIndex="49" table_alias_name="" title="GRUPO" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_tipo" comment="Digite Codigo del Producto o Ctrl-W Para Ayuda" fieldId="48" gridHeight="1" gridWidth="10" name="cod_tipo" posX="25" posY="0" sqlTabName="formonly" tabIndex="50" table_alias_name="" title="TIPO" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_sec" comment="Digite Codigo del Producto o Ctrl-W Para Ayuda" fieldId="49" gridHeight="1" gridWidth="10" name="cod_sec" posX="35" posY="0" sqlTabName="formonly" tabIndex="51" table_alias_name="" title="MEDIDA" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="descrip_esp" fieldId="50" gridHeight="1" gridWidth="25" name="descrip_esp" noEntry="true" posX="45" posY="0" sqlTabName="formonly" tabIndex="52" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="unidad_med" fieldId="51" gridHeight="1" gridWidth="3" name="unidad_med" noEntry="true" posX="70" posY="0" sqlTabName="formonly" tabIndex="53" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cantidad" comment="Digite Cantidad a Facturar a ARTICULO" fieldId="52" gridHeight="1" gridWidth="7" name="cantidad" posX="73" posY="0" sqlTabName="formonly" tabIndex="54" table_alias_name="" title="CANTIDAD" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="precio" fieldId="53" gridHeight="1" gridWidth="10" name="precio" posX="80" posY="0" sqlTabName="formonly" tabIndex="55" table_alias_name="" title="PRECIO" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="cantidad_2" comment="Digite el porciento a descontar a este ARTICULO" fieldId="54" gridHeight="1" gridWidth="6" name="cantidad_2" posX="90" posY="0" sqlTabName="formonly" tabIndex="56" table_alias_name="" title="DESCUENTO" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="monto_fact" fieldId="55" gridHeight="1" gridWidth="10" name="monto_fact" noEntry="true" posX="96" posY="0" scaleDecimal="2" sqlTabName="formonly" sqlType="DECIMAL" tabIndex="57" table_alias_name="" title="MONTO FACTURA" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="" fieldId="57" gridHeight="1" gridWidth="8" name="kit_id" noEntry="true" posX="106" posY="0" sqlTabName="" tabIndex="59" table_alias_name="" title="KIT" widget="Edit"/>
</Table>
</Group>
</Grid>
</Form>
<DiagramLayout>
<![CDATA[AAAAAgAAAEwAewAzAGMAYwA5AGQANwAzADMALQA5ADMAMABhAC0ANABjAGQAOAAtAGEANQAyADgALQA1ADUAOABlADAAZgA3ADYAZgAwADQAMwB9QCQAAFAAAJRAJAAAUAAAlAAAAAAAAAAAAQAAAEwAewA1AGIAOAA3ADYAMwA2AGYALQA4ADcAOABmAC0ANAA5AGIAOQAtADgAYQA1AGIALQAxADMANwA3AGQANAA2ADQAMwAyADEAZgB9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQ==]]>
</DiagramLayout>
</ManagedForm>
@@ -0,0 +1,229 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ManagedForm fileVersion="31400" gstVersion="31405" name="ManagedForm" uid="{b927f81b-62b6-4073-9411-a497cff52d66}">
<AGSettings>
<DynamicProperties version="2"/>
</AGSettings>
<Record additionalTables="" joinLeft="" joinOperator="" joinRight="" name="s_fact" order="" uid="{5b87636f-878f-49b9-8a5b-1377d464321f}" where="">
<RecordField colName="area" fieldIdRef="45" name="area" sqlTabName="formonly" table_alias_name="" uid="{87a168b8-c085-4e1d-8542-2d383bca8bb7}"/>
<RecordField colName="cod_n" fieldIdRef="46" name="cod_n" sqlTabName="formonly" table_alias_name="" uid="{4fca87a0-d769-40db-9054-7149fe69eda4}"/>
<RecordField colName="cod_grupo" fieldIdRef="47" name="cod_grupo" sqlTabName="formonly" table_alias_name="" uid="{51096d11-fc1c-4493-b736-74b4833ec18b}"/>
<RecordField colName="cod_tipo" fieldIdRef="48" name="cod_tipo" sqlTabName="formonly" table_alias_name="" uid="{7baeecc3-7c12-469f-abff-f24ca44b3264}"/>
<RecordField colName="cod_sec" fieldIdRef="49" name="cod_sec" sqlTabName="formonly" table_alias_name="" uid="{f9743280-94a9-447a-ac0a-5aedef51f657}"/>
<RecordField colName="descrip_esp" fieldIdRef="50" name="descrip_esp" sqlTabName="formonly" table_alias_name="" uid="{54f6fa29-5423-4862-9d5e-3c0e77f80f79}"/>
<RecordField colName="unidad_med" fieldIdRef="51" name="unidad_med" sqlTabName="formonly" table_alias_name="" uid="{248af50a-504c-4e01-b7d9-470b549f46cb}"/>
<RecordField colName="cantidad" fieldIdRef="52" name="cantidad" sqlTabName="formonly" table_alias_name="" uid="{58af67b8-ba8e-4f72-bbb6-f0c64c81cd52}"/>
<RecordField colName="precio" fieldIdRef="53" name="precio" sqlTabName="formonly" table_alias_name="" uid="{8e0c9eed-0ea0-487f-a050-ab6bfa9dbd05}"/>
<RecordField colName="cantidad_2" fieldIdRef="54" name="cantidad_2" sqlTabName="formonly" table_alias_name="" uid="{65b7c941-4948-4b73-beea-082225a59b3c}"/>
<RecordField colName="monto_fact" fieldIdRef="55" name="monto_fact" sqlTabName="formonly" sqlType="DECIMAL" table_alias_name="" uid="{08aae4e0-6a43-4997-a57f-66bda47ac3c5}"/>
<RecordField colName="" fieldIdRef="57" name="kit_id" sqlTabName="" table_alias_name="" uid="{f678a1fe-d1de-4d9c-990d-f4a84a8ac4dd}"/>
</Record>
<Record additionalTables="" joinLeft="" joinOperator="" joinRight="" name="Undefined" order="" uid="{3cc9d733-930a-4cd8-a528-558e0f76f043}" where="">
<RecordField colName="cod_cia" fieldIdRef="11" name="cod_cia" sqlTabName="formonly" table_alias_name="" uid="{87cb6786-cbdb-471a-a02c-1e29ca15026d}"/>
<RecordField colName="compania" fieldIdRef="12" name="compania" sqlTabName="formonly" table_alias_name="" uid="{c020ef21-f25f-4ad2-b44d-44a2812e92f2}"/>
<RecordField colName="ventas" fieldIdRef="14" name="ventas" sqlTabName="formonly" table_alias_name="" uid="{eb3907ce-0f4b-4648-bdb8-fec2e4045c17}"/>
<RecordField colName="ch_itbi" defaultValue="S" fieldIdRef="0" name="ch_itbi" sqlTabName="formonly" sqlType="CHAR" table_alias_name="" uid="{4ce0ff48-ef95-48b4-b076-4aee20eca512}"/>
<RecordField colName="ch_encabeza" defaultValue="S" fieldIdRef="1" name="ch_encabeza" sqlTabName="formonly" sqlType="CHAR" table_alias_name="" uid="{47718de2-b5c5-49f7-ab9e-c42013220b63}"/>
<RecordField colName="ch_servicios" defaultValue="N" fieldIdRef="2" name="ch_servicios" sqlTabName="formonly" sqlType="CHAR" table_alias_name="" uid="{5e9637e9-b873-493f-b021-459356323a2e}"/>
<RecordField colName="pcotizacion" fieldIdRef="4" name="pcotizacion" sqlTabName="formonly" table_alias_name="" uid="{7dc8f296-7ae2-486b-9df5-a9b9a5bcf0b7}"/>
<RecordField colName="fecha_cotizacion" fieldIdRef="5" name="fecha_cotizacion" sqlTabName="formonly" table_alias_name="" uid="{c5bc659d-13aa-4534-b4e7-9e4794659963}"/>
<RecordField colName="conduce" fieldIdRef="28" name="conduce" sqlTabName="formonly" table_alias_name="" uid="{b85081a8-cb6c-4828-b4bc-44e50f7fbf38}"/>
<RecordField colName="fecha_conduce" fieldIdRef="29" name="fecha_conduce" sqlTabName="formonly" table_alias_name="" uid="{5c62ef93-d208-4bb0-84cb-a9e0eecff6aa}"/>
<RecordField colName="factura" fieldIdRef="16" name="factura" sqlTabName="formonly" table_alias_name="" uid="{6b900b3d-a808-480b-8c8a-8acac48b267b}"/>
<RecordField colName="orden" fieldIdRef="26" name="orden" sqlTabName="formonly" table_alias_name="" uid="{97c6f74c-f97c-4368-8f60-97f133f1eae9}"/>
<RecordField colName="fecha_orden" fieldIdRef="27" name="fecha_orden" sqlTabName="formonly" table_alias_name="" uid="{efd7db9e-23db-46c8-a6c5-b44a5c6460dd}"/>
<RecordField colName="fecha_factura" fieldIdRef="17" name="fecha_factura" sqlTabName="formonly" table_alias_name="" uid="{e359ff25-5134-4a2b-8c44-950a1b5baa07}"/>
<RecordField colName="documento_ref" fieldIdRef="9" name="documento_ref" sqlTabName="formonly" table_alias_name="" uid="{f9d092db-e079-4828-94b1-580328a24747}"/>
<RecordField colName="p_fecha_ven" fieldIdRef="3" name="p_fecha_ven" sqlTabName="formonly" sqlType="DATE" table_alias_name="" uid="{028aa52b-d335-40d8-888c-f3a18af554cc}"/>
<RecordField colName="descripcion_ncf" fieldIdRef="7" name="descripcion_ncf" sqlTabName="formonly" table_alias_name="" uid="{f2cbd694-5abc-4ddb-88dc-aca3f48c12e9}"/>
<RecordField colName="kncf" fieldIdRef="8" name="kncf" sqlTabName="formonly" table_alias_name="" uid="{2a1f5118-eb53-4bbe-9204-6d9a98cb96a2}"/>
<RecordField colName="tipo_cliente" fieldIdRef="18" name="tipo_cliente" sqlTabName="formonly" table_alias_name="" uid="{7bb15795-acd1-4503-a5d9-2be97dfa347e}"/>
<RecordField colName="sec_cliente" fieldIdRef="19" name="sec_cliente" sqlTabName="formonly" table_alias_name="" uid="{4c822344-a545-4815-9160-9e0ffdbb675b}"/>
<RecordField colName="nombre" fieldIdRef="20" name="nombre" sqlTabName="formonly" table_alias_name="" uid="{34cb2cb9-8371-4c56-acc3-1e7454f8d887}"/>
<RecordField colName="direccion" fieldIdRef="21" name="direccion" sqlTabName="formonly" table_alias_name="" uid="{474da069-3292-4cfd-8a8b-002ae726b4c1}"/>
<RecordField colName="ciudad" fieldIdRef="22" name="ciudad" sqlTabName="formonly" table_alias_name="" uid="{e7f12bf4-f3bd-48c2-a30e-1b55bde43fa9}"/>
<RecordField colName="zona" fieldIdRef="15" name="zona" sqlTabName="formonly" table_alias_name="" uid="{ec13971e-0195-4dac-90f5-c612142c0194}"/>
<RecordField colName="descrip1" fieldIdRef="10" name="descrip1" sqlTabName="formonly" table_alias_name="" uid="{6998d158-b562-412c-8e10-c07a1063a388}"/>
<RecordField colName="ch_balance" fieldIdRef="56" name="ch_balance" sqlTabName="formonly" table_alias_name="" uid="{ca3337fb-91de-4855-9aa2-9b483be07a28}"/>
<RecordField colName="sec_vend" fieldIdRef="31" name="sec_vend" sqlTabName="formonly" table_alias_name="" uid="{da34ee96-7c30-416c-87b9-5cf1b3ef9acb}"/>
<RecordField colName="nombre_vend" fieldIdRef="32" name="nombre_vend" sqlTabName="formonly" table_alias_name="" uid="{158414e5-8aa3-4a8b-9ad5-718d154b5ccc}"/>
<RecordField colName="cond_pago" fieldIdRef="23" name="cond_pago" sqlTabName="formonly" table_alias_name="" uid="{781b7871-e958-4777-a08a-9168ba1d5265}"/>
<RecordField colName="cod_transp" fieldIdRef="33" name="cod_transp" sqlTabName="formonly" table_alias_name="" uid="{9a079b53-4ad1-456f-bfd3-0b067aa1d20f}"/>
<RecordField colName="sec_transp" fieldIdRef="34" name="sec_transp" sqlTabName="formonly" table_alias_name="" uid="{9c0bd28a-dae6-44ce-bcac-cee7340fc35d}"/>
<RecordField colName="nombre_tran" fieldIdRef="35" name="nombre_tran" sqlTabName="formonly" table_alias_name="" uid="{662c63c2-e7e6-4839-b2ee-2bd0058e731f}"/>
<RecordField colName="cod_tarifa" fieldIdRef="38" name="cod_tarifa" sqlTabName="formonly" table_alias_name="" uid="{36058b6a-4a2d-4dd8-8119-b52771c0626f}"/>
<RecordField colName="descrip5" fieldIdRef="39" name="descrip5" sqlTabName="formonly" table_alias_name="" uid="{6a2d7fc1-843a-4389-9a8e-eb214d0b7520}"/>
<RecordField colName="descrip6" fieldIdRef="40" name="descrip6" sqlTabName="formonly" table_alias_name="" uid="{73c2c4a4-2943-4f69-8bbc-02198aca43fb}"/>
<RecordField colName="fecha_embarque" fieldIdRef="36" name="fecha_embarque" sqlTabName="formonly" table_alias_name="" uid="{f1263c35-6ef7-4fdf-9c2e-a1459e27d8a4}"/>
<RecordField colName="placa_transp" fieldIdRef="37" name="placa_transp" sqlTabName="formonly" table_alias_name="" uid="{9ea9d290-36a0-49ce-85e1-b59cb805b443}"/>
<RecordField colName="factura_e" fieldIdRef="13" name="factura_e" sqlTabName="formonly" table_alias_name="" uid="{1e240bf3-6111-485a-8499-433a1e79f677}"/>
<RecordField colName="sub_total" fieldIdRef="41" name="sub_total" sqlTabName="formonly" table_alias_name="" uid="{344b7b62-d635-4a13-80c0-6286bb728052}"/>
<RecordField colName="porc_desc" fieldIdRef="24" name="porc_desc" sqlTabName="formonly" table_alias_name="" uid="{2ca0bece-24d7-452b-bb32-47ec64eb7583}"/>
<RecordField colName="desc_valor" fieldIdRef="42" name="desc_valor" sqlTabName="formonly" table_alias_name="" uid="{2d45ebd5-3534-4afc-bca3-a93d06e7a1f9}"/>
<RecordField colName="porc_itbi" fieldIdRef="30" name="porc_itbi" sqlTabName="formonly" table_alias_name="" uid="{9650a045-1db4-4409-8b3d-742c3003581b}"/>
<RecordField colName="itbi" fieldIdRef="43" name="itbi" sqlTabName="formonly" table_alias_name="" uid="{a932889d-15a9-4a7b-ac73-79ac31dd7785}"/>
<RecordField colName="total_fact" fieldIdRef="44" name="total_fact" sqlTabName="formonly" table_alias_name="" uid="{86505d4a-16cf-4585-a10e-d312c5546279}"/>
<RecordField colName="prima_us" fieldIdRef="25" name="prima_us" sqlTabName="formonly" table_alias_name="" uid="{6a69d2bb-8c58-49f5-8972-303450083a52}"/>
<RecordField colName="" defaultValue="1" fieldIdRef="58" name="bodega" sqlTabName="" table_alias_name="" uid="{c7408e5c-8fa4-451e-8e9d-09ebe674f562}"/>
<RecordField colName="factura" fieldIdRef="59" name="factura1" sqlTabName="formonly" table_alias_name="" uid="{ce8c6041-57e5-4d02-b2a4-016fddc76097}"/>
<RecordField colName="nombre_tran" fieldIdRef="60" name="num_rnc" sqlTabName="formonly" table_alias_name="" uid="{b25291aa-1e4e-478d-a330-683e25edeaac}"/>
<RecordField colName="" fieldIdRef="61" name="imprime" sqlTabName="" table_alias_name="" uid="{bc8c569e-f677-4d05-87a3-2144d6c6cba8}"/>
<RecordField colName="" defaultValue="CONDUCE" fieldIdRef="62" name="proforma" sqlTabName="" table_alias_name="" uid="{b8165b9c-d598-4135-996f-b5f8b6d0f927}"/>
<RecordField colName="" fieldIdRef="63" name="pdocumento_ref" sqlTabName="" table_alias_name="" uid="{68f0ad43-a64b-427c-b406-cf4933eb27ed}"/>
<RecordField colName="" fieldIdRef="64" name="descripcion_doc" sqlTabName="" table_alias_name="" uid="{52e416dd-043d-4c27-8ab7-6c0c0ba25538}"/>
<RecordField colName="" fieldIdRef="65" name="fecha_vencimiento" sqlTabName="" table_alias_name="" uid="{e4ac0fd5-ba5b-4885-988b-9a1cd3e3f920}"/>
<RecordField colName="codigodgii" fieldIdRef="6" name="codigodgii" sqlTabName="formonly" table_alias_name="" uid="{cbe9e609-72ca-44db-9b52-36f7a7876953}"/>
<RecordField fieldIdRef="66" name="estado" uid="{400bc37e-31b7-42b3-bc92-a29a4f38ed75}"/>
<RecordField fieldIdRef="67" name="trackid" uid="{dae40e04-4fb9-450d-acf2-aa8d12003754}"/>
<RecordField fieldIdRef="68" name="mensaje_dgii" uid="{af29c209-c462-4aa6-ac7a-ebc9e7f68454}"/>
</Record>
<Form gridHeight="40" gridWidth="147" name="vefmmt001" style="basic" text="CREACION FACTURAS VENTAS">
<ActionDefaultList name="ActionDefaultList1">
<ActionDefault image="about" name="bncf"/>
<ActionDefault acceleratorName1="F8" image="delete" name="anular"/>
</ActionDefaultList>
<ToolBar name="ToolBar1">
<ToolBarItem comment="Nueva Factura" image="new" name="nuevo" text="Factura"/>
<ToolBarItem comment="Criterio de busqueda" image="find" name="buscar" text="Buscar Factura"/>
<ToolBarSeparator name="ToolBarSeparator1"/>
<ToolBarItem image="quit" name="salir" text="Salir"/>
</ToolBar>
<Grid gridHeight="40" gridWidth="147" name="Grid1" posX="0" posY="0">
<Group gridHeight="6" gridWidth="82" name="Group1" posX="1" posY="0" text="Encabezado">
<Label gridHeight="1" gridWidth="9" name="Label1" posX="5" posY="1" text="Compania:"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_cia" fieldId="11" gridHeight="1" gridWidth="2" name="cod_cia" posX="18" posY="1" sqlTabName="formonly" tabIndex="1" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="compania" fieldId="12" gridHeight="1" gridWidth="53" name="compania" noEntry="true" posX="22" posY="1" sqlTabName="formonly" tabIndex="2" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="6" name="Label2" posX="8" posY="2" text="Ventas"/>
<ComboBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ventas" fieldId="14" gridHeight="1" gridWidth="36" items="" name="ventas" posX="18" posY="2" sqlTabName="formonly" tabIndex="3" table_alias_name="" widget="ComboBox"/>
<Label gridHeight="1" gridWidth="13" justify="right" name="Label33" posX="1" posY="3" text="Descripcion"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" case="upper" colName="" fieldId="64" gridHeight="1" gridWidth="37" name="descripcion_doc" posX="18" posY="3" sqlTabName="" tabIndex="65" table_alias_name="" title="Edit1" widget="Edit"/>
</Group>
<Group gridHeight="6" gridWidth="22" name="Group2" posX="84" posY="0" text="parametros">
<Label posX="1" posY="1" text="ITBIS"/>
<CheckBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ch_itbi" defaultValue="S" fieldId="0" gridHeight="1" gridWidth="8" name="ch_itbi" notNull="true" posX="11" posY="1" required="true" sqlTabName="formonly" sqlType="CHAR" tabIndex="4" table_alias_name="" valueChecked="S" valueUnchecked="N" widget="CheckBox"/>
<Label posX="1" posY="2" text="Membrete"/>
<CheckBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ch_encabeza" defaultValue="S" fieldId="1" gridHeight="1" gridWidth="8" name="ch_encabeza" notNull="true" posX="11" posY="2" required="true" sqlTabName="formonly" sqlType="CHAR" tabIndex="5" table_alias_name="" valueChecked="S" valueUnchecked="N" widget="CheckBox"/>
<Label posX="1" posY="3" text="Servicios"/>
<CheckBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ch_servicios" defaultValue="N" fieldId="2" gridHeight="1" gridWidth="8" name="ch_servicios" notNull="true" posX="11" posY="3" required="true" sqlTabName="formonly" sqlType="CHAR" tabIndex="6" table_alias_name="" valueChecked="S" valueUnchecked="N" widget="CheckBox"/>
<Label gridHeight="1" gridWidth="7" name="Label30" posX="1" posY="4" text="Proforma"/>
<CheckBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="" defaultValue="CONDUCE" fieldId="62" gridHeight="1" gridWidth="7" name="proforma" posX="11" posY="4" sqlTabName="" tabIndex="63" table_alias_name="" title="CheckBox1" valueChecked="PROFORMA" valueUnchecked="CONDUCE" widget="CheckBox"/>
</Group>
<Group gridHeight="6" gridWidth="31" name="group8" posX="116" posY="2" text="MENSAJES DGII">
<Edit fieldId="66" gridHeight="1" gridWidth="10" name="estado" posX="2" posY="1" tabIndex="-1" title="edit1" widget="Edit"/>
<Edit fieldId="67" gridHeight="1" gridWidth="26" name="trackid" posX="2" posY="3" scroll="true" tabIndex="-1" title="edit1" widget="Edit"/>
<Edit fieldId="68" gridHeight="1" gridWidth="28" name="mensaje_dgii" posX="2" posY="4" scroll="true" tabIndex="-1" title="edit1" widget="Edit"/>
</Group>
<Group gridHeight="8" gridWidth="114" name="Group3" posX="1" posY="6" text="Documentos">
<Label gridHeight="1" gridWidth="5" name="Label5" posX="2" posY="1" text="Orden"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="orden" fieldId="26" gridHeight="1" gridWidth="6" name="orden" posX="13" posY="1" sqlTabName="formonly" tabIndex="13" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="5" name="Label9" posX="35" posY="1" text="Fecha"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="fecha_cotizacion" fieldId="5" format="dd/mm/yyyy" gridHeight="1" gridWidth="10" name="fecha_cotizacion" posX="42" posY="1" sqlTabName="formonly" tabIndex="8" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="10" name="Label26" posX="2" posY="2" text="ALMACEN"/>
<ComboBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="" defaultValue="1" fieldId="58" gridHeight="1" gridWidth="18" items="" name="bodega" posX="13" posY="2" sqlTabName="" tabIndex="58" table_alias_name="" title="ComboBox1" widget="ComboBox"/>
<Label gridHeight="1" gridWidth="7" name="Label4" posX="33" posY="2" text="CONDUCE"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="conduce" fieldId="28" gridHeight="1" gridWidth="6" name="conduce" posX="42" posY="2" required="true" sqlTabName="formonly" tabIndex="9" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="Label10" posX="50" posY="2" text="Fecha Conduce:"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="fecha_conduce" comment="Digite La Fecha del Conduce" fieldId="29" format="dd/mm/yyyy" gridHeight="1" gridWidth="15" name="fecha_conduce" posX="65" posY="2" sqlTabName="formonly" tabIndex="10" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="7" name="Label8" posX="81" posY="2" text="Factura"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="factura" fieldId="16" gridHeight="1" gridWidth="6" name="factura" noEntry="true" posX="97" posY="2" required="true" sqlTabName="formonly" tabIndex="11" table_alias_name="" widget="Edit"/>
<Button gridHeight="1" gridWidth="7" name="anular" posX="105" posY="2" tabIndex="12"/>
<Label gridHeight="1" gridWidth="10" name="Label3" posX="2" posY="3" text="Cotizacion"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="pcotizacion" fieldId="4" gridHeight="1" gridWidth="6" name="pcotizacion" posX="13" posY="3" sqlTabName="formonly" tabIndex="7" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="11" name="Label11" posX="50" posY="3" text="Fecha Orden"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="fecha_orden" comment="Digite La Fecha de La Orden" fieldId="27" format="dd/mm/yyyy" gridHeight="1" gridWidth="15" name="fecha_orden" posX="65" posY="3" sqlTabName="formonly" tabIndex="14" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="Label7" posX="81" posY="3" text="Fecha Factura:"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="fecha_factura" fieldId="17" gridHeight="1" gridWidth="14" name="fecha_factura" posX="97" posY="3" sqlTabName="formonly" tabIndex="15" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="9" name="Label6" posX="2" posY="4" text="Documento"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="documento_ref" comment="Orden Compras Cliente" fieldId="9" gridHeight="1" gridWidth="16" name="documento_ref" posX="13" posY="4" sqlTabName="formonly" tabIndex="16" table_alias_name="" widget="Edit"/>
<Label posX="30" posY="4" text="Fecha Vence"/>
<FFLabel aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="p_fecha_ven" fieldId="3" format="dd/mm/yyyy" gridHeight="1" gridWidth="10" name="p_fecha_ven" posX="42" posY="4" sqlTabName="formonly" sqlType="DATE" table_alias_name="" widget="FFLabel"/>
<Label gridHeight="1" gridWidth="14" name="Label27" posX="81" posY="4" text="Factura F"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="factura" fieldId="59" gridHeight="1" gridWidth="6" name="factura1" noEntry="true" posX="97" posY="4" required="true" sqlTabName="formonly" tabIndex="60" table_alias_name="" widget="Edit"/>
<Label posX="2" posY="5" text="NCF"/>
<ButtonEdit action="f2" aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" case="upper" colName="codigodgii" fieldId="6" gridHeight="1" gridWidth="19" name="codigodgii" posX="6" posY="5" sqlTabName="formonly" tabIndex="-1" table_alias_name="" widget="ButtonEdit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="descripcion_ncf" fieldId="7" gridHeight="1" gridWidth="43" name="descripcion_ncf" posX="27" posY="5" sqlTabName="formonly" tabIndex="18" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="Label34" posX="81" posY="5" text="Fecha Vencimiento"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="" fieldId="65" gridHeight="1" gridWidth="12" name="fecha_vencimiento" posX="97" posY="5" sqlTabName="" tabIndex="66" table_alias_name="" title="Edit1" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="kncf" fieldId="8" gridHeight="1" gridWidth="19" name="kncf" posX="6" posY="6" sqlTabName="formonly" tabIndex="19" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="8" name="Label29" posX="27" posY="6" text="Ruta impresion"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="" fieldId="61" gridHeight="1" gridWidth="45" name="imprime" posX="37" posY="6" sqlTabName="" tabIndex="62" table_alias_name="" title="Edit1" widget="Edit"/>
</Group>
<Group gridHeight="11" gridWidth="84" name="Group4" posX="1" posY="14" text="Cliente">
<Label gridHeight="1" gridWidth="7" name="Label12" posX="2" posY="1" text="Cliente"/>
<Label posX="16" posY="1" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="tipo_cliente" comment="Digite Codigo Cliente o Presione Ctrl-E Para Crear y/o Buscar" fieldId="18" gridHeight="1" gridWidth="4" name="tipo_cliente" posX="18" posY="1" sqlTabName="formonly" tabIndex="20" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="sec_cliente" comment="Digite Codigo Cliente o Presione Ctrl-E Para Crear y/o Buscar" fieldId="19" gridHeight="1" gridWidth="8" name="sec_cliente" posX="24" posY="1" sqlTabName="formonly" tabIndex="21" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="nombre" fieldId="20" gridHeight="1" gridWidth="33" name="nombre" noEntry="true" posX="33" posY="1" sqlTabName="formonly" tabIndex="22" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="9" name="Label13" posX="2" posY="2" text="Direccion"/>
<Label posX="16" posY="2" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="direccion" fieldId="21" gridHeight="1" gridWidth="44" name="direccion" noEntry="true" posX="18" posY="2" sqlTabName="formonly" tabIndex="23" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="7" name="Label14" posX="2" posY="3" text="Ubicac."/>
<Label posX="16" posY="3" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ciudad" fieldId="22" gridHeight="1" gridWidth="18" name="ciudad" noEntry="true" posX="18" posY="3" sqlTabName="formonly" tabIndex="24" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="zona" comment="Entre Zona o Pais del Cliente o Presione Ctrl-W" fieldId="15" gridHeight="1" gridWidth="3" name="zona" picture="###" posX="38" posY="3" sqlTabName="formonly" tabIndex="25" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="descrip1" fieldId="10" gridHeight="1" gridWidth="36" name="descrip1" noEntry="true" posX="43" posY="3" sqlTabName="formonly" tabIndex="26" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="7" name="Label15" posX="2" posY="4" text="Balance"/>
<Label posX="16" posY="4" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="ch_balance" fieldId="56" gridHeight="1" gridWidth="15" name="ch_balance" noEntry="true" posX="18" posY="4" sqlTabName="formonly" tabIndex="27" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="15" name="Label28" posX="37" posY="4" text="NUMERO RNC"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="nombre_tran" fieldId="60" gridHeight="1" gridWidth="20" name="num_rnc" noEntry="true" posX="53" posY="4" sqlTabName="formonly" tabIndex="61" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="8" name="Label16" posX="2" posY="5" text="Vendedor"/>
<Label posX="16" posY="5" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="sec_vend" comment="Digite Codigo Vendedor o Presione Ctrl-W Para Ayuda" fieldId="31" gridHeight="1" gridWidth="4" name="sec_vend" posX="18" posY="5" sqlTabName="formonly" tabIndex="28" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="nombre_vend" fieldId="32" gridHeight="1" gridWidth="29" name="nombre_vend" noEntry="true" posX="24" posY="5" sqlTabName="formonly" tabIndex="29" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="9" name="Label17" posX="2" posY="6" text="Condicion"/>
<Label posX="16" posY="6" text=":"/>
<ComboBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="cond_pago" fieldId="23" gridHeight="1" gridWidth="35" items="" name="cond_pago" posX="18" posY="6" sqlTabName="formonly" tabIndex="30" table_alias_name="" widget="ComboBox"/>
<Label gridHeight="1" gridWidth="15" name="Label18" posX="2" posY="7" text="Transportista :"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_transp" comment="Digite el Codigo del transportista o Presione Ctrl-W Para Ayuda" fieldId="33" gridHeight="1" gridWidth="2" name="cod_transp" posX="18" posY="7" sqlTabName="formonly" tabIndex="31" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="sec_transp" comment="Digite el Codigo del transportista o Presione Ctrl-W Para Ayuda" fieldId="34" gridHeight="1" gridWidth="4" name="sec_transp" posX="22" posY="7" sqlTabName="formonly" tabIndex="32" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="nombre_tran" fieldId="35" gridHeight="1" gridWidth="30" name="nombre_tran" noEntry="true" posX="28" posY="7" sqlTabName="formonly" tabIndex="33" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="6" name="Label19" posX="2" posY="8" text="Tarifa"/>
<Label posX="16" posY="8" text=":"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_tarifa" comment="Digite Codigo Tarifa apagar al transportista" fieldId="38" gridHeight="1" gridWidth="2" name="cod_tarifa" posX="18" posY="8" sqlTabName="formonly" tabIndex="34" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="descrip5" fieldId="39" gridHeight="1" gridWidth="17" name="descrip5" noEntry="true" posX="22" posY="8" sqlTabName="formonly" tabIndex="35" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="descrip6" fieldId="40" gridHeight="1" gridWidth="17" name="descrip6" noEntry="true" posX="41" posY="8" sqlTabName="formonly" tabIndex="36" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="10" name="Label31" posX="60" posY="8" text="Doc. Referencia"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" case="upper" colName="" fieldId="63" gridHeight="1" gridWidth="8" name="pdocumento_ref" posX="73" posY="8" scroll="true" sqlTabName="" tabIndex="64" table_alias_name="" title="Edit1" widget="Edit"/>
<Label gridHeight="1" gridWidth="15" name="Label20" posX="2" posY="9" text="Fecha Embarque:"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="fecha_embarque" fieldId="36" format="dd/mm/yyyy" gridHeight="1" gridWidth="11" name="fecha_embarque" posX="18" posY="9" sqlTabName="formonly" tabIndex="37" table_alias_name="" widget="Edit"/>
<Label posX="38" posY="9" text="Placa :"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" case="upper" colName="placa_transp" fieldId="37" gridHeight="1" gridWidth="12" name="placa_transp" posX="46" posY="9" sqlTabName="formonly" tabIndex="38" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="12" name="Label32" posX="60" posY="9" text="Factura Exp."/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="factura_e" fieldId="13" gridHeight="1" gridWidth="8" name="factura_e" posX="73" posY="9" sqlTabName="formonly" tabIndex="39" table_alias_name="" widget="Edit"/>
</Group>
<Group gridHeight="10" gridWidth="32" name="Group5" posX="86" posY="15">
<Label gridHeight="1" gridWidth="11" name="Label21" posX="1" posY="2" text="Sub-total :"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="sub_total" fieldId="41" gridHeight="1" gridWidth="17" name="sub_total" noEntry="true" posX="13" posY="2" sqlTabName="formonly" tabIndex="40" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="11" name="Label22" posX="1" posY="3" text="Descuento :"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="porc_desc" fieldId="24" gridHeight="1" gridWidth="5" name="porc_desc" noEntry="true" posX="13" posY="3" sqlTabName="formonly" tabIndex="41" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="desc_valor" fieldId="42" gridHeight="1" gridWidth="10" name="desc_valor" noEntry="true" posX="20" posY="3" sqlTabName="formonly" tabIndex="42" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="5" name="Label23" posX="1" posY="4" text="ITBIS"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="porc_itbi" fieldId="30" gridHeight="1" gridWidth="5" name="porc_itbi" noEntry="true" posX="13" posY="4" sqlTabName="formonly" tabIndex="43" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="itbi" fieldId="43" gridHeight="1" gridWidth="10" name="itbi" noEntry="true" posX="20" posY="4" sqlTabName="formonly" tabIndex="44" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="5" name="Label24" posX="1" posY="5" text="Total"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="total_fact" fieldId="44" gridHeight="1" gridWidth="17" name="total_fact" noEntry="true" posX="13" posY="5" sqlTabName="formonly" tabIndex="45" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="8" name="Label25" posX="1" posY="6" text="Prima US"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="prima_us" fieldId="25" gridHeight="1" gridWidth="9" name="prima_us" noEntry="true" posX="13" posY="6" sqlTabName="formonly" tabIndex="46" table_alias_name="" widget="Edit"/>
</Group>
<Group gridHeight="10" gridWidth="129" name="Group6" posX="1" posY="25" text="Detalle">
<Table gridHeight="8" gridWidth="127" name="Table1" posX="1" posY="1" totalRows="7" unitWidth="characters" width="112">
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="area" fieldId="45" gridHeight="1" gridWidth="10" name="area" posX="0" posY="0" sqlTabName="formonly" tabIndex="47" table_alias_name="" title="AREA" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_n" comment="Digite Codigo del Producto o Ctrl-W Para Ayuda" fieldId="46" gridHeight="1" gridWidth="10" name="cod_n" posX="10" posY="0" sqlTabName="formonly" tabIndex="48" table_alias_name="" title="CLASE" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_grupo" comment="Digite Codigo del Producto o Ctrl-W Para Ayuda" fieldId="47" gridHeight="1" gridWidth="5" name="cod_grupo" posX="20" posY="0" sqlTabName="formonly" tabIndex="49" table_alias_name="" title="GRUPO" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_tipo" comment="Digite Codigo del Producto o Ctrl-W Para Ayuda" fieldId="48" gridHeight="1" gridWidth="10" name="cod_tipo" posX="25" posY="0" sqlTabName="formonly" tabIndex="50" table_alias_name="" title="TIPO" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cod_sec" comment="Digite Codigo del Producto o Ctrl-W Para Ayuda" fieldId="49" gridHeight="1" gridWidth="10" name="cod_sec" posX="35" posY="0" sqlTabName="formonly" tabIndex="51" table_alias_name="" title="MEDIDA" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="descrip_esp" fieldId="50" gridHeight="1" gridWidth="25" name="descrip_esp" noEntry="true" posX="45" posY="0" sqlTabName="formonly" tabIndex="52" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="unidad_med" fieldId="51" gridHeight="1" gridWidth="3" name="unidad_med" noEntry="true" posX="70" posY="0" sqlTabName="formonly" tabIndex="53" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cantidad" comment="Digite Cantidad a Facturar a ARTICULO" fieldId="52" gridHeight="1" gridWidth="7" name="cantidad" posX="73" posY="0" sqlTabName="formonly" tabIndex="54" table_alias_name="" title="CANTIDAD" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="precio" fieldId="53" gridHeight="1" gridWidth="10" name="precio" posX="80" posY="0" sqlTabName="formonly" tabIndex="55" table_alias_name="" title="PRECIO" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="cantidad_2" comment="Digite el porciento a descontar a este ARTICULO" fieldId="54" gridHeight="1" gridWidth="6" name="cantidad_2" posX="90" posY="0" sqlTabName="formonly" tabIndex="56" table_alias_name="" title="DESCUENTO" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="monto_fact" fieldId="55" gridHeight="1" gridWidth="10" name="monto_fact" noEntry="true" posX="96" posY="0" scaleDecimal="2" sqlTabName="formonly" sqlType="DECIMAL" tabIndex="57" table_alias_name="" title="MONTO FACTURA" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="" fieldId="57" gridHeight="1" gridWidth="8" name="kit_id" noEntry="true" posX="106" posY="0" sqlTabName="" tabIndex="59" table_alias_name="" title="KIT" widget="Edit"/>
</Table>
</Group>
</Grid>
</Form>
<DiagramLayout>
<![CDATA[AAAAAgAAAEwAewAzAGMAYwA5AGQANwAzADMALQA5ADMAMABhAC0ANABjAGQAOAAtAGEANQAyADgALQA1ADUAOABlADAAZgA3ADYAZgAwADQAMwB9QCQAAFAAAJRAJAAAUAAAlAAAAAAAAAAAAQAAAEwAewA1AGIAOAA3ADYAMwA2AGYALQA4ADcAOABmAC0ANAA5AGIAOQAtADgAYQA1AGIALQAxADMANwA3AGQANAA2ADQAMwAyADEAZgB9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQ==]]>
</DiagramLayout>
</ManagedForm>
+1 -1
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ManagedForm databaseName="sistemas" fileVersion="31400" gstVersion="31405" name="ManagedForm" uid="{8c5e6596-cbec-436f-8283-614af48d7100}">
<ManagedForm databaseName="decomarmol" fileVersion="31400" gstVersion="31405" name="ManagedForm" uid="{8c5e6596-cbec-436f-8283-614af48d7100}">
<AGSettings>
<DynamicProperties version="2"/>
</AGSettings>
+19 -24
View File
@@ -1,44 +1,39 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ManagedForm databaseName="smarmotech" gstVersion="22800" name="ManagedForm" uid="{acd2d540-cf9a-4bc3-b097-bceeda624f64}">
<AGSettings/>
<ManagedForm databaseName="decomarmol" fileVersion="31400" gstVersion="31405" name="ManagedForm" uid="{acd2d540-cf9a-4bc3-b097-bceeda624f64}">
<AGSettings>
<DynamicProperties version="2"/>
</AGSettings>
<Record additionalTables="" joinLeft="" joinOperator="" joinRight="" name="Undefined" order="" uid="{233ba6d5-091d-4582-ba4e-fc195ceefca9}" where="">
<RecordField colName="documento" fieldIdRef="0" name="documento" sqlTabName="formonly" table_alias_name="" uid="{815173ee-12bf-4263-b677-0b2e7f149e97}"/>
<RecordField colName="detalle" fieldIdRef="1" name="detalle" sqlTabName="formonly" table_alias_name="" uid="{37a65ef8-51d1-4607-802a-822f95f25b51}"/>
<RecordField colName="factura" fieldIdRef="2" name="factura" sqlTabName="formonly" table_alias_name="" uid="{b38fa159-c631-4551-bd7e-685290bbc72f}"/>
<RecordField colName="cheque_no" fieldIdRef="3" name="cheque_no" sqlTabName="formonly" table_alias_name="" uid="{c8d39b80-dba2-461b-9076-bad01ee05a7c}"/>
<RecordField colName="banco" fieldIdRef="4" name="banco" sqlTabName="formonly" table_alias_name="" uid="{e561cb3c-5007-456d-8b70-783021d10074}"/>
<RecordField colName="valor_cheque" fieldIdRef="6" name="valor_cheque" sqlTabName="formonly" table_alias_name="" uid="{30fccf8c-320c-441a-8971-310bae2f1382}"/>
<RecordField colName="valor_efectivo" fieldIdRef="7" name="valor_efectivo" sqlTabName="formonly" sqlType="MONEY" table_alias_name="" uid="{7209a586-7230-4ff4-a42e-dbd5e6e79716}"/>
<RecordField colName="" fieldIdRef="5" name="valor_total" sqlTabName="" table_alias_name="" uid="{ece1b7b4-b195-4120-b817-a15dcec4b034}"/>
<RecordField colName="" fieldIdRef="8" name="monto_cr" sqlTabName="" table_alias_name="" uid="{b1c2d3e4-0008-4000-8000-000000000008}"/>
</Record>
<Form gridHeight="11" gridWidth="67" name="vefmwd013" text="VOLANTE RECIBOS AL CONTADO">
<Grid gridHeight="11" gridWidth="67" name="Grid1" posX="0" posY="0">
<Form gridHeight="12" gridWidth="67" name="vefmwd013" text="VOLANTE RECIBOS AL CONTADO">
<Grid gridHeight="12" gridWidth="67" name="Grid1" posX="0" posY="0">
<Label gridHeight="1" gridWidth="14" name="Label1" posX="3" posY="2" text="No. Volante de Pago"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="false" colName="documento" columnCount="" comment="Digite Numero Volante de Pago" fieldId="0" gridHeight="1" gridWidth="7" name="documento" noEntry="true" posX="25" posY="2" required="false" rowCount="" sqlTabName="formonly" stepX="" stepY="" tabIndex="1" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="false" colName="documento" comment="Digite Numero Volante de Pago" fieldId="0" gridHeight="1" gridWidth="7" name="documento" noEntry="true" posX="25" posY="2" required="false" sqlTabName="formonly" tabIndex="1" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="16" name="Label2" posX="3" posY="3" text="Nombre del cliente"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" case="upper" colName="detalle" columnCount="" fieldId="1" gridHeight="1" gridWidth="36" name="detalle" posX="25" posY="3" rowCount="" sqlTabName="formonly" stepX="" stepY="" tabIndex="2" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" case="upper" colName="detalle" fieldId="1" gridHeight="1" gridWidth="36" name="detalle" posX="25" posY="3" sqlTabName="formonly" tabIndex="2" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="11" name="Label3" posX="3" posY="4" text="Factura No."/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="factura" columnCount="" fieldId="2" gridHeight="1" gridWidth="8" name="factura" posX="25" posY="4" rowCount="" sqlTabName="formonly" stepX="" stepY="" tabIndex="3" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="factura" fieldId="2" gridHeight="1" gridWidth="8" name="factura" posX="25" posY="4" sqlTabName="formonly" tabIndex="3" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="Label4" posX="3" posY="5" text="Documento Ref."/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cheque_no" columnCount="" fieldId="3" gridHeight="1" gridWidth="35" name="cheque_no" posX="25" posY="5" rowCount="" sqlTabName="formonly" stepX="" stepY="" tabIndex="4" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="5" name="Label6" posX="3" posY="6" text="Banco"/>
<ComboBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="banco" columnCount="" fieldId="4" gridHeight="1" gridWidth="35" items="POPULAR, RESERVAS, BHD LEON, BANESCO, SCOTIABANK, PROGRESO" name="banco" posX="25" posY="6" rowCount="" sqlTabName="formonly" stepX="" stepY="" tabIndex="5" table_alias_name="" widget="ComboBox">
<Item lstrtext="false" name="POPULAR" text="POPULAR"/>
<Item lstrtext="false" name="RESERVAS" text="RESERVAS"/>
<Item lstrtext="false" name="BHD LEON" text="BHD LEON"/>
<Item lstrtext="false" name="BANESCO" text="BANESCO"/>
<Item lstrtext="false" name="SCOTIABANK" text="SCOTIABANK"/>
<Item lstrtext="false" name="PROGRESO" text="PROGRESO"/>
</ComboBox>
<Label gridHeight="1" gridWidth="8" name="Label7" posX="3" posY="7" text="Otro Valor"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="valor_cheque" columnCount="" fieldId="6" gridHeight="1" gridWidth="13" name="valor_cheque" posX="25" posY="7" rowCount="" sqlTabName="formonly" stepX="" stepY="" tabIndex="6" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="Label8" posX="3" posY="8" text="Valor Efectivo"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="valor_efectivo" columnCount="" fieldId="7" gridHeight="1" gridWidth="13" name="valor_efectivo" noEntry="false" posX="25" posY="8" rowCount="" sqlTabName="formonly" sqlType="MONEY" stepX="" stepY="" tabIndex="7" table_alias_name="" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cheque_no" fieldId="3" gridHeight="1" gridWidth="35" name="cheque_no" posX="25" posY="5" sqlTabName="formonly" tabIndex="4" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="Label7" posX="3" posY="6" text="Cheque/Transf."/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="valor_cheque" fieldId="6" gridHeight="1" gridWidth="13" name="valor_cheque" posX="25" posY="6" sqlTabName="formonly" tabIndex="6" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="Label8" posX="3" posY="7" text="Valor Efectivo"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="valor_efectivo" fieldId="7" gridHeight="1" gridWidth="13" name="valor_efectivo" noEntry="false" posX="25" posY="7" sqlTabName="formonly" sqlType="MONEY" tabIndex="7" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="LabelTar" posX="3" posY="8" text="Valor Tarjeta"/>
<Edit fieldId="8" gridHeight="1" gridWidth="13" name="monto_cr" posX="25" posY="8" tabIndex="8" title="Edit1" widget="Edit"/>
<Label gridHeight="1" gridWidth="13" name="Label5" posX="3" posY="9" text="Valor total"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="" columnCount="" fieldId="5" gridHeight="1" gridWidth="13" name="valor_total" posX="25" posY="9" rowCount="" sqlTabName="" stepX="" stepY="" tabIndex="8" table_alias_name="" title="Edit1" widget="Edit"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="" fieldId="5" gridHeight="1" gridWidth="13" name="valor_total" posX="25" posY="9" sqlTabName="" tabIndex="10" table_alias_name="" title="Edit1" widget="Edit"/>
</Grid>
</Form>
<DiagramLayout>
<![CDATA[AAAAAgAAAEwAewAzADAAZgBjAGMAZgA4AGMALQAzADIAMABjAC0ANAA0ADEAYQAtADgAOQA3ADEALQAzADEAMABiAGEAZQAyAGYAMQAzADgAMgB9QCAAAAgAAAFAXWZmdRmZmwAAAAAAAAAAAQAAAEwAewBjADgAZAAzADkAYgA4ADAALQBkAGIAYQAyAC0ANAA2ADEAYgAtADkAMAA3ADYALQBiAGEAZAAwADEAZQBlADAANQBhADcAYwB9QCAAAAgAAAFAVJmZo+ZmaAAAAAAAAAAAAQAAAEwAewAyADMAMwBiAGEANgBkADUALQAwADkAMQBkAC0ANAA1ADgAMgAtAGIAYQA0AGUALQBmAGMAMQA5ADUAYwBlAGUAZgBjAGEAOQB9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAEwAewA3ADIAMAA5AGEANQA4ADYALQA3ADIAMwAwAC0ANABmAGYANAAtAGEANAAyAGUALQBkAGIAZAA1AGUANgBlADcAOQA3ADEANgB9QCAAAAgAAAFAYOZmbtmZmwAAAAAAAAAAAQAAAEwAewAzADcAYQA2ADUAZQBmADgALQA1ADEAZAAxAC0ANAA2ADAANwAtADgAMAAyAGEALQA4ADIAMgBmADkANQBmADIANQBiADUAMQB9QCAAAAgAAAFAR5mZpWZmaAAAAAAAAAAAAQAAAEwAewBlADUANgAxAGMAYgAzAGMALQA1ADAAMAA3AC0ANAA1ADYAZAAtADgAYgA3ADAALQA3ADgAMwAwADIAMQBkADEAMAAwADcANAB9QCAAAAgAAAFAWQAADIAAAgAAAAAAAAAAAQAAAEwAewA4ADEANQAxADcAMwBlAGUALQAxADIAYgBmAC0ANAAyADYAMwAtAGIANgA3ADcALQAwAGIAMgBlADcAZgAxADQAOQBlADkANwB9QCAAAAgAAAFAPZmZqGZmaAAAAAAAAAAAAQAAAEwAewBlAGMAZQAxAGIANwBiADQALQBiADEAOQA1AC0ANAAxADIAMAAtAGIAOAAxADcALQBhADEANQBkAGMAZQBjADQAYgAwADMANAB9QCAAAAgAAAFAYxmZoyZmaAAAAAAAAAAAAQAAAEwAewBiADMAOABmAGEAMQA1ADkALQBjADYAMwAxAC0ANAA1ADUAMQAtAGIAZAA3AGUALQA2ADgANQAyADkAMABiAGIAYwA3ADIAZgB9QCAAAAgAAAFAUDMzO0zMzgAAAAAAAAAAAQ==]]>
<![CDATA[AAAAAgAAAEwAewAyADMAMwBiAGEANgBkADUALQAwADkAMQBkAC0ANAA1ADgAMgAtAGIAYQA0AGUALQBmAGMAMQA5ADUAYwBlAGUAZgBjAGEAOQB9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQ==]]>
</DiagramLayout>
</ManagedForm>
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ManagedForm databaseName="smarmotech" gstVersion="22800" name="ManagedForm" uid="{acd2d540-cf9a-4bc3-b097-bceeda624f64}">
<AGSettings/>
<Record additionalTables="" joinLeft="" joinOperator="" joinRight="" name="Undefined" order="" uid="{233ba6d5-091d-4582-ba4e-fc195ceefca9}" where="">
<RecordField colName="documento" fieldIdRef="0" name="documento" sqlTabName="formonly" table_alias_name="" uid="{815173ee-12bf-4263-b677-0b2e7f149e97}"/>
<RecordField colName="detalle" fieldIdRef="1" name="detalle" sqlTabName="formonly" table_alias_name="" uid="{37a65ef8-51d1-4607-802a-822f95f25b51}"/>
<RecordField colName="factura" fieldIdRef="2" name="factura" sqlTabName="formonly" table_alias_name="" uid="{b38fa159-c631-4551-bd7e-685290bbc72f}"/>
<RecordField colName="cheque_no" fieldIdRef="3" name="cheque_no" sqlTabName="formonly" table_alias_name="" uid="{c8d39b80-dba2-461b-9076-bad01ee05a7c}"/>
<RecordField colName="banco" fieldIdRef="4" name="banco" sqlTabName="formonly" table_alias_name="" uid="{e561cb3c-5007-456d-8b70-783021d10074}"/>
<RecordField colName="valor_cheque" fieldIdRef="6" name="valor_cheque" sqlTabName="formonly" table_alias_name="" uid="{30fccf8c-320c-441a-8971-310bae2f1382}"/>
<RecordField colName="valor_efectivo" fieldIdRef="7" name="valor_efectivo" sqlTabName="formonly" sqlType="MONEY" table_alias_name="" uid="{7209a586-7230-4ff4-a42e-dbd5e6e79716}"/>
<RecordField colName="" fieldIdRef="5" name="valor_total" sqlTabName="" table_alias_name="" uid="{ece1b7b4-b195-4120-b817-a15dcec4b034}"/>
</Record>
<Form gridHeight="11" gridWidth="67" name="vefmwd013" text="VOLANTE RECIBOS AL CONTADO">
<Grid gridHeight="11" gridWidth="67" name="Grid1" posX="0" posY="0">
<Label gridHeight="1" gridWidth="14" name="Label1" posX="3" posY="2" text="No. Volante de Pago"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="false" colName="documento" columnCount="" comment="Digite Numero Volante de Pago" fieldId="0" gridHeight="1" gridWidth="7" name="documento" noEntry="true" posX="25" posY="2" required="false" rowCount="" sqlTabName="formonly" stepX="" stepY="" tabIndex="1" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="16" name="Label2" posX="3" posY="3" text="Nombre del cliente"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" case="upper" colName="detalle" columnCount="" fieldId="1" gridHeight="1" gridWidth="36" name="detalle" posX="25" posY="3" rowCount="" sqlTabName="formonly" stepX="" stepY="" tabIndex="2" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="11" name="Label3" posX="3" posY="4" text="Factura No."/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="factura" columnCount="" fieldId="2" gridHeight="1" gridWidth="8" name="factura" posX="25" posY="4" rowCount="" sqlTabName="formonly" stepX="" stepY="" tabIndex="3" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="Label4" posX="3" posY="5" text="Documento Ref."/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="cheque_no" columnCount="" fieldId="3" gridHeight="1" gridWidth="35" name="cheque_no" posX="25" posY="5" rowCount="" sqlTabName="formonly" stepX="" stepY="" tabIndex="4" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="5" name="Label6" posX="3" posY="6" text="Banco"/>
<ComboBox aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="banco" columnCount="" fieldId="4" gridHeight="1" gridWidth="35" items="POPULAR, RESERVAS, BHD LEON, BANESCO, SCOTIABANK, PROGRESO" name="banco" posX="25" posY="6" rowCount="" sqlTabName="formonly" stepX="" stepY="" tabIndex="5" table_alias_name="" widget="ComboBox">
<Item lstrtext="false" name="POPULAR" text="POPULAR"/>
<Item lstrtext="false" name="RESERVAS" text="RESERVAS"/>
<Item lstrtext="false" name="BHD LEON" text="BHD LEON"/>
<Item lstrtext="false" name="BANESCO" text="BANESCO"/>
<Item lstrtext="false" name="SCOTIABANK" text="SCOTIABANK"/>
<Item lstrtext="false" name="PROGRESO" text="PROGRESO"/>
</ComboBox>
<Label gridHeight="1" gridWidth="8" name="Label7" posX="3" posY="7" text="Otro Valor"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" autoNext="true" colName="valor_cheque" columnCount="" fieldId="6" gridHeight="1" gridWidth="13" name="valor_cheque" posX="25" posY="7" rowCount="" sqlTabName="formonly" stepX="" stepY="" tabIndex="6" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="Label8" posX="3" posY="8" text="Valor Efectivo"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="valor_efectivo" columnCount="" fieldId="7" gridHeight="1" gridWidth="13" name="valor_efectivo" noEntry="false" posX="25" posY="8" rowCount="" sqlTabName="formonly" sqlType="MONEY" stepX="" stepY="" tabIndex="7" table_alias_name="" widget="Edit"/>
<Label gridHeight="1" gridWidth="13" name="Label5" posX="3" posY="9" text="Valor total"/>
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="" columnCount="" fieldId="5" gridHeight="1" gridWidth="13" name="valor_total" posX="25" posY="9" rowCount="" sqlTabName="" stepX="" stepY="" tabIndex="8" table_alias_name="" title="Edit1" widget="Edit"/>
</Grid>
</Form>
<DiagramLayout>
<![CDATA[AAAAAgAAAEwAewAzADAAZgBjAGMAZgA4AGMALQAzADIAMABjAC0ANAA0ADEAYQAtADgAOQA3ADEALQAzADEAMABiAGEAZQAyAGYAMQAzADgAMgB9QCAAAAgAAAFAXWZmdRmZmwAAAAAAAAAAAQAAAEwAewBjADgAZAAzADkAYgA4ADAALQBkAGIAYQAyAC0ANAA2ADEAYgAtADkAMAA3ADYALQBiAGEAZAAwADEAZQBlADAANQBhADcAYwB9QCAAAAgAAAFAVJmZo+ZmaAAAAAAAAAAAAQAAAEwAewAyADMAMwBiAGEANgBkADUALQAwADkAMQBkAC0ANAA1ADgAMgAtAGIAYQA0AGUALQBmAGMAMQA5ADUAYwBlAGUAZgBjAGEAOQB9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAEwAewA3ADIAMAA5AGEANQA4ADYALQA3ADIAMwAwAC0ANABmAGYANAAtAGEANAAyAGUALQBkAGIAZAA1AGUANgBlADcAOQA3ADEANgB9QCAAAAgAAAFAYOZmbtmZmwAAAAAAAAAAAQAAAEwAewAzADcAYQA2ADUAZQBmADgALQA1ADEAZAAxAC0ANAA2ADAANwAtADgAMAAyAGEALQA4ADIAMgBmADkANQBmADIANQBiADUAMQB9QCAAAAgAAAFAR5mZpWZmaAAAAAAAAAAAAQAAAEwAewBlADUANgAxAGMAYgAzAGMALQA1ADAAMAA3AC0ANAA1ADYAZAAtADgAYgA3ADAALQA3ADgAMwAwADIAMQBkADEAMAAwADcANAB9QCAAAAgAAAFAWQAADIAAAgAAAAAAAAAAAQAAAEwAewA4ADEANQAxADcAMwBlAGUALQAxADIAYgBmAC0ANAAyADYAMwAtAGIANgA3ADcALQAwAGIAMgBlADcAZgAxADQAOQBlADkANwB9QCAAAAgAAAFAPZmZqGZmaAAAAAAAAAAAAQAAAEwAewBlAGMAZQAxAGIANwBiADQALQBiADEAOQA1AC0ANAAxADIAMAAtAGIAOAAxADcALQBhADEANQBkAGMAZQBjADQAYgAwADMANAB9QCAAAAgAAAFAYxmZoyZmaAAAAAAAAAAAAQAAAEwAewBiADMAOABmAGEAMQA1ADkALQBjADYAMwAxAC0ANAA1ADUAMQAtAGIAZAA3AGUALQA2ADgANQAyADkAMABiAGIAYwA3ADIAZgB9QCAAAAgAAAFAUDMzO0zMzgAAAAAAAAAAAQ==]]>
</DiagramLayout>
</ManagedForm>
Binary file not shown.
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+8155 -7444
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+215 -92
View File
@@ -5,10 +5,15 @@
Tabla Comprobantes Fiscales
PROGRAMADOR : Ing. Juan Soto.
FECHA REALIZACION : Diciembre 27, 2006
------------------------------------------------------------------
2026-10-09: la llave de un comprobante es tipo_doc + codigo_dgii + sucid
(la misma que usa la factura veprmt001). Nuevo no deja duplicar,
Modificar/Eliminar solo tocan ese registro y se guardan
itbis, disponible y fecha_vencimiento.
------------------------------------------------------------------
}
GLOBALS "veprgb000.4gl"
MAIN
DEFER INTERRUPT
CALL ARG_VAL(1) RETURNING usuarios
@@ -17,12 +22,12 @@ MAIN
CONNECT TO "decomarmol" AS "MSSQL" USER usuarios USING clave
# CONNECT to "smarmotech" AS "IFMX" USER usuarios USING clave
CALL veprmt020()
END MAIN
FUNCTION veprmt020()
CLEAR SCREEN
FUNCTION veprmt020()
CLEAR SCREEN
OPTIONS
FORM LINE 9,
ERROR LINE 23,
@@ -30,14 +35,14 @@ FUNCTION veprmt020()
OPEN FORM vefmmt020 FROM "vefmmt020"
DISPLAY FORM vefmmt020
MENU
ON ACTION nuevo
MENU
ON ACTION nuevo
CALL vepcad020()
ON ACTION modificar
CALL vepcmf020()
ON ACTION Salir
EXIT MENU
@@ -47,45 +52,87 @@ END FUNCTION
FUNCTION vepcad020()
DEFINE hoy DATE
DEFINE hoy DATE,
existe INTEGER,
vsec INTEGER,
vfec_vence DATE
## Captura los datos que va a contener el registro
# WHENEVER ERROR CONTINUE
LET hoy = today
INPUT BY NAME ncf.*
INITIALIZE ncf.* TO NULL
LET fecha_vencimiento = NULL
INPUT BY NAME ncf.*,fecha_vencimiento
BEFORE INPUT
CALL localidades('1')
AFTER INPUT
IF int_flag THEN
LET numero_msg = 2
LET numero_msg = 2
CALL msg(numero_msg)
LET int_flag = FALSE
RETURN
END IF
IF NOT valida_ncf() THEN
CONTINUE INPUT
END IF
{ SET CONNECTION "IFMX"
INSERT INTO vetb00071 (fecha,tipo_ncf,tipo_doc,ncf_inicial,ncf_final,
codigo_dgii,disponible,itbis,us_mod,fech_mod,sucid)
VALUES (ncf.fecha,ncf.tipo_ncf,ncf.tipo_doc,ncf.ncf_inicial,
ncf.ncf_final,ncf.codigo_dgii,ncf.disponible,
ncf.itbis,usuarios,GETDATE(),ncf.sucid)
}
SET CONNECTION "MSSQL"
# No deja registrar dos veces el mismo comprobante en la misma localidad
LET existe = 0
SELECT COUNT(*) INTO existe FROM vetb00071 a
WHERE a.tipo_doc = ncf.tipo_doc AND a.codigo_dgii = ncf.codigo_dgii
AND a.sucid = ncf.sucid
IF existe > 0 THEN
CALL fgl_winmessage("NCF DUPLICADO",
"Ese comprobante ya existe para esta localidad.\nUse Consultar/Modificar para cambiarle el rango.",
"stop")
CONTINUE INPUT
END IF
LET vfec_vence = fecha_vencimiento
INSERT INTO vetb00071 (fecha,tipo_ncf,tipo_doc,ncf_inicial,ncf_final,
codigo_dgii,disponible,itbis,us_mod,fech_mod,sucid)
codigo_dgii,disponible,itbis,fecha_vencimiento,
us_crea,fech_crea,sucid)
VALUES (ncf.fecha,ncf.tipo_ncf,ncf.tipo_doc,ncf.ncf_inicial,
ncf.ncf_final,ncf.codigo_dgii,ncf.disponible,
ncf.itbis,usuarios,getdate(),ncf.sucid)
ncf.itbis,vfec_vence,usuarios,getdate(),ncf.sucid)
# La factura solo hace UPDATE a vetb00073; si no existe el control de
# secuencia, la secuencia nunca avanza. Se crea en el inicial - 1.
LET existe = 0
SELECT COUNT(*) INTO existe FROM vetb00073 a
WHERE a.tipo_doc = ncf.tipo_doc AND a.codigo_dgii = ncf.codigo_dgii
IF existe = 0 THEN
LET vsec = ncf.ncf_inicial - 1
IF vsec IS NULL OR vsec < 0 THEN
LET vsec = 0
END IF
INSERT INTO vetb00073 (codigo_dgii,tipo_doc,ncf,sucid,us_crea,fech_crea)
VALUES (ncf.codigo_dgii,ncf.tipo_doc,vsec,ncf.sucid,usuarios,getdate())
END IF
LET numero_msg = 1
CALL msg(numero_msg)
END INPUT
END FUNCTION
FUNCTION vepcmf020()
END FUNCTION
FUNCTION vepcmf020()
DEFINE k_tipo_doc LIKE vetb00071.tipo_doc,
k_codigo_dgii LIKE vetb00071.codigo_dgii,
k_sucid LIKE vetb00071.sucid,
sec_ncf INTEGER,
usados INTEGER,
vfec_vence DATE
## Aqui se prepara para la captura del criterio de seleccion
#WHENEVER ERROR CONTINUE
#SET CONNECTION "IFMX"
@@ -95,67 +142,88 @@ FUNCTION vepcmf020()
BEFORE CONSTRUCT
CALL localidades('1')
AFTER CONSTRUCT
IF int_flag THEN
LET numero_msg = 2
CALL msg(numero_msg)
IF int_flag THEN
LET numero_msg = 2
CALL msg(numero_msg)
LET int_flag = FALSE
RETURN
END IF
END CONSTRUCT
LET SELEC = " SELECT CONVERT(CHAR(10),a.fecha,103),a.tipo_ncf,a.tipo_doc,a.codigo_dgii,a.ncf_inicial,",
" a.ncf_final,a.disponible,a.us_crea,a.fech_crea,a.us_mod,a.fech_mod,",
" a.sucid ",
" a.ncf_final,a.disponible,a.itbis,a.fecha_vencimiento,",
" a.us_crea,a.fech_crea,a.us_mod,a.fech_mod,a.sucid,",
" (SELECT MAX(b.ncf) FROM vetb00073 b",
" WHERE b.tipo_doc = a.tipo_doc AND b.codigo_dgii = a.codigo_dgii) ",
" FROM vetb00071 a ",
" WHERE ",
criterio clipped,
" ORDER BY a.sucid"
" ORDER BY a.sucid,a.tipo_doc,a.codigo_dgii"
PREPARE busca FROM selec
DECLARE datos SCROLL CURSOR WITH HOLD FOR busca
OPEN datos
DECLARE datos SCROLL CURSOR WITH HOLD FOR busca
OPEN datos
INITIALIZE ncf.* TO NULL
LET fecha_vencimiento = NULL
LET sec_ncf = NULL
FETCH FIRST datos INTO ncf.fecha,ncf.tipo_ncf,ncf.tipo_doc,ncf.codigo_dgii,ncf.ncf_inicial,ncf.ncf_final,
ncf.disponible,ncf.us_crea,ncf.fech_crea,ncf.us_mod,ncf.fech_mod,ncf.sucid
DISPLAY BY NAME ncf.*
ncf.disponible,ncf.itbis,fecha_vencimiento,ncf.us_crea,ncf.fech_crea,ncf.us_mod,ncf.fech_mod,ncf.sucid,sec_ncf
IF SQLCA.SQLCODE = NOTFOUND THEN
CALL fgl_winmessage("NCF","No se encontraron comprobantes con ese criterio.","info")
CLOSE datos
RETURN
END IF
CALL refresca_ncf() RETURNING sec_ncf
DISPLAY BY NAME sec_ncf
MENU "OPCIONES "
COMMAND "Siguiente"
"Presenta en pantalla el proximo registro encontrado"
FETCH NEXT datos INTO ncf.fecha,ncf.tipo_ncf,ncf.tipo_doc,ncf.codigo_dgii,ncf.ncf_inicial,ncf.ncf_final,
ncf.disponible,ncf.us_crea,ncf.fech_crea,ncf.us_mod,ncf.fech_mod,ncf.sucid
DISPLAY "SUC ",ncf.sucid
ncf.disponible,ncf.itbis,fecha_vencimiento,ncf.us_crea,ncf.fech_crea,ncf.us_mod,ncf.fech_mod,ncf.sucid,sec_ncf
DISPLAY BY NAME ncf.*
CALL refresca_ncf() RETURNING sec_ncf
DISPLAY BY NAME sec_ncf
COMMAND "Anterior"
"Presenta en pantalla el registro anterior encontrado"
FETCH PREVIOUS datos INTO ncf.fecha,ncf.tipo_ncf,ncf.tipo_doc,ncf.codigo_dgii,ncf.ncf_inicial,ncf.ncf_final,
ncf.disponible,ncf.us_crea,ncf.fech_crea,ncf.us_mod,ncf.fech_mod,ncf.sucid
DISPLAY BY NAME ncf.*
ncf.disponible,ncf.itbis,fecha_vencimiento,ncf.us_crea,ncf.fech_crea,ncf.us_mod,ncf.fech_mod,ncf.sucid,sec_ncf
CALL refresca_ncf() RETURNING sec_ncf
DISPLAY BY NAME sec_ncf
COMMAND "Primero"
"Presenta en pantalla el primer registro encontrado"
FETCH FIRST datos INTO ncf.fecha,ncf.tipo_ncf,ncf.tipo_doc,ncf.codigo_dgii,ncf.ncf_inicial,ncf.ncf_final,
ncf.disponible,ncf.us_crea,ncf.fech_crea,ncf.us_mod,ncf.fech_mod,ncf.sucid
DISPLAY BY NAME ncf.*
ncf.disponible,ncf.itbis,fecha_vencimiento,ncf.us_crea,ncf.fech_crea,ncf.us_mod,ncf.fech_mod,ncf.sucid,sec_ncf
CALL refresca_ncf() RETURNING sec_ncf
DISPLAY BY NAME sec_ncf
LET numero_msg = 5
CALL msg(numero_msg)
LET numero_msg = 5
CALL msg(numero_msg)
COMMAND "Ultimo"
"Presenta en pantalla el ultimo registro encontrado"
FETCH LAST datos INTO ncf.fecha,ncf.tipo_ncf,ncf.tipo_doc,ncf.codigo_dgii,ncf.ncf_inicial,ncf.ncf_final,
ncf.disponible,ncf.us_crea,ncf.fech_crea,ncf.us_mod,ncf.fech_mod,ncf.sucid
DISPLAY BY NAME ncf.*
ncf.disponible,ncf.itbis,fecha_vencimiento,ncf.us_crea,ncf.fech_crea,ncf.us_mod,ncf.fech_mod,ncf.sucid,sec_ncf
CALL refresca_ncf() RETURNING sec_ncf
DISPLAY BY NAME sec_ncf
LET numero_msg = 4
CALL msg(numero_msg)
LET numero_msg = 4
CALL msg(numero_msg)
COMMAND "Escoger"
"<Esc> Actualiza Registro <Delete> Cancela Operacion"
INPUT BY NAME ncf.* WITHOUT DEFAULTS
# La llave (tipo doc, codigo, localidad) no se edita aqui: asi el
# UPDATE toca solo este comprobante y no se crean duplicados
LET k_tipo_doc = ncf.tipo_doc
LET k_codigo_dgii = ncf.codigo_dgii
LET k_sucid = ncf.sucid
INPUT BY NAME ncf.fecha,ncf.tipo_ncf,ncf.itbis,ncf.ncf_inicial,
ncf.ncf_final,ncf.disponible,fecha_vencimiento WITHOUT DEFAULTS
AFTER INPUT
IF int_flag THEN
LET numero_msg = 2
@@ -163,23 +231,32 @@ DISPLAY "SUC ",ncf.sucid
LET int_flag = FALSE
EXIT MENU
END IF
EXIT INPUT
IF NOT valida_ncf() THEN
NEXT FIELD ncf_final
END IF
IF sec_ncf IS NOT NULL AND ncf.ncf_final < sec_ncf THEN
CALL fgl_winmessage("NCF",
"El NCF final no puede ser menor que la ultima secuencia usada ("||sec_ncf||").",
"stop")
NEXT FIELD ncf_final
END IF
EXIT INPUT
END INPUT
{ SET CONNECTION "IFMX"
SELECT UNIQUE a.sucid FROM vetb00071 a
WHERE a.sucid = ncf.sucid AND
a.fecha = ncf.fecha AND
a.tipo_doc = ncf.tipo_doc AND a.codigo_dgii=ncf.codigo_dgii
IF STATUS <> NOTFOUND THEN
DISPLAY "aqui"
UPDATE vetb00071 SET
UPDATE vetb00071 SET
tipo_doc = ncf.tipo_doc,
tipo_ncf = ncf.tipo_ncf,
tipo_ncf = ncf.tipo_ncf,
ncf_inicial = ncf.ncf_inicial,
ncf_final = ncf.ncf_final,
itbis = ncf.itbis,
us_mod = USUARIOS,
us_mod = USUARIOS,
fech_mod = GETDATE()
WHERE fecha = ncf.fecha AND
sucid = ncf.sucid AND
@@ -190,56 +267,102 @@ DISPLAY "SUC ",ncf.sucid
VALUES (ncf.fecha,ncf.tipo_ncf,ncf.tipo_doc,ncf.ncf_inicial,
ncf.ncf_final,ncf.codigo_dgii,ncf.disponible,
ncf.itbis,usuarios,GETDATE(),ncf.sucid)
END IF}
SET CONNECTION "MSSQL"
SELECT UNIQUE a.sucid FROM vetb00071 a
WHERE a.sucid = ncf.sucid AND
a.fecha = ncf.fecha AND
a.tipo_doc = ncf.tipo_doc AND a.codigo_dgii=ncf.codigo_dgii
IF STATUS <> NOTFOUND THEN
UPDATE vetb00071 SET
tipo_ncf = ncf.tipo_ncf,
ncf_inicial = ncf.ncf_inicial,
ncf_final = ncf.ncf_final,
itbis = ncf.itbis,
us_mod = USUARIOS,
fech_mod = GETDATE()
WHERE fecha = ncf.fecha AND
sucid = ncf.sucid AND
tipo_doc = ncf.tipo_doc
ELSE
INSERT INTO vetb00071 (fecha,tipo_ncf,tipo_doc,ncf_inicial,ncf_final,
codigo_dgii,disponible,itbis,us_mod,fech_mod,sucid)
VALUES (ncf.fecha,ncf.tipo_ncf,ncf.tipo_doc,ncf.ncf_inicial,
ncf.ncf_final,ncf.codigo_dgii,ncf.disponible,
ncf.itbis,usuarios,getdate(),ncf.sucid)
END IF
LET numero_msg = 13
CALL msg(numero_msg)
SET CONNECTION "MSSQL"
LET vfec_vence = fecha_vencimiento
UPDATE vetb00071 SET
fecha = ncf.fecha,
tipo_ncf = ncf.tipo_ncf,
ncf_inicial = ncf.ncf_inicial,
ncf_final = ncf.ncf_final,
itbis = ncf.itbis,
disponible = ncf.disponible,
fecha_vencimiento = vfec_vence,
us_mod = USUARIOS,
fech_mod = GETDATE()
WHERE tipo_doc = k_tipo_doc AND
codigo_dgii = k_codigo_dgii AND
sucid = k_sucid
IF SQLCA.SQLERRD[3] = 0 THEN
CALL fgl_winmessage("NCF","No se encontro el comprobante a modificar.","stop")
ELSE
LET numero_msg = 13
CALL msg(numero_msg)
END IF
# Muestra lo que quedo grabado en la base
CALL refresca_ncf() RETURNING sec_ncf
DISPLAY BY NAME sec_ncf
COMMAND KEY ("L") "eLiminar"
SELECT a.ncf FROM vetb00072 a
WHERE a.ncf BETWEEN ncf.ncf_inicial AND ncf.ncf_final AND
sucid = ncf.sucid
IF STATUS = NOTFOUND THEN
DELETE FROM vetb00071 WHERE fecha = ncf.fecha AND
# Solo se borra si ningun documento uso NCF de ese comprobante/rango
LET usados = 0
SELECT COUNT(*) INTO usados FROM vetb00072 a
WHERE a.tipo_doc = ncf.tipo_doc AND a.codigo_dgii = ncf.codigo_dgii AND
a.ncf BETWEEN ncf.ncf_inicial AND ncf.ncf_final AND
a.sucid = ncf.sucid
IF usados = 0 THEN
DELETE FROM vetb00071 WHERE tipo_doc = ncf.tipo_doc AND
codigo_dgii = ncf.codigo_dgii AND
sucid = ncf.sucid
ELSE
LET numero_msg =32
CALL msg(numero_msg)
EXIT MENU
END IF
LET numero_msg = 39
CALL msg(numero_msg)
COMMAND "Retornar"
"Retorna al menu anterior"
COMMAND "Retornar"
"Retorna al menu anterior"
CLEAR FORM
EXIT MENU
END MENU
END FUNCTION
END FUNCTION
# Validaciones comunes de Nuevo y Modificar
FUNCTION valida_ncf()
IF ncf.tipo_doc IS NULL OR ncf.codigo_dgii IS NULL OR ncf.sucid IS NULL THEN
CALL fgl_winmessage("NCF","Tipo de documento, codigo y localidad son obligatorios.","stop")
RETURN FALSE
END IF
IF ncf.ncf_inicial IS NULL OR ncf.ncf_final IS NULL OR
ncf.ncf_final < ncf.ncf_inicial THEN
CALL fgl_winmessage("NCF","El NCF final debe ser mayor o igual al NCF inicial.","stop")
RETURN FALSE
END IF
RETURN TRUE
END FUNCTION
# Relee de la base el comprobante actual y lo muestra. El SCROLL CURSOR guarda
# una foto de cuando se abrio la consulta: sin esto, al navegar se ven los
# valores viejos (p.ej. disponible) aunque ya esten modificados.
FUNCTION refresca_ncf()
DEFINE vsec INTEGER,
vmensaje STRING
LET vsec = NULL
IF ncf.codigo_dgii IS NULL THEN
RETURN vsec
END IF
WHENEVER ERROR CONTINUE
SELECT a.fecha,a.tipo_ncf,a.ncf_inicial,a.ncf_final,a.disponible,a.itbis,
a.fecha_vencimiento,a.us_crea,a.fech_crea,a.us_mod,a.fech_mod
INTO ncf.fecha,ncf.tipo_ncf,ncf.ncf_inicial,ncf.ncf_final,ncf.disponible,
ncf.itbis,fecha_vencimiento,ncf.us_crea,ncf.fech_crea,ncf.us_mod,ncf.fech_mod
FROM vetb00071 a
WHERE a.tipo_doc = ncf.tipo_doc AND a.codigo_dgii = ncf.codigo_dgii
AND a.sucid = ncf.sucid
IF SQLCA.SQLCODE < 0 THEN
LET vmensaje = "El comprobante ",ncf.tipo_doc," ",ncf.codigo_dgii CLIPPED,
" esta duplicado en vetb00071 para esta localidad."
CALL fgl_winmessage("NCF",vmensaje,"stop")
END IF
WHENEVER ERROR STOP
SELECT MAX(b.ncf) INTO vsec FROM vetb00073 b
WHERE b.tipo_doc = ncf.tipo_doc AND b.codigo_dgii = ncf.codigo_dgii
DISPLAY BY NAME ncf.*,fecha_vencimiento
RETURN vsec
END FUNCTION
+245
View File
@@ -0,0 +1,245 @@
{
------------------------------------------------------------------
PROGRAMA : VEPRMT020
OBJETIVO : Capturar, Modificar, Eliminar registros de la
Tabla Comprobantes Fiscales
PROGRAMADOR : Ing. Juan Soto.
FECHA REALIZACION : Diciembre 27, 2006
------------------------------------------------------------------
}
GLOBALS "veprgb000.4gl"
MAIN
DEFER INTERRUPT
CALL ARG_VAL(1) RETURNING usuarios
CALL ARG_VAL(2) RETURNING clave
CALL ARG_VAL(4) RETURNING impresor
CONNECT TO "decomarmol" AS "MSSQL" USER usuarios USING clave
# CONNECT to "smarmotech" AS "IFMX" USER usuarios USING clave
CALL veprmt020()
END MAIN
FUNCTION veprmt020()
CLEAR SCREEN
OPTIONS
FORM LINE 9,
ERROR LINE 23,
COMMENT LINE 21
OPEN FORM vefmmt020 FROM "vefmmt020"
DISPLAY FORM vefmmt020
MENU
ON ACTION nuevo
CALL vepcad020()
ON ACTION modificar
CALL vepcmf020()
ON ACTION Salir
EXIT MENU
EXIT PROGRAM
END MENU
END FUNCTION
FUNCTION vepcad020()
DEFINE hoy DATE
## Captura los datos que va a contener el registro
# WHENEVER ERROR CONTINUE
LET hoy = today
INPUT BY NAME ncf.*
BEFORE INPUT
CALL localidades('1')
AFTER INPUT
IF int_flag THEN
LET numero_msg = 2
CALL msg(numero_msg)
LET int_flag = FALSE
RETURN
END IF
{ SET CONNECTION "IFMX"
INSERT INTO vetb00071 (fecha,tipo_ncf,tipo_doc,ncf_inicial,ncf_final,
codigo_dgii,disponible,itbis,us_mod,fech_mod,sucid)
VALUES (ncf.fecha,ncf.tipo_ncf,ncf.tipo_doc,ncf.ncf_inicial,
ncf.ncf_final,ncf.codigo_dgii,ncf.disponible,
ncf.itbis,usuarios,GETDATE(),ncf.sucid)
}
SET CONNECTION "MSSQL"
INSERT INTO vetb00071 (fecha,tipo_ncf,tipo_doc,ncf_inicial,ncf_final,
codigo_dgii,disponible,itbis,us_mod,fech_mod,sucid)
VALUES (ncf.fecha,ncf.tipo_ncf,ncf.tipo_doc,ncf.ncf_inicial,
ncf.ncf_final,ncf.codigo_dgii,ncf.disponible,
ncf.itbis,usuarios,getdate(),ncf.sucid)
LET numero_msg = 1
CALL msg(numero_msg)
END INPUT
END FUNCTION
FUNCTION vepcmf020()
## Aqui se prepara para la captura del criterio de seleccion
#WHENEVER ERROR CONTINUE
#SET CONNECTION "IFMX"
SET CONNECTION "MSSQL"
CONSTRUCT criterio ON a.fecha,a.tipo_doc,a.codigo_dgii
FROM fecha,tipo_doc,codigo_dgii
BEFORE CONSTRUCT
CALL localidades('1')
AFTER CONSTRUCT
IF int_flag THEN
LET numero_msg = 2
CALL msg(numero_msg)
LET int_flag = FALSE
RETURN
END IF
END CONSTRUCT
LET SELEC = " SELECT CONVERT(CHAR(10),a.fecha,103),a.tipo_ncf,a.tipo_doc,a.codigo_dgii,a.ncf_inicial,",
" a.ncf_final,a.disponible,a.us_crea,a.fech_crea,a.us_mod,a.fech_mod,",
" a.sucid ",
" FROM vetb00071 a ",
" WHERE ",
criterio clipped,
" ORDER BY a.sucid"
PREPARE busca FROM selec
DECLARE datos SCROLL CURSOR WITH HOLD FOR busca
OPEN datos
FETCH FIRST datos INTO ncf.fecha,ncf.tipo_ncf,ncf.tipo_doc,ncf.codigo_dgii,ncf.ncf_inicial,ncf.ncf_final,
ncf.disponible,ncf.us_crea,ncf.fech_crea,ncf.us_mod,ncf.fech_mod,ncf.sucid
DISPLAY BY NAME ncf.*
MENU "OPCIONES "
COMMAND "Siguiente"
"Presenta en pantalla el proximo registro encontrado"
FETCH NEXT datos INTO ncf.fecha,ncf.tipo_ncf,ncf.tipo_doc,ncf.codigo_dgii,ncf.ncf_inicial,ncf.ncf_final,
ncf.disponible,ncf.us_crea,ncf.fech_crea,ncf.us_mod,ncf.fech_mod,ncf.sucid
DISPLAY "SUC ",ncf.sucid
DISPLAY BY NAME ncf.*
COMMAND "Anterior"
"Presenta en pantalla el registro anterior encontrado"
FETCH PREVIOUS datos INTO ncf.fecha,ncf.tipo_ncf,ncf.tipo_doc,ncf.codigo_dgii,ncf.ncf_inicial,ncf.ncf_final,
ncf.disponible,ncf.us_crea,ncf.fech_crea,ncf.us_mod,ncf.fech_mod,ncf.sucid
DISPLAY BY NAME ncf.*
COMMAND "Primero"
"Presenta en pantalla el primer registro encontrado"
FETCH FIRST datos INTO ncf.fecha,ncf.tipo_ncf,ncf.tipo_doc,ncf.codigo_dgii,ncf.ncf_inicial,ncf.ncf_final,
ncf.disponible,ncf.us_crea,ncf.fech_crea,ncf.us_mod,ncf.fech_mod,ncf.sucid
DISPLAY BY NAME ncf.*
LET numero_msg = 5
CALL msg(numero_msg)
COMMAND "Ultimo"
"Presenta en pantalla el ultimo registro encontrado"
FETCH LAST datos INTO ncf.fecha,ncf.tipo_ncf,ncf.tipo_doc,ncf.codigo_dgii,ncf.ncf_inicial,ncf.ncf_final,
ncf.disponible,ncf.us_crea,ncf.fech_crea,ncf.us_mod,ncf.fech_mod,ncf.sucid
DISPLAY BY NAME ncf.*
LET numero_msg = 4
CALL msg(numero_msg)
COMMAND "Escoger"
"<Esc> Actualiza Registro <Delete> Cancela Operacion"
INPUT BY NAME ncf.* WITHOUT DEFAULTS
AFTER INPUT
IF int_flag THEN
LET numero_msg = 2
CALL msg(numero_msg)
LET int_flag = FALSE
EXIT MENU
END IF
EXIT INPUT
END INPUT
{ SET CONNECTION "IFMX"
SELECT UNIQUE a.sucid FROM vetb00071 a
WHERE a.sucid = ncf.sucid AND
a.fecha = ncf.fecha AND
a.tipo_doc = ncf.tipo_doc AND a.codigo_dgii=ncf.codigo_dgii
IF STATUS <> NOTFOUND THEN
DISPLAY "aqui"
UPDATE vetb00071 SET
tipo_doc = ncf.tipo_doc,
tipo_ncf = ncf.tipo_ncf,
ncf_inicial = ncf.ncf_inicial,
ncf_final = ncf.ncf_final,
itbis = ncf.itbis,
us_mod = USUARIOS,
fech_mod = GETDATE()
WHERE fecha = ncf.fecha AND
sucid = ncf.sucid AND
tipo_doc = ncf.tipo_doc AND codigo_dgii=ncf.codigo_dgii
ELSE
INSERT INTO vetb00071 (fecha,tipo_ncf,tipo_doc,ncf_inicial,ncf_final,
codigo_dgii,disponible,itbis,us_mod,fech_mod,sucid)
VALUES (ncf.fecha,ncf.tipo_ncf,ncf.tipo_doc,ncf.ncf_inicial,
ncf.ncf_final,ncf.codigo_dgii,ncf.disponible,
ncf.itbis,usuarios,GETDATE(),ncf.sucid)
END IF}
SET CONNECTION "MSSQL"
SELECT UNIQUE a.sucid FROM vetb00071 a
WHERE a.sucid = ncf.sucid AND
a.fecha = ncf.fecha AND
a.tipo_doc = ncf.tipo_doc AND a.codigo_dgii=ncf.codigo_dgii
IF STATUS <> NOTFOUND THEN
UPDATE vetb00071 SET
tipo_ncf = ncf.tipo_ncf,
ncf_inicial = ncf.ncf_inicial,
ncf_final = ncf.ncf_final,
itbis = ncf.itbis,
us_mod = USUARIOS,
fech_mod = GETDATE()
WHERE fecha = ncf.fecha AND
sucid = ncf.sucid AND
tipo_doc = ncf.tipo_doc
ELSE
INSERT INTO vetb00071 (fecha,tipo_ncf,tipo_doc,ncf_inicial,ncf_final,
codigo_dgii,disponible,itbis,us_mod,fech_mod,sucid)
VALUES (ncf.fecha,ncf.tipo_ncf,ncf.tipo_doc,ncf.ncf_inicial,
ncf.ncf_final,ncf.codigo_dgii,ncf.disponible,
ncf.itbis,usuarios,getdate(),ncf.sucid)
END IF
LET numero_msg = 13
CALL msg(numero_msg)
COMMAND KEY ("L") "eLiminar"
SELECT a.ncf FROM vetb00072 a
WHERE a.ncf BETWEEN ncf.ncf_inicial AND ncf.ncf_final AND
sucid = ncf.sucid
IF STATUS = NOTFOUND THEN
DELETE FROM vetb00071 WHERE fecha = ncf.fecha AND
sucid = ncf.sucid
ELSE
LET numero_msg =32
CALL msg(numero_msg)
EXIT MENU
END IF
LET numero_msg = 39
CALL msg(numero_msg)
COMMAND "Retornar"
"Retorna al menu anterior"
CLEAR FORM
EXIT MENU
END MENU
END FUNCTION
+14 -9
View File
@@ -78,14 +78,21 @@ FUNCTION veprrp044()
# Busca las ventas reales del ano actual hasta el mes indicado anteriormente
# Columnas explicitas: la tabla real vetb00004 tiene columnas extra al final (id_crm)
# que no estan en el .sch; con a.* la direccion caia en id_crm y salia vacia.
# LEFT JOIN para que salgan tambien los clientes sin registro en vetb00005.
LET selec_v =
"SELECT a.tipo_cliente,a.sec_cliente,a.nombre,a.cod_zona,a.cod_provincia,",
"a.telefono,a.fax,a.telex,a.patente,a.limite_credito,a.zona_postal,a.num_rnc,",
"a.nombre_patente,a.status_t,a.us_crea,a.fech_crea,a.us_mod,a.fech_mod,",
"a.puesto_laboral,a.telefono_casa,a.tipo_negocio,a.cond_pago,a.id_ciudad,a.url,",
"b.calle FROM vetb00004 a LEFT OUTER JOIN vetb00005 b ",
"ON a.tipo_cliente=b.tipo_cliente AND a.sec_cliente=b.sec_cliente ",
"WHERE a.status_t IS NULL AND ", criterio CLIPPED
IF ordenado != "A" THEN
LET selec_v =
"SELECT a.*,b.calle FROM vetb00004 a,vetb00005 b WHERE a.tipo_cliente=b.tipo_cliente and a.sec_cliente=b.sec_cliente and a.status_t IS NULL AND ",
criterio CLIPPED," ORDER BY a.tipo_cliente"
LET selec_v = selec_v CLIPPED," ORDER BY a.tipo_cliente"
ELSE
LET selec_v =
"SELECT a.*,b.calle FROM vetb00004 a,vetb00005 b WHERE a.tipo_cliente=b.tipo_cliente and a.sec_cliente=b.sec_cliente and a.status_t IS NULL AND ",
criterio CLIPPED," ORDER BY a.tipo_cliente,a.nombre"
LET selec_v = selec_v CLIPPED," ORDER BY a.tipo_cliente,a.nombre"
END IF
DISPLAY " " AT 19,14
@@ -104,8 +111,7 @@ FUNCTION veprrp044()
CALL fgl_report_selectDevice(r_output) -- changing default
CALL fgl_report_selectPreview(preview) -- changing default
CALL fgl_report_configurexlsxdevice(null,null,null,false,false,null,1)
LET handler = fgl_report_commitCurrentSettings() -- commit changes
END IF
@@ -117,7 +123,6 @@ FUNCTION veprrp044()
AT 19,14 ATTRIBUTE (REVERSE)
FOREACH movi_vr INTO p_vetb04.*,direccion1
DISPLAY direccion1
IF int_flag THEN
LET numero_msg = 2
CALL msg(numero_msg)
+6 -3
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<report:Report xmlns:rtl="http://www.4js.com/2004/RTL" xmlns:report="http://www.4js.com/2007/REPORT" xmlns="http://www.4js.com/2004/PXML" gstVersion="31405" version="6.00">
<report:Settings RWPageWidth="a4width" RWPageLength="a4length" RWLeftMargin="1.3cm" RWTopMargin="1.3cm" RWRightMargin="1.3cm" RWBottomMargin="1.3cm">
<report:Settings RWPageWidth="a4length" RWPageLength="a4width" RWLeftMargin="1.3cm" RWTopMargin="1.3cm" RWRightMargin="1.3cm" RWBottomMargin="1.3cm">
<report:FormatList>
<report:Format-SVG/>
<report:Format-PDF/>
@@ -16,11 +16,11 @@
<LAYOUTNODE name="Page Header" width="max" length="min" port="anyPageHeader">
<MINIPAGE name="StripeLayouter3" width="min" length="max" layoutDirection="leftToRight">
<rtl:input-variable name="p_companias.nombre" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="Report Title" x="0" y="max/2" anchorX="0" anchorY="0.5" alignment="baseline" fontSize="22" baselineType="leftleft" floatingBehavior="enclosed" text="{{p_companias.nombre.trim()}}"/>
<WORDBOX name="Report Title" x="0" y="max/3" anchorX="0" anchorY="0.5" alignment="baseline" fontSize="22" baselineType="leftleft" floatingBehavior="enclosed" text="{{p_companias.nombre.trim()}}"/>
<PAGENOBOX name="PageNoBox" x="1.23857" y="max" anchorX="0" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="right"/>
<WORDBOX name="WordBox" floatingBehavior="enclosed" text="VEPRRP044"/>
<rtl:input-variable name="fecha" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox1" y="15cm" floatingBehavior="enclosed" text="{{fecha}}"/>
<WORDBOX name="WordBox1" y="16cm" floatingBehavior="enclosed" text="{{fecha}}"/>
<rtl:input-variable name="hora" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox2" x="0.5cm" y="16.5cm" alignment="baseline" floatingBehavior="enclosed" text="{{hora}}"/>
</MINIPAGE>
@@ -30,6 +30,7 @@
<WORDBOX name="WordBox4" y="7cm" floatingBehavior="enclosed" text="Rnc"/>
<WORDBOX name="WordBox5" y="10cm" alignment="center" floatingBehavior="enclosed" text="Telefono"/>
<WORDBOX name="WordBox6" y="13cm" floatingBehavior="enclosed" text="Direccion"/>
<WORDBOX name="WordBox7" y="18cm" floatingBehavior="enclosed" text="Email"/>
</MINIPAGE>
<MINIPAGE name="Separator" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight"/>
</LAYOUTNODE>
@@ -46,6 +47,8 @@
<WORDBOX name="WordBox9" y="10cm" floatingBehavior="enclosed" text="{{x.telefono.trim()}}"/>
<rtl:input-variable name="direccion" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox1" y="13cm" width="width(&quot;M&quot;)*20" floatingBehavior="enclosed" text="{{direccion.trim()}}"/>
<rtl:input-variable name="x.patente" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox2" y="18cm" width="width(&quot;M&quot;)*30" floatingBehavior="enclosed" text="{{x.patente.trim()}}"/>
</MINIPAGE>
</rtl:match>
</MINIPAGE>
+2064 -2058
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff