JSOTO adicione cpprmt001 y 02 de CXP

This commit is contained in:
2026-08-20 16:31:00 -04:00
parent 99f66f3277
commit a3a1cf6dc0
3 changed files with 95 additions and 23 deletions
+15 -15
View File
@@ -1,24 +1,24 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ManagedForm databaseName="smarmotech" fileVersion="31400" gstVersion="3140a" name="ManagedForm" uid="{cbf0fe44-1078-4aa0-a6fc-da5448a201b8}">
<ManagedForm fileVersion="40100" gstVersion="60003" name="ManagedForm" uid="{cbf0fe44-1078-4aa0-a6fc-da5448a201b8}">
<AGSettings>
<DynamicProperties version="2"/>
<DynamicProperties version="4"/>
</AGSettings>
<Record name="record1" uid="{a9eccbd2-f4de-4605-a48c-e08d38289fb6}">
<RecordField colName="cod_sp" fieldIdRef="0" fieldType="NON_DATABASE" name="cod_sp" sqlTabName="cptb00001" uid="{13e836e6-d3a3-467d-bd1d-62fb20b04516}"/>
<RecordField colName="cod_sp_sec" fieldIdRef="1" fieldType="TABLE_COLUMN" name="cptb00001.cod_sp_sec" sqlTabName="cptb00001" uid="{627dd392-d45a-47d8-8130-020abb783d4c}"/>
<RecordField fieldIdRef="1" fieldType="NON_DATABASE" length="1" name="cod_sp_sec" sqlType="CHAR" uid="{627dd392-d45a-47d8-8130-020abb783d4c}"/>
<RecordField colName="nom_sup" fieldIdRef="3" name="nom_sup" sqlTabName="formonly" uid="{f5e8c525-2fae-4ed8-95e5-22d099e0f2c2}"/>
<RecordField colName="num_doc" fieldIdRef="2" fieldType="TABLE_COLUMN" name="cptb00001.num_doc" sqlTabName="cptb00001" uid="{452e4db7-b0b5-4b74-89ae-6e525b0eceae}"/>
<RecordField fieldIdRef="2" fieldType="NON_DATABASE" length="1" name="num_doc" sqlType="CHAR" uid="{452e4db7-b0b5-4b74-89ae-6e525b0eceae}"/>
<RecordField colName="num_doc" fieldIdRef="14" fieldType="NON_DATABASE" name="v_term_sp" sqlTabName="cptb00001" table_alias_name="cptb000011" uid="{b809b252-2328-480d-a535-0962a97b7294}"/>
<RecordField colName="fecha_orig" fieldIdRef="4" fieldType="TABLE_COLUMN" name="cptb00001.fecha_orig" sqlTabName="cptb00001" uid="{2f1b3542-9ddf-4288-8756-45b718da6ce0}"/>
<RecordField colName="fecha_proc" fieldIdRef="5" fieldType="TABLE_COLUMN" name="cptb00001.fecha_proc" sqlTabName="cptb00001" uid="{9abd8cb3-5031-49d8-82c7-2293409a5fa6}"/>
<RecordField fieldIdRef="4" fieldType="NON_DATABASE" length="1" name="fecha_orig" sqlType="CHAR" uid="{2f1b3542-9ddf-4288-8756-45b718da6ce0}"/>
<RecordField fieldIdRef="5" fieldType="NON_DATABASE" length="1" name="fecha_proc" sqlType="CHAR" uid="{9abd8cb3-5031-49d8-82c7-2293409a5fa6}"/>
<RecordField colName="valor_fac" fieldIdRef="6" name="valor_fac" precisionDecimal="12" scaleDecimal="2" sqlTabName="formonly" sqlType="DECIMAL" uid="{08e3248b-c0ce-4e6a-8dde-7bb376dd4b82}"/>
<RecordField colName="tipo_oc" fieldIdRef="8" name="tipo" sqlTabName="formonly" sqlType="CHAR" table_alias_name="" uid="{01b04525-17f3-4368-a91b-72750c5860bb}"/>
<RecordField fieldIdRef="9" name="bodega" uid="{ce850fc5-9b57-4661-9860-c4f1a89eecb4}"/>
<RecordField fieldIdRef="10" name="reporteEntrada" uid="{2425fa5b-2fa0-46ca-b4d7-df5abfa81433}"/>
<RecordField colName="orden_no" fieldIdRef="11" fieldType="TABLE_COLUMN" name="cptb00001.orden_no" sqlTabName="cptb00001" sqlType="INTEGER" table_alias_name="" uid="{3e95cfa9-0a54-4bee-a3a2-4d7c6970434c}"/>
<RecordField fieldIdRef="11" fieldType="NON_DATABASE" name="orden_no" sqlType="INTEGER" table_alias_name="" uid="{3e95cfa9-0a54-4bee-a3a2-4d7c6970434c}"/>
<RecordField colName="cod_mon" fieldIdRef="12" name="cod_mon" sqlTabName="formonly" table_alias_name="" uid="{8099585d-4a59-4301-a57f-c00600aec6a5}"/>
<RecordField colName="" fieldIdRef="13" name="monto_orden" sqlTabName="" table_alias_name="" uid="{8f3ccd35-1833-47ee-bdb5-84ab2f3d259d}"/>
<RecordField colName="detalle" fieldIdRef="7" fieldType="TABLE_COLUMN" name="cptb00001.detalle" sqlTabName="cptb00001" uid="{51ed80dc-a58f-41b7-b279-043e90078fc2}"/>
<RecordField fieldIdRef="7" fieldType="NON_DATABASE" length="1" name="detalle" sqlType="CHAR" uid="{51ed80dc-a58f-41b7-b279-043e90078fc2}"/>
</Record>
<Record name="factura1" uid="{56486649-01e2-4c5c-916e-de99b8291c5c}">
<RecordField fieldIdRef="15" name="tipo1" uid="{52148776-3f0f-497a-ae5d-728fa026c25a}"/>
@@ -37,20 +37,20 @@
<Label gridHeight="1" gridWidth="15" name="label1" posX="2" posY="1" text="Codigo Suplidor"/>
<ComboBox autoNext="false" colName="cod_sp" fieldId="0" fieldType="NON_DATABASE" gridHeight="1" gridWidth="22" items="" length="1" name="cod_sp" posX="20" posY="1" sqlTabName="cptb00001" sqlType="SMALLINT" tabIndex="1" widget="ComboBox"/>
<Label gridHeight="1" gridWidth="1" name="label2" posX="43" posY="1" text="-"/>
<Edit autoNext="true" colName="cod_sp_sec" comment="Presione Ctrl-W Para busca Suplidor" fieldId="1" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="4" name="cptb00001.cod_sp_sec" posX="45" posY="1" sqlTabName="cptb00001" tabIndex="2" widget="Edit"/>
<Edit autoNext="true" comment="Presione Ctrl-W Para busca Suplidor" fieldId="1" gridHeight="1" gridWidth="4" length="1" name="cod_sp_sec" posX="45" posY="1" sqlType="CHAR" tabIndex="2" widget="Edit"/>
<Edit colName="nom_sup" color="yellow" fieldId="3" gridHeight="1" gridWidth="26" name="nom_sup" noEntry="true" posX="50" posY="1" sqlTabName="formonly" tabIndex="3" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="label3" posX="2" posY="2" text="Numero Factura"/>
<Edit case="upper" colName="num_doc" fieldId="2" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="10" name="cptb00001.num_doc" posX="20" posY="2" sqlTabName="cptb00001" tabIndex="4" widget="Edit"/>
<Edit case="upper" fieldId="2" gridHeight="1" gridWidth="10" length="1" name="num_doc" posX="20" posY="2" sqlType="CHAR" tabIndex="4" widget="Edit"/>
<Label gridHeight="1" gridWidth="13" name="label4" posX="45" posY="2" text="Fecha Factura"/>
<Edit colName="fecha_orig" fieldId="4" fieldType="TABLE_COLUMN" format="dd/mm/yyyy" gridHeight="1" gridWidth="10" name="cptb00001.fecha_orig" posX="64" posY="2" sqlTabName="cptb00001" tabIndex="5" widget="Edit"/>
<Edit fieldId="4" format="dd/mm/yyyy" gridHeight="1" gridWidth="10" length="1" name="fecha_orig" posX="64" posY="2" sqlType="CHAR" tabIndex="5" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="label9" posX="2" posY="3" text="Termino de pago"/>
<ComboBox case="upper" colName="num_doc" fieldId="14" fieldType="NON_DATABASE" gridHeight="1" gridWidth="19" items="" length="10" name="v_term_sp" posX="20" posY="3" sqlTabName="cptb00001" sqlType="VARCHAR" tabIndex="6" table_alias_name="cptb000011" widget="ComboBox"/>
<Label gridHeight="1" gridWidth="14" name="label6" posX="45" posY="3" text="Monto Factura"/>
<Edit colName="valor_fac" comment="Digite el valor de la factura" fieldId="6" gridHeight="1" gridWidth="12" name="valor_fac" posX="60" posY="3" precisionDecimal="12" scaleDecimal="2" sqlTabName="formonly" sqlType="DECIMAL" tabIndex="7" widget="Edit"/>
<Label gridHeight="1" gridWidth="17" name="label5" posX="2" posY="4" text="Fecha Vencimento"/>
<Edit colName="fecha_proc" fieldId="5" fieldType="TABLE_COLUMN" format="dd/mm/yyyy" gridHeight="1" gridWidth="10" name="cptb00001.fecha_proc" posX="20" posY="4" sqlTabName="cptb00001" tabIndex="8" widget="Edit"/>
<Edit fieldId="5" format="dd/mm/yyyy" gridHeight="1" gridWidth="10" length="1" name="fecha_proc" posX="20" posY="4" sqlType="CHAR" tabIndex="8" widget="Edit"/>
<Label gridHeight="1" gridWidth="11" name="label8" posX="2" posY="5" text="Observacion"/>
<Edit case="upper" colName="detalle" fieldId="7" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="32" name="cptb00001.detalle" posX="20" posY="5" required="true" sqlTabName="cptb00001" tabIndex="9" widget="Edit"/>
<Edit case="upper" fieldId="7" gridHeight="1" gridWidth="32" length="1" name="detalle" posX="20" posY="5" required="true" sqlType="CHAR" tabIndex="9" widget="Edit"/>
<Table gridHeight="6" gridWidth="65" name="table1" posX="1" posY="7" totalRows="5">
<Edit fieldId="15" gridHeight="1" gridWidth="8" name="tipo1" posX="0" posY="0" tabIndex="10" title="Tipo" widget="Edit"/>
<Edit fieldId="16" gridHeight="1" gridWidth="8" name="aplica_a" posX="8" posY="0" tabIndex="11" title="Aplicacion" widget="Edit"/>
@@ -61,12 +61,12 @@
<Phantom colName="tipo_oc" fieldId="8" name="tipo" sqlTabName="formonly" sqlType="CHAR" table_alias_name="" widget="Phantom"/>
<Phantom fieldId="9" name="bodega" widget="Phantom"/>
<Phantom fieldId="10" name="reporteEntrada" widget="Phantom"/>
<Phantom colName="orden_no" fieldId="11" fieldType="TABLE_COLUMN" name="cptb00001.orden_no" sqlTabName="cptb00001" sqlType="INTEGER" table_alias_name="" widget="Phantom"/>
<Phantom fieldId="11" fieldType="NON_DATABASE" name="orden_no" sqlType="INTEGER" table_alias_name="" widget="Phantom"/>
<Phantom colName="cod_mon" fieldId="12" name="cod_mon" sqlTabName="formonly" table_alias_name="" widget="Phantom"/>
<Phantom colName="" fieldId="13" name="monto_orden" sqlTabName="" table_alias_name="" widget="Phantom"/>
</Grid>
</Form>
<DiagramLayout>
<![CDATA[AAAAAgAAAEwAewA1ADYANAA4ADYANgA0ADkALQAwADEAZQAyAC0ANABjADUAYwAtADkAMQA2AGUALQBkAGUAOQA5AGIAOAAyADkAMQBjADUAYwB9QDAAAEQAAIFAMAAARAAAgQAAAAAAAAAAAQAAAEwAewBhADkAZQBjAGMAYgBkADIALQBmADQAZABlAC0ANAA2ADAANQAtAGEANAA4AGMALQBlADAAOABkADMAOAAyADgAOQBmAGIANgB9QCqqq0qqrGdAKqqrSqqsZwAAAAAAAAAAAQ==]]>
<![CDATA[AAAAAgAAAEwAewBhADkAZQBjAGMAYgBkADIALQBmADQAZABlAC0ANAA2ADAANQAtAGEANAA4AGMALQBlADAAOABkADMAOAAyADgAOQBmAGIANgB9QCqqq0qqrGdAKqqrSqqsZwAAAAAAAAAAAQAAAEwAewA1ADYANAA4ADYANgA0ADkALQAwADEAZQAyAC0ANABjADUAYwAtADkAMQA2AGUALQBkAGUAOQA5AGIAOAAyADkAMQBjADUAYwB9QDAAAEQAAIFAMAAARAAAgQAAAAAAAAAAAQ==]]>
</DiagramLayout>
</ManagedForm>
+56
View File
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ManagedForm fileVersion="40100" gstVersion="60003" name="ManagedForm" uid="{4e20ff54-bf77-4e17-bcee-864e3d0701b8}">
<AGSettings>
<DynamicProperties version="4"/>
</AGSettings>
<Record name="s_recibo" uid="{2814d37b-7ed5-44cd-baeb-46d0495a2daf}">
<RecordField fieldIdRef="11" fieldType="NON_DATABASE" length="1" name="aplica_a" sqlType="CHAR" uid="{1c2d55bd-7359-45cf-b714-8350bf5b673a}"/>
<RecordField colName="valor_pen" fieldIdRef="12" name="valor_pen" sqlTabName="formonly" uid="{cf405b40-fd63-4215-ad1b-caf0443b1fff}"/>
<RecordField colName="valor_pag" fieldIdRef="13" name="valor_pag" sqlTabName="formonly" uid="{6304739d-288e-4461-ada7-982aa73e18f1}"/>
</Record>
<Record name="record1" uid="{5adcb082-993c-433b-8b49-14dad527068f}">
<RecordField fieldIdRef="0" fieldType="NON_DATABASE" length="1" name="tipo_doc" sqlType="CHAR" uid="{01677f24-82aa-47f4-9467-517067bd153f}"/>
<RecordField colName="nom_tipo" fieldIdRef="1" name="nom_tipo" sqlTabName="formonly" uid="{268211dc-24a3-4c29-8ef6-9dccda8a688a}"/>
<RecordField fieldIdRef="2" fieldType="NON_DATABASE" length="1" name="num_doc" sqlType="CHAR" uid="{e7b2f8ac-ec3d-4ee7-a100-3736d8640f6b}"/>
<RecordField fieldIdRef="3" fieldType="NON_DATABASE" length="1" name="cta_ctble" sqlType="CHAR" uid="{64938efe-91e2-4151-a7d3-5ad098a2132e}"/>
<RecordField colName="nom_cuenta" fieldIdRef="4" name="nom_cuenta" sqlTabName="formonly" uid="{694bcd38-e406-40f2-96fa-966648ac72e0}"/>
<RecordField fieldIdRef="5" fieldType="NON_DATABASE" length="1" name="cod_sp" sqlType="CHAR" uid="{133e0bcb-ecc2-49a6-afbb-0d43d8b9c2ff}"/>
<RecordField fieldIdRef="6" fieldType="NON_DATABASE" length="1" name="cod_sp_sec" sqlType="CHAR" uid="{6622f398-6dff-40b7-b5ab-1de5457145ac}"/>
<RecordField colName="nom_sup" fieldIdRef="7" name="nom_sup" sqlTabName="formonly" uid="{18692199-13cf-466e-91df-96b188dbf50a}"/>
<RecordField colName="fecha_orig" fieldIdRef="8" name="fecha_orig" sqlTabName="formonly" uid="{eabc09e1-44a5-4b08-8570-f43691d21e1e}"/>
<RecordField fieldIdRef="9" fieldType="NON_DATABASE" length="1" name="detalle" sqlType="CHAR" uid="{1cf6fd7a-584f-4eb1-b2c9-6edb92e1f082}"/>
<RecordField colName="monto" fieldIdRef="10" name="monto" precisionDecimal="12" scaleDecimal="2" sqlTabName="formonly" sqlType="DECIMAL" uid="{1a506054-360a-4ae1-a8ad-1c4018bfe8a1}"/>
</Record>
<Form gridHeight="24" gridWidth="80" name="cpfmmt002">
<Grid gridHeight="24" gridWidth="80" name="grid1" posX="0" posY="0">
<Label gridHeight="1" gridWidth="4" name="label1" posX="3" posY="1" text="Tipo"/>
<Edit autoNext="true" case="upper" comment=" ND- Nota Debito NC- Nota Credito" fieldId="0" gridHeight="1" gridWidth="2" include="CK|ND|NC" length="1" name="tipo_doc" posX="21" posY="1" reverse="true" sqlType="CHAR" tabIndex="1" widget="Edit"/>
<Edit colName="nom_tipo" color="yellow" fieldId="1" gridHeight="1" gridWidth="20" name="nom_tipo" noEntry="true" posX="25" posY="1" sqlTabName="formonly" tabIndex="2" widget="Edit"/>
<Label gridHeight="1" gridWidth="19" name="label2" posX="47" posY="1" text="Numero de Documento"/>
<Edit fieldId="2" gridHeight="1" gridWidth="6" length="1" name="num_doc" picture="######" posX="72" posY="1" reverse="true" sqlType="CHAR" tabIndex="3" widget="Edit"/>
<Label gridHeight="1" gridWidth="15" name="label3" posX="3" posY="2" text="Cuenta Contable"/>
<Edit fieldId="3" gridHeight="1" gridWidth="10" length="1" name="cta_ctble" posX="21" posY="2" sqlType="CHAR" tabIndex="4" widget="Edit"/>
<Edit case="upper" colName="nom_cuenta" color="yellow" fieldId="4" gridHeight="1" gridWidth="30" name="nom_cuenta" noEntry="true" posX="48" posY="2" sqlTabName="formonly" tabIndex="5" widget="Edit"/>
<Label gridHeight="1" gridWidth="8" name="label4" posX="3" posY="3" text="Suplidor"/>
<Edit autoNext="true" comment="Digite 21=Intercompany, 22=Internaciones, 23=Locales, 24- Supl. Euro Ctrl-W=consultar" fieldId="5" gridHeight="1" gridWidth="2" length="1" name="cod_sp" posX="21" posY="3" reverse="true" sqlType="CHAR" tabIndex="6" widget="Edit"/>
<Label gridHeight="1" gridWidth="1" name="label5" posX="24" posY="3" text="-"/>
<Edit autoNext="true" comment="Digite el codigo del suplidor, o Digite Ctrl-W para consultar Suplidor" fieldId="6" gridHeight="1" gridWidth="4" length="1" name="cod_sp_sec" posX="26" posY="3" reverse="true" sqlType="CHAR" tabIndex="7" widget="Edit"/>
<Edit colName="nom_sup" color="yellow" fieldId="7" gridHeight="1" gridWidth="45" name="nom_sup" noEntry="true" posX="33" posY="3" sqlTabName="formonly" tabIndex="8" widget="Edit"/>
<Label gridHeight="1" gridWidth="5" name="label6" posX="3" posY="4" text="Fecha"/>
<Edit colName="fecha_orig" fieldId="8" format="dd/mm/yyyy" gridHeight="1" gridWidth="10" name="fecha_orig" posX="21" posY="4" sqlTabName="formonly" tabIndex="9" widget="Edit"/>
<Label gridHeight="1" gridWidth="9" name="label7" posX="38" posY="4" text="Concepto"/>
<Edit case="upper" fieldId="9" gridHeight="1" gridWidth="30" length="1" name="detalle" posX="48" posY="4" reverse="true" sqlType="CHAR" tabIndex="10" widget="Edit"/>
<Label gridHeight="1" gridWidth="5" name="label8" posX="38" posY="5" text="Monto"/>
<Edit colName="monto" fieldId="10" gridHeight="1" gridWidth="12" name="monto" posX="47" posY="5" precisionDecimal="12" reverse="true" scaleDecimal="2" sqlTabName="formonly" sqlType="DECIMAL" tabIndex="11" widget="Edit"/>
<Label gridHeight="1" gridWidth="10" name="label9" posX="5" posY="7" text="Aplicacion"/>
<Label gridHeight="1" gridWidth="15" name="label10" posX="25" posY="7" text="Valor Pendiente"/>
<Label gridHeight="1" gridWidth="12" name="label11" posX="49" posY="7" text="Valor Pagado"/>
<Edit columnCount="1" comment="Presione Ctrl-W Para Buscar Documentos Pendientes" fieldId="11" gridHeight="1" gridWidth="10" length="1" name="aplica_a" posX="4" posY="9" repeat="true" reverse="true" rowCount="4" sqlType="CHAR" stepX="1" stepY="0" tabIndex="12" widget="Edit"/>
<Edit colName="valor_pen" columnCount="1" fieldId="12" gridHeight="1" gridWidth="13" name="valor_pen" noEntry="true" posX="24" posY="9" repeat="true" rowCount="4" sqlTabName="formonly" stepX="1" stepY="0" tabIndex="13" widget="Edit"/>
<Edit colName="valor_pag" columnCount="1" fieldId="13" gridHeight="1" gridWidth="13" name="valor_pag" posX="47" posY="9" repeat="true" reverse="true" rowCount="4" sqlTabName="formonly" stepX="1" stepY="0" tabIndex="14" widget="Edit"/>
</Grid>
</Form>
<DiagramLayout>
<![CDATA[AAAAAgAAAEwAewAyADgAMQA0AGQAMwA3AGIALQA3AGUAZAA1AC0ANAA0AGMAZAAtAGIAYQBlAGIALQA0ADYAZAAwADQAOQA1AGEAMgBkAGEAZgB9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAEwAewA1AGEAZABjAGIAMAA4ADIALQA5ADkAMwBjAC0ANAAzADMAYgAtADgAYgA0ADkALQAxADQAZABhAGQANQAyADcAMAA2ADgAZgB9QCQAAAAAAABAJAAAAAAAAAAAAAAAAAAAAQ==]]>
</DiagramLayout>
</ManagedForm>