|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- Created with Jaspersoft Studio version 6.17.0.final using JasperReports Library version 6.17.0-6d93193241dd8cc42629e188b94f9e0bc5722efd -->
- <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="MaterialStockOutTraceability" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="70a1aa41-cdaf-4e67-a3f4-b5983ddcf764">
- <parameter name="stockSubCategory" class="java.lang.String">
- <defaultValueExpression><![CDATA["stockSubCategory"]]></defaultValueExpression>
- </parameter>
- <parameter name="date" class="java.lang.String">
- <defaultValueExpression><![CDATA["date"]]></defaultValueExpression>
- </parameter>
- <parameter name="stockCategory" class="java.lang.String">
- <defaultValueExpression><![CDATA["stockCategory"]]></defaultValueExpression>
- </parameter>
- <parameter name="reportDate" class="java.lang.String"/>
- <parameter name="reportTime" class="java.lang.String"/>
- <parameter name="itemNo" class="java.lang.String">
- <defaultValueExpression><![CDATA["itemCode"]]></defaultValueExpression>
- </parameter>
- <parameter name="lastOutDateStart" class="java.lang.String">
- <parameterDescription><![CDATA["lastOutDateStart"]]></parameterDescription>
- </parameter>
- <parameter name="lastOutDateEnd" class="java.lang.String">
- <parameterDescription><![CDATA["lastOutDateStart"]]></parameterDescription>
- </parameter>
- <queryString>
- <![CDATA[]]>
- </queryString>
- <field name="itemNo" class="java.lang.String">
- <property name="com.jaspersoft.studio.field.name" value="code"/>
- <property name="com.jaspersoft.studio.field.label" value="code"/>
- <property name="com.jaspersoft.studio.field.tree.path" value="items"/>
- <fieldDescription><![CDATA[]]></fieldDescription>
- </field>
- <field name="itemName" class="java.lang.String">
- <property name="com.jaspersoft.studio.field.name" value="name"/>
- <property name="com.jaspersoft.studio.field.label" value="name"/>
- <property name="com.jaspersoft.studio.field.tree.path" value="items"/>
- <fieldDescription><![CDATA[]]></fieldDescription>
- </field>
- <field name="stockSubCategory" class="java.lang.Long">
- <property name="com.jaspersoft.studio.field.name" value="categoryId"/>
- <property name="com.jaspersoft.studio.field.label" value="categoryId"/>
- <property name="com.jaspersoft.studio.field.tree.path" value="items"/>
- <fieldDescription><![CDATA[]]></fieldDescription>
- </field>
- <field name="unitOfMeasure" class="java.lang.String"/>
- <field name="stockReqNo" class="java.lang.String"/>
- <field name="lotNo" class="java.lang.String"/>
- <field name="expiryDate" class="java.lang.String"/>
- <field name="stockOutQty" class="java.lang.String"/>
- <field name="materialPickOrderNo" class="java.lang.String"/>
- <field name="handler" class="java.lang.String"/>
- <field name="storeLocation" class="java.lang.String"/>
- <field name="pickRemark" class="java.lang.String"/>
- <field name="jobOrderNo" class="java.lang.String"/>
- <field name="totalStockOutQty" class="java.lang.String"/>
- <group name="Group1" keepTogether="true">
- <groupExpression><![CDATA[$F{itemNo}+"|"+$F{unitOfMeasure}]]></groupExpression>
- <groupHeader>
- <band height="18">
- <textField textAdjust="StretchHeight">
- <reportElement x="10" y="0" width="579" height="18" uuid="8988ea44-8c61-49ef-a4c1-1c382299d651"/>
- <textElement textAlignment="Left" verticalAlignment="Top" markup="styled">
- <font fontName="微軟正黑體" isBold="true"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{itemNo}+" "+$F{itemName}+" "+$F{unitOfMeasure}]]></textFieldExpression>
- </textField>
- </band>
- </groupHeader>
- <groupFooter>
- <band height="19">
- <printWhenExpression><![CDATA[$V{Group1_COUNT} > 1]]></printWhenExpression>
- <staticText>
- <reportElement x="330" y="0" width="80" height="18" uuid="127b8d9e-7af6-4973-bb72-e96ed062dcc9">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- <textElement textAlignment="Right" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="10"/>
- </textElement>
- <text><![CDATA[總出倉量:]]></text>
- </staticText>
- <textField>
- <reportElement x="410" y="0" width="59" height="18" uuid="bef3e158-73d3-40dc-8cc7-29f93f54113f"/>
- <textElement textAlignment="Right" verticalAlignment="Middle">
- <font fontName="微軟正黑體"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{totalStockOutQty}]]></textFieldExpression>
- </textField>
- <line>
- <reportElement x="0" y="18" width="799" height="1" uuid="2784a7af-f09f-4aaf-8f37-53de577f3471">
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- </line>
- <line>
- <reportElement x="330" y="0" width="139" height="1" uuid="69129436-53ea-4be6-960a-994170b025cc">
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- </line>
- </band>
- <band height="1">
- <printWhenExpression><![CDATA[$V{Group1_COUNT} == 1]]></printWhenExpression>
- <line>
- <reportElement x="0" y="0" width="799" height="1" uuid="0ce688e0-bec5-43f8-9634-472bab01eaa0">
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- </line>
- </band>
- </groupFooter>
- </group>
- <background>
- <band splitType="Stretch"/>
- </background>
- <pageHeader>
- <band height="99" splitType="Stretch">
- <line>
- <reportElement x="0" y="79" width="799" height="1" uuid="588519b2-2b53-447d-a94a-f5323a5071b6">
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- </line>
- <line>
- <reportElement x="0" y="75" width="799" height="1" uuid="f40ccafa-719f-4a70-86ff-d7b4f09b5ea5">
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- </line>
- <staticText>
- <reportElement x="254" y="0" width="295" height="23" uuid="7de5fed6-2cd8-43a5-a81c-7dca66433be5">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="16" isBold="true"/>
- </textElement>
- <text><![CDATA[物料出倉追蹤報告]]></text>
- </staticText>
- <staticText>
- <reportElement x="469" y="80" width="61" height="18" uuid="c17221d2-b543-4558-a530-e2b0fe57815c">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="10"/>
- </textElement>
- <text><![CDATA[提料人]]></text>
- </staticText>
- <staticText>
- <reportElement x="130" y="80" width="100" height="18" uuid="58633e83-5a17-4b4c-91fb-0a1e95377b78">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Left" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="10"/>
- </textElement>
- <text><![CDATA[提料單編號]]></text>
- </staticText>
- <staticText>
- <reportElement x="230" y="80" width="100" height="18" uuid="72c185c0-02bd-44c3-9a95-b8a8b118a5b8">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Left" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="10"/>
- </textElement>
- <text><![CDATA[批號]]></text>
- </staticText>
- <staticText>
- <reportElement x="10" y="80" width="120" height="18" uuid="53dda4bc-e6ba-40de-8bdb-cf9dc0803b23">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Left" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="10"/>
- </textElement>
- <text><![CDATA[工單編號]]></text>
- </staticText>
- <staticText>
- <reportElement x="530" y="80" width="100" height="18" uuid="5faf317c-4814-4507-ae8d-21652d8642ef">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="10"/>
- </textElement>
- <text><![CDATA[存倉位置]]></text>
- </staticText>
- <staticText>
- <reportElement x="330" y="80" width="80" height="18" uuid="fab273cc-7a7b-4598-be08-b1473ab32124">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="10"/>
- </textElement>
- <text><![CDATA[到期日]]></text>
- </staticText>
- <staticText>
- <reportElement x="630" y="80" width="168" height="18" uuid="74f1c031-48f4-4b36-baed-1d3fd973b7ad">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- <textElement textAlignment="Left" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="10"/>
- </textElement>
- <text><![CDATA[提料備注]]></text>
- </staticText>
- <staticText>
- <reportElement x="410" y="80" width="59" height="18" uuid="1f547265-a0c6-472f-8c99-c2ea25c9a6d5">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Right" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="10"/>
- </textElement>
- <text><![CDATA[出貨數量]]></text>
- </staticText>
- <line>
- <reportElement x="1" y="98" width="800" height="1" uuid="d327fcf7-3dfa-4470-b0df-8199ac04ab46">
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- </line>
- <textField evaluationTime="Report">
- <reportElement x="768" y="0" width="30" height="23" uuid="010c90fe-b9b9-497c-b32e-b2a5ade48e9e">
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- <textElement textAlignment="Center" verticalAlignment="Middle"/>
- <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
- </textField>
- <textField>
- <reportElement x="717" y="0" width="30" height="23" uuid="5e94aa7a-e7ab-4779-afb6-df011bcf725d">
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Center" verticalAlignment="Middle"/>
- <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
- </textField>
- <staticText>
- <reportElement x="747" y="0" width="21" height="23" uuid="d2c5e646-3885-4941-b1f0-98496d3bd553">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12"/>
- </textElement>
- <text><![CDATA[/]]></text>
- </staticText>
- <staticText>
- <reportElement x="677" y="0" width="40" height="23" uuid="70764071-b438-4548-a01d-d3bbaf01ad62">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12"/>
- </textElement>
- <text><![CDATA[頁數]]></text>
- </staticText>
- <textField>
- <reportElement x="708" y="29" width="90" height="23" uuid="55961375-1d81-4195-ae09-dbad03027460"/>
- <textElement textAlignment="Left" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12" isBold="true"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{reportTime}]]></textFieldExpression>
- </textField>
- <staticText>
- <reportElement x="640" y="29" width="68" height="23" uuid="60125685-7c9e-443d-afcb-8257836a7b0f">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- <textElement textAlignment="Left" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12" isBold="true"/>
- </textElement>
- <text><![CDATA[報告時間:]]></text>
- </staticText>
- <textField>
- <reportElement x="100" y="30" width="335" height="23" uuid="7e22315e-2b61-4d91-8c35-454a29a54440"/>
- <textElement verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12" isBold="true"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{reportDate}]]></textFieldExpression>
- </textField>
- <staticText>
- <reportElement x="10" y="30" width="90" height="23" uuid="3dc4c597-8c09-424a-afcd-6fe9ae70137d">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- <textElement textAlignment="Left" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12" isBold="true"/>
- </textElement>
- <text><![CDATA[報告日期:]]></text>
- </staticText>
- <staticText>
- <reportElement x="10" y="53" width="90" height="23" uuid="7582a23b-1cd1-4058-b072-62d9a1b1f12a">
- <property name="com.jaspersoft.studio.unit.y" value="pixel"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Left" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12" isBold="true"/>
- </textElement>
- <text><![CDATA[最後出倉日期:]]></text>
- </staticText>
- <textField>
- <reportElement x="100" y="53" width="560" height="23" uuid="fb36cc91-4daf-439c-955e-148b0586bc95"/>
- <textElement textAlignment="Left" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12" isBold="true"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{lastOutDateStart} + " 至 " + $P{lastOutDateEnd}]]></textFieldExpression>
- </textField>
- </band>
- </pageHeader>
- <detail>
- <band height="17" splitType="Stretch">
- <textField textAdjust="StretchHeight">
- <reportElement x="10" y="0" width="120" height="17" uuid="5f8e4b35-01b2-4fb1-96c4-47fbc6f8d1a6">
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Left" verticalAlignment="Top">
- <font fontName="微軟正黑體" size="10"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{jobOrderNo}]]></textFieldExpression>
- </textField>
- <textField textAdjust="StretchHeight">
- <reportElement x="130" y="0" width="100" height="17" uuid="b7492ff2-eb72-42cb-ab6e-73181dd2daa8"/>
- <textElement verticalAlignment="Top">
- <font fontName="微軟正黑體"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{stockReqNo}]]></textFieldExpression>
- </textField>
- <textField textAdjust="StretchHeight">
- <reportElement x="630" y="0" width="168" height="17" uuid="37e635a3-bb5b-4435-8508-414a373f7002"/>
- <textElement verticalAlignment="Top">
- <font fontName="微軟正黑體"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{pickRemark}]]></textFieldExpression>
- </textField>
- <textField textAdjust="StretchHeight">
- <reportElement x="530" y="0" width="100" height="17" uuid="9df68816-6fde-4922-8ce0-b7234e076029"/>
- <textElement textAlignment="Center" verticalAlignment="Top">
- <font fontName="微軟正黑體"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{storeLocation}]]></textFieldExpression>
- </textField>
- <textField textAdjust="StretchHeight">
- <reportElement x="230" y="0" width="100" height="17" uuid="cdf35daf-76bd-4244-9c5f-4dec5fc38740"/>
- <textElement verticalAlignment="Top">
- <font fontName="微軟正黑體"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{lotNo}]]></textFieldExpression>
- </textField>
- <textField textAdjust="StretchHeight">
- <reportElement x="469" y="0" width="61" height="17" uuid="0c22894f-8cca-4a97-a0d4-d069b99631b0"/>
- <textElement textAlignment="Center" verticalAlignment="Top">
- <font fontName="微軟正黑體"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{handler}]]></textFieldExpression>
- </textField>
- <textField textAdjust="StretchHeight">
- <reportElement x="330" y="0" width="80" height="17" uuid="044e670f-8c24-41bc-9865-153eeefec098"/>
- <textElement textAlignment="Center" verticalAlignment="Top">
- <font fontName="微軟正黑體"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{expiryDate}]]></textFieldExpression>
- </textField>
- <textField textAdjust="StretchHeight">
- <reportElement x="410" y="0" width="59" height="17" uuid="66a8a739-66f8-4f86-9f02-5de5c2520aef"/>
- <textElement textAlignment="Right" verticalAlignment="Top">
- <font fontName="微軟正黑體"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{stockOutQty}]]></textFieldExpression>
- </textField>
- </band>
- </detail>
- </jasperReport>
|