PrimaWithdrawal.jrxml 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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="PrimaWithdrawal" language="groovy" pageWidth="2520" pageHeight="1190" orientation="Landscape" whenNoDataType="AllSectionsNoDetail" columnWidth="2520" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" isIgnorePagination="true">
  3. <property name="ireport.zoom" value="1.0"/>
  4. <property name="ireport.x" value="0"/>
  5. <property name="ireport.y" value="0"/>
  6. <parameter name="START_DATE" class="java.util.Date">
  7. <defaultValueExpression><![CDATA[new Date()]]></defaultValueExpression>
  8. </parameter>
  9. <parameter name="END_DATE" class="java.util.Date">
  10. <defaultValueExpression><![CDATA[new Date()]]></defaultValueExpression>
  11. </parameter>
  12. <parameter name="STR_DATE" class="java.util.Date" isForPrompting="false">
  13. <defaultValueExpression><![CDATA[new java.util.Date($P{START_DATE}.getTime() - 24*60*60*1000)]]></defaultValueExpression>
  14. </parameter>
  15. <queryString>
  16. <![CDATA[SELECT * FROM (SELECT DATE(A01)CORE01,(A02)CORE02,(A03)CORE03,(A06)CORE06,(A07)CORE07,(A14)CORE14,(A15)CORE15,(A16)CORE16, (A21)CORE21,(A22)CORE22 FROM MWTEMP.TEMPTABLE WHERE A03 IN ('5130','5131') AND A22 = 'BTN_PRIMA' AND ((A01 = $P{STR_DATE} and substr(A02,1,2) >= '23') OR (A01 = $P{END_DATE} and substr(A02,1,2) < '23'))) AS CORE FULL JOIN (SELECT DATE(A01)PRIMA01,(A02)PRIMA02,(A03)PRIMA03,(A04)PRIMA04,(A05)PRIMA05,(A06)PRIMA06,(A07)PRIMA07,(A08)PRIMA08,(A09)PRIMA09, (A10)PRIMA10, (A11)PRIMA11, (A12)PRIMA12, (A14)PRIMA14,(A15)PRIMA15,(A16)PRIMA16,(A17)PRIMA17,(A22)PRIMA22 FROM MWTEMP.TEMPTABLE WHERE A22 LIKE $P{START_DATE}||'_PRIMA_R1' AND ((A01 = $P{STR_DATE} and substr(A02,1,2) >= '23') OR
  17. (A01 = $P{END_DATE} and substr(A02,1,2) < '23'))) AS PRIMA ON CORE.CORE01 = PRIMA.PRIMA01 AND CORE.CORE02 = PRIMA.PRIMA02 AND CORE.CORE14= PRIMA.PRIMA14 WHERE
  18. ((PRIMA.PRIMA17 = 'BERHASIL' AND CORE.CORE14 IS NULL ) OR (PRIMA.PRIMA17 = 'GAGAL' AND CORE.CORE14 IS NOT NULL) OR (PRIMA.PRIMA14 IS NULL AND CORE.CORE14 IS NOT NULL))
  19. AND (CORE.CORE03 NOT IN('5132','5133') OR (PRIMA.PRIMA03 = '10')) ORDER BY CORE.CORE02]]>
  20. </queryString>
  21. <field name="CORE01" class="java.sql.Date"/>
  22. <field name="CORE02" class="java.lang.String"/>
  23. <field name="CORE03" class="java.lang.String"/>
  24. <field name="CORE06" class="java.lang.String"/>
  25. <field name="CORE07" class="java.lang.String"/>
  26. <field name="CORE14" class="java.lang.String"/>
  27. <field name="CORE15" class="java.lang.String"/>
  28. <field name="CORE16" class="java.lang.String"/>
  29. <field name="CORE21" class="java.lang.String"/>
  30. <field name="CORE22" class="java.lang.String"/>
  31. <field name="PRIMA01" class="java.sql.Date"/>
  32. <field name="PRIMA02" class="java.lang.String"/>
  33. <field name="PRIMA03" class="java.lang.String"/>
  34. <field name="PRIMA04" class="java.lang.String"/>
  35. <field name="PRIMA05" class="java.lang.String"/>
  36. <field name="PRIMA06" class="java.lang.String"/>
  37. <field name="PRIMA07" class="java.lang.String"/>
  38. <field name="PRIMA08" class="java.lang.String"/>
  39. <field name="PRIMA09" class="java.lang.String"/>
  40. <field name="PRIMA10" class="java.lang.String"/>
  41. <field name="PRIMA11" class="java.lang.String"/>
  42. <field name="PRIMA12" class="java.lang.String"/>
  43. <field name="PRIMA14" class="java.lang.String"/>
  44. <field name="PRIMA15" class="java.lang.String"/>
  45. <field name="PRIMA16" class="java.lang.String"/>
  46. <field name="PRIMA17" class="java.lang.String"/>
  47. <field name="PRIMA22" class="java.lang.String"/>
  48. <variable name="COUNT" class="java.lang.Integer" resetType="Group" resetGroup="STATUS" incrementType="Column">
  49. <variableExpression><![CDATA[$V{COUNT}+1]]></variableExpression>
  50. <initialValueExpression><![CDATA[0]]></initialValueExpression>
  51. </variable>
  52. <variable name="STATUS_DESC" class="java.lang.String" resetType="Group" resetGroup="STATUS">
  53. <variableExpression><![CDATA[$F{PRIMA17}=="BERHASIL"?"Prima Approve Core Failed":"Prima Failed Core Approve"]]></variableExpression>
  54. <initialValueExpression><![CDATA[$F{PRIMA17}=="BERHASIL"?"Prima Approve Core Failed":"Prima Failed Core Approve"]]></initialValueExpression>
  55. </variable>
  56. <variable name="SUM_CORE" class="java.math.BigDecimal" resetType="Group" resetGroup="STATUS" calculation="Sum">
  57. <variableExpression><![CDATA[$F{CORE06}==null?java.math.BigDecimal.ZERO:new java.math.BigDecimal($F{CORE06})]]></variableExpression>
  58. <initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
  59. </variable>
  60. <variable name="SUM_PRIMA" class="java.math.BigDecimal" resetType="Group" resetGroup="STATUS" calculation="Sum">
  61. <variableExpression><![CDATA[$F{PRIMA06}==null?java.math.BigDecimal.ZERO:new BigDecimal(NumberFormat.getNumberInstance(new Locale("en")).parse($F{PRIMA06}))]]></variableExpression>
  62. <initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
  63. </variable>
  64. <variable name="ZERO_APPEND" class="java.lang.String">
  65. <variableExpression><![CDATA["0000000000000000"]]></variableExpression>
  66. <initialValueExpression><![CDATA[""]]></initialValueExpression>
  67. </variable>
  68. <variable name="TEMP" class="java.lang.String">
  69. <variableExpression><![CDATA[($V{ZERO_APPEND}.concat($F{CORE16})).substring(($V{ZERO_APPEND}.concat($F{CORE16})).length()-16,($V{ZERO_APPEND}.concat($F{CORE16})).length())]]></variableExpression>
  70. <initialValueExpression><![CDATA[""]]></initialValueExpression>
  71. </variable>
  72. <variable name="SOURCE" class="java.lang.String">
  73. <variableExpression><![CDATA[new SimpleDateFormat("yyMMdd").format(new SimpleDateFormat("yyyy-MM-dd").parse($F{PRIMA22}.substring(0, $F{PRIMA22}.indexOf("_PRIMA_"))))+$F{PRIMA22}.substring( $F{PRIMA22}.lastIndexOf("_")+1)+".TXT"]]></variableExpression>
  74. </variable>
  75. <group name="STATUS">
  76. <groupExpression><![CDATA[$F{PRIMA11}]]></groupExpression>
  77. <groupHeader>
  78. <band height="80">
  79. <staticText>
  80. <reportElement x="0" y="60" width="37" height="20"/>
  81. <box>
  82. <topPen lineWidth="1.0"/>
  83. <leftPen lineWidth="1.0"/>
  84. <bottomPen lineWidth="1.0"/>
  85. <rightPen lineWidth="1.0"/>
  86. </box>
  87. <textElement textAlignment="Center"/>
  88. <text><![CDATA[No]]></text>
  89. </staticText>
  90. <staticText>
  91. <reportElement x="37" y="60" width="90" height="20"/>
  92. <box>
  93. <topPen lineWidth="1.0"/>
  94. <leftPen lineWidth="1.0"/>
  95. <bottomPen lineWidth="1.0"/>
  96. <rightPen lineWidth="1.0"/>
  97. </box>
  98. <textElement textAlignment="Center"/>
  99. <text><![CDATA[Date]]></text>
  100. </staticText>
  101. <staticText>
  102. <reportElement x="127" y="60" width="87" height="20"/>
  103. <box>
  104. <topPen lineWidth="1.0"/>
  105. <leftPen lineWidth="1.0"/>
  106. <bottomPen lineWidth="1.0"/>
  107. <rightPen lineWidth="1.0"/>
  108. </box>
  109. <textElement textAlignment="Center"/>
  110. <text><![CDATA[Time]]></text>
  111. </staticText>
  112. <staticText>
  113. <reportElement x="214" y="60" width="128" height="20"/>
  114. <box>
  115. <topPen lineWidth="1.0"/>
  116. <leftPen lineWidth="1.0"/>
  117. <bottomPen lineWidth="1.0"/>
  118. <rightPen lineWidth="1.0"/>
  119. </box>
  120. <textElement textAlignment="Center"/>
  121. <text><![CDATA[Reff]]></text>
  122. </staticText>
  123. <staticText>
  124. <reportElement x="342" y="60" width="143" height="20"/>
  125. <box>
  126. <topPen lineWidth="1.0"/>
  127. <leftPen lineWidth="1.0"/>
  128. <bottomPen lineWidth="1.0"/>
  129. <rightPen lineWidth="1.0"/>
  130. </box>
  131. <textElement textAlignment="Center"/>
  132. <text><![CDATA[Amount]]></text>
  133. </staticText>
  134. <staticText>
  135. <reportElement x="485" y="60" width="70" height="20"/>
  136. <box>
  137. <topPen lineWidth="1.0"/>
  138. <leftPen lineWidth="1.0"/>
  139. <bottomPen lineWidth="1.0"/>
  140. <rightPen lineWidth="1.0"/>
  141. </box>
  142. <textElement textAlignment="Center"/>
  143. <text><![CDATA[Trans Code]]></text>
  144. </staticText>
  145. <staticText>
  146. <reportElement x="555" y="60" width="130" height="20"/>
  147. <box>
  148. <topPen lineWidth="1.0"/>
  149. <leftPen lineWidth="1.0"/>
  150. <bottomPen lineWidth="1.0"/>
  151. <rightPen lineWidth="1.0"/>
  152. </box>
  153. <textElement textAlignment="Center"/>
  154. <text><![CDATA[Account No]]></text>
  155. </staticText>
  156. <staticText>
  157. <reportElement x="815" y="60" width="117" height="20"/>
  158. <box>
  159. <topPen lineWidth="1.0"/>
  160. <leftPen lineWidth="1.0"/>
  161. <bottomPen lineWidth="1.0"/>
  162. <rightPen lineWidth="1.0"/>
  163. </box>
  164. <textElement textAlignment="Center"/>
  165. <text><![CDATA[Term-ID]]></text>
  166. </staticText>
  167. <staticText>
  168. <reportElement x="1022" y="60" width="87" height="20"/>
  169. <box>
  170. <topPen lineWidth="1.0"/>
  171. <leftPen lineWidth="1.0"/>
  172. <bottomPen lineWidth="1.0"/>
  173. <rightPen lineWidth="1.0"/>
  174. </box>
  175. <textElement textAlignment="Center"/>
  176. <text><![CDATA[Time]]></text>
  177. </staticText>
  178. <staticText>
  179. <reportElement x="932" y="60" width="90" height="20"/>
  180. <box>
  181. <topPen lineWidth="1.0"/>
  182. <leftPen lineWidth="1.0"/>
  183. <bottomPen lineWidth="1.0"/>
  184. <rightPen lineWidth="1.0"/>
  185. </box>
  186. <textElement textAlignment="Center"/>
  187. <text><![CDATA[Date]]></text>
  188. </staticText>
  189. <staticText>
  190. <reportElement x="1398" y="60" width="143" height="20"/>
  191. <box>
  192. <topPen lineWidth="1.0"/>
  193. <leftPen lineWidth="1.0"/>
  194. <bottomPen lineWidth="1.0"/>
  195. <rightPen lineWidth="1.0"/>
  196. </box>
  197. <textElement textAlignment="Center"/>
  198. <text><![CDATA[Amount]]></text>
  199. </staticText>
  200. <staticText>
  201. <reportElement x="1109" y="60" width="161" height="20"/>
  202. <box>
  203. <topPen lineWidth="1.0"/>
  204. <leftPen lineWidth="1.0"/>
  205. <bottomPen lineWidth="1.0"/>
  206. <rightPen lineWidth="1.0"/>
  207. </box>
  208. <textElement textAlignment="Center"/>
  209. <text><![CDATA[Card No]]></text>
  210. </staticText>
  211. <staticText>
  212. <reportElement x="1270" y="60" width="128" height="20"/>
  213. <box>
  214. <topPen lineWidth="1.0"/>
  215. <leftPen lineWidth="1.0"/>
  216. <bottomPen lineWidth="1.0"/>
  217. <rightPen lineWidth="1.0"/>
  218. </box>
  219. <textElement textAlignment="Center"/>
  220. <text><![CDATA[Reff]]></text>
  221. </staticText>
  222. <staticText>
  223. <reportElement x="1757" y="60" width="79" height="20"/>
  224. <box>
  225. <topPen lineWidth="1.0"/>
  226. <leftPen lineWidth="1.0"/>
  227. <bottomPen lineWidth="1.0"/>
  228. <rightPen lineWidth="1.0"/>
  229. </box>
  230. <textElement textAlignment="Center"/>
  231. <text><![CDATA[STS]]></text>
  232. </staticText>
  233. <staticText>
  234. <reportElement x="1836" y="60" width="48" height="20"/>
  235. <box>
  236. <topPen lineWidth="1.0"/>
  237. <leftPen lineWidth="1.0"/>
  238. <bottomPen lineWidth="1.0"/>
  239. <rightPen lineWidth="1.0"/>
  240. </box>
  241. <textElement textAlignment="Center"/>
  242. <text><![CDATA[err_code]]></text>
  243. </staticText>
  244. <staticText>
  245. <reportElement x="2139" y="60" width="120" height="20"/>
  246. <box>
  247. <topPen lineWidth="1.0"/>
  248. <leftPen lineWidth="1.0"/>
  249. <bottomPen lineWidth="1.0"/>
  250. <rightPen lineWidth="1.0"/>
  251. </box>
  252. <textElement textAlignment="Center"/>
  253. <text><![CDATA[Location]]></text>
  254. </staticText>
  255. <staticText>
  256. <reportElement x="2259" y="60" width="117" height="20"/>
  257. <box>
  258. <topPen lineWidth="1.0"/>
  259. <leftPen lineWidth="1.0"/>
  260. <bottomPen lineWidth="1.0"/>
  261. <rightPen lineWidth="1.0"/>
  262. </box>
  263. <textElement textAlignment="Center"/>
  264. <text><![CDATA[Term-ID]]></text>
  265. </staticText>
  266. <staticText>
  267. <reportElement x="932" y="40" width="1588" height="20"/>
  268. <box>
  269. <topPen lineWidth="1.0"/>
  270. <leftPen lineWidth="1.0"/>
  271. <bottomPen lineWidth="1.0"/>
  272. <rightPen lineWidth="1.0"/>
  273. </box>
  274. <textElement textAlignment="Center"/>
  275. <text><![CDATA[PRIMA]]></text>
  276. </staticText>
  277. <staticText>
  278. <reportElement x="0" y="40" width="932" height="20"/>
  279. <box>
  280. <topPen lineWidth="1.0" lineStyle="Solid"/>
  281. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  282. <bottomPen lineWidth="1.0" lineStyle="Solid"/>
  283. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  284. </box>
  285. <textElement textAlignment="Center"/>
  286. <text><![CDATA[CORE BTN]]></text>
  287. </staticText>
  288. <staticText>
  289. <reportElement x="0" y="0" width="90" height="20"/>
  290. <box leftPadding="3">
  291. <topPen lineWidth="1.0" lineStyle="Solid"/>
  292. <leftPen lineWidth="1.0"/>
  293. <bottomPen lineWidth="1.0" lineStyle="Solid"/>
  294. <rightPen lineWidth="0.0" lineStyle="Solid"/>
  295. </box>
  296. <textElement/>
  297. <text><![CDATA[Status :]]></text>
  298. </staticText>
  299. <textField>
  300. <reportElement x="90" y="0" width="2430" height="20"/>
  301. <box leftPadding="3">
  302. <topPen lineWidth="1.0" lineStyle="Solid"/>
  303. <leftPen lineWidth="0.0" lineStyle="Solid"/>
  304. <bottomPen lineWidth="1.0"/>
  305. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  306. </box>
  307. <textElement/>
  308. <textFieldExpression class="java.lang.String"><![CDATA[$V{STATUS_DESC}]]></textFieldExpression>
  309. </textField>
  310. <staticText>
  311. <reportElement x="685" y="60" width="130" height="20"/>
  312. <box>
  313. <topPen lineWidth="1.0"/>
  314. <leftPen lineWidth="1.0"/>
  315. <bottomPen lineWidth="1.0"/>
  316. <rightPen lineWidth="1.0"/>
  317. </box>
  318. <textElement textAlignment="Center"/>
  319. <text><![CDATA[Rekening To]]></text>
  320. </staticText>
  321. <staticText>
  322. <reportElement x="2044" y="60" width="95" height="20"/>
  323. <box>
  324. <topPen lineWidth="1.0" lineStyle="Solid"/>
  325. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  326. <bottomPen lineWidth="1.0" lineStyle="Solid"/>
  327. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  328. </box>
  329. <textElement textAlignment="Center"/>
  330. <text><![CDATA[Trace-No]]></text>
  331. </staticText>
  332. <staticText>
  333. <reportElement x="1954" y="60" width="90" height="20"/>
  334. <box>
  335. <topPen lineWidth="1.0" lineStyle="Solid"/>
  336. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  337. <bottomPen lineWidth="1.0" lineStyle="Solid"/>
  338. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  339. </box>
  340. <textElement textAlignment="Center"/>
  341. <text><![CDATA[ Auth-Resp]]></text>
  342. </staticText>
  343. <staticText>
  344. <reportElement x="1884" y="60" width="70" height="20"/>
  345. <box>
  346. <topPen lineWidth="1.0" lineStyle="Solid"/>
  347. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  348. <bottomPen lineWidth="1.0" lineStyle="Solid"/>
  349. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  350. </box>
  351. <textElement textAlignment="Center"/>
  352. <text><![CDATA[RT-CD]]></text>
  353. </staticText>
  354. <staticText>
  355. <reportElement x="0" y="20" width="90" height="20"/>
  356. <box leftPadding="3">
  357. <topPen lineWidth="1.0" lineStyle="Solid"/>
  358. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  359. <bottomPen lineWidth="1.0" lineStyle="Solid"/>
  360. </box>
  361. <textElement/>
  362. <text><![CDATA[Periode :]]></text>
  363. </staticText>
  364. <textField pattern="dd-MM-yyyy">
  365. <reportElement x="90" y="20" width="71" height="20"/>
  366. <box leftPadding="3" rightPadding="3"/>
  367. <textElement/>
  368. <textFieldExpression class="java.util.Date"><![CDATA[$P{START_DATE}]]></textFieldExpression>
  369. </textField>
  370. <staticText>
  371. <reportElement x="161" y="20" width="14" height="20"/>
  372. <box leftPadding="3"/>
  373. <textElement/>
  374. <text><![CDATA[to]]></text>
  375. </staticText>
  376. <textField pattern="dd-MM-yyyy">
  377. <reportElement x="175" y="20" width="2345" height="20"/>
  378. <box leftPadding="3">
  379. <rightPen lineWidth="1.0"/>
  380. </box>
  381. <textElement/>
  382. <textFieldExpression class="java.util.Date"><![CDATA[$P{END_DATE}]]></textFieldExpression>
  383. </textField>
  384. <staticText>
  385. <reportElement x="1617" y="60" width="140" height="20"/>
  386. <box>
  387. <topPen lineWidth="1.0" lineStyle="Solid"/>
  388. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  389. <bottomPen lineWidth="1.0" lineStyle="Solid"/>
  390. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  391. </box>
  392. <textElement textAlignment="Center"/>
  393. <text><![CDATA[Comp-amount]]></text>
  394. </staticText>
  395. <staticText>
  396. <reportElement x="1541" y="60" width="76" height="20"/>
  397. <box>
  398. <topPen lineWidth="1.0" lineStyle="Solid"/>
  399. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  400. <bottomPen lineWidth="1.0" lineStyle="Solid"/>
  401. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  402. </box>
  403. <textElement textAlignment="Center"/>
  404. <text><![CDATA[Type]]></text>
  405. </staticText>
  406. <staticText>
  407. <reportElement x="2376" y="60" width="144" height="20"/>
  408. <box>
  409. <topPen lineWidth="1.0"/>
  410. <leftPen lineWidth="1.0"/>
  411. <bottomPen lineWidth="1.0"/>
  412. <rightPen lineWidth="1.0"/>
  413. </box>
  414. <textElement textAlignment="Center"/>
  415. <text><![CDATA[Source]]></text>
  416. </staticText>
  417. </band>
  418. </groupHeader>
  419. <groupFooter>
  420. <band height="21">
  421. <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="false">
  422. <reportElement x="342" y="1" width="143" height="20"/>
  423. <box rightPadding="3"/>
  424. <textElement textAlignment="Right"/>
  425. <textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{SUM_CORE}]]></textFieldExpression>
  426. </textField>
  427. <textField pattern="#,##0.00">
  428. <reportElement x="1399" y="1" width="142" height="20"/>
  429. <box rightPadding="3"/>
  430. <textElement textAlignment="Right"/>
  431. <textFieldExpression class="java.math.BigDecimal"><![CDATA[$V{SUM_PRIMA}]]></textFieldExpression>
  432. </textField>
  433. <staticText>
  434. <reportElement x="214" y="1" width="128" height="20"/>
  435. <box rightPadding="2"/>
  436. <textElement textAlignment="Right"/>
  437. <text><![CDATA[Rp.]]></text>
  438. </staticText>
  439. <staticText>
  440. <reportElement x="37" y="1" width="177" height="20"/>
  441. <textElement/>
  442. <text><![CDATA[Total Nominal]]></text>
  443. </staticText>
  444. <staticText>
  445. <reportElement x="1270" y="1" width="128" height="20"/>
  446. <textElement textAlignment="Right"/>
  447. <text><![CDATA[Rp.]]></text>
  448. </staticText>
  449. <line>
  450. <reportElement x="0" y="0" width="2520" height="1"/>
  451. </line>
  452. </band>
  453. </groupFooter>
  454. </group>
  455. <background>
  456. <band splitType="Stretch"/>
  457. </background>
  458. <title>
  459. <band height="30" splitType="Stretch">
  460. <staticText>
  461. <reportElement x="0" y="0" width="2520" height="30"/>
  462. <box>
  463. <rightPen lineWidth="1.0"/>
  464. </box>
  465. <textElement textAlignment="Center">
  466. <font size="14" isBold="true"/>
  467. </textElement>
  468. <text><![CDATA[PRIMA WITHDRAWAL]]></text>
  469. </staticText>
  470. </band>
  471. </title>
  472. <detail>
  473. <band height="20" splitType="Stretch">
  474. <textField isStretchWithOverflow="true" pattern="dd-MM-yyyy" isBlankWhenNull="true">
  475. <reportElement x="37" y="0" width="90" height="20"/>
  476. <box>
  477. <topPen lineWidth="1.0" lineStyle="Solid"/>
  478. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  479. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  480. </box>
  481. <textElement/>
  482. <textFieldExpression class="java.util.Date"><![CDATA[$F{CORE01}]]></textFieldExpression>
  483. </textField>
  484. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  485. <reportElement x="127" y="0" width="87" height="20"/>
  486. <box>
  487. <topPen lineWidth="1.0" lineStyle="Solid"/>
  488. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  489. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  490. </box>
  491. <textElement/>
  492. <textFieldExpression class="java.lang.String"><![CDATA[$F{CORE02}]]></textFieldExpression>
  493. </textField>
  494. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  495. <reportElement x="214" y="0" width="128" height="20"/>
  496. <box>
  497. <topPen lineWidth="1.0" lineStyle="Solid"/>
  498. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  499. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  500. </box>
  501. <textElement/>
  502. <textFieldExpression class="java.lang.String"><![CDATA[$F{CORE14}]]></textFieldExpression>
  503. </textField>
  504. <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
  505. <reportElement x="342" y="0" width="143" height="20"/>
  506. <box>
  507. <topPen lineWidth="1.0" lineStyle="Solid"/>
  508. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  509. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  510. </box>
  511. <textElement textAlignment="Right"/>
  512. <textFieldExpression class="java.math.BigDecimal"><![CDATA[new BigDecimal($F{CORE06})]]></textFieldExpression>
  513. </textField>
  514. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  515. <reportElement x="485" y="0" width="70" height="20"/>
  516. <box>
  517. <topPen lineWidth="1.0" lineStyle="Solid"/>
  518. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  519. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  520. </box>
  521. <textElement/>
  522. <textFieldExpression class="java.lang.String"><![CDATA[$F{CORE03}]]></textFieldExpression>
  523. </textField>
  524. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  525. <reportElement x="555" y="0" width="130" height="20"/>
  526. <box>
  527. <topPen lineWidth="1.0" lineStyle="Solid"/>
  528. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  529. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  530. </box>
  531. <textElement/>
  532. <textFieldExpression class="java.lang.String"><![CDATA[$V{TEMP}]]></textFieldExpression>
  533. </textField>
  534. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  535. <reportElement x="815" y="0" width="117" height="20"/>
  536. <box>
  537. <topPen lineWidth="1.0" lineStyle="Solid"/>
  538. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  539. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  540. </box>
  541. <textElement/>
  542. <textFieldExpression class="java.lang.String"><![CDATA[$F{CORE15}]]></textFieldExpression>
  543. </textField>
  544. <textField isStretchWithOverflow="true" pattern="dd-MM-yyyy" isBlankWhenNull="true">
  545. <reportElement x="932" y="0" width="90" height="20"/>
  546. <box>
  547. <topPen lineWidth="1.0" lineStyle="Solid"/>
  548. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  549. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  550. </box>
  551. <textElement/>
  552. <textFieldExpression class="java.util.Date"><![CDATA[$F{PRIMA01}]]></textFieldExpression>
  553. </textField>
  554. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  555. <reportElement x="1022" y="0" width="87" height="20"/>
  556. <box>
  557. <topPen lineWidth="1.0" lineStyle="Solid"/>
  558. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  559. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  560. </box>
  561. <textElement/>
  562. <textFieldExpression class="java.lang.String"><![CDATA[$F{PRIMA02}]]></textFieldExpression>
  563. </textField>
  564. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  565. <reportElement x="1109" y="0" width="161" height="20"/>
  566. <box>
  567. <topPen lineWidth="1.0" lineStyle="Solid"/>
  568. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  569. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  570. </box>
  571. <textElement/>
  572. <textFieldExpression class="java.lang.String"><![CDATA[$F{PRIMA05}]]></textFieldExpression>
  573. </textField>
  574. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  575. <reportElement x="1270" y="0" width="129" height="20"/>
  576. <box>
  577. <topPen lineWidth="1.0" lineStyle="Solid"/>
  578. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  579. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  580. </box>
  581. <textElement/>
  582. <textFieldExpression class="java.lang.String"><![CDATA[$F{PRIMA14}]]></textFieldExpression>
  583. </textField>
  584. <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
  585. <reportElement x="1399" y="0" width="142" height="20"/>
  586. <box>
  587. <topPen lineWidth="1.0" lineStyle="Solid"/>
  588. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  589. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  590. </box>
  591. <textElement textAlignment="Right"/>
  592. <textFieldExpression class="java.math.BigDecimal"><![CDATA[new BigDecimal(NumberFormat.getNumberInstance(new Locale("en")).parse($F{PRIMA06}))]]></textFieldExpression>
  593. </textField>
  594. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  595. <reportElement x="1757" y="0" width="79" height="20"/>
  596. <box>
  597. <topPen lineWidth="1.0" lineStyle="Solid"/>
  598. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  599. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  600. </box>
  601. <textElement/>
  602. <textFieldExpression class="java.lang.String"><![CDATA[$F{PRIMA11}]]></textFieldExpression>
  603. </textField>
  604. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  605. <reportElement x="1836" y="0" width="48" height="20"/>
  606. <box>
  607. <topPen lineWidth="1.0" lineStyle="Solid"/>
  608. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  609. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  610. </box>
  611. <textElement/>
  612. <textFieldExpression class="java.lang.String"><![CDATA[$F{PRIMA12}]]></textFieldExpression>
  613. </textField>
  614. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  615. <reportElement x="2139" y="0" width="120" height="20"/>
  616. <box>
  617. <topPen lineWidth="1.0" lineStyle="Solid"/>
  618. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  619. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  620. </box>
  621. <textElement/>
  622. <textFieldExpression class="java.lang.String"><![CDATA[$F{PRIMA16}]]></textFieldExpression>
  623. </textField>
  624. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  625. <reportElement x="2259" y="0" width="117" height="20"/>
  626. <box>
  627. <topPen lineWidth="1.0" lineStyle="Solid"/>
  628. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  629. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  630. </box>
  631. <textElement/>
  632. <textFieldExpression class="java.lang.String"><![CDATA[$F{PRIMA15}]]></textFieldExpression>
  633. </textField>
  634. <textField>
  635. <reportElement x="0" y="0" width="37" height="20"/>
  636. <box>
  637. <topPen lineWidth="1.0" lineStyle="Solid"/>
  638. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  639. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  640. </box>
  641. <textElement textAlignment="Right"/>
  642. <textFieldExpression class="java.lang.Integer"><![CDATA[$V{COUNT}]]></textFieldExpression>
  643. </textField>
  644. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  645. <reportElement x="685" y="0" width="130" height="20"/>
  646. <box>
  647. <topPen lineWidth="1.0" lineStyle="Solid"/>
  648. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  649. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  650. </box>
  651. <textElement/>
  652. <textFieldExpression class="java.lang.String"><![CDATA[($V{ZERO_APPEND}.concat($F{CORE07})).substring(($V{ZERO_APPEND}.concat($F{CORE07})).length()-16,($V{ZERO_APPEND}.concat($F{CORE07})).length())]]></textFieldExpression>
  653. </textField>
  654. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  655. <reportElement x="2044" y="0" width="95" height="20"/>
  656. <box>
  657. <topPen lineWidth="1.0" lineStyle="Solid"/>
  658. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  659. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  660. </box>
  661. <textElement/>
  662. <textFieldExpression class="java.lang.String"><![CDATA[$F{PRIMA10}]]></textFieldExpression>
  663. </textField>
  664. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  665. <reportElement x="1954" y="0" width="90" height="20"/>
  666. <box>
  667. <topPen lineWidth="1.0" lineStyle="Solid"/>
  668. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  669. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  670. </box>
  671. <textElement/>
  672. <textFieldExpression class="java.lang.String"><![CDATA[$F{PRIMA09}]]></textFieldExpression>
  673. </textField>
  674. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  675. <reportElement x="1884" y="0" width="70" height="20"/>
  676. <box>
  677. <topPen lineWidth="1.0" lineStyle="Solid"/>
  678. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  679. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  680. </box>
  681. <textElement/>
  682. <textFieldExpression class="java.lang.String"><![CDATA[$F{PRIMA08}]]></textFieldExpression>
  683. </textField>
  684. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  685. <reportElement x="1541" y="0" width="76" height="20"/>
  686. <box>
  687. <topPen lineWidth="1.0" lineStyle="Solid"/>
  688. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  689. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  690. </box>
  691. <textElement/>
  692. <textFieldExpression class="java.lang.String"><![CDATA[$F{PRIMA04}]]></textFieldExpression>
  693. </textField>
  694. <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
  695. <reportElement x="1617" y="0" width="140" height="20"/>
  696. <box>
  697. <topPen lineWidth="1.0" lineStyle="Solid"/>
  698. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  699. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  700. </box>
  701. <textElement textAlignment="Right"/>
  702. <textFieldExpression class="java.math.BigDecimal"><![CDATA[new BigDecimal(NumberFormat.getNumberInstance(new Locale("en")).parse($F{PRIMA07}))]]></textFieldExpression>
  703. </textField>
  704. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  705. <reportElement x="2376" y="0" width="144" height="20"/>
  706. <box>
  707. <topPen lineWidth="1.0" lineStyle="Solid"/>
  708. <leftPen lineWidth="1.0" lineStyle="Solid"/>
  709. <rightPen lineWidth="1.0" lineStyle="Solid"/>
  710. </box>
  711. <textElement/>
  712. <textFieldExpression class="java.lang.String"><![CDATA[$V{SOURCE}]]></textFieldExpression>
  713. </textField>
  714. </band>
  715. </detail>
  716. <columnFooter>
  717. <band splitType="Stretch"/>
  718. </columnFooter>
  719. <pageFooter>
  720. <band splitType="Stretch"/>
  721. </pageFooter>
  722. <summary>
  723. <band splitType="Stretch"/>
  724. </summary>
  725. </jasperReport>