You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

StockBalanceReport.jrxml 28 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Created with Jaspersoft Studio version 6.17.0.final using JasperReports Library version 6.17.0-6d93193241dd8cc42629e188b94f9e0bc5722efd -->
  3. <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="StockBalanceReport" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b6cc79a8-6025-4490-938c-b90508da62d0">
  4. <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
  5. <parameter name="stockSubCategory" class="java.lang.String">
  6. <defaultValueExpression><![CDATA["stockSubCategory"]]></defaultValueExpression>
  7. </parameter>
  8. <parameter name="stockCategory" class="java.lang.String">
  9. <defaultValueExpression><![CDATA["stockCategory"]]></defaultValueExpression>
  10. </parameter>
  11. <parameter name="itemNo" class="java.lang.String">
  12. <defaultValueExpression><![CDATA["itemCode"]]></defaultValueExpression>
  13. </parameter>
  14. <parameter name="year" class="java.lang.String"/>
  15. <parameter name="reportDate" class="java.lang.String"/>
  16. <parameter name="reportTime" class="java.lang.String"/>
  17. <parameter name="storeLocation" class="java.lang.String">
  18. <parameterDescription><![CDATA["storeLocation"]]></parameterDescription>
  19. </parameter>
  20. <parameter name="balanceFilterStart" class="java.lang.String">
  21. <parameterDescription><![CDATA["balanceFilterStart"]]></parameterDescription>
  22. </parameter>
  23. <parameter name="balanceFilterEnd" class="java.lang.String">
  24. <parameterDescription><![CDATA["balanceFilterEnd"]]></parameterDescription>
  25. </parameter>
  26. <parameter name="lastInDate" class="java.lang.String">
  27. <parameterDescription><![CDATA["lastInDate"]]></parameterDescription>
  28. </parameter>
  29. <parameter name="lastOutDate" class="java.lang.String">
  30. <parameterDescription><![CDATA["lastOutDate"]]></parameterDescription>
  31. </parameter>
  32. <parameter name="lastInDateStart" class="java.lang.String">
  33. <parameterDescription><![CDATA["lastInDateStart"]]></parameterDescription>
  34. </parameter>
  35. <parameter name="lastOutDateStart" class="java.lang.String">
  36. <parameterDescription><![CDATA["lastOutDateStart"]]></parameterDescription>
  37. </parameter>
  38. <parameter name="lastInDateEnd" class="java.lang.String">
  39. <parameterDescription><![CDATA["lastInDateStart"]]></parameterDescription>
  40. </parameter>
  41. <parameter name="lastOutDateEnd" class="java.lang.String">
  42. <parameterDescription><![CDATA["lastOutDateStart"]]></parameterDescription>
  43. </parameter>
  44. <queryString>
  45. <![CDATA[]]>
  46. </queryString>
  47. <field name="stockSubCategory" class="java.lang.String"/>
  48. <field name="itemNo" class="java.lang.String"/>
  49. <field name="itemName" class="java.lang.String"/>
  50. <field name="unitOfMeasure" class="java.lang.String"/>
  51. <field name="lotNo" class="java.lang.String"/>
  52. <field name="expiryDate" class="java.lang.String"/>
  53. <field name="openingBalance" class="java.lang.String"/>
  54. <field name="cumStockIn" class="java.lang.String"/>
  55. <field name="cumStockOut" class="java.lang.String"/>
  56. <field name="currentBalance" class="java.lang.String"/>
  57. <field name="totalCumStockIn" class="java.lang.String"/>
  58. <field name="totalOpeningBalance" class="java.lang.String"/>
  59. <field name="totalCumStockOut" class="java.lang.String"/>
  60. <field name="totalCurrentBalance" class="java.lang.String"/>
  61. <field name="lastOutDate" class="java.lang.String"/>
  62. <field name="lastInDate" class="java.lang.String"/>
  63. <field name="reOrderLevel" class="java.lang.String"/>
  64. <field name="reOrderQty" class="java.lang.String"/>
  65. <field name="storeLocation" class="java.lang.String"/>
  66. <group name="Group1">
  67. <groupExpression><![CDATA[$F{itemNo}]]></groupExpression>
  68. <groupHeader>
  69. <band height="38">
  70. <staticText>
  71. <reportElement x="0" y="0" width="50" height="18" uuid="327927e0-1d3b-4395-9b0c-acdac889d91e">
  72. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  73. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  74. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  75. </reportElement>
  76. <textElement textAlignment="Left" verticalAlignment="Middle">
  77. <font fontName="微軟正黑體" size="10"/>
  78. </textElement>
  79. <text><![CDATA[貨品編號:]]></text>
  80. </staticText>
  81. <staticText>
  82. <reportElement x="120" y="0" width="50" height="18" uuid="474493a2-7188-4ae2-8536-be93c7bbd0bd">
  83. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  84. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  85. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  86. </reportElement>
  87. <textElement textAlignment="Left" verticalAlignment="Middle">
  88. <font fontName="微軟正黑體" size="10"/>
  89. </textElement>
  90. <text><![CDATA[貨品名稱:]]></text>
  91. </staticText>
  92. <staticText>
  93. <reportElement x="320" y="0" width="30" height="18" uuid="9e4bc6c5-bdaa-41cd-ba0f-b7229a7bc091">
  94. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  95. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  96. </reportElement>
  97. <textElement textAlignment="Left" verticalAlignment="Middle">
  98. <font fontName="微軟正黑體" size="10"/>
  99. </textElement>
  100. <text><![CDATA[單位:]]></text>
  101. </staticText>
  102. <staticText>
  103. <reportElement x="0" y="18" width="120" height="18" uuid="aa7590f2-5ce0-4877-b98d-b197fa799fee">
  104. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  105. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  106. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  107. </reportElement>
  108. <textElement textAlignment="Left" verticalAlignment="Middle">
  109. <font fontName="微軟正黑體" size="10"/>
  110. </textElement>
  111. <text><![CDATA[批號]]></text>
  112. </staticText>
  113. <staticText>
  114. <reportElement x="120" y="18" width="80" height="18" uuid="a78ad88c-d542-4a5f-9662-c3f9f90776b8">
  115. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  116. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  117. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  118. </reportElement>
  119. <textElement textAlignment="Left" verticalAlignment="Middle">
  120. <font fontName="微軟正黑體" size="10"/>
  121. </textElement>
  122. <text><![CDATA[到期日]]></text>
  123. </staticText>
  124. <staticText>
  125. <reportElement x="200" y="18" width="40" height="18" uuid="360cf13a-93e7-45d4-8a4d-9e9506a6ad3f">
  126. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  127. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  128. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  129. </reportElement>
  130. <textElement textAlignment="Center" verticalAlignment="Middle">
  131. <font fontName="微軟正黑體" size="10"/>
  132. </textElement>
  133. <text><![CDATA[期初存量]]></text>
  134. </staticText>
  135. <staticText>
  136. <reportElement x="250" y="18" width="61" height="18" uuid="e95456ea-35da-4b71-8dc6-f11cf1c519d5">
  137. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  138. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  139. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  140. </reportElement>
  141. <textElement textAlignment="Center" verticalAlignment="Middle">
  142. <font fontName="微軟正黑體" size="10"/>
  143. </textElement>
  144. <text><![CDATA[累計存入量]]></text>
  145. </staticText>
  146. <staticText>
  147. <reportElement x="319" y="18" width="61" height="18" uuid="2e7bbc7e-bc76-45d6-9f32-099e3058ce7b">
  148. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  149. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  150. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  151. </reportElement>
  152. <textElement textAlignment="Center" verticalAlignment="Middle">
  153. <font fontName="微軟正黑體" size="10"/>
  154. </textElement>
  155. <text><![CDATA[累計存出量]]></text>
  156. </staticText>
  157. <staticText>
  158. <reportElement x="390" y="18" width="40" height="18" uuid="b208e97a-9d94-40ba-9922-3399d8e2f3ac">
  159. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  160. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  161. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  162. </reportElement>
  163. <textElement textAlignment="Center" verticalAlignment="Middle">
  164. <font fontName="微軟正黑體" size="10"/>
  165. </textElement>
  166. <text><![CDATA[現存存貨]]></text>
  167. </staticText>
  168. <staticText>
  169. <reportElement x="440" y="18" width="40" height="18" uuid="3866d462-c233-4998-a0f4-fa527b89bc0e">
  170. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  171. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  172. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  173. </reportElement>
  174. <textElement textAlignment="Center" verticalAlignment="Middle">
  175. <font fontName="微軟正黑體" size="10"/>
  176. </textElement>
  177. <text><![CDATA[補貨位]]></text>
  178. </staticText>
  179. <staticText>
  180. <reportElement x="490" y="18" width="40" height="18" uuid="eaf55a87-c36f-4b9e-8957-2747bce9d43d">
  181. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  182. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  183. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  184. </reportElement>
  185. <textElement textAlignment="Center" verticalAlignment="Middle">
  186. <font fontName="微軟正黑體" size="10"/>
  187. </textElement>
  188. <text><![CDATA[補貨數量]]></text>
  189. </staticText>
  190. <staticText>
  191. <reportElement x="540" y="18" width="110" height="18" uuid="4bb9dbca-a6bb-4596-969e-86e8dd60c215">
  192. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  193. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  194. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  195. </reportElement>
  196. <textElement textAlignment="Left" verticalAlignment="Middle">
  197. <font fontName="微軟正黑體" size="10"/>
  198. </textElement>
  199. <text><![CDATA[ 店鋪位置]]></text>
  200. </staticText>
  201. <staticText>
  202. <reportElement x="650" y="18" width="71" height="18" uuid="8913364c-9f76-4bf6-bbcf-456e92d75f5c">
  203. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  204. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  205. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  206. </reportElement>
  207. <textElement textAlignment="Center" verticalAlignment="Middle">
  208. <font fontName="微軟正黑體" size="10"/>
  209. </textElement>
  210. <text><![CDATA[最後入倉日期]]></text>
  211. </staticText>
  212. <staticText>
  213. <reportElement x="730" y="18" width="70" height="18" uuid="49a89912-a5e5-4d5b-9ecd-fcf3169bed84">
  214. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  215. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  216. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  217. </reportElement>
  218. <textElement textAlignment="Center" verticalAlignment="Middle">
  219. <font fontName="微軟正黑體" size="10"/>
  220. </textElement>
  221. <text><![CDATA[最後出倉日期]]></text>
  222. </staticText>
  223. <line>
  224. <reportElement x="0" y="37" width="799" height="1" uuid="008bb275-0f55-4cfa-afe3-bd4b3a90db19">
  225. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  226. </reportElement>
  227. </line>
  228. <textField textAdjust="StretchHeight">
  229. <reportElement x="50" y="0" width="70" height="18" uuid="81a938f8-9081-468e-be58-e98d3afd75f8">
  230. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  231. </reportElement>
  232. <textElement textAlignment="Left" verticalAlignment="Middle">
  233. <font fontName="微軟正黑體" size="10"/>
  234. </textElement>
  235. <textFieldExpression><![CDATA[$F{itemNo}]]></textFieldExpression>
  236. </textField>
  237. <textField textAdjust="StretchHeight">
  238. <reportElement x="170" y="0" width="80" height="18" uuid="2f8b6c65-41f4-44ac-89df-0b10cfa2c701">
  239. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  240. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  241. </reportElement>
  242. <textElement textAlignment="Left" verticalAlignment="Middle">
  243. <font fontName="微軟正黑體" size="10"/>
  244. </textElement>
  245. <textFieldExpression><![CDATA[$F{itemName}]]></textFieldExpression>
  246. </textField>
  247. <textField textAdjust="StretchHeight">
  248. <reportElement x="350" y="0" width="120" height="18" uuid="6bc40724-586f-44e6-ab5a-dcfd6d51d1d4">
  249. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  250. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  251. </reportElement>
  252. <textElement textAlignment="Left" verticalAlignment="Middle">
  253. <font fontName="微軟正黑體" size="10"/>
  254. </textElement>
  255. <textFieldExpression><![CDATA[$F{unitOfMeasure}]]></textFieldExpression>
  256. </textField>
  257. </band>
  258. </groupHeader>
  259. <groupFooter>
  260. <band height="24">
  261. <staticText>
  262. <reportElement x="128" y="1" width="72" height="18" uuid="d10fdf4f-4a2a-439c-9877-125998c975db">
  263. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  264. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  265. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  266. </reportElement>
  267. <textElement textAlignment="Right" verticalAlignment="Middle">
  268. <font fontName="微軟正黑體" size="10"/>
  269. </textElement>
  270. <text><![CDATA[貨品總量:]]></text>
  271. </staticText>
  272. <textField>
  273. <reportElement x="250" y="1" width="61" height="18" uuid="0e884be5-64f2-4ade-a2bb-50275accbcdd"/>
  274. <textElement textAlignment="Right" verticalAlignment="Top">
  275. <font fontName="微軟正黑體"/>
  276. </textElement>
  277. <textFieldExpression><![CDATA[$F{totalCumStockIn}]]></textFieldExpression>
  278. </textField>
  279. <textField>
  280. <reportElement x="200" y="1" width="40" height="18" uuid="0a1320e0-dbbc-4da4-bc1e-ca3d21323ad8"/>
  281. <textElement textAlignment="Right" verticalAlignment="Top">
  282. <font fontName="微軟正黑體"/>
  283. </textElement>
  284. <textFieldExpression><![CDATA[$F{totalOpeningBalance}]]></textFieldExpression>
  285. </textField>
  286. <textField>
  287. <reportElement x="320" y="1" width="60" height="18" uuid="d2bc3efc-fd44-42b8-b451-7b6bc5e77cea"/>
  288. <textElement textAlignment="Right" verticalAlignment="Top">
  289. <font fontName="微軟正黑體"/>
  290. </textElement>
  291. <textFieldExpression><![CDATA[$F{totalCumStockOut}]]></textFieldExpression>
  292. </textField>
  293. <textField>
  294. <reportElement x="390" y="1" width="40" height="18" uuid="0994677f-b92e-4229-8540-98a41d6fb246"/>
  295. <textElement textAlignment="Right" verticalAlignment="Top">
  296. <font fontName="微軟正黑體"/>
  297. </textElement>
  298. <textFieldExpression><![CDATA[$F{totalCurrentBalance}]]></textFieldExpression>
  299. </textField>
  300. <line>
  301. <reportElement x="0" y="20" width="799" height="1" uuid="f22e204d-b70a-4e70-99ce-e1e6d60d6934">
  302. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  303. </reportElement>
  304. </line>
  305. <line>
  306. <reportElement x="0" y="23" width="799" height="1" uuid="d0796042-728a-4d02-89f5-b71f13369e20">
  307. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  308. </reportElement>
  309. </line>
  310. <line>
  311. <reportElement x="0" y="0" width="799" height="1" uuid="fcb953a7-15a5-4292-9184-3deefba9e266">
  312. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  313. </reportElement>
  314. </line>
  315. </band>
  316. </groupFooter>
  317. </group>
  318. <background>
  319. <band splitType="Stretch"/>
  320. </background>
  321. <pageHeader>
  322. <band height="125" splitType="Stretch">
  323. <textField evaluationTime="Report">
  324. <reportElement x="780" y="2" width="20" height="18" uuid="e45d9b93-df63-4fb5-bfe4-fca6a6d77b2e">
  325. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  326. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  327. </reportElement>
  328. <textElement textAlignment="Center" verticalAlignment="Middle">
  329. <font fontName="微軟正黑體"/>
  330. </textElement>
  331. <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
  332. </textField>
  333. <staticText>
  334. <reportElement x="700" y="2" width="40" height="18" uuid="76ebb84e-f341-4013-9530-981862f92bdb">
  335. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  336. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  337. </reportElement>
  338. <textElement textAlignment="Center" verticalAlignment="Middle">
  339. <font fontName="微軟正黑體" size="12"/>
  340. </textElement>
  341. <text><![CDATA[頁數]]></text>
  342. </staticText>
  343. <textField>
  344. <reportElement x="740" y="2" width="20" height="18" uuid="8bcc730d-901f-4731-bb50-453790eafdd7">
  345. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  346. </reportElement>
  347. <textElement textAlignment="Center" verticalAlignment="Middle">
  348. <font fontName="微軟正黑體"/>
  349. </textElement>
  350. <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
  351. </textField>
  352. <staticText>
  353. <reportElement x="760" y="2" width="20" height="18" uuid="73c874c9-4a43-4ece-aa41-54f8691ea66c">
  354. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  355. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  356. </reportElement>
  357. <textElement textAlignment="Center" verticalAlignment="Middle">
  358. <font fontName="微軟正黑體" size="12"/>
  359. </textElement>
  360. <text><![CDATA[/]]></text>
  361. </staticText>
  362. <line>
  363. <reportElement x="1" y="60" width="800" height="1" uuid="54717796-6b42-4a35-a6b3-2657f346207f">
  364. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  365. </reportElement>
  366. </line>
  367. <line>
  368. <reportElement x="0" y="124" width="799" height="1" uuid="aadb8fe1-98b7-49d3-b29d-be3b842e9cc7">
  369. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  370. </reportElement>
  371. </line>
  372. <line>
  373. <reportElement x="0" y="120" width="799" height="1" uuid="f2f17fec-f257-4ad0-b2be-c929e86fb515">
  374. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  375. </reportElement>
  376. </line>
  377. <staticText>
  378. <reportElement x="0" y="35" width="90" height="23" uuid="c3ba97b4-0070-469b-8e29-7a77c543722c">
  379. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  380. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  381. </reportElement>
  382. <textElement textAlignment="Left" verticalAlignment="Middle">
  383. <font fontName="微軟正黑體" size="16" isBold="true"/>
  384. </textElement>
  385. <text><![CDATA[報告日期:]]></text>
  386. </staticText>
  387. <textField>
  388. <reportElement x="90" y="35" width="390" height="23" uuid="78413a52-e6d3-42e1-899e-6ffd451f8f84"/>
  389. <textElement verticalAlignment="Middle">
  390. <font fontName="微軟正黑體" size="16" isBold="true"/>
  391. </textElement>
  392. <textFieldExpression><![CDATA[$P{reportDate}]]></textFieldExpression>
  393. </textField>
  394. <textField>
  395. <reportElement x="570" y="35" width="228" height="23" uuid="6695473c-6758-4c0a-ac1a-d8bcf2b107ca"/>
  396. <textElement verticalAlignment="Middle">
  397. <font fontName="微軟正黑體" size="16" isBold="true"/>
  398. </textElement>
  399. <textFieldExpression><![CDATA[$P{reportTime}]]></textFieldExpression>
  400. </textField>
  401. <staticText>
  402. <reportElement x="480" y="35" width="90" height="23" uuid="4f222c34-313a-48d1-8340-239a0c6ac6ac">
  403. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  404. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  405. </reportElement>
  406. <textElement textAlignment="Left" verticalAlignment="Middle">
  407. <font fontName="微軟正黑體" size="16" isBold="true"/>
  408. </textElement>
  409. <text><![CDATA[報告時間:]]></text>
  410. </staticText>
  411. <staticText>
  412. <reportElement x="351" y="0" width="101" height="23" uuid="e670cb8d-d591-4418-8bce-36398e286e1f">
  413. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  414. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  415. </reportElement>
  416. <textElement textAlignment="Center" verticalAlignment="Middle">
  417. <font fontName="微軟正黑體" size="16" isBold="true"/>
  418. </textElement>
  419. <text><![CDATA[庫存結餘報告]]></text>
  420. </staticText>
  421. <staticText>
  422. <reportElement x="0" y="81" width="82" height="18" uuid="9cd796f0-8e66-4e27-807d-a577072f9618">
  423. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  424. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  425. </reportElement>
  426. <textElement textAlignment="Left" verticalAlignment="Top">
  427. <font fontName="微軟正黑體" size="12"/>
  428. </textElement>
  429. <text><![CDATA[存貨位置:]]></text>
  430. </staticText>
  431. <textField>
  432. <reportElement x="82" y="81" width="724" height="18" uuid="2ad44da6-2192-4435-8b76-61a43657e052">
  433. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  434. </reportElement>
  435. <textElement verticalAlignment="Top">
  436. <font fontName="微軟正黑體" size="12"/>
  437. </textElement>
  438. <textFieldExpression><![CDATA[$P{storeLocation}]]></textFieldExpression>
  439. </textField>
  440. <staticText>
  441. <reportElement x="0" y="63" width="82" height="18" uuid="d98eeb7e-a6aa-4b33-9c51-43b65ede312d">
  442. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  443. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  444. </reportElement>
  445. <textElement textAlignment="Left" verticalAlignment="Top">
  446. <font fontName="微軟正黑體" size="12"/>
  447. </textElement>
  448. <text><![CDATA[存量:]]></text>
  449. </staticText>
  450. <textField>
  451. <reportElement x="82" y="63" width="724" height="18" uuid="f4ad44e4-024e-44c4-b9b0-1ecf13ffcfef">
  452. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  453. </reportElement>
  454. <textElement verticalAlignment="Top">
  455. <font fontName="微軟正黑體" size="12"/>
  456. </textElement>
  457. <textFieldExpression><![CDATA[$P{balanceFilterStart}+"件"+ " ~ " + $P{balanceFilterEnd}+"件"]]></textFieldExpression>
  458. </textField>
  459. <textField>
  460. <reportElement x="462" y="99" width="336" height="18" uuid="91f3d1ce-63d6-40d1-98c8-1550676948ed">
  461. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  462. </reportElement>
  463. <textElement textAlignment="Left" verticalAlignment="Top">
  464. <font fontName="微軟正黑體" size="12"/>
  465. </textElement>
  466. <textFieldExpression><![CDATA[$P{lastOutDateStart} + " 到 " + $P{lastOutDateEnd}]]></textFieldExpression>
  467. </textField>
  468. <staticText>
  469. <reportElement x="380" y="99" width="82" height="18" uuid="902f7ed3-ef26-4c50-86de-7976ab2fa651">
  470. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  471. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  472. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  473. </reportElement>
  474. <textElement textAlignment="Left" verticalAlignment="Top">
  475. <font fontName="微軟正黑體" size="12"/>
  476. </textElement>
  477. <text><![CDATA[最後出倉日期:]]></text>
  478. </staticText>
  479. <staticText>
  480. <reportElement x="0" y="99" width="82" height="18" uuid="f9323fd3-0e7e-44a3-9abc-a75caed7c3b6">
  481. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  482. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  483. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  484. </reportElement>
  485. <textElement textAlignment="Left" verticalAlignment="Top">
  486. <font fontName="微軟正黑體" size="12"/>
  487. </textElement>
  488. <text><![CDATA[最後入倉日期:]]></text>
  489. </staticText>
  490. <textField>
  491. <reportElement x="82" y="99" width="298" height="18" uuid="af0cff50-cf39-47b2-948d-11b20084062b">
  492. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  493. </reportElement>
  494. <textElement textAlignment="Left" verticalAlignment="Top">
  495. <font fontName="微軟正黑體" size="12"/>
  496. </textElement>
  497. <textFieldExpression><![CDATA[$P{lastInDateStart} + " 到 " + $P{lastInDateEnd}]]></textFieldExpression>
  498. </textField>
  499. </band>
  500. </pageHeader>
  501. <detail>
  502. <band height="20" splitType="Stretch">
  503. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  504. <textField textAdjust="StretchHeight">
  505. <reportElement x="120" y="2" width="80" height="17" uuid="01dd0420-eac9-4e0a-b1a5-c74f164a59a5"/>
  506. <textElement textAlignment="Left" verticalAlignment="Top">
  507. <font fontName="微軟正黑體"/>
  508. </textElement>
  509. <textFieldExpression><![CDATA[$F{expiryDate}]]></textFieldExpression>
  510. </textField>
  511. <textField textAdjust="StretchHeight">
  512. <reportElement x="200" y="2" width="40" height="17" uuid="91b9dd25-38ac-42c6-8b10-9286ba2ad815"/>
  513. <textElement textAlignment="Right" verticalAlignment="Top">
  514. <font fontName="微軟正黑體"/>
  515. </textElement>
  516. <textFieldExpression><![CDATA[$F{openingBalance}]]></textFieldExpression>
  517. </textField>
  518. <textField textAdjust="StretchHeight">
  519. <reportElement x="0" y="2" width="120" height="17" uuid="8776b0f9-71ff-46be-b97a-1be0ea4c3bab">
  520. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  521. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  522. </reportElement>
  523. <textElement textAlignment="Left" verticalAlignment="Top">
  524. <font fontName="微軟正黑體" size="10"/>
  525. </textElement>
  526. <textFieldExpression><![CDATA[$F{lotNo}]]></textFieldExpression>
  527. </textField>
  528. <textField textAdjust="StretchHeight">
  529. <reportElement x="250" y="2" width="61" height="17" uuid="3e286375-b747-416e-8817-fe3290ca3d94"/>
  530. <textElement textAlignment="Right" verticalAlignment="Top">
  531. <font fontName="微軟正黑體"/>
  532. </textElement>
  533. <textFieldExpression><![CDATA[$F{cumStockIn}]]></textFieldExpression>
  534. </textField>
  535. <textField textAdjust="StretchHeight">
  536. <reportElement x="319" y="2" width="61" height="17" uuid="904a410e-b94f-4fe0-8659-0558e891fdaa"/>
  537. <textElement textAlignment="Right" verticalAlignment="Top">
  538. <font fontName="微軟正黑體"/>
  539. </textElement>
  540. <textFieldExpression><![CDATA[$F{cumStockOut}]]></textFieldExpression>
  541. </textField>
  542. <textField textAdjust="StretchHeight">
  543. <reportElement x="390" y="2" width="40" height="17" uuid="3d91b4d0-6775-4ea4-96cd-41251ad448c7"/>
  544. <textElement textAlignment="Right" verticalAlignment="Top">
  545. <font fontName="微軟正黑體"/>
  546. </textElement>
  547. <textFieldExpression><![CDATA[$F{currentBalance}]]></textFieldExpression>
  548. </textField>
  549. <textField textAdjust="StretchHeight">
  550. <reportElement x="440" y="2" width="40" height="17" uuid="cad40cb7-bf47-49ac-a3a4-db9b1912620a"/>
  551. <textElement textAlignment="Right" verticalAlignment="Top">
  552. <font fontName="微軟正黑體"/>
  553. </textElement>
  554. <textFieldExpression><![CDATA[$F{reOrderLevel}]]></textFieldExpression>
  555. </textField>
  556. <textField textAdjust="StretchHeight">
  557. <reportElement x="490" y="2" width="40" height="17" uuid="ec89f725-4d86-4e97-9ce1-9f7033ce23d0"/>
  558. <textElement textAlignment="Right" verticalAlignment="Top">
  559. <font fontName="微軟正黑體"/>
  560. </textElement>
  561. <textFieldExpression><![CDATA[$F{reOrderQty}]]></textFieldExpression>
  562. </textField>
  563. <textField textAdjust="StretchHeight">
  564. <reportElement x="540" y="2" width="110" height="17" uuid="192315a1-142d-465e-8dfa-6e443fb12a3d">
  565. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  566. </reportElement>
  567. <textElement textAlignment="Left" verticalAlignment="Top">
  568. <font fontName="微軟正黑體"/>
  569. </textElement>
  570. <textFieldExpression><![CDATA[ $F{storeLocation}]]></textFieldExpression>
  571. </textField>
  572. <textField textAdjust="StretchHeight">
  573. <reportElement x="650" y="2" width="71" height="17" uuid="708c707e-8102-410e-9603-1e97c42a8680"/>
  574. <textElement textAlignment="Right" verticalAlignment="Top">
  575. <font fontName="微軟正黑體"/>
  576. </textElement>
  577. <textFieldExpression><![CDATA[$F{lastInDate}]]></textFieldExpression>
  578. </textField>
  579. <textField textAdjust="StretchHeight">
  580. <reportElement x="730" y="2" width="70" height="17" uuid="b2f99c32-b666-4944-9ad4-8f83b080fee1"/>
  581. <textElement textAlignment="Right" verticalAlignment="Top">
  582. <font fontName="微軟正黑體"/>
  583. </textElement>
  584. <textFieldExpression><![CDATA[$F{lastOutDate}]]></textFieldExpression>
  585. </textField>
  586. </band>
  587. </detail>
  588. </jasperReport>