Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

StockItemConsumptionTrendReport.jrxml 33 KiB

pirms 3 dienas
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Created with Jaspersoft Studio version 6.21.3.final using JasperReports Library version 6.21.3-4a3078d20785ebe464f18037d738d12fc98c13cf -->
  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="SemiFGProductionAnalysisReport" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="055685d6-c02e-403a-8511-48e9df2752d3">
  4. <property name="com.jaspersoft.studio.unit." value="pixel"/>
  5. <property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/>
  6. <property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/>
  7. <property name="com.jaspersoft.studio.unit.topMargin" value="pixel"/>
  8. <property name="com.jaspersoft.studio.unit.bottomMargin" value="pixel"/>
  9. <property name="com.jaspersoft.studio.unit.leftMargin" value="pixel"/>
  10. <property name="com.jaspersoft.studio.unit.rightMargin" value="pixel"/>
  11. <property name="com.jaspersoft.studio.unit.columnWidth" value="pixel"/>
  12. <property name="com.jaspersoft.studio.unit.columnSpacing" value="pixel"/>
  13. <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
  14. <property name="com.jaspersoft.studio.data.sql.tables" value=""/>
  15. <parameter name="stockSubCategory" class="java.lang.String">
  16. <defaultValueExpression><![CDATA["stockSubCategory"]]></defaultValueExpression>
  17. </parameter>
  18. <parameter name="stockCategory" class="java.lang.String">
  19. <defaultValueExpression><![CDATA["stockCategory"]]></defaultValueExpression>
  20. </parameter>
  21. <parameter name="itemNo" class="java.lang.String">
  22. <defaultValueExpression><![CDATA["itemCode"]]></defaultValueExpression>
  23. </parameter>
  24. <parameter name="year" class="java.lang.String"/>
  25. <parameter name="reportDate" class="java.lang.String"/>
  26. <parameter name="reportTime" class="java.lang.String"/>
  27. <parameter name="deliveryPeriodStart" class="java.lang.String"/>
  28. <parameter name="deliveryPeriodEnd" class="java.lang.String"/>
  29. <parameter name="lastOutDateStart" class="java.lang.String">
  30. <parameterDescription><![CDATA["lastOutDateStart"]]></parameterDescription>
  31. </parameter>
  32. <parameter name="lastOutDateEnd" class="java.lang.String">
  33. <parameterDescription><![CDATA["lastOutDateStart"]]></parameterDescription>
  34. </parameter>
  35. <queryString>
  36. <![CDATA[select * from fpsmsdb.items , fpsmsdb.stock_out_line]]>
  37. </queryString>
  38. <field name="id" class="java.lang.Integer">
  39. <property name="com.jaspersoft.studio.field.name" value="id"/>
  40. <property name="com.jaspersoft.studio.field.label" value="id"/>
  41. <property name="com.jaspersoft.studio.field.tree.path" value="items"/>
  42. <fieldDescription><![CDATA[]]></fieldDescription>
  43. </field>
  44. <field name="modified" class="java.time.LocalDateTime">
  45. <property name="com.jaspersoft.studio.field.name" value="modified"/>
  46. <property name="com.jaspersoft.studio.field.label" value="modified"/>
  47. <property name="com.jaspersoft.studio.field.tree.path" value="items"/>
  48. <fieldDescription><![CDATA[]]></fieldDescription>
  49. </field>
  50. <field name="itemNo" class="java.lang.String">
  51. <property name="com.jaspersoft.studio.field.name" value="code"/>
  52. <property name="com.jaspersoft.studio.field.label" value="code"/>
  53. <property name="com.jaspersoft.studio.field.tree.path" value="items"/>
  54. <fieldDescription><![CDATA[]]></fieldDescription>
  55. </field>
  56. <field name="itemName" class="java.lang.String">
  57. <property name="com.jaspersoft.studio.field.name" value="name"/>
  58. <property name="com.jaspersoft.studio.field.label" value="name"/>
  59. <property name="com.jaspersoft.studio.field.tree.path" value="items"/>
  60. <fieldDescription><![CDATA[]]></fieldDescription>
  61. </field>
  62. <field name="description" class="java.lang.String">
  63. <property name="com.jaspersoft.studio.field.name" value="description"/>
  64. <property name="com.jaspersoft.studio.field.label" value="description"/>
  65. <property name="com.jaspersoft.studio.field.tree.path" value="items"/>
  66. <fieldDescription><![CDATA[]]></fieldDescription>
  67. </field>
  68. <field name="remarks" class="java.lang.String">
  69. <property name="com.jaspersoft.studio.field.name" value="remarks"/>
  70. <property name="com.jaspersoft.studio.field.label" value="remarks"/>
  71. <property name="com.jaspersoft.studio.field.tree.path" value="items"/>
  72. <fieldDescription><![CDATA[]]></fieldDescription>
  73. </field>
  74. <field name="type" class="java.lang.String">
  75. <property name="com.jaspersoft.studio.field.name" value="type"/>
  76. <property name="com.jaspersoft.studio.field.label" value="type"/>
  77. <property name="com.jaspersoft.studio.field.tree.path" value="items"/>
  78. <fieldDescription><![CDATA[]]></fieldDescription>
  79. </field>
  80. <field name="stockSubCategory" class="java.lang.Integer">
  81. <property name="com.jaspersoft.studio.field.name" value="categoryId"/>
  82. <property name="com.jaspersoft.studio.field.label" value="categoryId"/>
  83. <property name="com.jaspersoft.studio.field.tree.path" value="items"/>
  84. <fieldDescription><![CDATA[]]></fieldDescription>
  85. </field>
  86. <field name="qcCategoryId" class="java.lang.Integer">
  87. <property name="com.jaspersoft.studio.field.name" value="qcCategoryId"/>
  88. <property name="com.jaspersoft.studio.field.label" value="qcCategoryId"/>
  89. <property name="com.jaspersoft.studio.field.tree.path" value="items"/>
  90. <fieldDescription><![CDATA[]]></fieldDescription>
  91. </field>
  92. <field name="uomId" class="java.lang.Integer">
  93. <property name="com.jaspersoft.studio.field.name" value="uomId"/>
  94. <property name="com.jaspersoft.studio.field.label" value="uomId"/>
  95. <property name="com.jaspersoft.studio.field.tree.path" value="items"/>
  96. <fieldDescription><![CDATA[]]></fieldDescription>
  97. </field>
  98. <field name="itemId" class="java.lang.Integer">
  99. <property name="com.jaspersoft.studio.field.name" value="itemId"/>
  100. <property name="com.jaspersoft.studio.field.label" value="itemId"/>
  101. <property name="com.jaspersoft.studio.field.tree.path" value="stock_out_line"/>
  102. <fieldDescription><![CDATA[]]></fieldDescription>
  103. </field>
  104. <field name="qty" class="java.math.BigDecimal">
  105. <property name="com.jaspersoft.studio.field.name" value="qty"/>
  106. <property name="com.jaspersoft.studio.field.label" value="qty"/>
  107. <property name="com.jaspersoft.studio.field.tree.path" value="stock_out_line"/>
  108. <fieldDescription><![CDATA[]]></fieldDescription>
  109. </field>
  110. <field name="stockOutId" class="java.lang.Integer">
  111. <property name="com.jaspersoft.studio.field.name" value="stockOutId"/>
  112. <property name="com.jaspersoft.studio.field.label" value="stockOutId"/>
  113. <property name="com.jaspersoft.studio.field.tree.path" value="stock_out_line"/>
  114. <fieldDescription><![CDATA[]]></fieldDescription>
  115. </field>
  116. <field name="pickOrderLineId" class="java.lang.Integer">
  117. <property name="com.jaspersoft.studio.field.name" value="pickOrderLineId"/>
  118. <property name="com.jaspersoft.studio.field.label" value="pickOrderLineId"/>
  119. <property name="com.jaspersoft.studio.field.tree.path" value="stock_out_line"/>
  120. <fieldDescription><![CDATA[]]></fieldDescription>
  121. </field>
  122. <field name="status" class="java.lang.String">
  123. <property name="com.jaspersoft.studio.field.name" value="status"/>
  124. <property name="com.jaspersoft.studio.field.label" value="status"/>
  125. <property name="com.jaspersoft.studio.field.tree.path" value="stock_out_line"/>
  126. <fieldDescription><![CDATA[]]></fieldDescription>
  127. </field>
  128. <field name="pickTime" class="java.time.LocalDateTime">
  129. <property name="com.jaspersoft.studio.field.name" value="pickTime"/>
  130. <property name="com.jaspersoft.studio.field.label" value="pickTime"/>
  131. <property name="com.jaspersoft.studio.field.tree.path" value="stock_out_line"/>
  132. <fieldDescription><![CDATA[]]></fieldDescription>
  133. </field>
  134. <field name="qtyJan" class="java.math.BigDecimal">
  135. <property name="com.jaspersoft.studio.field.name" value="qty"/>
  136. <property name="com.jaspersoft.studio.field.label" value="qty"/>
  137. <property name="com.jaspersoft.studio.field.tree.path" value="stock_out_line"/>
  138. <fieldDescription><![CDATA[]]></fieldDescription>
  139. </field>
  140. <field name="qtyFeb" class="java.math.BigDecimal">
  141. <property name="com.jaspersoft.studio.field.name" value="qty"/>
  142. <property name="com.jaspersoft.studio.field.label" value="qty"/>
  143. <property name="com.jaspersoft.studio.field.tree.path" value="stock_out_line"/>
  144. <fieldDescription><![CDATA[]]></fieldDescription>
  145. </field>
  146. <field name="qtyMar" class="java.math.BigDecimal">
  147. <property name="com.jaspersoft.studio.field.name" value="qty"/>
  148. <property name="com.jaspersoft.studio.field.label" value="qty"/>
  149. <property name="com.jaspersoft.studio.field.tree.path" value="stock_out_line"/>
  150. <fieldDescription><![CDATA[]]></fieldDescription>
  151. </field>
  152. <field name="qtyApr" class="java.math.BigDecimal">
  153. <property name="com.jaspersoft.studio.field.name" value="qty"/>
  154. <property name="com.jaspersoft.studio.field.label" value="qty"/>
  155. <property name="com.jaspersoft.studio.field.tree.path" value="stock_out_line"/>
  156. <fieldDescription><![CDATA[]]></fieldDescription>
  157. </field>
  158. <field name="qtyMay" class="java.math.BigDecimal">
  159. <property name="com.jaspersoft.studio.field.name" value="qty"/>
  160. <property name="com.jaspersoft.studio.field.label" value="qty"/>
  161. <property name="com.jaspersoft.studio.field.tree.path" value="stock_out_line"/>
  162. <fieldDescription><![CDATA[]]></fieldDescription>
  163. </field>
  164. <field name="qtyJun" class="java.math.BigDecimal">
  165. <property name="com.jaspersoft.studio.field.name" value="qty"/>
  166. <property name="com.jaspersoft.studio.field.label" value="qty"/>
  167. <property name="com.jaspersoft.studio.field.tree.path" value="stock_out_line"/>
  168. <fieldDescription><![CDATA[]]></fieldDescription>
  169. </field>
  170. <field name="qtyJul" class="java.math.BigDecimal">
  171. <property name="com.jaspersoft.studio.field.name" value="qty"/>
  172. <property name="com.jaspersoft.studio.field.label" value="qty"/>
  173. <property name="com.jaspersoft.studio.field.tree.path" value="stock_out_line"/>
  174. <fieldDescription><![CDATA[]]></fieldDescription>
  175. </field>
  176. <field name="qtyAug" class="java.math.BigDecimal">
  177. <property name="com.jaspersoft.studio.field.name" value="qty"/>
  178. <property name="com.jaspersoft.studio.field.label" value="qty"/>
  179. <property name="com.jaspersoft.studio.field.tree.path" value="stock_out_line"/>
  180. <fieldDescription><![CDATA[]]></fieldDescription>
  181. </field>
  182. <field name="qtySep" class="java.math.BigDecimal">
  183. <property name="com.jaspersoft.studio.field.name" value="qty"/>
  184. <property name="com.jaspersoft.studio.field.label" value="qty"/>
  185. <property name="com.jaspersoft.studio.field.tree.path" value="stock_out_line"/>
  186. <fieldDescription><![CDATA[]]></fieldDescription>
  187. </field>
  188. <field name="qtyOct" class="java.math.BigDecimal">
  189. <property name="com.jaspersoft.studio.field.name" value="qty"/>
  190. <property name="com.jaspersoft.studio.field.label" value="qty"/>
  191. <property name="com.jaspersoft.studio.field.tree.path" value="stock_out_line"/>
  192. <fieldDescription><![CDATA[]]></fieldDescription>
  193. </field>
  194. <field name="qtyNov" class="java.math.BigDecimal">
  195. <property name="com.jaspersoft.studio.field.name" value="qty"/>
  196. <property name="com.jaspersoft.studio.field.label" value="qty"/>
  197. <property name="com.jaspersoft.studio.field.tree.path" value="stock_out_line"/>
  198. <fieldDescription><![CDATA[]]></fieldDescription>
  199. </field>
  200. <field name="qtyDec" class="java.math.BigDecimal">
  201. <property name="com.jaspersoft.studio.field.name" value="qty"/>
  202. <property name="com.jaspersoft.studio.field.label" value="qty"/>
  203. <property name="com.jaspersoft.studio.field.tree.path" value="stock_out_line"/>
  204. <fieldDescription><![CDATA[]]></fieldDescription>
  205. </field>
  206. <field name="unitOfMeasure" class="java.lang.String"/>
  207. <field name="totalProductionQty" class="java.lang.String"/>
  208. <field name="Field_1" class="java.lang.String"/>
  209. <group name="Group1">
  210. <groupExpression><![CDATA[$F{itemNo}]]></groupExpression>
  211. <groupHeader>
  212. <band height="26">
  213. <textField textAdjust="StretchHeight" pattern="#,##0">
  214. <reportElement x="380" y="0" width="45" height="20" uuid="0f873665-fc42-4c6d-bb26-7f80537edb34">
  215. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  216. </reportElement>
  217. <textElement textAlignment="Right" verticalAlignment="Middle">
  218. <font fontName="微軟正黑體" size="10"/>
  219. </textElement>
  220. <textFieldExpression><![CDATA[$F{qtyMay}]]></textFieldExpression>
  221. </textField>
  222. <textField textAdjust="StretchHeight" pattern="#,##0">
  223. <reportElement x="560" y="0" width="45" height="20" uuid="bef5a00a-cc6c-4505-a170-0df341cc0a0b">
  224. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  225. </reportElement>
  226. <textElement textAlignment="Right" verticalAlignment="Middle">
  227. <font fontName="微軟正黑體" size="10"/>
  228. </textElement>
  229. <textFieldExpression><![CDATA[$F{qtySep}]]></textFieldExpression>
  230. </textField>
  231. <textField textAdjust="StretchHeight" pattern="#,##0">
  232. <reportElement x="335" y="0" width="45" height="20" uuid="ca9e080a-3a8b-4924-8197-6fa302b149c2">
  233. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  234. </reportElement>
  235. <textElement textAlignment="Right" verticalAlignment="Middle">
  236. <font fontName="微軟正黑體" size="10"/>
  237. </textElement>
  238. <textFieldExpression><![CDATA[$F{qtyApr}]]></textFieldExpression>
  239. </textField>
  240. <textField textAdjust="StretchHeight" pattern="#,##0">
  241. <reportElement x="200" y="0" width="45" height="20" uuid="06ace712-1de4-4cc0-b8d7-c56a08a0dbc6"/>
  242. <textElement textAlignment="Right" verticalAlignment="Middle">
  243. <font fontName="微軟正黑體" size="10"/>
  244. </textElement>
  245. <textFieldExpression><![CDATA[$F{qtyJan}]]></textFieldExpression>
  246. </textField>
  247. <textField textAdjust="StretchHeight" pattern="#,##0">
  248. <reportElement x="425" y="0" width="45" height="20" uuid="fc7e228a-ea4f-4990-b3f3-a17a7899a24a">
  249. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  250. </reportElement>
  251. <textElement textAlignment="Right" verticalAlignment="Middle">
  252. <font fontName="微軟正黑體" size="10"/>
  253. </textElement>
  254. <textFieldExpression><![CDATA[$F{qtyJun}]]></textFieldExpression>
  255. </textField>
  256. <textField textAdjust="StretchHeight" pattern="#,##0">
  257. <reportElement x="740" y="0" width="50" height="20" uuid="be0fb0b2-ce4d-4a20-8cf3-9049a58ae21e">
  258. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  259. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  260. </reportElement>
  261. <textElement textAlignment="Right" verticalAlignment="Middle">
  262. <font fontName="微軟正黑體" size="10"/>
  263. </textElement>
  264. <textFieldExpression><![CDATA[$F{totalProductionQty} != null && !$F{totalProductionQty}.isEmpty() ? new java.math.BigDecimal($F{totalProductionQty}) : new java.math.BigDecimal("0")]]></textFieldExpression>
  265. </textField>
  266. <textField textAdjust="StretchHeight" pattern="#,##0">
  267. <reportElement x="515" y="0" width="45" height="20" uuid="826bb018-835b-4c05-bd4e-8bbfabdfbfe8">
  268. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  269. </reportElement>
  270. <textElement textAlignment="Right" verticalAlignment="Middle">
  271. <font fontName="微軟正黑體" size="10"/>
  272. </textElement>
  273. <textFieldExpression><![CDATA[$F{qtyAug}]]></textFieldExpression>
  274. </textField>
  275. <textField textAdjust="StretchHeight" pattern="#,##0">
  276. <reportElement x="605" y="0" width="45" height="20" uuid="a6d6a1e2-e02a-4ff3-aac8-aa81af99f40a">
  277. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  278. </reportElement>
  279. <textElement textAlignment="Right" verticalAlignment="Middle">
  280. <font fontName="微軟正黑體" size="10"/>
  281. </textElement>
  282. <textFieldExpression><![CDATA[$F{qtyOct}]]></textFieldExpression>
  283. </textField>
  284. <textField textAdjust="StretchHeight" pattern="#,##0">
  285. <reportElement x="695" y="0" width="45" height="20" uuid="1525fa22-1c84-44dd-bf81-80a0cc14bc7d">
  286. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  287. </reportElement>
  288. <textElement textAlignment="Right" verticalAlignment="Middle">
  289. <font fontName="微軟正黑體" size="10"/>
  290. </textElement>
  291. <textFieldExpression><![CDATA[$F{qtyDec}]]></textFieldExpression>
  292. </textField>
  293. <textField textAdjust="StretchHeight" pattern="#,##0">
  294. <reportElement x="470" y="0" width="45" height="20" uuid="609cce9b-4703-441d-91c0-5ee489a324ac">
  295. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  296. </reportElement>
  297. <textElement textAlignment="Right" verticalAlignment="Middle">
  298. <font fontName="微軟正黑體" size="10"/>
  299. </textElement>
  300. <textFieldExpression><![CDATA[$F{qtyJul}]]></textFieldExpression>
  301. </textField>
  302. <textField textAdjust="StretchHeight" pattern="#,##0">
  303. <reportElement x="290" y="0" width="45" height="20" uuid="4d98e638-347d-46fe-9379-cebb088c43a1">
  304. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  305. </reportElement>
  306. <textElement textAlignment="Right" verticalAlignment="Middle">
  307. <font fontName="微軟正黑體" size="10"/>
  308. </textElement>
  309. <textFieldExpression><![CDATA[$F{qtyMar}]]></textFieldExpression>
  310. </textField>
  311. <textField textAdjust="StretchHeight" pattern="#,##0">
  312. <reportElement x="245" y="0" width="45" height="20" uuid="bccf4a6c-8364-4a2e-be89-8e0d35154f06">
  313. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  314. </reportElement>
  315. <textElement textAlignment="Right" verticalAlignment="Middle">
  316. <font fontName="微軟正黑體" size="10"/>
  317. </textElement>
  318. <textFieldExpression><![CDATA[$F{qtyFeb}]]></textFieldExpression>
  319. </textField>
  320. <textField textAdjust="StretchHeight" pattern="#,##0">
  321. <reportElement x="650" y="0" width="45" height="20" uuid="933ea07b-1ecc-4f91-b522-9fb5382fbf5b">
  322. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  323. </reportElement>
  324. <textElement textAlignment="Right" verticalAlignment="Middle">
  325. <font fontName="微軟正黑體" size="10"/>
  326. </textElement>
  327. <textFieldExpression><![CDATA[$F{qtyNov}]]></textFieldExpression>
  328. </textField>
  329. <line>
  330. <reportElement x="2" y="25" width="799" height="1" forecolor="#FFFFFF" uuid="11838f15-8aaa-4e74-9a58-e8aba6aa0829">
  331. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  332. </reportElement>
  333. </line>
  334. <textField textAdjust="StretchHeight" pattern="#,##0">
  335. <reportElement x="130" y="0" width="70" height="20" uuid="706364a0-8ea7-431c-bc55-20bf992444f0"/>
  336. <textElement textAlignment="Left" verticalAlignment="Middle">
  337. <font fontName="微軟正黑體" size="10"/>
  338. </textElement>
  339. <textFieldExpression><![CDATA[$F{unitOfMeasure}]]></textFieldExpression>
  340. </textField>
  341. <textField textAdjust="StretchHeight" pattern="#,##0">
  342. <reportElement x="58" y="0" width="72" height="20" uuid="609581cc-3ece-4ae4-a98c-521557ddce96"/>
  343. <textElement textAlignment="Left" verticalAlignment="Middle">
  344. <font fontName="微軟正黑體" size="10"/>
  345. </textElement>
  346. <textFieldExpression><![CDATA[$F{itemName}]]></textFieldExpression>
  347. </textField>
  348. <textField textAdjust="StretchHeight" pattern="#,##0">
  349. <reportElement x="10" y="0" width="48" height="20" uuid="8e350572-f869-42ab-8fca-d0f03f9334f9"/>
  350. <textElement textAlignment="Left" verticalAlignment="Middle">
  351. <font fontName="微軟正黑體" size="10"/>
  352. </textElement>
  353. <textFieldExpression><![CDATA[$F{itemNo}]]></textFieldExpression>
  354. </textField>
  355. </band>
  356. </groupHeader>
  357. </group>
  358. <pageHeader>
  359. <band height="86" splitType="Stretch">
  360. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  361. <textField evaluationTime="Report">
  362. <reportElement x="768" y="0" width="30" height="23" uuid="6e9ed0a2-e1e6-4533-a786-f086b868a84c">
  363. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  364. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  365. </reportElement>
  366. <textElement textAlignment="Center" verticalAlignment="Middle"/>
  367. <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
  368. </textField>
  369. <staticText>
  370. <reportElement x="677" y="0" width="40" height="23" uuid="5a9e0fa9-418d-4838-9f82-e2f336e5bce7">
  371. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  372. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  373. </reportElement>
  374. <textElement textAlignment="Center" verticalAlignment="Middle">
  375. <font fontName="微軟正黑體" size="12"/>
  376. </textElement>
  377. <text><![CDATA[頁數]]></text>
  378. </staticText>
  379. <staticText>
  380. <reportElement x="747" y="0" width="21" height="23" uuid="26d3d09c-48aa-4870-822a-c403e7faddfa">
  381. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  382. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  383. </reportElement>
  384. <textElement textAlignment="Center" verticalAlignment="Middle">
  385. <font fontName="微軟正黑體" size="12"/>
  386. </textElement>
  387. <text><![CDATA[/]]></text>
  388. </staticText>
  389. <textField>
  390. <reportElement x="717" y="0" width="30" height="23" uuid="0c758a26-1c7f-484d-919e-d215917e9216">
  391. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  392. </reportElement>
  393. <textElement textAlignment="Center" verticalAlignment="Middle"/>
  394. <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
  395. </textField>
  396. <staticText>
  397. <reportElement x="10" y="30" width="90" height="23" uuid="0daddd8b-ca61-42af-9c2b-cbf11b7d7dac">
  398. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  399. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  400. </reportElement>
  401. <textElement textAlignment="Left" verticalAlignment="Middle">
  402. <font fontName="微軟正黑體" size="12" isBold="true"/>
  403. </textElement>
  404. <text><![CDATA[報告日期:]]></text>
  405. </staticText>
  406. <textField>
  407. <reportElement x="738" y="52" width="60" height="23" uuid="53b66bc3-4925-4340-add0-b4f2069a76c1"/>
  408. <textElement textAlignment="Left" verticalAlignment="Middle">
  409. <font fontName="微軟正黑體" size="12" isBold="true"/>
  410. </textElement>
  411. <textFieldExpression><![CDATA[$P{year}]]></textFieldExpression>
  412. </textField>
  413. <staticText>
  414. <reportElement x="670" y="29" width="68" height="23" uuid="e2be43a3-3570-4a4e-a671-d96f872a5ad7">
  415. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  416. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  417. </reportElement>
  418. <textElement textAlignment="Left" verticalAlignment="Middle">
  419. <font fontName="微軟正黑體" size="12" isBold="true"/>
  420. </textElement>
  421. <text><![CDATA[報告時間:]]></text>
  422. </staticText>
  423. <staticText>
  424. <reportElement x="670" y="52" width="68" height="23" uuid="29ed871d-3417-4978-9799-964389143451">
  425. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  426. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  427. </reportElement>
  428. <textElement textAlignment="Left" verticalAlignment="Middle">
  429. <font fontName="微軟正黑體" size="12" isBold="true"/>
  430. </textElement>
  431. <text><![CDATA[年份:]]></text>
  432. </staticText>
  433. <textField>
  434. <reportElement x="738" y="29" width="60" height="23" uuid="cb1fbb06-e953-40e5-bdbe-5fc219f7c884"/>
  435. <textElement textAlignment="Left" verticalAlignment="Middle">
  436. <font fontName="微軟正黑體" size="12" isBold="true"/>
  437. </textElement>
  438. <textFieldExpression><![CDATA[$P{reportTime}]]></textFieldExpression>
  439. </textField>
  440. <textField>
  441. <reportElement x="100" y="30" width="190" height="23" uuid="d398cf17-318c-4c16-a8bf-6f064e911965"/>
  442. <textElement verticalAlignment="Middle">
  443. <font fontName="微軟正黑體" size="12" isBold="true"/>
  444. </textElement>
  445. <textFieldExpression><![CDATA[$P{reportDate}]]></textFieldExpression>
  446. </textField>
  447. <staticText>
  448. <reportElement x="300" y="0" width="210" height="23" uuid="7451001b-6d5a-438c-82db-2b9e687d9a27">
  449. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  450. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  451. </reportElement>
  452. <textElement textAlignment="Center" verticalAlignment="Middle">
  453. <font fontName="微軟正黑體" size="16" isBold="true"/>
  454. </textElement>
  455. <text><![CDATA[庫存材料消耗趨勢報告]]></text>
  456. </staticText>
  457. <textField>
  458. <reportElement x="100" y="53" width="336" height="23" uuid="b51949e1-c40a-4db0-a799-4243555893fd">
  459. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  460. </reportElement>
  461. <textElement textAlignment="Left" verticalAlignment="Middle">
  462. <font fontName="微軟正黑體" size="12" isBold="true"/>
  463. </textElement>
  464. <textFieldExpression><![CDATA[$P{lastOutDateStart} + " 到 " + $P{lastOutDateEnd}]]></textFieldExpression>
  465. </textField>
  466. <staticText>
  467. <reportElement x="10" y="53" width="90" height="23" uuid="fb09a559-f5fa-4e56-a891-87c600a2745a">
  468. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  469. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  470. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  471. </reportElement>
  472. <textElement textAlignment="Left" verticalAlignment="Middle">
  473. <font fontName="微軟正黑體" size="12" isBold="true"/>
  474. </textElement>
  475. <text><![CDATA[材料消耗日期:]]></text>
  476. </staticText>
  477. <line>
  478. <reportElement x="2" y="80" width="799" height="1" uuid="9e9ba4e3-e369-4180-b01b-1b581e8fa00d">
  479. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  480. </reportElement>
  481. </line>
  482. </band>
  483. </pageHeader>
  484. <columnHeader>
  485. <band height="28">
  486. <staticText>
  487. <reportElement x="200" y="0" width="45" height="20" uuid="e4267f38-4a00-4a22-965d-9ab531262592">
  488. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  489. </reportElement>
  490. <textElement textAlignment="Right" verticalAlignment="Middle">
  491. <font fontName="微軟正黑體" size="10" isBold="true"/>
  492. </textElement>
  493. <text><![CDATA[一月]]></text>
  494. </staticText>
  495. <staticText>
  496. <reportElement x="650" y="0" width="45" height="20" uuid="e51758d1-2a7e-4fef-8b41-206e9aa6c611">
  497. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  498. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  499. </reportElement>
  500. <textElement textAlignment="Right" verticalAlignment="Middle">
  501. <font fontName="微軟正黑體" size="10" isBold="true"/>
  502. </textElement>
  503. <text><![CDATA[十一月]]></text>
  504. </staticText>
  505. <staticText>
  506. <reportElement x="695" y="0" width="45" height="20" uuid="d7c79995-7b3c-4622-8d08-6b4a87345cbe">
  507. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  508. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  509. </reportElement>
  510. <textElement textAlignment="Right" verticalAlignment="Middle">
  511. <font fontName="微軟正黑體" size="10" isBold="true"/>
  512. </textElement>
  513. <text><![CDATA[十二月]]></text>
  514. </staticText>
  515. <staticText>
  516. <reportElement x="290" y="0" width="45" height="20" uuid="ac124afb-3aa8-4ec6-b4a8-8de161e8bbc5">
  517. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  518. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  519. </reportElement>
  520. <textElement textAlignment="Right" verticalAlignment="Middle">
  521. <font fontName="微軟正黑體" size="10" isBold="true"/>
  522. </textElement>
  523. <text><![CDATA[三月]]></text>
  524. </staticText>
  525. <staticText>
  526. <reportElement x="740" y="0" width="50" height="20" uuid="f092d4db-d5c5-4515-a826-8fec621a8992">
  527. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  528. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  529. </reportElement>
  530. <textElement textAlignment="Right" verticalAlignment="Middle">
  531. <font fontName="微軟正黑體" size="10" isBold="true"/>
  532. </textElement>
  533. <text><![CDATA[總和]]></text>
  534. </staticText>
  535. <staticText>
  536. <reportElement x="560" y="0" width="45" height="20" uuid="85c77a9b-c044-4bc2-8cd9-3b0058e4b74e">
  537. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  538. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  539. </reportElement>
  540. <textElement textAlignment="Right" verticalAlignment="Middle">
  541. <font fontName="微軟正黑體" size="10" isBold="true"/>
  542. </textElement>
  543. <text><![CDATA[九月]]></text>
  544. </staticText>
  545. <staticText>
  546. <reportElement x="245" y="0" width="45" height="20" uuid="ec7698ae-c92b-4b44-9f7a-28f10ba5f385">
  547. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  548. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  549. </reportElement>
  550. <textElement textAlignment="Right" verticalAlignment="Middle" markup="html">
  551. <font fontName="微軟正黑體" size="10" isBold="true"/>
  552. </textElement>
  553. <text><![CDATA[二月]]></text>
  554. </staticText>
  555. <staticText>
  556. <reportElement x="380" y="0" width="45" height="20" uuid="5204319c-5b4e-421b-9493-4dd988caca52">
  557. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  558. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  559. </reportElement>
  560. <textElement textAlignment="Right" verticalAlignment="Middle">
  561. <font fontName="微軟正黑體" size="10" isBold="true"/>
  562. </textElement>
  563. <text><![CDATA[五月]]></text>
  564. </staticText>
  565. <staticText>
  566. <reportElement x="605" y="0" width="45" height="20" uuid="a6161aa7-2abd-4bb6-894d-ccdd6f9575c4">
  567. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  568. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  569. </reportElement>
  570. <textElement textAlignment="Right" verticalAlignment="Middle">
  571. <font fontName="微軟正黑體" size="10" isBold="true"/>
  572. </textElement>
  573. <text><![CDATA[十月]]></text>
  574. </staticText>
  575. <staticText>
  576. <reportElement x="425" y="0" width="45" height="20" uuid="424446ec-655d-4bff-a30a-61e898dbc7ad">
  577. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  578. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  579. </reportElement>
  580. <textElement textAlignment="Right" verticalAlignment="Middle">
  581. <font fontName="微軟正黑體" size="10" isBold="true"/>
  582. </textElement>
  583. <text><![CDATA[六月]]></text>
  584. </staticText>
  585. <staticText>
  586. <reportElement x="515" y="0" width="45" height="20" uuid="2a9e0115-d056-4c4b-b0b2-0800f55435ad">
  587. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  588. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  589. </reportElement>
  590. <textElement textAlignment="Right" verticalAlignment="Middle">
  591. <font fontName="微軟正黑體" size="10" isBold="true" isItalic="false"/>
  592. </textElement>
  593. <text><![CDATA[八月]]></text>
  594. </staticText>
  595. <staticText>
  596. <reportElement x="470" y="0" width="45" height="20" uuid="b221e73b-0f35-4036-bffb-9230a495b827">
  597. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  598. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  599. </reportElement>
  600. <textElement textAlignment="Right" verticalAlignment="Middle">
  601. <font fontName="微軟正黑體" size="10" isBold="true"/>
  602. </textElement>
  603. <text><![CDATA[七月]]></text>
  604. </staticText>
  605. <staticText>
  606. <reportElement x="335" y="0" width="45" height="20" uuid="8c5260bc-9079-4f62-803d-1c3e3fc9f41c">
  607. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  608. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  609. </reportElement>
  610. <textElement textAlignment="Right" verticalAlignment="Middle">
  611. <font fontName="微軟正黑體" size="10" isBold="true"/>
  612. </textElement>
  613. <text><![CDATA[四月]]></text>
  614. </staticText>
  615. <line>
  616. <reportElement x="2" y="23" width="799" height="1" uuid="ad5d85ce-e7fe-46c0-9b37-76b2ed3f4152">
  617. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  618. </reportElement>
  619. </line>
  620. <staticText>
  621. <reportElement x="130" y="0" width="70" height="20" uuid="08d93aec-e4ae-46a6-afcb-3af9de518ca6">
  622. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  623. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  624. </reportElement>
  625. <textElement textAlignment="Left" verticalAlignment="Middle">
  626. <font fontName="微軟正黑體" size="10" isBold="true"/>
  627. </textElement>
  628. <text><![CDATA[單位]]></text>
  629. </staticText>
  630. <staticText>
  631. <reportElement x="10" y="0" width="48" height="20" uuid="b4a1a243-36d7-46f7-90ea-b38dd5641a9c">
  632. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  633. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  634. </reportElement>
  635. <textElement textAlignment="Left" verticalAlignment="Middle">
  636. <font fontName="微軟正黑體" size="10" isBold="true"/>
  637. </textElement>
  638. <text><![CDATA[貨品編號]]></text>
  639. </staticText>
  640. <staticText>
  641. <reportElement x="58" y="0" width="72" height="20" uuid="0b6e2d73-ed45-46c8-b330-07d81fe7f2da">
  642. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  643. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  644. </reportElement>
  645. <textElement textAlignment="Left" verticalAlignment="Middle">
  646. <font fontName="微軟正黑體" size="10" isBold="true"/>
  647. </textElement>
  648. <text><![CDATA[貨品名稱]]></text>
  649. </staticText>
  650. </band>
  651. </columnHeader>
  652. </jasperReport>