Files
DECOMARMOL/PROYECTO/bin/cpfmmt005.42f
T
2026-09-22 20:38:51 -04:00

243 lines
14 KiB
XML

<?xml version='1.0' encoding='windows-1252'?>
<Form name="cpfmmt005.tmp" build="3.20.11" sqlDbName="decomarmol" text="CREACION FACTURAS CUENTAS POR PAGAR" style="basic" width="121" height="26">
<ActionDefaultList>
<ActionDefault name="busca_foto" text="Buscar Fotos">
<LStr text="Buscar Fotos"/>
</ActionDefault>
</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 CUENTAS POR PAGAR"/>
<Grid name="grid1" width="121" height="26">
<Group name="group1" posY="1" posX="1" gridWidth="75" gridHeight="12">
<Label text="Codigo Suplidor" posY="1" posX="2" gridWidth="15"/>
<FormField name="cptb00001.cod_sp" colName="cod_sp" sqlType="SMALLINT" fieldId="0" sqlTabName="cptb00001" tabIndex="1">
<Edit width="2" autoNext="1" posY="1" posX="20" gridWidth="2"/>
</FormField>
<FormField name="cptb00001.cod_sp_sec" colName="cod_sp_sec" sqlType="SMALLINT" fieldId="1" sqlTabName="cptb00001" tabIndex="2">
<Edit width="4" autoNext="1" comment="Presione Ctrl-W Para busca Suplidor" posY="1" posX="25" gridWidth="4">
<LStr comment="Presione Ctrl-W Para busca Suplidor"/>
</Edit>
</FormField>
<FormField name="formonly.nom_sup" colName="nom_sup" fieldId="2" sqlTabName="formonly" tabIndex="3" noEntry="1">
<Edit width="41" color="yellow" posY="1" posX="31" gridWidth="41"/>
</FormField>
<Label text="Numero Factura" posY="2" posX="2" gridWidth="14"/>
<FormField name="formonly.num_doc" colName="num_doc" sqlType="VARCHAR" fieldId="3" sqlTabName="formonly" tabIndex="4">
<Edit width="14" shift="up" posY="2" posX="20" gridWidth="14"/>
</FormField>
<Label text="Fecha Factura" posY="2" posX="41" gridWidth="13"/>
<FormField name="cptb00001.fecha_orig" colName="fecha_orig" sqlType="DATE" fieldId="4" sqlTabName="cptb00001" tabIndex="5">
<DateEdit width="8" format="dd/mm/yyyy" posY="2" posX="62" gridWidth="10"/>
</FormField>
<Label text="Fecha Vencimento" posY="3" posX="2" gridWidth="17"/>
<FormField name="cptb00001.fecha_proc" colName="fecha_proc" sqlType="DATE" fieldId="5" sqlTabName="cptb00001" tabIndex="6">
<Edit width="10" format="dd/mm/yyyy" posY="3" posX="20" gridWidth="10"/>
</FormField>
<Label text="Monto Factura" posY="3" posX="41" gridWidth="13"/>
<FormField name="formonly.valor_fac" colName="valor_fac" sqlType="DECIMAL(12,2)" fieldId="6" sqlTabName="formonly" tabIndex="7">
<Edit width="12" comment="Digite el valor de la factura" posY="3" posX="60" gridWidth="12">
<LStr comment="Digite el valor de la factura"/>
</Edit>
</FormField>
<Label text="Orden" posY="4" posX="2" gridWidth="5"/>
<FormField name="formonly.tipo_oc" colName="tipo_oc" sqlType="CHAR" fieldId="7" sqlTabName="formonly" tabIndex="8">
<Edit width="3" autoNext="1" comment="01-Generales 02-Rov.ltd 03-Locales 04-Miscelaneas" posY="4" posX="20" gridWidth="3">
<LStr comment="01-Generales 02-Rov.ltd 03-Locales 04-Miscelaneas"/>
</Edit>
</FormField>
<FormField name="cptb00001.orden_no" colName="orden_no" sqlType="INTEGER" fieldId="8" sqlTabName="cptb00001" tabIndex="9">
<Edit width="6" posY="4" posX="24" gridWidth="6"/>
</FormField>
<Label text="Monto Impuesto" posY="4" posX="41" gridWidth="14"/>
<FormField name="formonly.itbis" colName="itbis" sqlType="DECIMAL(12,2)" fieldId="9" sqlTabName="formonly" tabIndex="10">
<Edit width="12" comment="Digite el valor del impuesto de la factura" posY="4" posX="60" gridWidth="12">
<LStr comment="Digite el valor del impuesto de la factura"/>
</Edit>
</FormField>
<Label name="label3" width="10" text="Valor Orden" posY="5" posX="2" gridWidth="10">
<LStr text="Valor Orden"/>
</Label>
<FormField name="formonly.monto_orden" colName="monto_orden" fieldId="10" sqlTabName="formonly" tabIndex="23">
<Edit width="10" posY="5" posX="20" gridWidth="10"/>
</FormField>
<Label name="label4" width="10" text="Valor Recibido" posY="5" posX="41" gridWidth="10">
<LStr text="Valor Recibido"/>
</Label>
<FormField name="formonly.valor_recibido_b" colName="valor_recibido_b" fieldId="11" sqlTabName="formonly" tabIndex="24">
<Edit width="12" posY="5" posX="60" gridWidth="12"/>
</FormField>
<Label text="Moneda" posY="6" posX="2" gridWidth="6"/>
<FormField name="formonly.cod_mon" colName="cod_mon" fieldId="12" sqlTabName="formonly" tabIndex="12" noEntry="1">
<ComboBox width="10" posY="6" posX="20" gridWidth="12"/>
</FormField>
<Label name="label5" width="10" text="Servicios" posY="6" posX="41" gridWidth="10">
<LStr text="Servicios"/>
</Label>
<FormField name="formonly.xservicios" colName="xservicios" fieldId="13" sqlTabName="formonly" tabIndex="25">
<Edit width="12" posY="6" posX="60" gridWidth="12"/>
</FormField>
<Label text="NCF" posY="7" posX="2" gridWidth="3"/>
<FormField name="formonly.ncf" colName="ncf" fieldId="14" sqlTabName="formonly" tabIndex="15">
<Edit width="19" comment="Digite el numero del NCF de la factura" posY="7" posX="20" gridWidth="19">
<LStr comment="Digite el numero del NCF de la factura"/>
</Edit>
</FormField>
<Label name="label6" width="10" text="Bienes" posY="7" posX="41" gridWidth="10">
<LStr text="Bienes"/>
</Label>
<FormField name="formonly.xbienes" colName="xbienes" fieldId="15" sqlTabName="formonly" tabIndex="26">
<Edit width="12" posY="7" posX="60" gridWidth="12"/>
</FormField>
<Label text="Observacion" posY="9" posX="2" gridWidth="11"/>
<FormField name="cptb00001.detalle" colName="detalle" sqlType="VARCHAR(60)" fieldId="16" sqlTabName="cptb00001" tabIndex="11" required="1">
<Edit width="32" shift="up" posY="9" posX="20" gridWidth="32"/>
</FormField>
<Label text="Tipo Gasto" posY="10" posX="2" gridWidth="10"/>
<FormField name="formonly.tipo_ncf" colName="tipo_ncf" sqlType="SMALLINT" fieldId="17" sqlTabName="formonly" tabIndex="13">
<Edit width="3" comment="Digite el tipo del NCF" posY="10" posX="20" gridWidth="3">
<LStr comment="Digite el tipo del NCF"/>
</Edit>
</FormField>
<FormField name="formonly.descripcion_ncf" colName="descripcion_ncf" fieldId="18" sqlTabName="formonly" tabIndex="14">
<Edit width="24" comment="Digite el tipo del NCF" posY="10" posX="24" gridWidth="24">
<LStr comment="Digite el tipo del NCF"/>
</Edit>
</FormField>
</Group>
<Group name="group4" text="Foto" posY="1" posX="79" gridWidth="42" gridHeight="5">
<LStr text="Foto"/>
<FormField name="formonly.foto" colName="foto" fieldId="19" sqlTabName="formonly" noEntry="1" tabIndex="27">
<Image width="36" height="3" autoScale="1" stretch="both" posY="1" posX="2" gridWidth="36" gridHeight="3"/>
</FormField>
</Group>
<Group name="group5" posY="7" posX="79" gridWidth="27" gridHeight="5">
<Button name="busca_foto" width="8" text="Foto" image="fa-picture-o" posY="1" posX="2" gridWidth="8" tabIndex="28">
<LStr text="Foto"/>
</Button>
<FormField name="formonly.nombre_file_foto" colName="nombre_file_foto" fieldId="20" sqlTabName="formonly" tabIndex="29">
<Edit width="24" scroll="1" posY="3" posX="2" gridWidth="24"/>
</FormField>
</Group>
<Group name="group2" posY="14" posX="1" gridWidth="75" gridHeight="6">
<Label text="Apl." posY="1" posX="2" gridWidth="4"/>
<Label text="Aplica a." posY="1" posX="8" gridWidth="9"/>
<Label text="Tipo" posY="1" posX="24" gridWidth="4"/>
<Label text="Monto Dcto." posY="1" posX="36" gridWidth="11"/>
<Label text="Valor Aplicado" posY="1" posX="56" gridWidth="14"/>
<Matrix pageSize="3" name="formonly.tipo" colName="tipo" sqlType="CHAR" fieldId="21" sqlTabName="formonly" tabIndex="16">
<Edit width="2" shift="up" comment="Digite S = en caso de que desee aplica prepago, N = en caso contrario" posY="2" posX="3" gridWidth="2">
<LStr comment="Digite S = en caso de que desee aplica prepago, N = en caso contrario"/>
</Edit>
</Matrix>
<Matrix pageSize="3" name="cptb00001.aplica_a" colName="aplica_a" sqlType="VARCHAR(10)" fieldId="22" sqlTabName="cptb00001" tabIndex="17">
<Edit width="10" shift="up" comment="Digite el numero del prepago" posY="2" posX="9" gridWidth="10">
<LStr comment="Digite el numero del prepago"/>
</Edit>
</Matrix>
<Matrix pageSize="3" name="cptb00001.tipo_doc" colName="tipo_doc" sqlType="VARCHAR(2)" fieldId="23" sqlTabName="cptb00001" tabIndex="18" noEntry="1">
<Edit width="2" posY="2" posX="25" gridWidth="2"/>
</Matrix>
<Matrix pageSize="3" name="formonly.valor_prep" colName="valor_prep" sqlType="DECIMAL(12,2)" fieldId="24" sqlTabName="formonly" tabIndex="19" noEntry="1">
<Edit width="12" posY="2" posX="36" gridWidth="12"/>
</Matrix>
<Matrix pageSize="3" name="cptb00001.valor" colName="valor" sqlType="DECIMAL(12,2)" required="1" notNull="1" fieldId="25" sqlTabName="cptb00001" tabIndex="20">
<Edit width="12" comment="Digite el valor a aplicar" posY="2" posX="58" gridWidth="12">
<LStr comment="Digite el valor a aplicar"/>
</Edit>
</Matrix>
</Group>
<Group name="group6" text="group6" posY="14" posX="77" gridWidth="42" gridHeight="5">
<LStr text="group6"/>
</Group>
<Group name="group3" posY="21" posX="1" gridWidth="74" gridHeight="4">
<Label name="label1" width="12" text="Total Debito" posY="1" posX="2" gridWidth="12">
<LStr text="Total Debito"/>
</Label>
<FormField name="formonly.debito1" colName="debito1" fieldId="26" sqlTabName="formonly" tabIndex="21">
<Edit width="12" posY="1" posX="58" gridWidth="12"/>
</FormField>
<Label name="label2" width="13" text="Total Credito" posY="2" posX="2" gridWidth="13">
<LStr text="Total Credito"/>
</Label>
<FormField name="formonly.credito1" colName="credito1" fieldId="27" sqlTabName="formonly" tabIndex="22">
<Edit width="12" posY="2" posX="58" gridWidth="12"/>
</FormField>
</Group>
</Grid>
<RecordView tabName="cptb00001">
<Link colName="cod_sp" fieldIdRef="0"/>
<Link colName="cod_sp_sec" fieldIdRef="1"/>
<Link colName="fecha_orig" fieldIdRef="4"/>
<Link colName="fecha_proc" fieldIdRef="5"/>
<Link colName="orden_no" fieldIdRef="8"/>
<Link colName="detalle" fieldIdRef="16"/>
<Link colName="aplica_a" fieldIdRef="22"/>
<Link colName="tipo_doc" fieldIdRef="23"/>
<Link colName="valor" fieldIdRef="25"/>
</RecordView>
<RecordView tabName="formonly">
<Link colName="nom_sup" fieldIdRef="2"/>
<Link colName="num_doc" fieldIdRef="3"/>
<Link colName="valor_fac" fieldIdRef="6"/>
<Link colName="tipo_oc" fieldIdRef="7"/>
<Link colName="itbis" fieldIdRef="9"/>
<Link colName="monto_orden" fieldIdRef="10"/>
<Link colName="valor_recibido_b" fieldIdRef="11"/>
<Link colName="cod_mon" fieldIdRef="12"/>
<Link colName="xservicios" fieldIdRef="13"/>
<Link colName="ncf" fieldIdRef="14"/>
<Link colName="xbienes" fieldIdRef="15"/>
<Link colName="tipo_ncf" fieldIdRef="17"/>
<Link colName="descripcion_ncf" fieldIdRef="18"/>
<Link colName="foto" fieldIdRef="19"/>
<Link colName="nombre_file_foto" fieldIdRef="20"/>
<Link colName="tipo" fieldIdRef="21"/>
<Link colName="valor_prep" fieldIdRef="24"/>
<Link colName="debito1" fieldIdRef="26"/>
<Link colName="credito1" fieldIdRef="27"/>
</RecordView>
<RecordView tabName="factura1">
<Link colName="tipo" fieldIdRef="21"/>
<Link colName="aplica_a" fieldIdRef="22"/>
<Link colName="tipo_doc" fieldIdRef="23"/>
<Link colName="valor_prep" fieldIdRef="24"/>
<Link colName="valor" fieldIdRef="25"/>
</RecordView>
<RecordView tabName="undefined">
<Link colName="cod_sp" fieldIdRef="0"/>
<Link colName="cod_sp_sec" fieldIdRef="1"/>
<Link colName="nom_sup" fieldIdRef="2"/>
<Link colName="num_doc" fieldIdRef="3"/>
<Link colName="fecha_orig" fieldIdRef="4"/>
<Link colName="fecha_proc" fieldIdRef="5"/>
<Link colName="valor_fac" fieldIdRef="6"/>
<Link colName="tipo_oc" fieldIdRef="7"/>
<Link colName="orden_no" fieldIdRef="8"/>
<Link colName="itbis" fieldIdRef="9"/>
<Link colName="detalle" fieldIdRef="16"/>
<Link colName="cod_mon" fieldIdRef="12"/>
<Link colName="tipo_ncf" fieldIdRef="17"/>
<Link colName="descripcion_ncf" fieldIdRef="18"/>
<Link colName="ncf" fieldIdRef="14"/>
<Link colName="debito1" fieldIdRef="26"/>
<Link colName="credito1" fieldIdRef="27"/>
<Link colName="monto_orden" fieldIdRef="10"/>
<Link colName="valor_recibido_b" fieldIdRef="11"/>
<Link colName="xservicios" fieldIdRef="13"/>
<Link colName="xbienes" fieldIdRef="15"/>
<Link colName="foto" fieldIdRef="19"/>
<Link colName="nombre_file_foto" fieldIdRef="20"/>
</RecordView>
</Form>