src/org/openbravo/erpCommon/ad_reports/productionReport.jrxml
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 726 dac2a1486bd3
child 1605 8a0fe0193bef
permissions -rw-r--r--
Removed old frame parameter of windowTableId
juanpablo@726
     1
<?xml version="1.0" encoding="UTF-8"  ?>
juanpablo@726
     2
<!-- Created with iReport - A designer for JasperReports -->
juanpablo@726
     3
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
juanpablo@726
     4
<jasperReport
juanpablo@726
     5
		 name="productionReport"
juanpablo@726
     6
		 columnCount="1"
juanpablo@726
     7
		 printOrder="Vertical"
juanpablo@726
     8
		 orientation="Portrait"
juanpablo@726
     9
		 pageWidth="595"
juanpablo@726
    10
		 pageHeight="842"
juanpablo@726
    11
		 columnWidth="535"
juanpablo@726
    12
		 columnSpacing="0"
juanpablo@726
    13
		 leftMargin="30"
juanpablo@726
    14
		 rightMargin="30"
juanpablo@726
    15
		 topMargin="20"
juanpablo@726
    16
		 bottomMargin="20"
juanpablo@726
    17
		 whenNoDataType="NoPages"
juanpablo@726
    18
		 isTitleNewPage="false"
juanpablo@726
    19
		 isSummaryNewPage="false">
juanpablo@726
    20
	<property name="ireport.scriptlethandling" value="0" />
juanpablo@726
    21
	<property name="ireport.encoding" value="UTF-8" />
juanpablo@726
    22
	<import value="java.util.*" />
juanpablo@726
    23
	<import value="net.sf.jasperreports.engine.*" />
juanpablo@726
    24
	<import value="net.sf.jasperreports.engine.data.*" />
juanpablo@726
    25
juanpablo@726
    26
	<style 
juanpablo@726
    27
		name="default"
juanpablo@726
    28
		isDefault="false"
juanpablo@726
    29
		vAlign="Middle"
juanpablo@726
    30
		fontName="Bitstream Vera Sans"
juanpablo@726
    31
		fontSize="10"
juanpablo@726
    32
	/>
juanpablo@726
    33
	<style 
juanpablo@726
    34
		name="Report_Title"
juanpablo@726
    35
		isDefault="false"
juanpablo@726
    36
		leftPadding="5"
juanpablo@726
    37
		fontName="Bitstream Vera Sans"
juanpablo@726
    38
		fontSize="18"
juanpablo@726
    39
	/>
juanpablo@726
    40
	<style 
juanpablo@726
    41
		name="Report_Subtitle"
juanpablo@726
    42
		isDefault="false"
juanpablo@726
    43
		forecolor="#555555"
juanpablo@726
    44
		leftPadding="5"
juanpablo@726
    45
		fontName="Bitstream Vera Sans"
juanpablo@726
    46
		fontSize="14"
juanpablo@726
    47
	/>
juanpablo@726
    48
	<style 
juanpablo@726
    49
		name="Total_Field"
juanpablo@726
    50
		isDefault="false"
juanpablo@726
    51
		mode="Opaque"
juanpablo@726
    52
		forecolor="#000000"
juanpablo@726
    53
		backcolor="#CCCCCC"
juanpablo@726
    54
		vAlign="Middle"
juanpablo@726
    55
		leftPadding="5"
juanpablo@726
    56
	/>
juanpablo@726
    57
	<style 
juanpablo@726
    58
		name="Detail_Header"
juanpablo@726
    59
		isDefault="false"
juanpablo@726
    60
		mode="Opaque"
juanpablo@726
    61
		forecolor="#FFFFFF"
juanpablo@726
    62
		backcolor="#555555"
juanpablo@726
    63
		vAlign="Middle"
juanpablo@726
    64
		leftBorder="1Point"
juanpablo@726
    65
		leftBorderColor="#FFFFFF"
juanpablo@726
    66
		leftPadding="5"
juanpablo@726
    67
		rightBorder="1Point"
juanpablo@726
    68
		rightBorderColor="#FFFFFF"
juanpablo@726
    69
	/>
juanpablo@726
    70
	<style 
juanpablo@726
    71
		name="GroupHeader_DarkGray"
juanpablo@726
    72
		isDefault="false"
juanpablo@726
    73
		mode="Opaque"
juanpablo@726
    74
		forecolor="#FFFFFF"
juanpablo@726
    75
		backcolor="#555555"
juanpablo@726
    76
		vAlign="Middle"
juanpablo@726
    77
		leftPadding="5"
juanpablo@726
    78
		fontName="Bitstream Vera Sans"
juanpablo@726
    79
		fontSize="14"
juanpablo@726
    80
		isBold="true"
juanpablo@726
    81
	/>
juanpablo@726
    82
	<style 
juanpablo@726
    83
		name="GroupHeader_Gray"
juanpablo@726
    84
		isDefault="false"
juanpablo@726
    85
		mode="Opaque"
juanpablo@726
    86
		backcolor="#999999"
juanpablo@726
    87
	/>
juanpablo@726
    88
	<style 
juanpablo@726
    89
		name="Detail_Line"
juanpablo@726
    90
		isDefault="false"
juanpablo@726
    91
	>
juanpablo@726
    92
juanpablo@726
    93
		<conditionalStyle>
juanpablo@726
    94
			<conditionExpression><![CDATA[new Boolean($V{PRODUCTION_NAME_COUNT}.intValue()%2==1)]]></conditionExpression>
juanpablo@726
    95
			<style 
juanpablo@726
    96
				name="Detail_Line"
juanpablo@726
    97
				isDefault="false"
juanpablo@726
    98
				mode="Opaque"
juanpablo@726
    99
				backcolor="#CCCCCC"
juanpablo@726
   100
			/>
juanpablo@726
   101
		</conditionalStyle>
juanpablo@726
   102
	</style>
juanpablo@726
   103
	<style 
juanpablo@726
   104
		name="Total_Gray"
juanpablo@726
   105
		isDefault="false"
juanpablo@726
   106
		mode="Opaque"
juanpablo@726
   107
		forecolor="#000000"
juanpablo@726
   108
		backcolor="#CCCCCC"
juanpablo@726
   109
	/>
juanpablo@726
   110
juanpablo@726
   111
	<parameter name="ATTACH" isForPrompting="false" class="java.lang.String"/>
juanpablo@726
   112
	<parameter name="BASE_WEB" isForPrompting="false" class="java.lang.String"/>
juanpablo@726
   113
	<parameter name="BASE_DESIGN" isForPrompting="false" class="java.lang.String">
juanpablo@726
   114
		<defaultValueExpression ><![CDATA["/opt/AppsOpenbravo/src"]]></defaultValueExpression>
juanpablo@726
   115
	</parameter>
juanpablo@726
   116
	<parameter name="LANGUAGE" isForPrompting="false" class="java.lang.String">
juanpablo@726
   117
		<defaultValueExpression ><![CDATA["en_US"]]></defaultValueExpression>
juanpablo@726
   118
	</parameter>
juanpablo@726
   119
	<parameter name="USER_CLIENT" isForPrompting="false" class="java.lang.String">
juanpablo@726
   120
		<defaultValueExpression ><![CDATA["(1000000)"]]></defaultValueExpression>
juanpablo@726
   121
	</parameter>
juanpablo@726
   122
	<parameter name="USER_ORG" isForPrompting="false" class="java.lang.String">
juanpablo@726
   123
		<defaultValueExpression ><![CDATA["(1000000)"]]></defaultValueExpression>
juanpablo@726
   124
	</parameter>
juanpablo@726
   125
	<parameter name="REPORT_TITLE" isForPrompting="false" class="java.lang.String">
juanpablo@726
   126
		<defaultValueExpression ><![CDATA["REPORT TITLE"]]></defaultValueExpression>
juanpablo@726
   127
	</parameter>
juanpablo@726
   128
	<parameter name="REPORT_SUBTITLE" isForPrompting="false" class="java.lang.String">
juanpablo@726
   129
		<defaultValueExpression ><![CDATA["REPORT_SUBTITLE"]]></defaultValueExpression>
juanpablo@726
   130
	</parameter>
juanpablo@726
   131
	<parameter name="ReportData" isForPrompting="false" class="java.lang.String"/>
juanpablo@726
   132
	<parameter name="SUBREPORT_DIR" isForPrompting="false" class="java.lang.String">
juanpablo@726
   133
		<defaultValueExpression ><![CDATA[$P{BASE_DESIGN}]]></defaultValueExpression>
juanpablo@726
   134
	</parameter>
juanpablo@726
   135
	<parameter name="DATE_FROM" isForPrompting="false" class="java.util.Date">
juanpablo@726
   136
		<defaultValueExpression ><![CDATA[new SimpleDateFormat("dd-MM-yyyy").parse("01-01-2000")]]></defaultValueExpression>
juanpablo@726
   137
	</parameter>
juanpablo@726
   138
	<parameter name="DATE_TO" isForPrompting="false" class="java.util.Date">
juanpablo@726
   139
		<defaultValueExpression ><![CDATA[new SimpleDateFormat("dd-MM-yyyy").parse("01-01-3000")]]></defaultValueExpression>
juanpablo@726
   140
	</parameter>
juanpablo@726
   141
	<parameter name="NUMBERFORMAT" isForPrompting="false" class="java.text.DecimalFormat"/>
juanpablo@726
   142
	<parameter name="LOCALE" isForPrompting="false" class="java.util.Locale"/>
carlos@0
   143
	<queryString><![CDATA[SELECT PRODUCTION_NAME, MOVEMENTDATE, PRODUCT_NAME, MOVEMENTQTY, DESCRIPTION, UOM_NAME
carlos@0
   144
  FROM (SELECT M_PRODUCTION.NAME AS PRODUCTION_NAME, M_PRODUCTION.MOVEMENTDATE, M_PRODUCT.NAME AS PRODUCT_NAME, 
carlos@0
   145
               SUM((CASE 'Y' WHEN 'Y' THEN ROUND(M_PRODUCTIONLINE.MOVEMENTQTY, 2) ELSE (CASE SIGN(M_PRODUCTIONLINE.MOVEMENTQTY) WHEN -1 THEN 0 ELSE ROUND(M_PRODUCTIONLINE.MOVEMENTQTY, 2) END) END)) AS MOVEMENTQTY, M_ATTRIBUTESETINSTANCE.DESCRIPTION, C_UOM.NAME AS UOM_NAME
carlos@0
   146
          FROM M_PRODUCTIONLINE left join M_ATTRIBUTESETINSTANCE on M_PRODUCTIONLINE.M_ATTRIBUTESETINSTANCE_ID = M_ATTRIBUTESETINSTANCE.M_ATTRIBUTESETINSTANCE_ID,
carlos@0
   147
               M_PRODUCTION, M_PRODUCTIONPLAN,  M_PRODUCT,  C_UOM
carlos@0
   148
         WHERE M_PRODUCTION.M_PRODUCTION_ID = M_PRODUCTIONPLAN.M_PRODUCTION_ID
carlos@0
   149
           AND M_PRODUCTIONPLAN.M_PRODUCTIONPLAN_ID = M_PRODUCTIONLINE.M_PRODUCTIONPLAN_ID
carlos@0
   150
           AND M_PRODUCTIONLINE.M_PRODUCT_ID = M_PRODUCT.M_PRODUCT_ID
carlos@0
   151
           AND M_PRODUCTIONLINE.C_UOM_ID = C_UOM.C_UOM_ID
carlos@0
   152
           AND M_PRODUCTION.PROCESSED = 'Y'
carlos@0
   153
           AND M_PRODUCTION.ISSOTRX = 'Y'
carlos@0
   154
         GROUP BY M_PRODUCTION.NAME, M_PRODUCTION.MOVEMENTDATE, M_PRODUCT.NAME, M_ATTRIBUTESETINSTANCE.DESCRIPTION, C_UOM.NAME
carlos@0
   155
         ORDER BY PRODUCTION_NAME, MOVEMENTDATE, MOVEMENTQTY DESC) AA
juanpablo@726
   156
 WHERE MOVEMENTQTY <> 0]]></queryString>
juanpablo@726
   157
juanpablo@726
   158
	<field name="PRODUCTION_NAME" class="java.lang.String"/>
juanpablo@726
   159
	<field name="MOVEMENTDATE" class="java.util.Date"/>
juanpablo@726
   160
	<field name="PRODUCT_NAME" class="java.lang.String"/>
juanpablo@726
   161
	<field name="MOVEMENTQTY" class="java.math.BigDecimal"/>
juanpablo@726
   162
	<field name="DESCRIPTION" class="java.lang.String"/>
juanpablo@726
   163
	<field name="UOM_NAME" class="java.lang.String"/>
juanpablo@726
   164
juanpablo@726
   165
	<variable name="DetailFieldTotal" class="java.math.BigDecimal" resetType="Report" calculation="Nothing">
juanpablo@726
   166
	</variable>
juanpablo@726
   167
juanpablo@726
   168
		<group  name="PRODUCTION_NAME" >
juanpablo@726
   169
			<groupExpression><![CDATA[$F{PRODUCTION_NAME}]]></groupExpression>
juanpablo@726
   170
			<groupHeader>
juanpablo@726
   171
			<band height="50"  isSplitAllowed="true" >
juanpablo@726
   172
				<staticText>
carlos@0
   173
					<reportElement
carlos@0
   174
						style="GroupHeader_DarkGray"
carlos@0
   175
						x="1"
carlos@0
   176
						y="0"
carlos@0
   177
						width="116"
carlos@0
   178
						height="20"
juanpablo@726
   179
						key="staticText"/>
juanpablo@726
   180
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   181
					<textElement>
juanpablo@726
   182
						<font fontName="Bitstream Vera Sans"/>
juanpablo@726
   183
					</textElement>
juanpablo@726
   184
				<text><![CDATA[Production]]></text>
juanpablo@726
   185
				</staticText>
juanpablo@726
   186
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   187
					<reportElement
carlos@0
   188
						style="GroupHeader_DarkGray"
carlos@0
   189
						x="117"
carlos@0
   190
						y="0"
carlos@0
   191
						width="282"
carlos@0
   192
						height="20"
juanpablo@726
   193
						key="textField"/>
juanpablo@726
   194
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   195
					<textElement>
juanpablo@726
   196
						<font fontName="Bitstream Vera Sans"/>
juanpablo@726
   197
					</textElement>
juanpablo@726
   198
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{PRODUCTION_NAME}]]></textFieldExpression>
juanpablo@726
   199
				</textField>
juanpablo@726
   200
				<line direction="TopDown">
carlos@0
   201
					<reportElement
carlos@0
   202
						x="535"
carlos@0
   203
						y="1"
carlos@0
   204
						width="0"
carlos@0
   205
						height="49"
carlos@0
   206
						forecolor="#555555"
carlos@0
   207
						key="line-3"
juanpablo@726
   208
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   209
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
juanpablo@726
   210
				</line>
juanpablo@726
   211
				<staticText>
carlos@0
   212
					<reportElement
carlos@0
   213
						style="Detail_Header"
carlos@0
   214
						x="1"
carlos@0
   215
						y="34"
carlos@0
   216
						width="219"
carlos@0
   217
						height="16"
juanpablo@726
   218
						key="element-90"/>
juanpablo@726
   219
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#FFFFFF" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   220
					<textElement>
juanpablo@726
   221
						<font fontName="Bitstream Vera Sans"/>
juanpablo@726
   222
					</textElement>
juanpablo@726
   223
				<text><![CDATA[Product]]></text>
juanpablo@726
   224
				</staticText>
juanpablo@726
   225
				<staticText>
carlos@0
   226
					<reportElement
carlos@0
   227
						style="Detail_Header"
carlos@0
   228
						x="220"
carlos@0
   229
						y="34"
carlos@0
   230
						width="179"
carlos@0
   231
						height="16"
juanpablo@726
   232
						key="element-90"/>
juanpablo@726
   233
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#FFFFFF" leftPadding="5" rightBorder="None" rightBorderColor="#FFFFFF" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   234
					<textElement>
juanpablo@726
   235
						<font fontName="Bitstream Vera Sans"/>
juanpablo@726
   236
					</textElement>
juanpablo@726
   237
				<text><![CDATA[Attribute]]></text>
juanpablo@726
   238
				</staticText>
juanpablo@726
   239
				<staticText>
carlos@0
   240
					<reportElement
carlos@0
   241
						style="Detail_Header"
carlos@0
   242
						x="399"
carlos@0
   243
						y="34"
carlos@0
   244
						width="136"
carlos@0
   245
						height="16"
juanpablo@726
   246
						key="element-90"/>
juanpablo@726
   247
					<box topBorder="None" topBorderColor="#666666" leftBorder="None" leftBorderColor="#FFFFFF" leftPadding="5" rightBorder="None" rightBorderColor="#FFFFFF" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   248
					<textElement textAlignment="Center">
juanpablo@726
   249
						<font fontName="Bitstream Vera Sans"/>
juanpablo@726
   250
					</textElement>
juanpablo@726
   251
				<text><![CDATA[Quantity]]></text>
juanpablo@726
   252
				</staticText>
juanpablo@726
   253
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   254
					<reportElement
carlos@0
   255
						style="GroupHeader_DarkGray"
carlos@0
   256
						x="399"
carlos@0
   257
						y="0"
carlos@0
   258
						width="136"
carlos@0
   259
						height="20"
juanpablo@726
   260
						key="textField-4"/>
juanpablo@726
   261
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   262
					<textElement textAlignment="Right">
juanpablo@726
   263
						<font fontName="Bitstream Vera Sans"/>
juanpablo@726
   264
					</textElement>
juanpablo@726
   265
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{MOVEMENTDATE}]]></textFieldExpression>
juanpablo@726
   266
				</textField>
juanpablo@726
   267
				<line direction="TopDown">
carlos@0
   268
					<reportElement
carlos@0
   269
						x="0"
carlos@0
   270
						y="1"
carlos@0
   271
						width="0"
carlos@0
   272
						height="49"
carlos@0
   273
						forecolor="#555555"
carlos@0
   274
						key="line-35"
juanpablo@726
   275
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   276
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
juanpablo@726
   277
				</line>
juanpablo@726
   278
			</band>
juanpablo@726
   279
			</groupHeader>
juanpablo@726
   280
			<groupFooter>
juanpablo@726
   281
			<band height="20"  isSplitAllowed="true" >
juanpablo@726
   282
				<line direction="TopDown">
carlos@0
   283
					<reportElement
carlos@0
   284
						x="0"
carlos@0
   285
						y="0"
carlos@0
   286
						width="0"
carlos@0
   287
						height="10"
carlos@0
   288
						forecolor="#555555"
carlos@0
   289
						key="line-32"
juanpablo@726
   290
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   291
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
juanpablo@726
   292
				</line>
juanpablo@726
   293
				<line direction="TopDown">
carlos@0
   294
					<reportElement
carlos@0
   295
						x="535"
carlos@0
   296
						y="0"
carlos@0
   297
						width="0"
carlos@0
   298
						height="10"
carlos@0
   299
						forecolor="#555555"
carlos@0
   300
						key="line-33"
juanpablo@726
   301
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   302
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
juanpablo@726
   303
				</line>
juanpablo@726
   304
				<line direction="TopDown">
carlos@0
   305
					<reportElement
carlos@0
   306
						x="1"
carlos@0
   307
						y="9"
carlos@0
   308
						width="534"
carlos@0
   309
						height="0"
carlos@0
   310
						forecolor="#555555"
juanpablo@726
   311
						key="line-34"/>
juanpablo@726
   312
					<graphicElement stretchType="NoStretch" pen="2Point"/>
juanpablo@726
   313
				</line>
juanpablo@726
   314
			</band>
juanpablo@726
   315
			</groupFooter>
juanpablo@726
   316
		</group>
juanpablo@726
   317
		<background>
juanpablo@726
   318
			<band height="0"  isSplitAllowed="true" >
juanpablo@726
   319
			</band>
juanpablo@726
   320
		</background>
juanpablo@726
   321
		<title>
juanpablo@726
   322
			<band height="20"  isSplitAllowed="true" >
juanpablo@726
   323
			</band>
juanpablo@726
   324
		</title>
juanpablo@726
   325
		<pageHeader>
juanpablo@726
   326
			<band height="71"  isSplitAllowed="true" >
juanpablo@726
   327
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   328
					<reportElement
carlos@0
   329
						style="Report_Title"
carlos@0
   330
						x="0"
carlos@0
   331
						y="0"
carlos@0
   332
						width="535"
carlos@0
   333
						height="20"
juanpablo@726
   334
						key="textField"/>
juanpablo@726
   335
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   336
					<textElement>
juanpablo@726
   337
						<font fontName="Bitstream Vera Sans"/>
juanpablo@726
   338
					</textElement>
juanpablo@726
   339
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{REPORT_TITLE}]]></textFieldExpression>
juanpablo@726
   340
				</textField>
juanpablo@726
   341
				<line direction="TopDown">
carlos@0
   342
					<reportElement
carlos@0
   343
						x="0"
carlos@0
   344
						y="20"
carlos@0
   345
						width="535"
carlos@0
   346
						height="0"
juanpablo@726
   347
						key="line-1"/>
juanpablo@726
   348
					<graphicElement stretchType="NoStretch" pen="2Point"/>
juanpablo@726
   349
				</line>
juanpablo@726
   350
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   351
					<reportElement
carlos@0
   352
						style="Report_Subtitle"
carlos@0
   353
						x="0"
carlos@0
   354
						y="25"
carlos@0
   355
						width="535"
carlos@0
   356
						height="20"
juanpablo@726
   357
						key="textField"/>
juanpablo@726
   358
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   359
					<textElement>
juanpablo@726
   360
						<font fontName="Bitstream Vera Sans"/>
juanpablo@726
   361
					</textElement>
juanpablo@726
   362
				<textFieldExpression   class="java.lang.String"><![CDATA[($P{REPORT_SUBTITLE}==null?"":$P{REPORT_SUBTITLE})]]></textFieldExpression>
juanpablo@726
   363
				</textField>
juanpablo@726
   364
			</band>
juanpablo@726
   365
		</pageHeader>
juanpablo@726
   366
		<columnHeader>
juanpablo@726
   367
			<band height="0"  isSplitAllowed="true" >
juanpablo@726
   368
			</band>
juanpablo@726
   369
		</columnHeader>
juanpablo@726
   370
		<detail>
juanpablo@726
   371
			<band height="16"  isSplitAllowed="true" >
carlos@0
   372
				<frame>					<reportElement
carlos@0
   373
						style="Detail_Line"
carlos@0
   374
						x="1"
carlos@0
   375
						y="0"
carlos@0
   376
						width="533"
carlos@0
   377
						height="16"
juanpablo@726
   378
						key="frame-1"/>
juanpablo@726
   379
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   380
				</frame>				<line direction="TopDown">
carlos@0
   381
					<reportElement
carlos@0
   382
						x="535"
carlos@0
   383
						y="0"
carlos@0
   384
						width="0"
carlos@0
   385
						height="16"
carlos@0
   386
						forecolor="#555555"
carlos@0
   387
						key="line-16"
juanpablo@726
   388
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   389
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
juanpablo@726
   390
				</line>
juanpablo@726
   391
				<line direction="TopDown">
carlos@0
   392
					<reportElement
carlos@0
   393
						x="0"
carlos@0
   394
						y="0"
carlos@0
   395
						width="0"
carlos@0
   396
						height="16"
carlos@0
   397
						forecolor="#555555"
carlos@0
   398
						key="line-17"
juanpablo@726
   399
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   400
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
juanpablo@726
   401
				</line>
juanpablo@726
   402
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   403
					<reportElement
carlos@0
   404
						x="2"
carlos@0
   405
						y="0"
carlos@0
   406
						width="217"
carlos@0
   407
						height="16"
carlos@0
   408
						key="textField"
juanpablo@726
   409
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   410
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   411
					<textElement verticalAlignment="Middle">
juanpablo@726
   412
						<font fontName="Bitstream Vera Sans"/>
juanpablo@726
   413
					</textElement>
juanpablo@726
   414
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{PRODUCT_NAME}]]></textFieldExpression>
juanpablo@726
   415
				</textField>
juanpablo@726
   416
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   417
					<reportElement
carlos@0
   418
						x="400"
carlos@0
   419
						y="0"
carlos@0
   420
						width="75"
carlos@0
   421
						height="16"
carlos@0
   422
						key="textField"
juanpablo@726
   423
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   424
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   425
					<textElement textAlignment="Right" verticalAlignment="Middle">
juanpablo@726
   426
						<font fontName="Bitstream Vera Sans"/>
juanpablo@726
   427
					</textElement>
carlos@0
   428
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{MOVEMENTQTY}!=null)?$P{NUMBERFORMAT}.format($F{MOVEMENTQTY}):new String(" ")
juanpablo@726
   429
]]></textFieldExpression>
juanpablo@726
   430
				</textField>
juanpablo@726
   431
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   432
					<reportElement
carlos@0
   433
						x="220"
carlos@0
   434
						y="0"
carlos@0
   435
						width="179"
carlos@0
   436
						height="16"
carlos@0
   437
						key="textField"
juanpablo@726
   438
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   439
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   440
					<textElement verticalAlignment="Middle">
juanpablo@726
   441
						<font fontName="Bitstream Vera Sans"/>
juanpablo@726
   442
					</textElement>
juanpablo@726
   443
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{DESCRIPTION}]]></textFieldExpression>
juanpablo@726
   444
				</textField>
juanpablo@726
   445
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   446
					<reportElement
carlos@0
   447
						x="475"
carlos@0
   448
						y="0"
carlos@0
   449
						width="59"
carlos@0
   450
						height="16"
carlos@0
   451
						key="textField"
juanpablo@726
   452
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   453
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   454
					<textElement verticalAlignment="Middle">
juanpablo@726
   455
						<font fontName="Bitstream Vera Sans"/>
juanpablo@726
   456
					</textElement>
juanpablo@726
   457
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{UOM_NAME}]]></textFieldExpression>
juanpablo@726
   458
				</textField>
juanpablo@726
   459
			</band>
juanpablo@726
   460
		</detail>
juanpablo@726
   461
		<columnFooter>
juanpablo@726
   462
			<band height="0"  isSplitAllowed="false" >
juanpablo@726
   463
			</band>
juanpablo@726
   464
		</columnFooter>
juanpablo@726
   465
		<pageFooter>
juanpablo@726
   466
			<band height="30"  isSplitAllowed="true" >
juanpablo@726
   467
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   468
					<reportElement
carlos@0
   469
						x="400"
carlos@0
   470
						y="4"
carlos@0
   471
						width="95"
carlos@0
   472
						height="16"
juanpablo@726
   473
						key="textField"/>
juanpablo@726
   474
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   475
					<textElement textAlignment="Right">
juanpablo@726
   476
						<font/>
juanpablo@726
   477
					</textElement>
juanpablo@726
   478
				<textFieldExpression   class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression>
juanpablo@726
   479
				</textField>
juanpablo@726
   480
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   481
					<reportElement
carlos@0
   482
						x="499"
carlos@0
   483
						y="4"
carlos@0
   484
						width="36"
carlos@0
   485
						height="16"
carlos@0
   486
						forecolor="#000000"
carlos@0
   487
						backcolor="#FFFFFF"
juanpablo@726
   488
						key="textField"/>
juanpablo@726
   489
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   490
					<textElement>
juanpablo@726
   491
						<font/>
juanpablo@726
   492
					</textElement>
juanpablo@726
   493
				<textFieldExpression   class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression>
juanpablo@726
   494
				</textField>
juanpablo@726
   495
				<line direction="TopDown">
carlos@0
   496
					<reportElement
carlos@0
   497
						x="0"
carlos@0
   498
						y="1"
carlos@0
   499
						width="535"
carlos@0
   500
						height="0"
carlos@0
   501
						forecolor="#000000"
juanpablo@726
   502
						key="line"/>
juanpablo@726
   503
					<graphicElement stretchType="NoStretch" pen="2Point"/>
juanpablo@726
   504
				</line>
juanpablo@726
   505
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   506
					<reportElement
carlos@0
   507
						x="277"
carlos@0
   508
						y="4"
carlos@0
   509
						width="113"
carlos@0
   510
						height="16"
juanpablo@726
   511
						key="textField"/>
juanpablo@726
   512
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   513
					<textElement verticalAlignment="Middle">
juanpablo@726
   514
						<font fontName="Times-Roman"/>
juanpablo@726
   515
					</textElement>
juanpablo@726
   516
				<textFieldExpression   class="java.util.Date"><![CDATA[new Date()]]></textFieldExpression>
juanpablo@726
   517
				</textField>
juanpablo@726
   518
				<staticText>
carlos@0
   519
					<reportElement
carlos@0
   520
						x="213"
carlos@0
   521
						y="4"
carlos@0
   522
						width="60"
carlos@0
   523
						height="16"
juanpablo@726
   524
						key="staticText-1"/>
juanpablo@726
   525
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   526
					<textElement textAlignment="Right" verticalAlignment="Middle">
juanpablo@726
   527
						<font fontName="Bitstream Vera Sans"/>
juanpablo@726
   528
					</textElement>
juanpablo@726
   529
				<text><![CDATA[Printed on]]></text>
juanpablo@726
   530
				</staticText>
juanpablo@726
   531
			</band>
juanpablo@726
   532
		</pageFooter>
juanpablo@726
   533
		<summary>
juanpablo@726
   534
			<band height="68"  isSplitAllowed="true" >
juanpablo@726
   535
				<subreport  isUsingCache="false">
carlos@0
   536
					<reportElement
carlos@0
   537
						x="77"
carlos@0
   538
						y="11"
carlos@0
   539
						width="365"
carlos@0
   540
						height="48"
juanpablo@726
   541
						key="subreport-1"/>
juanpablo@726
   542
					<subreportParameter  name="DATE_FROM">
juanpablo@726
   543
						<subreportParameterExpression><![CDATA[$P{DATE_FROM}]]></subreportParameterExpression>
juanpablo@726
   544
					</subreportParameter>
juanpablo@726
   545
					<subreportParameter  name="DATE_TO">
juanpablo@726
   546
						<subreportParameterExpression><![CDATA[$P{DATE_TO}]]></subreportParameterExpression>
juanpablo@726
   547
					</subreportParameter>
juanpablo@726
   548
					<subreportParameter  name="USER_CLIENT">
juanpablo@726
   549
						<subreportParameterExpression><![CDATA[$P{USER_CLIENT}]]></subreportParameterExpression>
juanpablo@726
   550
					</subreportParameter>
juanpablo@726
   551
					<subreportParameter  name="USER_ORG">
juanpablo@726
   552
						<subreportParameterExpression><![CDATA[$P{USER_ORG}]]></subreportParameterExpression>
juanpablo@726
   553
					</subreportParameter>
juanpablo@726
   554
					<subreportParameter  name="LANGUAGE">
juanpablo@726
   555
						<subreportParameterExpression><![CDATA[$P{LANGUAGE}]]></subreportParameterExpression>
juanpablo@726
   556
					</subreportParameter>
juanpablo@726
   557
					<subreportParameter  name="ATTACH">
juanpablo@726
   558
						<subreportParameterExpression><![CDATA[$P{ATTACH}]]></subreportParameterExpression>
juanpablo@726
   559
					</subreportParameter>
juanpablo@726
   560
					<subreportParameter  name="BASE_WEB">
juanpablo@726
   561
						<subreportParameterExpression><![CDATA[$P{BASE_WEB}]]></subreportParameterExpression>
juanpablo@726
   562
					</subreportParameter>
juanpablo@726
   563
					<subreportParameter  name="BASE_DESIGN">
juanpablo@726
   564
						<subreportParameterExpression><![CDATA[$P{BASE_DESIGN}]]></subreportParameterExpression>
juanpablo@726
   565
					</subreportParameter>
juanpablo@726
   566
					<subreportParameter  name="REPORT_TITLE">
juanpablo@726
   567
						<subreportParameterExpression><![CDATA[$P{REPORT_TITLE}]]></subreportParameterExpression>
juanpablo@726
   568
					</subreportParameter>
juanpablo@726
   569
					<subreportParameter  name="REPORT_SUBTITLE">
juanpablo@726
   570
						<subreportParameterExpression><![CDATA[$P{REPORT_SUBTITLE}]]></subreportParameterExpression>
juanpablo@726
   571
					</subreportParameter>
juanpablo@726
   572
					<subreportParameter  name="ReportData">
juanpablo@726
   573
						<subreportParameterExpression><![CDATA[$P{ReportData}]]></subreportParameterExpression>
juanpablo@726
   574
					</subreportParameter>
juanpablo@726
   575
					<subreportParameter  name="SUBREPORT_DIR">
juanpablo@726
   576
						<subreportParameterExpression><![CDATA[$P{SUBREPORT_DIR}]]></subreportParameterExpression>
juanpablo@726
   577
					</subreportParameter>
juanpablo@726
   578
					<subreportParameter  name="NUMBERFORMAT">
juanpablo@726
   579
						<subreportParameterExpression><![CDATA[$P{NUMBERFORMAT}]]></subreportParameterExpression>
juanpablo@726
   580
					</subreportParameter>
juanpablo@726
   581
					<subreportParameter  name="LOCALE">
juanpablo@726
   582
						<subreportParameterExpression><![CDATA[$P{LOCALE}]]></subreportParameterExpression>
juanpablo@726
   583
					</subreportParameter>
juanpablo@726
   584
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
juanpablo@726
   585
					<subreportExpression  class="java.lang.String"><![CDATA[$P{SUBREPORT_DIR} + "/org/openbravo/erpCommon/ad_reports/productionSubReport.jasper"]]></subreportExpression>
juanpablo@726
   586
				</subreport>
juanpablo@726
   587
			</band>
juanpablo@726
   588
		</summary>
juanpablo@726
   589
</jasperReport>