EMPGROUP_EXCEL.xml 39.5 KB
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757
<?xml version="1.0" encoding="UTF-8"  ?>
<!-- Created with iReport - A designer for JasperReports -->
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport
		 name="EMPGROUP_EXCEL"
		 columnCount="1"
		 printOrder="Vertical"
		 orientation="Portrait"
		 pageWidth="594"
		 pageHeight="842"
		 columnWidth="594"
		 columnSpacing="0"
		 leftMargin="0"
		 rightMargin="0"
		 topMargin="0"
		 bottomMargin="0"
		 whenNoDataType="NoPages"
		 isTitleNewPage="false"
		 isSummaryNewPage="false">
	<property name="ireport.scriptlethandling" value="0" />
	<property name="ireport.encoding" value="UTF-8" />
	<import value="java.util.*" />
	<import value="net.sf.jasperreports.engine.*" />
	<import value="net.sf.jasperreports.engine.data.*" />
	<import value="com.csc.library.report.*" />
	<import value="com.csc.library.utilities.*" />

	<parameter name="COMPANY" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[component]]></parameterDescription>
		<defaultValueExpression ><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="page" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["Page"]]></defaultValueExpression>
	</parameter>
	<parameter name="REPORTHEADER" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[component]]></parameterDescription>
		<defaultValueExpression ><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="group" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["Group"]]></defaultValueExpression>
	</parameter>
	<parameter name="male" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["Male"]]></defaultValueExpression>
	</parameter>
	<parameter name="fmale" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["Female"]]></defaultValueExpression>
	</parameter>
	<parameter name="total" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["Total"]]></defaultValueExpression>
	</parameter>
	<parameter name="totalall" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["Total Record"]]></defaultValueExpression>
	</parameter>
	<parameter name="LANG" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[LANG]]></parameterDescription>
		<defaultValueExpression ><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="RUN_NO" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[label]]></parameterDescription>
		<defaultValueExpression ><![CDATA["RPI3011"]]></defaultValueExpression>
	</parameter>
	<parameter name="DATETHAI" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[component]]></parameterDescription>
	</parameter>
	<parameter name="DATEENG" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[component]]></parameterDescription>
	</parameter>
	<parameter name="ACTORNAME" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[component]]></parameterDescription>
	</parameter>
	<parameter name="GROUPBY" isForPrompting="false" class="java.lang.String">
		<parameterDescription><![CDATA[component]]></parameterDescription>
		<defaultValueExpression ><![CDATA[""]]></defaultValueExpression>
	</parameter>

	<field name="memployee__employeeid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__employeeid]]></fieldDescription>
	</field>
	<field name="memployee__companyid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__companyid]]></fieldDescription>
	</field>
	<field name="memployee__status" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__status]]></fieldDescription>
	</field>
	<field name="memployee__emp_position" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__emp_position]]></fieldDescription>
	</field>
	<field name="memployee__branch" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__branch]]></fieldDescription>
	</field>
	<field name="memployee__salatype" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__salatype]]></fieldDescription>
	</field>
	<field name="memployee__bu1" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__bu1]]></fieldDescription>
	</field>
	<field name="memployee__bu2" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__bu2]]></fieldDescription>
	</field>
	<field name="memployee__bu3" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__bu3]]></fieldDescription>
	</field>
	<field name="memployee__bu4" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__bu4]]></fieldDescription>
	</field>
	<field name="memployee__bu5" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__bu5]]></fieldDescription>
	</field>
	<field name="memployee__costcenter" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__costcenter]]></fieldDescription>
	</field>
	<field name="memployee__emp_every" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__emp_every]]></fieldDescription>
	</field>
	<field name="memployee__emp_prefix" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__emp_prefix]]></fieldDescription>
	</field>
	<field name="memployee__fname" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__fname]]></fieldDescription>
	</field>
	<field name="memployee__lname" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__lname]]></fieldDescription>
	</field>
	<field name="memployee__efname" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__efname]]></fieldDescription>
	</field>
	<field name="memployee__elname" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__elname]]></fieldDescription>
	</field>
	<field name="memployee__startdate" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__startdate]]></fieldDescription>
	</field>
	<field name="memployee__firsthiredate" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__firsthiredate]]></fieldDescription>
	</field>
	<field name="memployee__resigndate" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__resigndate]]></fieldDescription>
	</field>
	<field name="memployee__swipecardid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__swipecardid]]></fieldDescription>
	</field>
	<field name="memployee__account_comp" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__account_comp]]></fieldDescription>
	</field>
	<field name="memployee__salary" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__salary]]></fieldDescription>
	</field>
	<field name="memployee__oldsalary" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__oldsalary]]></fieldDescription>
	</field>
	<field name="memployee__id_people" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__id_people]]></fieldDescription>
	</field>
	<field name="memployee__nickname" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__nickname]]></fieldDescription>
	</field>
	<field name="memployee__sex" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__sex]]></fieldDescription>
	</field>
	<field name="memployee__birthday" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__birthday]]></fieldDescription>
	</field>
	<field name="memployee__blood" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__blood]]></fieldDescription>
	</field>
	<field name="memployee__report_lang" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__report_lang]]></fieldDescription>
	</field>
	<field name="memployee__leave_in" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__leave_in]]></fieldDescription>
	</field>
	<field name="memployee__history" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__history]]></fieldDescription>
	</field>
	<field name="memployee__emp_nationality" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__emp_nationality]]></fieldDescription>
	</field>
	<field name="memployee__religion" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__religion]]></fieldDescription>
	</field>
	<field name="memployee__rh" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__rh]]></fieldDescription>
	</field>
	<field name="memployee__height" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__height]]></fieldDescription>
	</field>
	<field name="memployee__weight" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__weight]]></fieldDescription>
	</field>
	<field name="memployee__waistsize" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__waistsize]]></fieldDescription>
	</field>
	<field name="memployee__capsize" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__capsize]]></fieldDescription>
	</field>
	<field name="memployee__shirtsize" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__shirtsize]]></fieldDescription>
	</field>
	<field name="memployee__eyecolor" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__eyecolor]]></fieldDescription>
	</field>
	<field name="memployee__haircolor" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__haircolor]]></fieldDescription>
	</field>
	<field name="memployee__tel_no" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__tel_no]]></fieldDescription>
	</field>
	<field name="memployee__old_employeeid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__old_employeeid]]></fieldDescription>
	</field>
	<field name="memployee__emp_level" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__emp_level]]></fieldDescription>
	</field>
	<field name="memployee__fundtablem" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__fundtablem]]></fieldDescription>
	</field>
	<field name="memployee__taxtable" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__taxtable]]></fieldDescription>
	</field>
	<field name="memployee__caltax" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__caltax]]></fieldDescription>
	</field>
	<field name="memployee__fixtax" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by memployee__fixtax]]></fieldDescription>
	</field>
	<field name="mbranch__branchid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbranch__branchid]]></fieldDescription>
	</field>
	<field name="mbranch__companyid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbranch__companyid]]></fieldDescription>
	</field>
	<field name="mbranch__tdesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbranch__tdesc]]></fieldDescription>
	</field>
	<field name="mbranch__edesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbranch__edesc]]></fieldDescription>
	</field>
	<field name="mbranch__runno" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbranch__runno]]></fieldDescription>
	</field>
	<field name="mbu1__bu1id" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu1__bu1id]]></fieldDescription>
	</field>
	<field name="mbu1__companyid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu1__companyid]]></fieldDescription>
	</field>
	<field name="mbu1__tdesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu1__tdesc]]></fieldDescription>
	</field>
	<field name="mbu1__edesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu1__edesc]]></fieldDescription>
	</field>
	<field name="mbu1__runno" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu1__runno]]></fieldDescription>
	</field>
	<field name="mbu2__bu2id" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu2__bu2id]]></fieldDescription>
	</field>
	<field name="mbu2__companyid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu2__companyid]]></fieldDescription>
	</field>
	<field name="mbu2__tdesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu2__tdesc]]></fieldDescription>
	</field>
	<field name="mbu2__edesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu2__edesc]]></fieldDescription>
	</field>
	<field name="mbu2__runno" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu2__runno]]></fieldDescription>
	</field>
	<field name="mbu3__bu3id" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu3__bu3id]]></fieldDescription>
	</field>
	<field name="mbu3__companyid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu3__companyid]]></fieldDescription>
	</field>
	<field name="mbu3__tdesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu3__tdesc]]></fieldDescription>
	</field>
	<field name="mbu3__edesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu3__edesc]]></fieldDescription>
	</field>
	<field name="mbu3__runno" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu3__runno]]></fieldDescription>
	</field>
	<field name="mbu4__bu4id" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu4__bu4id]]></fieldDescription>
	</field>
	<field name="mbu4__companyid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu4__companyid]]></fieldDescription>
	</field>
	<field name="mbu4__tdesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu4__tdesc]]></fieldDescription>
	</field>
	<field name="mbu4__edesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu4__edesc]]></fieldDescription>
	</field>
	<field name="mbu4__runno" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu4__runno]]></fieldDescription>
	</field>
	<field name="mbu5__bu5id" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu5__bu5id]]></fieldDescription>
	</field>
	<field name="mbu5__companyid" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu5__companyid]]></fieldDescription>
	</field>
	<field name="mbu5__tdesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu5__tdesc]]></fieldDescription>
	</field>
	<field name="mbu5__edesc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu5__edesc]]></fieldDescription>
	</field>
	<field name="mbu5__runno" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by mbu5__runno]]></fieldDescription>
	</field>
	<field name="orderby1" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by orderby1]]></fieldDescription>
	</field>
	<field name="orderby1desc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by orderby1desc]]></fieldDescription>
	</field>
	<field name="orderby2" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by orderby2]]></fieldDescription>
	</field>
	<field name="orderby2desc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by orderby2desc]]></fieldDescription>
	</field>
	<field name="orderby3" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by orderby3]]></fieldDescription>
	</field>
	<field name="orderby3desc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by orderby3desc]]></fieldDescription>
	</field>
	<field name="orderby4" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by orderby4]]></fieldDescription>
	</field>
	<field name="orderby4desc" class="java.lang.String">
		<fieldDescription><![CDATA[Field returned by orderby4desc]]></fieldDescription>
	</field>

	<variable name="DM" class="java.lang.Integer" resetType="Group" resetGroup="empevery" calculation="Sum">
		<variableExpression><![CDATA[($F{memployee__sex}).equals("1")?new Integer(1):new Integer(0)]]></variableExpression>
		<initialValueExpression><![CDATA[new Integer(0)]]></initialValueExpression>
	</variable>
	<variable name="DF" class="java.lang.Integer" resetType="Group" resetGroup="empevery" calculation="Sum">
		<variableExpression><![CDATA[($F{memployee__sex}).equals("2")?new Integer(1):new Integer(0)]]></variableExpression>
		<initialValueExpression><![CDATA[new Integer(0)]]></initialValueExpression>
	</variable>
	<variable name="sumM" class="java.lang.Integer" resetType="Report" calculation="Sum">
		<variableExpression><![CDATA[($F{memployee__sex}).equals("1")?new Integer(1):new Integer(0)]]></variableExpression>
		<initialValueExpression><![CDATA[new Integer(0)]]></initialValueExpression>
	</variable>
	<variable name="sumF" class="java.lang.Integer" resetType="Report" calculation="Sum">
		<variableExpression><![CDATA[($F{memployee__sex}).equals("2")?new Integer(1):new Integer(0)]]></variableExpression>
		<initialValueExpression><![CDATA[new Integer(0)]]></initialValueExpression>
	</variable>

		<group  name="empevery" >
			<groupExpression><![CDATA[$F{memployee__emp_every}]]></groupExpression>
			<groupHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
			</groupHeader>
			<groupFooter>
			<band height="18"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="544"
						y="0"
						width="50"
						height="18"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isItalic="false" isUnderline="true" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{empevery_COUNT}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="0"
						width="444"
						height="18"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="6" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{memployee__emp_every}+" - พนักงาน"+ new ReportUDF().getSystemCode("HIRE_TYPE",$P{LANG},$F{memployee__emp_every})]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="444"
						y="0"
						width="50"
						height="18"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isItalic="false" isUnderline="true" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{DM}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="494"
						y="0"
						width="50"
						height="18"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isItalic="false" isUnderline="true" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{DF}]]></textFieldExpression>
				</textField>
			</band>
			</groupFooter>
		</group>
		<group  name="BU" >
			<groupExpression><![CDATA[$P{GROUPBY}.indexOf("bu1") > -1 ? 
$F{memployee__branch}+$F{memployee__bu1} : 
""]]></groupExpression>
			<groupHeader>
			<band height="18"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="0"
						width="594"
						height="18"
						key="textField-14"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{memployee__branch}+", "+$F{memployee__bu1}]]></textFieldExpression>
				</textField>
			</band>
			</groupHeader>
			<groupFooter>
			<band height="18"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="0"
						width="594"
						height="18"
						key="textField-15"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{memployee__emp_every}+" - พนักงาน"+ new ReportUDF().getSystemCode("HIRE_TYPE",$P{LANG},$F{memployee__emp_every})]]></textFieldExpression>
				</textField>
			</band>
			</groupFooter>
		</group>
		<background>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</background>
		<title>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</title>
		<pageHeader>
			<band height="84"  isSplitAllowed="true" >
				<printWhenExpression><![CDATA[new Boolean($V{PAGE_NUMBER}.intValue()==1)]]></printWhenExpression>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="0"
						y="0"
						width="594"
						height="30"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-3"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="24" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{COMPANY}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="538"
						y="48"
						width="56"
						height="18"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-4"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{RUN_NO}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="76"
						y="48"
						width="406"
						height="18"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-5"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")?
$P{DATETHAI}:$P{DATEENG}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="76"
						y="66"
						width="518"
						height="18"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-6"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")?
$P{ACTORNAME}:$P{ACTORNAME}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="0"
						y="48"
						width="76"
						height="18"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-7"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")?
"วันที่พิมพ์ : ":"Print date : "]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="0"
						y="66"
						width="76"
						height="18"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-8"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")?
"พิมพ์โดย : ":"Print by : "]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="482"
						y="48"
						width="56"
						height="18"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-9"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")?
"อ้างอิง # ":"Ref # "]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="76"
						y="30"
						width="518"
						height="18"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-11"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{REPORTHEADER}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="0"
						y="30"
						width="76"
						height="18"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-12"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")?
"รายงาน : ":"Report Name : "]]></textFieldExpression>
				</textField>
			</band>
		</pageHeader>
		<columnHeader>
			<band height="19"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="1"
						width="444"
						height="18"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="6" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{group}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="444"
						y="1"
						width="50"
						height="18"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{male}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="494"
						y="1"
						width="50"
						height="18"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{fmale}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="544"
						y="1"
						width="50"
						height="18"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{total}]]></textFieldExpression>
				</textField>
			</band>
		</columnHeader>
		<detail>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</detail>
		<columnFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnFooter>
		<pageFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</pageFooter>
		<summary>
			<band height="18"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="544"
						y="0"
						width="50"
						height="18"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isItalic="false" isUnderline="true" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{REPORT_COUNT}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="444"
						y="0"
						width="50"
						height="18"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isItalic="false" isUnderline="true" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{sumM}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="494"
						y="0"
						width="50"
						height="18"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isItalic="false" isUnderline="true" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{sumF}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						mode="Transparent"
						x="0"
						y="0"
						width="444"
						height="18"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField-13"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="6" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Top" lineSpacing="Single">
						<font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")?
"จำนวนพนักงาน":"Total Record"]]></textFieldExpression>
				</textField>
			</band>
		</summary>
</jasperReport>