prprmt003: combo Equipo mas ancho (se cortaba el texto) y el reporte ahora imprime la Cantidad

- prfmmt003pr.4fd: Equipo 30 -> 48 columnas y las columnas siguientes se corren 18.
- prprmt003.4rp: hoja horizontal y nueva columna cantidad entre espesor y medida
  (el cambio de cantidad al modificar un documento no se veia al imprimir).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-27 15:33:59 -04:00
co-authored by Claude Sonnet 5.5
parent c6bcf1b743
commit 7f069af336
2 changed files with 21 additions and 17 deletions
+16 -16
View File
@@ -81,22 +81,22 @@
<Group gridHeight="8" gridWidth="257" name="group2" posX="1" posY="6" text="Detalle"> <Group gridHeight="8" gridWidth="257" name="group2" posX="1" posY="6" text="Detalle">
<Table gridHeight="6" gridWidth="254" name="table1" posX="2" posY="1" totalRows="5" unitWidth="characters" width="76"> <Table gridHeight="6" gridWidth="254" name="table1" posX="2" posY="1" totalRows="5" unitWidth="characters" width="76">
<ComboBox colName="tipo" comment="Digite Codigo de la Maquina" fieldId="11" gridHeight="1" gridWidth="30" items="" name="tipo" posX="0" posY="0" scroll="true" sqlTabName="formonly" tabIndex="5" title="OPERACION" widget="ComboBox"/> <ComboBox colName="tipo" comment="Digite Codigo de la Maquina" fieldId="11" gridHeight="1" gridWidth="30" items="" name="tipo" posX="0" posY="0" scroll="true" sqlTabName="formonly" tabIndex="5" title="OPERACION" widget="ComboBox"/>
<ComboBox fieldId="5" gridHeight="1" gridWidth="30" items="" name="codigo" posX="30" posY="0" scroll="true" tabIndex="-1" title="Equipo" unhidable="true" unmovable="true" unsortable="true" widget="ComboBox"/> <ComboBox fieldId="5" gridHeight="1" gridWidth="48" items="" name="codigo" posX="30" posY="0" scroll="true" tabIndex="-1" title="Equipo" unhidable="true" unmovable="true" unsortable="true" widget="ComboBox"/>
<ButtonEdit action="empleado" autoNext="true" colName="emp_no" fieldId="8" gridHeight="1" gridWidth="10" name="emp_no" posX="60" posY="0" sqlTabName="formonly" sqlType="DECIMAL" tabIndex="6" title="EMPLEADO" widget="ButtonEdit"/> <ButtonEdit action="empleado" autoNext="true" colName="emp_no" fieldId="8" gridHeight="1" gridWidth="10" name="emp_no" posX="78" posY="0" sqlTabName="formonly" sqlType="DECIMAL" tabIndex="6" title="EMPLEADO" widget="ButtonEdit"/>
<Edit autoNext="true" colName="h_directa" fieldId="12" gridHeight="1" gridWidth="6" name="h_directa" posX="70" posY="0" sqlTabName="formonly" tabIndex="7" title="N.DIRECTA" widget="Edit"/> <Edit autoNext="true" colName="h_directa" fieldId="12" gridHeight="1" gridWidth="6" name="h_directa" posX="88" posY="0" sqlTabName="formonly" tabIndex="7" title="N.DIRECTA" widget="Edit"/>
<Edit autoNext="true" colName="h_indirecta" fieldId="13" gridHeight="1" gridWidth="6" name="h_indirecta" posX="76" posY="0" sqlTabName="formonly" tabIndex="8" title="N.IND." widget="Edit"/> <Edit autoNext="true" colName="h_indirecta" fieldId="13" gridHeight="1" gridWidth="6" name="h_indirecta" posX="94" posY="0" sqlTabName="formonly" tabIndex="8" title="N.IND." widget="Edit"/>
<Edit autoNext="true" colName="e_directa" fieldId="14" gridHeight="1" gridWidth="6" name="e_directa" posX="82" posY="0" sqlTabName="formonly" tabIndex="9" title="E. DIRECTAS" widget="Edit"/> <Edit autoNext="true" colName="e_directa" fieldId="14" gridHeight="1" gridWidth="6" name="e_directa" posX="100" posY="0" sqlTabName="formonly" tabIndex="9" title="E. DIRECTAS" widget="Edit"/>
<Edit autoNext="true" colName="e_indirecta" fieldId="15" gridHeight="1" gridWidth="5" name="e_indirecta" posX="88" posY="0" sqlTabName="formonly" tabIndex="10" title="E.INDIRECTAS" widget="Edit"/> <Edit autoNext="true" colName="e_indirecta" fieldId="15" gridHeight="1" gridWidth="5" name="e_indirecta" posX="106" posY="0" sqlTabName="formonly" tabIndex="10" title="E.INDIRECTAS" widget="Edit"/>
<ButtonEdit action="semielaborado" colName="cod_prod" fieldId="9" gridHeight="1" gridWidth="10" name="cod_prod" posX="93" posY="0" sqlTabName="formonly" tabIndex="11" title="SEMI-ELABORADO" widget="ButtonEdit"/> <ButtonEdit action="semielaborado" colName="cod_prod" fieldId="9" gridHeight="1" gridWidth="10" name="cod_prod" posX="111" posY="0" sqlTabName="formonly" tabIndex="11" title="SEMI-ELABORADO" widget="ButtonEdit"/>
<Edit fieldId="20" gridHeight="1" gridWidth="8" name="lado1" posX="103" posY="0" tabIndex="-1" title="Ancho" widget="Edit"/> <Edit fieldId="20" gridHeight="1" gridWidth="8" name="lado1" posX="121" posY="0" tabIndex="-1" title="Ancho" widget="Edit"/>
<Edit fieldId="21" gridHeight="1" gridWidth="8" name="lado2" posX="111" posY="0" tabIndex="-1" title="Largo" widget="Edit"/> <Edit fieldId="21" gridHeight="1" gridWidth="8" name="lado2" posX="129" posY="0" tabIndex="-1" title="Largo" widget="Edit"/>
<Edit fieldId="22" gridHeight="1" gridWidth="8" name="lado3" posX="119" posY="0" tabIndex="-1" title="Espesor" widget="Edit"/> <Edit fieldId="22" gridHeight="1" gridWidth="8" name="lado3" posX="137" posY="0" tabIndex="-1" title="Espesor" widget="Edit"/>
<Edit colName="cantidad" comment="Digite Cantidad Producida" fieldId="17" gridHeight="1" gridWidth="12" name="cantidad" posX="127" posY="0" sqlTabName="formonly" tabIndex="12" title="CANTIDAD" widget="Edit"/> <Edit colName="cantidad" comment="Digite Cantidad Producida" fieldId="17" gridHeight="1" gridWidth="12" name="cantidad" posX="145" posY="0" sqlTabName="formonly" tabIndex="12" title="CANTIDAD" widget="Edit"/>
<Edit fieldId="23" gridHeight="1" gridWidth="8" name="medida1" noEntry="true" posX="139" posY="0" tabIndex="-1" title="Medida" widget="Edit"/> <Edit fieldId="23" gridHeight="1" gridWidth="8" name="medida1" noEntry="true" posX="157" posY="0" tabIndex="-1" title="Medida" widget="Edit"/>
<Edit case="upper" colName="codigo_bloque" fieldId="2" gridHeight="1" gridWidth="20" name="codigo_bloque" posX="147" posY="0" scroll="true" sqlTabName="formonly" tabIndex="13" title="BLOQUE" widget="Edit"/> <Edit case="upper" colName="codigo_bloque" fieldId="2" gridHeight="1" gridWidth="20" name="codigo_bloque" posX="165" posY="0" scroll="true" sqlTabName="formonly" tabIndex="13" title="BLOQUE" widget="Edit"/>
<ComboBox colName="turno" fieldId="0" gridHeight="1" gridWidth="20" items="" name="turno" posX="167" posY="0" sqlTabName="formonly" tabIndex="14" title="TURNO" widget="ComboBox"/> <ComboBox colName="turno" fieldId="0" gridHeight="1" gridWidth="20" items="" name="turno" posX="185" posY="0" sqlTabName="formonly" tabIndex="14" title="TURNO" widget="ComboBox"/>
<ComboBox fieldId="24" gridHeight="1" gridWidth="13" items="" name="depto_receptor" notNull="false" posX="187" posY="0" required="false" tabIndex="-1" title="DEPTO. RECEPTOR" widget="ComboBox"/> <ComboBox fieldId="24" gridHeight="1" gridWidth="13" items="" name="depto_receptor" notNull="false" posX="205" posY="0" required="false" tabIndex="-1" title="DEPTO. RECEPTOR" widget="ComboBox"/>
<ButtonEdit action="ordenped" fieldId="50" gridHeight="1" gridWidth="12" name="num_oc" posX="200" posY="0" scroll="true" tabIndex="18" title="ORDEN PED." widget="ButtonEdit"/> <ButtonEdit action="ordenped" fieldId="50" gridHeight="1" gridWidth="12" name="num_oc" posX="218" posY="0" scroll="true" tabIndex="18" title="ORDEN PED." widget="ButtonEdit"/>
<Phantom fieldId="28" name="ref" widget="Phantom"/> <Phantom fieldId="28" name="ref" widget="Phantom"/>
</Table> </Table>
</Group> </Group>
+5 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?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="3140a" version="6.00"> <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="3140a" version="6.00">
<report:Settings RWPageWidth="letterwidth" RWPageLength="letterlength" RWLeftMargin="0.5inch" RWTopMargin="0.5inch" RWRightMargin="0.5inch" RWBottomMargin="0.5inch"> <report:Settings RWPageWidth="letterlength" RWPageLength="letterwidth" RWLeftMargin="0.5inch" RWTopMargin="0.5inch" RWRightMargin="0.5inch" RWBottomMargin="0.5inch">
<report:FormatList> <report:FormatList>
<report:Format-PDF/> <report:Format-PDF/>
<report:Format-image/> <report:Format-image/>
@@ -49,6 +49,7 @@
<WORDBOX name="WordBox46" width="39.5197" alignment="baseline" baselineType="leftleft" textAlignment="left" text="ancho"/> <WORDBOX name="WordBox46" width="39.5197" alignment="baseline" baselineType="leftleft" textAlignment="left" text="ancho"/>
<WORDBOX name="WordBox119" width="34.8661" floatingBehavior="enclosed" textAlignment="left" text="largo"/> <WORDBOX name="WordBox119" width="34.8661" floatingBehavior="enclosed" textAlignment="left" text="largo"/>
<WORDBOX name="WordBox121" width="59.8661" length="13.3906" alignment="baseline" floatingBehavior="enclosed" text="espesor"/> <WORDBOX name="WordBox121" width="59.8661" length="13.3906" alignment="baseline" floatingBehavior="enclosed" text="espesor"/>
<WORDBOX name="WordBox_cantidad" width="60" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="cantidad"/>
<WORDBOX name="WordBox120_2" width="57.3465" floatingBehavior="enclosed" textAlignment="left" text="medida"/> <WORDBOX name="WordBox120_2" width="57.3465" floatingBehavior="enclosed" textAlignment="left" text="medida"/>
<WORDBOX name="WordBox120_1" width="77.3465" alignment="baseline" floatingBehavior="enclosed" textAlignment="center" text="bloque"/> <WORDBOX name="WordBox120_1" width="77.3465" alignment="baseline" floatingBehavior="enclosed" textAlignment="center" text="bloque"/>
<LAYOUTNODE name="espacio5_1_2_2" width="16" length="6" layoutDirection="leftToRight"/> <LAYOUTNODE name="espacio5_1_2_2" width="16" length="6" layoutDirection="leftToRight"/>
@@ -72,6 +73,9 @@
<rtl:input-variable name="arr_costos.lado2" type="FGLNumeric" expectedLocation="expectedHere"/> <rtl:input-variable name="arr_costos.lado2" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="arr_costos.lado3" type="FGLNumeric" expectedLocation="expectedHere"/> <rtl:input-variable name="arr_costos.lado3" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox5" width="128.197" length="33.2783" alignment="baseline" baselineType="leftleft" text="{{arr_costos.lado1.format(&quot;#,###.##&quot;).trim()+&quot; X &quot;+arr_costos.lado2.format(&quot;#,###.##&quot;).trim()+&quot; X &quot;+arr_costos.lado3.format(&quot;#,###.##&quot;).trim()}}" trimText="both" textAlignment="center"/> <WORDWRAPBOX name="WordWrapBox5" width="128.197" length="33.2783" alignment="baseline" baselineType="leftleft" text="{{arr_costos.lado1.format(&quot;#,###.##&quot;).trim()+&quot; X &quot;+arr_costos.lado2.format(&quot;#,###.##&quot;).trim()+&quot; X &quot;+arr_costos.lado3.format(&quot;#,###.##&quot;).trim()}}" trimText="both" textAlignment="center"/>
<LAYOUTNODE name="espacio_cant" width="27" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="arr_costos.cantidad" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="arr_costos.cantidad Value" class="grwNumericValue" width="60" length="30.0469" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,--&amp;.&amp;&amp;" value="{{arr_costos.cantidad}}"/>
<LAYOUTNODE name="espacio5_1" width="27" length="5" layoutDirection="leftToRight"/> <LAYOUTNODE name="espacio5_1" width="27" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="arr_costos.medida1" type="FGLNumeric" expectedLocation="expectedHere"/> <rtl:input-variable name="arr_costos.medida1" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value" class="grwNumericValue" width="52.8661" length="30.0469" anchorX="1" floatingBehavior="enclosed" textAlignment="center" format="---,---,---,--&amp;.&amp;&amp;" value="{{arr_costos.medida1}}"/> <DECIMALFORMATBOX name="karr_ordenes.valor Value" class="grwNumericValue" width="52.8661" length="30.0469" anchorX="1" floatingBehavior="enclosed" textAlignment="center" format="---,---,---,--&amp;.&amp;&amp;" value="{{arr_costos.medida1}}"/>