Files
2026-09-22 20:38:51 -04:00

285 lines
15 KiB
XML

<?xml version='1.0' encoding='windows-1252'?>
<Form name="cofmmt009.tmp" build="3.20.11" sqlDbName="decomarmol" text="ORDENES DE COMPRAS" style="basic" width="165" height="24">
<ActionDefaultList>
<ActionDefault name="suplidor" text="Busca Suplidor" image="find">
<LStr text="Busca Suplidor"/>
</ActionDefault>
</ActionDefaultList>
<ToolBar name="toolbar1">
<ToolBarItem name="nuevo" image="new" text="Orden de Compras" comment="Nueva Orden">
<LStr text="Orden de Compras" comment="Nueva Orden"/>
</ToolBarItem>
<ToolBarItem name="buscar" image="find" text="Buscar Ordenes de Compras" comment="Criterio de busqueda">
<LStr text="Buscar Ordenes de Compras" comment="Criterio de busqueda"/>
</ToolBarItem>
<ToolBarSeparator name="toolbarseparator1"/>
<ToolBarItem name="salir" image="quit" text="Salir">
<LStr text="Salir"/>
</ToolBarItem>
</ToolBar>
<LStr text="ORDENES DE COMPRAS"/>
<Grid name="grid1" width="165" height="24">
<Group name="group1" text="Generales" posY="1" posX="2" gridWidth="119" gridHeight="10">
<LStr text="Generales"/>
<Label name="label8" width="9" text="Orden No." posY="1" posX="2" gridWidth="9">
<LStr text="Orden No."/>
</Label>
<FormField name="formonly.num_oc" colName="num_oc" fieldId="0" sqlTabName="formonly" tabIndex="1">
<Edit width="6" posY="1" posX="18" gridWidth="6"/>
</FormField>
<Label text="Tipo Orden" posY="1" posX="28" gridWidth="10"/>
<FormField name="formonly.tipo" colName="tipo" fieldId="1" sqlTabName="formonly" tabIndex="2" defaultValue="02">
<ComboBox width="21" posY="1" posX="39" gridWidth="23"/>
</FormField>
<Label name="label15" width="5" text="Fecha" posY="1" posX="66" gridWidth="5">
<LStr text="Fecha"/>
</Label>
<FormField name="formonly.fech_oc" colName="fech_oc" sqlType="CHAR" fieldId="2" sqlTabName="formonly" tabIndex="3">
<Edit width="10" autoNext="1" format="dd/mm/yyyy" comment="Digite la fecha de elaboracion de la orden" posY="1" posX="72" gridWidth="10">
<LStr comment="Digite la fecha de elaboracion de la orden"/>
</Edit>
</FormField>
<Label name="label9" width="15" text="Codigo Suplidor" posY="2" posX="2" gridWidth="15">
<LStr text="Codigo Suplidor"/>
</Label>
<FormField name="formonly.cod_sp" colName="cod_sp" sqlType="CHAR" fieldId="3" sqlTabName="formonly" tabIndex="4">
<Edit width="2" autoNext="1" comment="Digite el codigo del suplidor o Presione Ctrl-W para busqueda" posY="2" posX="18" gridWidth="2">
<LStr comment="Digite el codigo del suplidor o Presione Ctrl-W para busqueda"/>
</Edit>
</FormField>
<FormField name="formonly.cod_sp_sec" colName="cod_sp_sec" sqlType="CHAR" fieldId="4" sqlTabName="formonly" tabIndex="5">
<Edit width="4" autoNext="1" comment="Digite la secuencia del suplidor o Presione Ctrl-W para busqueda" posY="2" posX="22" gridWidth="4">
<LStr comment="Digite la secuencia del suplidor o Presione Ctrl-W para busqueda"/>
</Edit>
</FormField>
<Button name="suplidor" width="9" tabIndex="6" posY="2" posX="28" gridWidth="9"/>
<FormField name="cotb00001.nom_sp" colName="nom_sp" sqlType="VARCHAR(41)" fieldId="5" sqlTabName="cotb00001" tabIndex="7" noEntry="1">
<Edit width="43" posY="2" posX="39" gridWidth="43"/>
</FormField>
<Label name="label2" width="10" text="Pais" posY="3" posX="2" gridWidth="10">
<LStr text="Pais"/>
</Label>
<FormField name="formonly.nom_pais" colName="nom_pais" fieldId="6" sqlTabName="formonly" tabIndex="31">
<Edit width="21" scroll="1" posY="3" posX="18" gridWidth="21"/>
</FormField>
<Label name="label6" width="14" text="Codigo de Pago" posY="4" posX="2" gridWidth="14">
<LStr text="Codigo de Pago"/>
</Label>
<FormField name="formonly.term_sp" colName="term_sp" sqlType="CHAR" fieldId="7" sqlTabName="formonly" tabIndex="8" defaultValue="2">
<ComboBox width="32" posY="4" posX="18" gridWidth="34"/>
</FormField>
<Label text="Pago" posY="4" posX="53" gridWidth="5"/>
<FormField name="formonly.pago" colName="pago" sqlType="CHAR" fieldId="8" sqlTabName="formonly" tabIndex="12" include="S|N">
<ComboBox width="3" posY="4" posX="59" gridWidth="5">
<Item name="S" text="S">
<LStr text="S"/>
</Item>
<Item name="N" text="N">
<LStr text="N"/>
</Item>
</ComboBox>
</FormField>
<Label name="label14" width="3" text="Via" posY="4" posX="67" gridWidth="3">
<LStr text="Via"/>
</Label>
<FormField name="formonly.via" colName="via" sqlType="CHAR" fieldId="9" sqlTabName="formonly" tabIndex="9" defaultValue="3">
<ComboBox width="15" comment="Digite 01 = Maritima, 02 = Aerea, 03 = Terrestre" posY="4" posX="72" gridWidth="17">
<LStr comment="Digite 01 = Maritima, 02 = Aerea, 03 = Terrestre"/>
</ComboBox>
</FormField>
<Label name="label7" width="7" text="Enviada" posY="5" posX="2" gridWidth="7">
<LStr text="Enviada"/>
</Label>
<FormField name="formonly.enviada" colName="enviada" sqlType="CHAR" fieldId="10" sqlTabName="formonly" tabIndex="10" include="S|N">
<ComboBox width="6" posY="5" posX="18" gridWidth="8">
<Item name="S" text="S">
<LStr text="S"/>
</Item>
<Item name="N" text="N">
<LStr text="N"/>
</Item>
</ComboBox>
</FormField>
<Label text="Fecha" posY="5" posX="28" gridWidth="6"/>
<FormField name="formonly.fech_enviada" colName="fech_enviada" sqlType="CHAR" fieldId="11" sqlTabName="formonly" tabIndex="11">
<Edit width="17" format="dd/mm/yyyy" posY="5" posX="35" gridWidth="17"/>
</FormField>
<Label name="label13" width="10" text="Fecha Pago" posY="5" posX="60" gridWidth="10">
<LStr text="Fecha Pago"/>
</Label>
<FormField name="formonly.fech_pago" colName="fech_pago" sqlType="CHAR" fieldId="12" sqlTabName="formonly" tabIndex="13">
<Edit width="17" format="dd/mm/yyyy" posY="5" posX="72" gridWidth="17"/>
</FormField>
<Label name="label3" width="10" text="Salida" posY="6" posX="2" gridWidth="10">
<LStr text="Salida"/>
</Label>
<FormField name="formonly.salida" colName="salida" fieldId="13" sqlTabName="formonly" tabIndex="32" defaultValue="SVG">
<ComboBox width="8" posY="6" posX="18" gridWidth="10">
<Item name="SVG" text="SCREEN"/>
<Item name="PDF" text="PDF"/>
</ComboBox>
</FormField>
<Label name="label10" width="6" text="Cierre" posY="7" posX="2" gridWidth="6">
<LStr text="Cierre"/>
</Label>
<FormField name="formonly.cierre" colName="cierre" sqlType="CHAR" fieldId="14" sqlTabName="formonly" tabIndex="14" noEntry="1" include="S|N">
<Edit width="4" posY="7" posX="18" gridWidth="4"/>
</FormField>
<Label text="Puerto" posY="7" posX="28" gridWidth="6"/>
<FormField name="formonly.cod_pt" colName="cod_pt" fieldId="15" sqlTabName="formonly" tabIndex="15">
<ComboBox width="15" comment="Digite el puerto de embarque o Presione Ctrl-W para busqueda" posY="7" posX="35" gridWidth="17">
<LStr comment="Digite el puerto de embarque o Presione Ctrl-W para busqueda"/>
</ComboBox>
</FormField>
<Label name="label12" width="7" text="No.Prof" posY="7" posX="64" gridWidth="7">
<LStr text="No.Prof"/>
</Label>
<FormField name="formonly.num_pr" colName="num_pr" sqlType="CHAR" fieldId="16" sqlTabName="formonly" tabIndex="16">
<Edit width="17" autoNext="1" comment="Digite el numero de la proforma o cotizacion" posY="7" posX="72" gridWidth="17">
<LStr comment="Digite el numero de la proforma o cotizacion"/>
</Edit>
</FormField>
<Label name="label11" width="13" text="Codigo Moneda" posY="8" posX="2" gridWidth="13">
<LStr text="Codigo Moneda"/>
</Label>
<FormField name="formonly.cod_mon" colName="cod_mon" fieldId="17" sqlTabName="formonly" tabIndex="17" defaultValue="1">
<ComboBox width="22" posY="8" posX="18" gridWidth="24"/>
</FormField>
<Label name="label1" width="10" text="ITBIS" justify="right" posY="8" posX="61" gridWidth="10">
<LStr text="ITBIS"/>
</Label>
<FormField name="formonly.itbis" colName="itbis" fieldId="18" sqlTabName="formonly" tabIndex="30">
<Edit width="17" posY="8" posX="72" gridWidth="17"/>
</FormField>
</Group>
<Group name="group2" text="Detalle Orden" posY="11" posX="2" gridWidth="163" gridHeight="10">
<LStr text="Detalle Orden"/>
<Table pageSize="5" name="table1" width="101" posY="1" posX="2" gridWidth="160" gridHeight="6" tabName="consart">
<TableColumn name="formonly.numero_orden" colName="numero_orden" fieldId="19" sqlTabName="formonly" tabIndex="35" text="ORDEN" noEntry="1">
<Edit width="8"/>
<LStr text="ORDEN"/>
</TableColumn>
<TableColumn name="formonly.num_req" colName="num_req" fieldId="20" sqlTabName="formonly" tabIndex="18" text="Requisicion">
<Edit width="6" autoNext="1" comment="Digite Numero de Requisicion o Presione Ctrl-w Para Busqueda">
<LStr comment="Digite Numero de Requisicion o Presione Ctrl-w Para Busqueda"/>
</Edit>
<LStr text="Requisicion"/>
</TableColumn>
<TableColumn name="formonly.cod_n" colName="cod_n" sqlType="CHAR" fieldId="21" sqlTabName="formonly" tabIndex="19" text="CLASE" noEntry="1">
<Edit width="6"/>
<LStr text="CLASE"/>
</TableColumn>
<TableColumn name="formonly.cod_grupo" colName="cod_grupo" sqlType="CHAR" fieldId="22" sqlTabName="formonly" tabIndex="20" text="GRUPO" noEntry="1">
<Edit width="6"/>
<LStr text="GRUPO"/>
</TableColumn>
<TableColumn name="formonly.cod_tipo" colName="cod_tipo" sqlType="CHAR" fieldId="23" sqlTabName="formonly" tabIndex="21" text="TIPO" noEntry="1">
<Edit width="7"/>
<LStr text="TIPO"/>
</TableColumn>
<TableColumn name="formonly.cod_sec" colName="cod_sec" sqlType="CHAR" fieldId="24" sqlTabName="formonly" tabIndex="22" text="SECUENCIA" noEntry="1">
<Edit width="8"/>
<LStr text="SECUENCIA"/>
</TableColumn>
<TableColumn name="formonly.descripcion" colName="descripcion" fieldId="25" sqlTabName="formonly" tabIndex="23" noEntry="1">
<Edit width="33" scroll="1"/>
</TableColumn>
<TableColumn name="formonly.unidad" colName="unidad" fieldId="26" sqlTabName="formonly" tabIndex="24" noEntry="1">
<Edit width="4"/>
</TableColumn>
<TableColumn name="formonly.cantidad" colName="cantidad" sqlType="FLOAT" fieldId="27" sqlTabName="formonly" tabIndex="25" text="CANTIDAD" numAlign="1">
<ButtonEdit width="9" action="parciales" image="new2.png"/>
<LStr text="CANTIDAD"/>
</TableColumn>
<TableColumn name="formonly.precio" colName="precio" sqlType="DECIMAL(18,5)" fieldId="28" sqlTabName="formonly" tabIndex="26" text="PRECIO" numAlign="1">
<Edit width="12"/>
<LStr text="PRECIO"/>
</TableColumn>
<TableColumn name="formonly.porc_desc" colName="porc_desc" fieldId="29" sqlTabName="formonly" tabIndex="33" text="Porciento Desc.">
<Edit width="12"/>
<LStr text="Porciento Desc."/>
</TableColumn>
<TableColumn name="formonly.monto_desc" colName="monto_desc" fieldId="30" sqlTabName="formonly" tabIndex="34" text="MONTO DESC" noEntry="1">
<Edit width="12"/>
<LStr text="MONTO DESC"/>
</TableColumn>
<TableColumn name="formonly.valor" colName="valor" fieldId="31" sqlTabName="formonly" tabIndex="27" text="VALOR" noEntry="1">
<Edit width="12"/>
<LStr text="VALOR"/>
</TableColumn>
</Table>
<Label text="N.A.B." posY="8" posX="1" gridWidth="6"/>
<FormField name="cotb00005.cod_nab" colName="cod_nab" sqlType="CHAR(11)" fieldId="32" sqlTabName="cotb00005" tabIndex="28" noEntry="1">
<Edit width="11" posY="8" posX="10" gridWidth="11"/>
</FormField>
<Label text="Nomenclatura" posY="8" posX="30" gridWidth="13"/>
<FormField name="formonly.descrip1" colName="descrip1" fieldId="33" sqlTabName="formonly" tabIndex="29" noEntry="1">
<Edit width="30" posY="8" posX="44" gridWidth="30"/>
</FormField>
</Group>
</Grid>
<RecordView tabName="cotb00005">
<Link colName="cod_nab" fieldIdRef="32"/>
</RecordView>
<RecordView tabName="cotb00001">
<Link colName="nom_sp" fieldIdRef="5"/>
</RecordView>
<RecordView tabName="formonly">
<Link colName="num_oc" fieldIdRef="0"/>
<Link colName="tipo" fieldIdRef="1"/>
<Link colName="fech_oc" fieldIdRef="2"/>
<Link colName="cod_sp" fieldIdRef="3"/>
<Link colName="cod_sp_sec" fieldIdRef="4"/>
<Link colName="nom_pais" fieldIdRef="6"/>
<Link colName="term_sp" fieldIdRef="7"/>
<Link colName="pago" fieldIdRef="8"/>
<Link colName="via" fieldIdRef="9"/>
<Link colName="enviada" fieldIdRef="10"/>
<Link colName="fech_enviada" fieldIdRef="11"/>
<Link colName="fech_pago" fieldIdRef="12"/>
<Link colName="salida" fieldIdRef="13"/>
<Link colName="cierre" fieldIdRef="14"/>
<Link colName="cod_pt" fieldIdRef="15"/>
<Link colName="num_pr" fieldIdRef="16"/>
<Link colName="cod_mon" fieldIdRef="17"/>
<Link colName="itbis" fieldIdRef="18"/>
<Link colName="numero_orden" fieldIdRef="19"/>
<Link colName="num_req" fieldIdRef="20"/>
<Link colName="cod_n" fieldIdRef="21"/>
<Link colName="cod_grupo" fieldIdRef="22"/>
<Link colName="cod_tipo" fieldIdRef="23"/>
<Link colName="cod_sec" fieldIdRef="24"/>
<Link colName="descripcion" fieldIdRef="25"/>
<Link colName="unidad" fieldIdRef="26"/>
<Link colName="cantidad" fieldIdRef="27"/>
<Link colName="precio" fieldIdRef="28"/>
<Link colName="porc_desc" fieldIdRef="29"/>
<Link colName="monto_desc" fieldIdRef="30"/>
<Link colName="valor" fieldIdRef="31"/>
<Link colName="descrip1" fieldIdRef="33"/>
</RecordView>
<RecordView tabName="undefined">
<Link colName="num_oc" fieldIdRef="0"/>
<Link colName="tipo" fieldIdRef="1"/>
<Link colName="fech_oc" fieldIdRef="2"/>
<Link colName="cod_sp" fieldIdRef="3"/>
<Link colName="cod_sp_sec" fieldIdRef="4"/>
<Link colName="nom_sp" fieldIdRef="5"/>
<Link colName="term_sp" fieldIdRef="7"/>
<Link colName="via" fieldIdRef="9"/>
<Link colName="enviada" fieldIdRef="10"/>
<Link colName="fech_enviada" fieldIdRef="11"/>
<Link colName="pago" fieldIdRef="8"/>
<Link colName="fech_pago" fieldIdRef="12"/>
<Link colName="cierre" fieldIdRef="14"/>
<Link colName="cod_pt" fieldIdRef="15"/>
<Link colName="num_pr" fieldIdRef="16"/>
<Link colName="cod_mon" fieldIdRef="17"/>
<Link colName="cod_nab" fieldIdRef="32"/>
<Link colName="descrip1" fieldIdRef="33"/>
<Link colName="itbis" fieldIdRef="18"/>
<Link colName="nom_pais" fieldIdRef="6"/>
<Link colName="salida" fieldIdRef="13"/>
</RecordView>
</Form>