1
<?xml version="1.0" encoding="UTF-8"?>
2
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Calidad" language="groovy" pageWidth="612" pageHeight="792" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
3
<property name="ireport.zoom" value="1.2100000000000033"/>
4
<property name="ireport.x" value="0"/>
5
<property name="ireport.y" value="242"/>
6
<property name="OPENERP_RELATIONS" value="['certificate_line_id']"/>
7
<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
8
<defaultValueExpression><![CDATA["/home/miguelmiguel/Escritorio/jasper_xml/jrxml/"]]></defaultValueExpression>
10
<parameter name="ID" class="java.lang.String">
11
<parameterDescription><![CDATA[]]></parameterDescription>
12
<defaultValueExpression><![CDATA[$P{REPORT_PARAMETERS_MAP}.get("IDS").toString()[1]]]></defaultValueExpression>
14
<queryString language="xPath">
15
<![CDATA[/data/record]]>
17
<field name="Referencia-name" class="java.lang.String">
18
<fieldDescription><![CDATA[/data/record/Referencia-name]]></fieldDescription>
20
<field name="Fecha-date" class="java.lang.String">
21
<fieldDescription><![CDATA[Fecha-date]]></fieldDescription>
23
<field name="Cliente" class="java.lang.String">
24
<fieldDescription><![CDATA[Cliente-partner_id/Nombre-name]]></fieldDescription>
26
<field name="producto" class="java.lang.String">
27
<fieldDescription><![CDATA[Producto-product_id/Plantilla_de_producto-product_tmpl_id/Nombre-name]]></fieldDescription>
29
<field name="cantidad" class="java.lang.String">
30
<fieldDescription><![CDATA[Peso_Estimado-product_qty]]></fieldDescription>
32
<field name="udem" class="java.lang.String">
33
<fieldDescription><![CDATA[/data/record/ID_de_Movimiento-stock_move_id/UdM_del_producto-product_uom/Nombre-name]]></fieldDescription>
35
<field name="Transportista" class="java.lang.String">
36
<fieldDescription><![CDATA[Fletero-carrier_id/Transportista-name]]></fieldDescription>
38
<field name="lote" class="java.lang.String">
39
<fieldDescription><![CDATA[Lineas_de_Certificado-certificate_line_id/ID_de_Certificado-certificate_id/No_de_Lote-product_lot_num]]></fieldDescription>
41
<field name="move" class="java.lang.String">
42
<fieldDescription><![CDATA[ID_de_Movimiento-stock_move_id/Albaran-picking_id/Referencia-name]]></fieldDescription>
44
<field name="Fecah_de_Impresion-print_date" class="java.lang.String">
45
<fieldDescription><![CDATA[/data/record/Fecah_de_Impresion-print_date]]></fieldDescription>
47
<field name="user" class="java.lang.String">
48
<fieldDescription><![CDATA[User-User/Nombre-name]]></fieldDescription>
50
<field name="Data-datas" class="java.lang.String">
51
<fieldDescription><![CDATA[Attachments-Attachments/Data-datas]]></fieldDescription>
53
<field name="lineas" class="java.lang.String">
54
<fieldDescription><![CDATA[Lineas_de_Certificado-certificate_line_id/Nombre-name]]></fieldDescription>
56
<field name="id-certificado" class="java.lang.String">
57
<fieldDescription><![CDATA[Lineas_de_Certificado-certificate_line_id/ID_de_Certificado-certificate_id/id]]></fieldDescription>
59
<field name="param_cantidad" class="java.lang.String">
60
<fieldDescription><![CDATA[Lineas_de_Certificado-certificate_line_id/Cant._Parametro-parameter_qty]]></fieldDescription>
62
<field name="Cant._Parametro-parameter_qty" class="java.lang.String">
63
<fieldDescription><![CDATA[Lineas_de_Certificado-certificate_line_id/ID_de_Certificado-certificate_id/Lineas_de_Certificado-certificate_line_id/Cant._Parametro-parameter_qty]]></fieldDescription>
65
<field name="ID_de_Certificado-certificate_id" class="java.lang.String">
66
<fieldDescription><![CDATA[Lineas_de_Certificado-certificate_line_id/ID_de_Certificado-certificate_id/Lineas_de_Certificado-certificate_line_id/ID_de_Certificado-certificate_id]]></fieldDescription>
68
<field name="Cant._Parametro-parameter_qty2" class="java.lang.String">
69
<fieldDescription><![CDATA[Lineas_de_Certificado-certificate_line_id/ID_de_Certificado-certificate_id/Lineas_de_Certificado-certificate_line_id/Cant._Parametro-parameter_qty]]></fieldDescription>
71
<field name="Cant._Parametro-parameter_qty3" class="java.lang.String">
72
<fieldDescription><![CDATA[Lineas_de_Certificado-certificate_line_id/Cant._Parametro-parameter_qty]]></fieldDescription>
74
<variable name="param_cantidad_1" class="java.lang.Integer" calculation="Count">
75
<variableExpression><![CDATA[$F{param_cantidad}]]></variableExpression>
77
<variable name="Cant._Parametro-parameter_qty_1" class="java.lang.Integer" calculation="Count">
78
<variableExpression><![CDATA[$F{Cant._Parametro-parameter_qty}]]></variableExpression>
81
<band splitType="Stretch"/>
84
<band height="90" splitType="Stretch">
86
<reportElement x="536" y="50" width="36" height="20"/>
88
<topPen lineWidth="0.25"/>
89
<leftPen lineWidth="0.25"/>
90
<rightPen lineWidth="0.25"/>
92
<textElement textAlignment="Center" verticalAlignment="Middle"/>
93
<text><![CDATA[Folio:]]></text>
96
<reportElement x="536" y="70" width="36" height="20"/>
98
<pen lineWidth="0.25"/>
99
<topPen lineWidth="0.25"/>
100
<leftPen lineWidth="0.25"/>
101
<bottomPen lineWidth="0.25"/>
102
<rightPen lineWidth="0.25"/>
104
<textElement textAlignment="Center" verticalAlignment="Middle"/>
105
<textFieldExpression class="java.lang.String"><![CDATA[$F{Referencia-name}]]></textFieldExpression>
107
<image scaleImage="FillFrame">
108
<reportElement x="0" y="0" width="223" height="50"/>
109
<imageExpression class="java.lang.String"><![CDATA["logo_mcm1.gif"]]></imageExpression>
114
<band height="99" splitType="Stretch">
116
<reportElement x="0" y="14" width="100" height="12"/>
118
<text><![CDATA[FECHA]]></text>
121
<reportElement x="0" y="27" width="100" height="12"/>
123
<text><![CDATA[CLIENTE]]></text>
126
<reportElement x="372" y="14" width="100" height="12"/>
128
<text><![CDATA[REMISION]]></text>
131
<reportElement x="0" y="40" width="100" height="12"/>
133
<text><![CDATA[PRODUCTO]]></text>
136
<reportElement x="372" y="40" width="100" height="12"/>
138
<text><![CDATA[NO.LOTE]]></text>
141
<reportElement x="0" y="53" width="100" height="12"/>
143
<text><![CDATA[U. DE MEDIDA]]></text>
146
<reportElement x="372" y="53" width="100" height="12"/>
148
<text><![CDATA[CANT. ESTIMADA]]></text>
151
<reportElement x="0" y="66" width="100" height="12"/>
153
<text><![CDATA[TRANSPORTISTA]]></text>
156
<reportElement x="100" y="14" width="272" height="12"/>
158
<bottomPen lineWidth="0.25"/>
160
<textElement verticalAlignment="Middle"/>
161
<textFieldExpression class="java.lang.String"><![CDATA[$F{Fecha-date}]]></textFieldExpression>
164
<reportElement x="100" y="27" width="472" height="12"/>
166
<bottomPen lineWidth="0.25"/>
168
<textElement verticalAlignment="Middle"/>
169
<textFieldExpression class="java.lang.String"><![CDATA[$F{Cliente}]]></textFieldExpression>
172
<reportElement x="100" y="40" width="272" height="12"/>
174
<bottomPen lineWidth="0.25"/>
176
<textElement verticalAlignment="Middle"/>
177
<textFieldExpression class="java.lang.String"><![CDATA[$F{producto}]]></textFieldExpression>
180
<reportElement x="472" y="53" width="100" height="12"/>
182
<bottomPen lineWidth="0.25"/>
184
<textElement verticalAlignment="Middle"/>
185
<textFieldExpression class="java.lang.String"><![CDATA[$F{cantidad}]]></textFieldExpression>
188
<reportElement x="100" y="53" width="272" height="12"/>
190
<bottomPen lineWidth="0.25"/>
192
<textElement verticalAlignment="Middle"/>
193
<textFieldExpression class="java.lang.String"><![CDATA[$F{udem}]]></textFieldExpression>
196
<reportElement x="100" y="66" width="472" height="12"/>
198
<bottomPen lineWidth="0.25"/>
200
<textElement verticalAlignment="Middle"/>
201
<textFieldExpression class="java.lang.String"><![CDATA[$F{Transportista}]]></textFieldExpression>
204
<reportElement x="472" y="14" width="100" height="12"/>
206
<bottomPen lineWidth="0.25"/>
208
<textElement verticalAlignment="Middle"/>
209
<textFieldExpression class="java.lang.String"><![CDATA[$F{move}]]></textFieldExpression>
212
<reportElement x="472" y="40" width="100" height="12"/>
214
<bottomPen lineWidth="0.25"/>
216
<textElement verticalAlignment="Middle"/>
217
<textFieldExpression class="java.lang.String"><![CDATA[$F{lote}]]></textFieldExpression>
222
<band height="10" splitType="Stretch"/>
225
<band height="62" splitType="Stretch">
227
<reportElement x="312" y="0" width="241" height="20"/>
229
<textFieldExpression class="java.lang.String"><![CDATA[$F{Cant._Parametro-parameter_qty}]]></textFieldExpression>
232
<reportElement x="0" y="42" width="209" height="20"/>
234
<textFieldExpression class="java.lang.String"><![CDATA[$F{Cant._Parametro-parameter_qty3}]]></textFieldExpression>
239
<band height="93" splitType="Stretch">
241
<reportElement x="89" y="9" width="92" height="78"/>
242
<imageExpression class="java.lang.String"><![CDATA["firma.gif"]]></imageExpression>
245
<reportElement x="43" y="76" width="166" height="16"/>
246
<textElement textAlignment="Center">
247
<font isBold="true"/>
249
<text><![CDATA[Vo Bo]]></text>
252
<reportElement x="390" y="60" width="145" height="16"/>
254
<bottomPen lineWidth="0.25"/>
256
<textElement textAlignment="Center"/>
257
<textFieldExpression class="java.lang.String"><![CDATA[$F{user}]]></textFieldExpression>
260
<reportElement x="390" y="76" width="145" height="16"/>
261
<textElement textAlignment="Center">
262
<font isBold="true"/>
264
<text><![CDATA[CONTROL DE CALIDAD]]></text>
267
<reportElement x="43" y="60" width="166" height="16"/>
269
<bottomPen lineWidth="0.25"/>
271
<textElement textAlignment="Center"/>
272
<text><![CDATA[Gabriel Estrada]]></text>
277
<band height="35" splitType="Stretch">
279
<reportElement x="0" y="0" width="572" height="25"/>
280
<textElement textAlignment="Center">
283
<text><![CDATA[Minerales y Carbones de Mexico, S.A. de C.V.
284
Tel (81) 83 76 08 40]]></text>
287
<reportElement x="0" y="16" width="572" height="19"/>
288
<textElement textAlignment="Center">
291
<textFieldExpression class="java.lang.String"><![CDATA["Contact : " + $F{user}]]></textFieldExpression>
296
<band splitType="Stretch"/>