<?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="DeliveryNotePDF" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="36f9d415-527f-4152-b7b0-eea81fe06f73">
    <parameter name="deliveryNoteCode" class="java.lang.String">
        <parameterDescription><![CDATA[DeliveryOrderCode]]></parameterDescription>
    </parameter>
    <parameter name="shopName" class="java.lang.String"/>
    <parameter name="shopAddress" class="java.lang.String"/>
    <parameter name="deliveryDate" class="java.lang.String"/>
    <parameter name="FGPickOrderNo" class="java.lang.String"/>
    <parameter name="ShopPurchaseOrderNo" class="java.lang.String"/>
    <parameter name="truckNo" class="java.lang.String"/>
    <parameter name="numOfCarton" class="java.lang.String"/>
    <parameter name="dnTitle" class="java.lang.String"/>
    <parameter name="colQty" class="java.lang.String"/>
    <parameter name="totalCartonTitle" class="java.lang.String"/>
    <parameter name="deliveryNoteCodeTitle" class="java.lang.String"/>
    <parameter name="loadingSequence" class="java.lang.String"/>
    <queryString>
        <![CDATA[]]>
    </queryString>
    <field name="sequenceNumber" class="java.lang.String"/>
    <field name="itemNo" class="java.lang.String"/>
    <field name="itemName" class="java.lang.String"/>
    <field name="uom" class="java.lang.String"/>
    <field name="qty" class="java.lang.String"/>
    <field name="shortName" class="java.lang.String"/>
    <field name="route" class="java.lang.String"/>
    <field name="lotNo" class="java.lang.String"/>
    <field name="signOff" class="java.lang.String"/>
    <background>
        <band height="41" splitType="Stretch"/>
    </background>
    <title>
        <band/>
    </title>
    <pageHeader>
        <band height="155">
            <staticText>
                <reportElement x="430" y="0" width="40" height="18" uuid="3381622a-7eda-4649-88b8-650da96c2a77">
                    <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="12"/>
                </textElement>
                <text><![CDATA[頁數]]></text>
            </staticText>
            <textField>
                <reportElement x="470" y="0" width="20" height="18" uuid="33b3d236-1c13-4751-abf5-79871b2535ea">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement textAlignment="Center" verticalAlignment="Middle"/>
                <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement x="530" y="0" width="25" height="18" uuid="11a0dc53-3742-4c56-a9b2-b284bfe8b07e">
                    <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="12"/>
                </textElement>
                <text><![CDATA[頁]]></text>
            </staticText>
            <textField evaluationTime="Report">
                <reportElement x="510" y="0" width="20" height="18" uuid="428142d2-39f0-43f1-b662-f1ab72f0aa1a">
                    <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>
            <staticText>
                <reportElement x="490" y="0" width="20" height="18" uuid="fb619a24-7eb9-4f2e-89b3-ac7efdb04333">
                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement textAlignment="Center" verticalAlignment="Justified">
                    <font fontName="微軟正黑體" size="12"/>
                </textElement>
                <text><![CDATA[/]]></text>
            </staticText>
            <textField>
                <reportElement x="220" y="0" width="108" height="23" uuid="a8e0ca5e-3b0c-4f88-8c4c-f922a84cb18f">
                    <property name="com.jaspersoft.studio.unit.x" value="px"/>
                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                    <property name="com.jaspersoft.studio.unit.width" value="px"/>
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement textAlignment="Center">
                    <font fontName="微軟正黑體" size="16"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{dnTitle}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement x="0" y="25" width="70" height="23" uuid="de40ab55-5e3a-4730-b6cc-ddb4272edd6d">
                    <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="16" isBold="true"/>
                </textElement>
                <text><![CDATA[店鋪：]]></text>
            </staticText>
            <textField>
                <reportElement x="70" y="25" width="300" height="23" uuid="abe02be5-6047-4dd1-9637-f21612d9040a">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement verticalAlignment="Middle">
                    <font fontName="微軟正黑體" size="16" isBold="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{shopName}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement x="0" y="50" width="70" height="23" uuid="1802947d-3ddb-4c51-99ab-82dda9119e34">
                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                </reportElement>
                <textElement textAlignment="Left" verticalAlignment="Middle">
                    <font fontName="微軟正黑體" size="16" isBold="true"/>
                </textElement>
                <text><![CDATA[地址：]]></text>
            </staticText>
            <textField textAdjust="ScaleFont">
                <reportElement x="70" y="50" width="465" height="23" uuid="89e79bce-bd39-48e6-b114-c11b4bcc5c9f"/>
                <textElement verticalAlignment="Middle">
                    <font fontName="微軟正黑體" size="16" isBold="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{shopAddress}]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement x="370" y="25" width="70" height="23" uuid="a8be367e-c33a-4876-bb0e-14c2eea6bca0">
                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                </reportElement>
                <textElement textAlignment="Left" verticalAlignment="Middle">
                    <font fontName="微軟正黑體" size="16" isBold="true"/>
                </textElement>
                <text><![CDATA[貨車：]]></text>
            </staticText>
            <textField textAdjust="ScaleFont">
                <reportElement x="440" y="25" width="95" height="23" uuid="2a73f702-dda6-4abf-90b3-14704f6d3c7b">
                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                </reportElement>
                <textElement verticalAlignment="Middle">
                    <font fontName="微軟正黑體" size="16" isBold="true"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{truckNo}]]></textFieldExpression>
            </textField>
            <line>
                <reportElement x="0" y="80" width="554" height="1" uuid="ccc9c703-7813-43c3-9443-fb2b15f6749c">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
            </line>
            <staticText>
                <reportElement x="5" y="90" width="110" height="18" uuid="329c1490-958e-4884-a36f-cdb0867162c3">
                    <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"/>
                </textElement>
                <text><![CDATA[送貨日期：]]></text>
            </staticText>
            <staticText>
                <reportElement x="5" y="110" width="110" height="18" uuid="3c8084d3-e0c7-4bb9-90ec-0759b20eecf1">
                    <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"/>
                </textElement>
                <text><![CDATA[成品提貨單號：]]></text>
            </staticText>
            <staticText>
                <reportElement x="5" y="130" width="110" height="18" uuid="111c5f73-f543-4006-931b-27479ccca816">
                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement textAlignment="Left" verticalAlignment="Top">
                    <font fontName="微軟正黑體" size="12"/>
                </textElement>
                <text><![CDATA[店鋪採購單號：]]></text>
            </staticText>
            <textField textAdjust="StretchHeight">
                <reportElement x="115" y="130" width="425" height="18" uuid="7171ba0b-1a78-4ff6-a765-7b2b543ab0bc">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement textAlignment="Left" verticalAlignment="Middle">
                    <font fontName="微軟正黑體" size="12"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{ShopPurchaseOrderNo}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="115" y="110" width="150" height="18" uuid="3fe3119e-8882-4c99-b9a9-9a1cec0d18c9">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement verticalAlignment="Middle">
                    <font fontName="微軟正黑體" size="12"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{FGPickOrderNo}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="115" y="90" width="150" height="18" uuid="606bac90-efd9-440c-a220-a8fad85ff82f">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement verticalAlignment="Middle">
                    <font fontName="微軟正黑體" size="12"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{deliveryDate}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="390" y="90" width="150" height="18" uuid="8497bbd0-84cb-4912-abe2-03dea16c51ec">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement verticalAlignment="Middle">
                    <font fontName="微軟正黑體" size="12"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{numOfCarton}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="280" y="90" width="110" height="18" uuid="87fb3b29-92ab-4478-8e63-11ea1da7d6c8">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement verticalAlignment="Middle">
                    <font fontName="微軟正黑體" size="12"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{totalCartonTitle}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="390" y="110" width="150" height="18" uuid="b24ade74-805f-45aa-9a59-65861fe0d853">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement verticalAlignment="Middle">
                    <font fontName="微軟正黑體" size="12"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{deliveryNoteCode}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="280" y="110" width="110" height="18" uuid="f0f2f87f-26cb-4fad-9c78-9d934191fad9">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement verticalAlignment="Middle">
                    <font fontName="微軟正黑體" size="12"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{deliveryNoteCodeTitle}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="0" y="0" width="220" height="23" uuid="3e4f08dd-2aa9-45cf-80f4-e867ea5fe028">
                    <property name="com.jaspersoft.studio.unit.x" value="px"/>
                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                    <property name="com.jaspersoft.studio.unit.width" value="px"/>
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement textAlignment="Left">
                    <font fontName="微軟正黑體" size="16"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{loadingSequence}]]></textFieldExpression>
            </textField>
        </band>
    </pageHeader>
    <columnHeader>
        <band height="33">
            <staticText>
                <reportElement x="0" y="5" width="40" height="18" uuid="d0d76c93-d260-4b03-b116-6e7ba1fdbdd8">
                    <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">
                    <font fontName="微軟正黑體" size="12"/>
                </textElement>
                <text><![CDATA[序號]]></text>
            </staticText>
            <staticText>
                <reportElement x="40" y="5" width="110" height="18" uuid="58a5c922-fd98-4997-9b17-16bdf9f78519">
                    <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">
                    <font fontName="微軟正黑體" size="12"/>
                </textElement>
                <text><![CDATA[路綫]]></text>
            </staticText>
            <staticText>
                <reportElement x="150" y="5" width="80" height="18" uuid="65c27cc0-f806-4930-930c-6b3fd632a52f">
                    <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"/>
                </textElement>
                <text><![CDATA[貨品編號]]></text>
            </staticText>
            <staticText>
                <reportElement x="230" y="5" width="240" height="18" uuid="fa7ba1d5-003a-4c99-8a2f-4162756ee515">
                    <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"/>
                </textElement>
                <text><![CDATA[貨品名稱]]></text>
            </staticText>
            <line>
                <reportElement x="0" y="28" width="554" height="1" uuid="76648c53-0490-4e52-b737-a8075d9c654f">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
            </line>
            <line>
                <reportElement x="0" y="23" width="554" height="1" uuid="113fc71d-cfb1-4a3a-8ab7-8fea54843197">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
            </line>
            <textField>
                <reportElement x="470" y="5" width="84" height="18" uuid="c7debdbf-fb80-4e4a-92d0-1bff85b60d0e">
                    <property name="com.jaspersoft.studio.unit.x" value="px"/>
                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                    <property name="com.jaspersoft.studio.unit.width" value="px"/>
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement>
                    <font fontName="微軟正黑體" size="12"/>
                </textElement>
                <textFieldExpression><![CDATA[$P{colQty}]]></textFieldExpression>
            </textField>
        </band>
    </columnHeader>
    <detail>
        <band height="42">
            <textField>
                <reportElement x="0" y="0" width="40" height="18" uuid="ae87b739-dadf-452a-bc35-8c2da1a6a9a8">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement verticalAlignment="Middle">
                    <font fontName="微軟正黑體"/>
                </textElement>
                <textFieldExpression><![CDATA[$F{sequenceNumber}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="40" y="0" width="110" height="18" uuid="b4bcfa6c-5d2e-4fba-815a-cc2fccd39213">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement verticalAlignment="Middle">
                    <font fontName="微軟正黑體"/>
                </textElement>
                <textFieldExpression><![CDATA[$F{route}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="150" y="0" width="80" height="18" uuid="3e4a71e7-d6e1-4da8-ae58-ef752c289a6d">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement verticalAlignment="Middle">
                    <font fontName="微軟正黑體"/>
                </textElement>
                <textFieldExpression><![CDATA[$F{itemNo}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="470" y="0" width="84" height="18" uuid="e60b7a29-273a-4a9f-a443-f4977292c429">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement verticalAlignment="Middle">
                    <font fontName="微軟正黑體"/>
                </textElement>
                <textFieldExpression><![CDATA[$F{qty} + $F{shortName}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="230" y="0" width="230" height="18" uuid="c2b4da75-fdca-4e99-8103-5769dea75841">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement verticalAlignment="Middle">
                    <font fontName="微軟正黑體"/>
                </textElement>
                <textFieldExpression><![CDATA[$F{itemName} + "(" +  $F{uom}  + ")"]]></textFieldExpression>
            </textField>
            <line>
                <reportElement x="0" y="36" width="554" height="1" uuid="00d1c4c2-fcb0-4282-90c6-5443b260007c">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
            </line>
            <textField>
                <reportElement x="230" y="18" width="230" height="18" uuid="af701932-2e78-47d4-a131-b668200dc376">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement verticalAlignment="Middle">
                    <font fontName="微軟正黑體"/>
                </textElement>
                <textFieldExpression><![CDATA[$F{lotNo}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="470" y="18" width="84" height="18" uuid="c4f745b9-29ab-4bc1-a65e-ee3cf36e6d4b">
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <textElement verticalAlignment="Middle">
                    <font fontName="微軟正黑體"/>
                </textElement>
                <textFieldExpression><![CDATA[$F{signOff}]]></textFieldExpression>
            </textField>
        </band>
    </detail>
    <pageFooter>
        <band height="14"/>
    </pageFooter>
</jasperReport>
