SMRAD00700_계정별원장.xfdl 85 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRAD00700" position="absolute 0 0 1211 784" titletext="계정별원장" oninit="SMRAD00700_oninit" onload="SMRAD00700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="계정별원장" class="tit_1" position="absolute 0 0 230 25"/>
  8. <Shape id="line2" class="line_6" position="absolute 0 47 1194 53" anchor="left top right"/>
  9. <Button id="button8" taborder="1" text="출력" class="btn6" position="absolute 0 26 56 48" onclick="button8_onclick"/>
  10. <Tab id="sw_grid" taborder="2" tabindex="0" position="absolute 0 55 1195 775" anchor="all" class="tab_Normal" onchanged="sw_grid_onchanged">
  11. <Tabpages>
  12. <Tabpage id="case_deptpr" text="부서별">
  13. <Layouts>
  14. <Layout>
  15. <Static id="caption21" text="계정별원장" class="tit_2" position="absolute 0 105 131 126"/>
  16. <Grid id="grd_deptpr" taborder="22" binddataset="ds_main_deptpr_prlist" useinputpanel="false" position="absolute 0 126 1193 698" autoenter="select" autofittype="col" cellsizingtype="col" anchor="all" oncelldblclick="sw_grid_case_deptpr_grd_deptpr_oncelldblclick">
  17. <Formats>
  18. <Format id="default">
  19. <Columns>
  20. <Column size="24"/>
  21. <Column size="0"/>
  22. <Column size="102"/>
  23. <Column size="0"/>
  24. <Column size="76"/>
  25. <Column size="76"/>
  26. <Column size="0"/>
  27. <Column size="0"/>
  28. <Column size="0"/>
  29. <Column size="0"/>
  30. <Column size="0"/>
  31. <Column size="256"/>
  32. <Column size="53"/>
  33. <Column size="0"/>
  34. <Column size="55"/>
  35. <Column size="102"/>
  36. <Column size="100"/>
  37. <Column size="100"/>
  38. <Column size="0"/>
  39. <Column size="0"/>
  40. <Column size="0"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. <Column size="0"/>
  44. <Column size="0"/>
  45. </Columns>
  46. <Rows>
  47. <Row size="30" band="head"/>
  48. <Row size="24"/>
  49. </Rows>
  50. <Band id="head">
  51. <Cell/>
  52. <Cell col="1" text="상위계정코드"/>
  53. <Cell col="2" text="상위계정명"/>
  54. <Cell col="3" text="년월"/>
  55. <Cell col="4" text="전표일자"/>
  56. <Cell col="5" text="전표번호"/>
  57. <Cell col="6" text="구분"/>
  58. <Cell col="7" text="계정코드"/>
  59. <Cell col="8" text="전표일자"/>
  60. <Cell col="9" text="전표번호"/>
  61. <Cell col="10" text="계정명"/>
  62. <Cell col="11" text="적 요"/>
  63. <Cell col="12" text="Project &#13;&#10;ID"/>
  64. <Cell col="13" text="부서"/>
  65. <Cell col="14" text="상대처"/>
  66. <Cell col="15" text="상대처명"/>
  67. <Cell col="16" text="차변"/>
  68. <Cell col="17" text="대변"/>
  69. <Cell col="18" text="잔액"/>
  70. <Cell col="19" text="잔액"/>
  71. <Cell col="20" text="전표유형"/>
  72. <Cell col="21" text="전표구분"/>
  73. <Cell col="22" text="기관코드"/>
  74. <Cell col="23" text="부서코드"/>
  75. <Cell col="24" text="구분"/>
  76. </Band>
  77. <Band id="body">
  78. <Cell celltype="head"/>
  79. <Cell col="1" text="bind:supacntcd4"/>
  80. <Cell col="2" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:supacntnm4"/>
  81. <Cell col="3" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:yyyymm"/>
  82. <Cell col="4" displaytype="expr:apsldt == '-' ? 'normal' : 'date'" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:apsldt" calendardisplaynulltype="nulltext"/>
  83. <Cell col="5" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:apslno"/>
  84. <Cell col="6" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:gubn"/>
  85. <Cell col="7" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:acntcd"/>
  86. <Cell col="8" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:unsldd" mask="yyyy-mm-dd"/>
  87. <Cell col="9" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:unslno"/>
  88. <Cell col="10" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:acntnm"/>
  89. <Cell col="11" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:note00"/>
  90. <Cell col="12" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:projectid"/>
  91. <Cell col="13" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:depthngnm"/>
  92. <Cell col="14" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:custflag"/>
  93. <Cell col="15" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:custnm"/>
  94. <Cell col="16" displaytype="number" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:dramt"/>
  95. <Cell col="17" displaytype="number" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:cramt"/>
  96. <Cell col="18" text="bind:balamt" mask="(-)#,###"/>
  97. <Cell col="19" text="bind:balsum" mask="(-)#,###"/>
  98. <Cell col="20" text="bind:slipkind"/>
  99. <Cell col="21" text="bind:slipflag"/>
  100. <Cell col="22" text="bind:instcd"/>
  101. <Cell col="23" text="bind:deptcd"/>
  102. <Cell col="24" text="bind:flag"/>
  103. </Band>
  104. </Format>
  105. </Formats>
  106. </Grid>
  107. <Shape id="line3" linetype="horizontal" class="line_10" position="absolute 0 121 1193 127" anchor="left top right"/>
  108. <Button id="btn_exceldeptpr" taborder="23" text="엑셀출력" class="btn7" position="absolute 1113 102 1193 121" anchor="top right" onclick="sw_grid_case_deptpr_btn_exceldeptpr_onclick"/>
  109. <Div id="group4" anchor="left top right" taborder="24" class="div_SA2" position="absolute 0 0 1193 80">
  110. <Layouts>
  111. <Layout width="1193" height="84">
  112. <Static id="caption5" text="기관코드 :" class="search_name" visible="false" position="absolute 28 54 118 71" anchor="default"/>
  113. <Static id="caption2" text="부서코드 :" class="search_name" position="absolute 28 31 114 48" anchor="default"/>
  114. <Static id="caption8" text="~" position="absolute 963 10 978 30" anchor="default"/>
  115. <Static id="caption10" text="기간 :" class="search_name" position="absolute 800 9 865 26" anchor="default"/>
  116. <Shape id="line7" linetype="vertical" class="line_4" position="absolute 1086 6 1092 72" anchor="top right"/>
  117. <Static id="caption23" text="계정과목 :" class="search_name" position="absolute 390 33 480 50" anchor="default"/>
  118. <Button id="btn_depthelp" taborder="68" onclick="sw_grid_case_deptpr_group4_btn_depthelp_onclick" class="icon_search" position="absolute 201 33 217 49" anchor="default"/>
  119. <Edit id="ipt_deptcd" taborder="69" autoselect="true" autoskip="true" onkeydown="sw_grid_case_deptpr_group4_ipt_deptcd_onkeydown" class="input_s_essential" position="absolute 118 31 195 50" anchor="default"/>
  120. <Edit id="ipt_depthngnm" taborder="70" autoselect="true" autoskip="true" onkeydown="sw_grid_case_deptpr_group4_ipt_depthngnm_onkeydown" class="input_s_essential" position="absolute 220 31 365 50" anchor="default"/>
  121. <Calendar id="ipt_frdate" taborder="71" autoselect="true" autoskip="true" class="input_s_essential" position="absolute 861 8 961 27" anchor="default"/>
  122. <Calendar id="ipt_todate" taborder="72" autoselect="true" autoskip="true" class="input_s_essential" position="absolute 978 8 1078 27" anchor="default"/>
  123. <Edit id="ipt_fracntcd" taborder="73" autoselect="true" autoskip="true" class="input_s_essential" position="absolute 480 33 555 52" anchor="default"/>
  124. <Button id="btn_fracnthelp" taborder="74" onclick="sw_grid_case_deptpr_group4_btn_fracnthelp_onclick" class="icon_search" position="absolute 558 33 574 49" anchor="default"/>
  125. <Edit id="ipt_fracntnm" taborder="75" onkeydown="sw_grid_case_deptpr_group4_ipt_fracntnm_onkeydown" class="input_s_essential" position="absolute 576 33 742 52" anchor="default"/>
  126. <Combo id="cmb_deptprinstcd" taborder="76" class="combo_s_essential" enable="false" visible="false" position="absolute 118 54 365 73" anchor="default"/>
  127. <Edit id="ipt_toacntcd" taborder="77" autoselect="true" autoskip="true" class="input_s_essential" position="absolute 480 56 555 75" anchor="default"/>
  128. <Edit id="ipt_toacntnm" taborder="78" onkeydown="sw_grid_case_deptpr_group4_ipt_toacntnm_onkeydown" class="input_s_essential" position="absolute 576 56 742 75" anchor="default"/>
  129. <Button id="btn_toacnthelp" taborder="79" onclick="sw_grid_case_deptpr_group4_btn_toacnthelp_onclick" class="icon_search" position="absolute 558 56 574 72" anchor="default"/>
  130. <Button id="btn_search" taborder="80" text="조회" onclick="sw_grid_case_deptpr_group4_btn_search_onclick" class="btn1" position="absolute 1109 30 1165 52" anchor="top right"/>
  131. <Combo id="cmb_acntclsflag" taborder="81" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="sw_grid_case_deptpr_group4_cmb_acntclsflag_onitemchanged" class="combo_s_essential" position="absolute 480 9 555 28" anchor="default">
  132. <Dataset id="innerdataset">
  133. <ColumnInfo>
  134. <Column id="codecolumn"/>
  135. <Column id="datacolumn"/>
  136. </ColumnInfo>
  137. <Rows>
  138. <Row>
  139. <Col id="codecolumn">5</Col>
  140. <Col id="datacolumn">대분류</Col>
  141. </Row>
  142. <Row>
  143. <Col id="codecolumn">4</Col>
  144. <Col id="datacolumn">관</Col>
  145. </Row>
  146. <Row>
  147. <Col id="codecolumn">3</Col>
  148. <Col id="datacolumn">항</Col>
  149. </Row>
  150. <Row>
  151. <Col id="codecolumn">2</Col>
  152. <Col id="datacolumn">목</Col>
  153. </Row>
  154. <Row>
  155. <Col id="codecolumn">1</Col>
  156. <Col id="datacolumn">세목</Col>
  157. </Row>
  158. <Row>
  159. <Col id="codecolumn">0</Col>
  160. <Col id="datacolumn">세세목</Col>
  161. </Row>
  162. </Rows>
  163. </Dataset>
  164. </Combo>
  165. <Edit id="ipt_projectnm" taborder="82" autoselect="true" autoskip="true" onkeydown="sw_grid_case_deptpr_group4_ipt_projectnm_onkeydown" class="input_search" visible="false" position="absolute 1042 58 1153 77" anchor="default"/>
  166. <Static id="caption47" text="Project ID :" class="search_name" visible="false" position="absolute 800 59 899 76" anchor="default"/>
  167. <Button id="btn_projectid" taborder="83" onclick="sw_grid_case_deptpr_group4_btn_projectid_onclick" class="icon_search" visible="false" position="absolute 1019 59 1035 75" anchor="default"/>
  168. <Edit id="ipt_projectid" taborder="84" autoselect="true" autoskip="true" onkeydown="sw_grid_case_deptpr_group4_ipt_projectid_onkeydown" class="input_search" visible="false" position="absolute 903 58 1014 77" anchor="default"/>
  169. <MaskEdit id="ipt_toamt" taborder="85" mask="(-)#,###" autoselect="true" autoskip="true" class="input_essential" position="absolute 978 32 1078 51" anchor="default"/>
  170. <MaskEdit id="ipt_framt" taborder="86" mask="(-)#,###" autoselect="true" autoskip="true" class="input_essential" position="absolute 861 32 961 51" anchor="default"/>
  171. <Static id="caption13" text="금액 :" class="search_name" position="absolute 800 33 865 50" anchor="default"/>
  172. <Static id="caption14" text="~" position="absolute 964 33 979 53" anchor="default"/>
  173. <Button id="btn_frnext" taborder="87" onclick="sw_grid_case_deptpr_group4_btn_frnext_onclick" class="icon_next" position="absolute 759 35 772 50" anchor="default"/>
  174. <Button id="btn_frpre" taborder="88" onclick="sw_grid_case_deptpr_group4_btn_frpre_onclick" class="icon_pre" position="absolute 744 35 757 50" anchor="default"/>
  175. <Button id="btn_tonext" taborder="89" onclick="sw_grid_case_deptpr_group4_btn_tonext_onclick" class="icon_next" position="absolute 759 58 772 73" anchor="default"/>
  176. <Button id="btn_topre" taborder="90" onclick="sw_grid_case_deptpr_group4_btn_topre_onclick" class="icon_pre" position="absolute 744 58 757 73" anchor="default"/>
  177. <Combo id="cmb_prntflag" taborder="91" innerdataset="ds_init_cmb_prntflag" codecolumn="cdid" datacolumn="cdnm" class="combo_s_essential" position="absolute 118 7 195 26" anchor="default"/>
  178. <Static id="caption19" text="출력구분 :" class="search_name" position="absolute 28 8 114 25" anchor="default"/>
  179. <Static id="caption22" text="계정분류 :" class="search_name" position="absolute 390 9 480 26" anchor="default"/>
  180. <Static id="caption25" text="~" position="absolute 464 56 479 76" anchor="default"/>
  181. </Layout>
  182. </Layouts>
  183. </Div>
  184. </Layout>
  185. </Layouts>
  186. </Tabpage>
  187. <Tabpage id="case_balamtpr" text="전체">
  188. <Layouts>
  189. <Layout>
  190. <Button id="btn_excelbalamtpr" taborder="1" text="엑셀출력" class="btn7" position="absolute 1113 66 1193 85" anchor="top right" onclick="sw_grid_case_balamtpr_btn_excelbalamtpr_onclick"/>
  191. <Static id="caption1" text="전체 내역" class="tit_2" position="absolute 0 69 131 91"/>
  192. <Grid id="grd_balamtpr" taborder="2" binddataset="ds_main_balamtpr_prlist" useinputpanel="false" position="absolute 0 90 1193 686" anchor="all" autoenter="select" autofittype="col" cellsizingtype="col" oncelldblclick="sw_grid_case_balamtpr_grd_balamtpr_oncelldblclick">
  193. <Formats>
  194. <Format id="default">
  195. <Columns>
  196. <Column size="23"/>
  197. <Column size="0"/>
  198. <Column size="95"/>
  199. <Column size="0"/>
  200. <Column size="70"/>
  201. <Column size="0"/>
  202. <Column size="0"/>
  203. <Column size="0"/>
  204. <Column size="80"/>
  205. <Column size="60"/>
  206. <Column size="95"/>
  207. <Column size="160"/>
  208. <Column size="70"/>
  209. <Column size="90"/>
  210. <Column size="110"/>
  211. <Column size="100"/>
  212. <Column size="100"/>
  213. <Column size="0"/>
  214. <Column size="100"/>
  215. <Column size="0"/>
  216. <Column size="0"/>
  217. <Column size="0"/>
  218. <Column size="0"/>
  219. <Column size="0"/>
  220. </Columns>
  221. <Rows>
  222. <Row size="24" band="head"/>
  223. <Row size="24"/>
  224. </Rows>
  225. <Band id="head">
  226. <Cell/>
  227. <Cell col="1" text="상위계정코드"/>
  228. <Cell col="2" text="상위계정명"/>
  229. <Cell col="3" text="년월"/>
  230. <Cell col="4" text="날짜"/>
  231. <Cell col="5" text="결재번호"/>
  232. <Cell col="6" text="구분"/>
  233. <Cell col="7" text="계정코드"/>
  234. <Cell col="8" text="전표일자"/>
  235. <Cell col="9" text="전표번호"/>
  236. <Cell col="10" text="계정명"/>
  237. <Cell col="11" text="적요"/>
  238. <Cell col="12" text="부서"/>
  239. <Cell col="13" text="상대처"/>
  240. <Cell col="14" text="상대처명"/>
  241. <Cell col="15" text="차변"/>
  242. <Cell col="16" text="대변"/>
  243. <Cell col="17" text="잔액"/>
  244. <Cell col="18" text="잔액"/>
  245. <Cell col="19" text="전표유형"/>
  246. <Cell col="20" text="전표구분"/>
  247. <Cell col="21" text="기관코드"/>
  248. <Cell col="22" text="부서코드"/>
  249. <Cell col="23" text="구분"/>
  250. </Band>
  251. <Band id="body">
  252. <Cell celltype="head" expr="currow+1"/>
  253. <Cell col="1" text="bind:supacntcd4"/>
  254. <Cell col="2" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:supacntnm4"/>
  255. <Cell col="3" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:yyyymm"/>
  256. <Cell col="4" displaytype="date" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:apsldt" calendardisplaynulltype="nulltext"/>
  257. <Cell col="5" displaytype="date" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:apslno" calendardisplaynulltype="nulltext"/>
  258. <Cell col="6" displaytype="date" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:gubn" calendardisplaynulltype="nulltext"/>
  259. <Cell col="7" displaytype="date" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:acntcd" calendardisplaynulltype="nulltext"/>
  260. <Cell col="8" displaytype="expr:unsldd == '-' ? 'normal' : 'date'" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:unsldd" calendardisplaynulltype="nulltext"/>
  261. <Cell col="9" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:unslno"/>
  262. <Cell col="10" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:acntnm"/>
  263. <Cell col="11" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:note00"/>
  264. <Cell col="12" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:depthngnm"/>
  265. <Cell col="13" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:custflag"/>
  266. <Cell col="14" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:custnm"/>
  267. <Cell col="15" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:dramt"/>
  268. <Cell col="16" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:cramt"/>
  269. <Cell col="17" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:balamt"/>
  270. <Cell col="18" style="background:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');background2:EXPR(gubn == '1' ? '#ccffff' : gubn == '2' ? '#ffffff' : gubn == '3' ? '#ffccff' : gubn == '4' ? '#ffffcc' : '');" text="bind:balsum"/>
  271. <Cell col="19" text="bind:slipkind"/>
  272. <Cell col="20" text="bind:slipflag"/>
  273. <Cell col="21" text="bind:instcd"/>
  274. <Cell col="22" text="bind:deptcd"/>
  275. <Cell col="23" text="bind:flag"/>
  276. </Band>
  277. </Format>
  278. </Formats>
  279. </Grid>
  280. <Div id="group5" taborder="3" position="absolute 0 0 1193 60" class="div_SA2" anchor="left top right">
  281. <Layouts>
  282. <Layout>
  283. <Static id="caption3" text="기관코드 :" class="search_name" visible="false" position="absolute 8 9 99 26" anchor="default"/>
  284. <Shape id="line1" linetype="vertical" class="line_4" position="absolute 1106 8 1112 51" anchor="top right"/>
  285. <Static id="caption11" text="기 간 :" class="search_name" position="absolute 773 10 859 27" anchor="default"/>
  286. <Calendar id="ipt_frdate2" taborder="25" class="input_s_essential" position="absolute 862 10 959 29" autoselect="true" autoskip="true" anchor="default"/>
  287. <Calendar id="ipt_todate2" taborder="26" class="input_s_essential" position="absolute 975 10 1073 29" autoselect="true" autoskip="true" anchor="default"/>
  288. <Button id="btn_search2" taborder="27" text="조회" class="btn1" position="absolute 1124 19 1180 41" anchor="top right" onclick="sw_grid_case_balamtpr_group5_btn_search2_onclick"/>
  289. <Edit id="ipt_fracntnm2" taborder="28" class="input_s_essential" position="absolute 559 10 735 29" autoselect="true" autoskip="true" anchor="default"/>
  290. <Edit id="ipt_toacntnm2" taborder="29" class="input_s_essential" position="absolute 559 34 735 53" autoselect="true" autoskip="true" anchor="default"/>
  291. <Edit id="ipt_fracntcd2" taborder="30" class="input_s_essential" position="absolute 462 10 537 29" autoselect="true" autoskip="true" anchor="default"/>
  292. <Edit id="ipt_toacntcd2" taborder="31" class="input_s_essential" position="absolute 462 34 537 53" autoselect="true" autoskip="true" anchor="default"/>
  293. <Button id="btn_toacnthelp2" taborder="32" class="icon_search" position="absolute 541 34 557 50" onclick="sw_grid_case_balamtpr_group5_btn_toacnthelp2_onclick" anchor="default"/>
  294. <Button id="btn_fracnthelp2" taborder="33" class="icon_search" position="absolute 541 10 557 26" onclick="sw_grid_case_balamtpr_group5_btn_fracnthelp2_onclick" anchor="default"/>
  295. <Combo id="cmb_balamtprinstcd" taborder="34" class="combo_s_essential" position="absolute 98 9 320 28" anchor="default"/>
  296. <Static id="caption27" text="기관코드 :" class="search_name" position="absolute 8 9 99 26" anchor="default"/>
  297. <Static id="caption28" text="계정과목 :" class="search_name" position="absolute 370 10 460 27" anchor="default"/>
  298. <Static id="caption12" text="~" position="absolute 961 10 976 30" anchor="default"/>
  299. <Static id="caption24" text="(class)" class="search_name" visible="false" position="absolute 370 35 456 52" anchor="default"/>
  300. <Combo id="cmb_acntclsflag2" taborder="35" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_s_essential" position="absolute 378 33 441 52" onitemchanged="sw_grid_case_balamtpr_group5_cmb_acntclsflag2_onitemchanged" anchor="default">
  301. <Dataset id="innerdataset">
  302. <ColumnInfo>
  303. <Column id="codecolumn"/>
  304. <Column id="datacolumn"/>
  305. </ColumnInfo>
  306. <Rows>
  307. <Row>
  308. <Col id="codecolumn">4</Col>
  309. <Col id="datacolumn">대분류</Col>
  310. </Row>
  311. <Row>
  312. <Col id="codecolumn">3</Col>
  313. <Col id="datacolumn">관</Col>
  314. </Row>
  315. <Row>
  316. <Col id="codecolumn">2</Col>
  317. <Col id="datacolumn">항</Col>
  318. </Row>
  319. <Row>
  320. <Col id="codecolumn">1</Col>
  321. <Col id="datacolumn">목</Col>
  322. </Row>
  323. <Row>
  324. <Col id="codecolumn">0</Col>
  325. <Col id="datacolumn">세목</Col>
  326. </Row>
  327. </Rows>
  328. </Dataset>
  329. </Combo>
  330. </Layout>
  331. </Layouts>
  332. </Div>
  333. <Shape id="line4" linetype="horizontal" class="line_10" position="absolute 0 85 1193 91" anchor="left top right"/>
  334. </Layout>
  335. </Layouts>
  336. </Tabpage>
  337. <Tabpage id="case_pjtpr" text="프로젝트별">
  338. <Layouts>
  339. <Layout>
  340. <Button id="btn_excelprojectpr" taborder="1" text="엑셀출력" class="btn7" position="absolute 1113 66 1193 85" anchor="top right" onclick="sw_grid_case_pjtpr_btn_excelprojectpr_onclick"/>
  341. <Static id="caption15" text="프로젝트별" class="tit_2" position="absolute 0 69 131 90"/>
  342. <Grid id="grd_projectpr" taborder="2" useinputpanel="false" position="absolute 0 90 1193 686" autoenter="select" autofittype="col" cellsizingtype="col" anchor="all" bindgestureset="ds_main_projectpr_prlist">
  343. <Formats>
  344. <Format id="default">
  345. <Columns>
  346. <Column size="21"/>
  347. <Column size="100"/>
  348. <Column size="260"/>
  349. <Column size="120"/>
  350. <Column size="200"/>
  351. <Column size="160"/>
  352. <Column size="160"/>
  353. <Column size="160"/>
  354. </Columns>
  355. <Rows>
  356. <Row size="24" band="head"/>
  357. <Row size="24"/>
  358. </Rows>
  359. <Band id="head">
  360. <Cell/>
  361. <Cell col="1" text="날짜"/>
  362. <Cell col="2" text="적요란"/>
  363. <Cell col="3" text="프로젝트"/>
  364. <Cell col="4" text="거래처"/>
  365. <Cell col="5" text="차변"/>
  366. <Cell col="6" text="대변"/>
  367. <Cell col="7" text="잔액"/>
  368. </Band>
  369. <Band id="body">
  370. <Cell celltype="head" expr="currow+1"/>
  371. <Cell col="1"/>
  372. <Cell col="2"/>
  373. <Cell col="3"/>
  374. <Cell col="4"/>
  375. <Cell col="5"/>
  376. <Cell col="6"/>
  377. <Cell col="7"/>
  378. </Band>
  379. </Format>
  380. </Formats>
  381. </Grid>
  382. <Div id="group6" taborder="3" position="absolute 0 0 1193 60" class="div_SA" anchor="left top right">
  383. <Layouts>
  384. <Layout>
  385. <Shape id="line5" linetype="vertical" class="line_4" position="absolute 1106 8 1112 51" anchor="top right"/>
  386. <Combo id="cmb_projectprinstcd" taborder="28" class="combo_s_essential" position="absolute 98 9 335 28"/>
  387. <Static id="caption17" text="기관코드 :" class="search_name" visible="false" position="absolute 8 9 99 26"/>
  388. <Static id="caption20" text="기관코드 :" class="search_name" position="absolute 8 9 99 26"/>
  389. <Static id="caption16" text="기 간 :" class="search_name" position="absolute 771 11 857 28"/>
  390. <Static id="caption18" text="~" position="absolute 959 11 974 31"/>
  391. <Calendar id="ipt_frdate3" taborder="29" class="input_s_essential" position="absolute 860 10 957 29" autoselect="true" autoskip="true"/>
  392. <Static id="caption7" text="(class)" class="search_name" visible="false" position="absolute 370 35 456 52"/>
  393. <Calendar id="ipt_todate3" taborder="30" class="input_s_essential" position="absolute 973 10 1071 29" autoselect="true" autoskip="true"/>
  394. <Button id="btn_search3" taborder="31" text="조회" class="btn1" position="absolute 1124 19 1180 41" anchor="top right" onclick="sw_grid_case_pjtpr_group6_btn_search3_onclick"/>
  395. <Combo id="cmb_acntclsflag3" taborder="32" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_s_essential" position="absolute 378 33 441 52">
  396. <Dataset id="innerdataset">
  397. <ColumnInfo>
  398. <Column id="codecolumn"/>
  399. <Column id="datacolumn"/>
  400. </ColumnInfo>
  401. <Rows>
  402. <Row>
  403. <Col id="codecolumn">4</Col>
  404. <Col id="datacolumn">대분류</Col>
  405. </Row>
  406. <Row>
  407. <Col id="codecolumn">3</Col>
  408. <Col id="datacolumn">관</Col>
  409. </Row>
  410. <Row>
  411. <Col id="codecolumn">2</Col>
  412. <Col id="datacolumn">항</Col>
  413. </Row>
  414. <Row>
  415. <Col id="codecolumn">1</Col>
  416. <Col id="datacolumn">목</Col>
  417. </Row>
  418. <Row>
  419. <Col id="codecolumn">0</Col>
  420. <Col id="datacolumn">세목</Col>
  421. </Row>
  422. </Rows>
  423. </Dataset>
  424. </Combo>
  425. <Button id="button1" taborder="33" class="icon_search" position="absolute 541 34 557 50" onclick="sw_grid_case_pjtpr_group6_button1_onclick"/>
  426. <Button id="button2" taborder="34" class="icon_search" position="absolute 541 10 557 26" onclick="sw_grid_case_pjtpr_group6_button2_onclick"/>
  427. <Edit id="input1" taborder="35" class="input_s_essential" position="absolute 462 10 537 29" autoselect="true" autoskip="true"/>
  428. <Static id="caption9" text="계정과목 :" class="search_name" position="absolute 370 10 460 27"/>
  429. <Edit id="input2" taborder="36" class="input_s_essential" position="absolute 462 34 537 53" autoselect="true" autoskip="true"/>
  430. <Edit id="input3" taborder="37" class="input_s_essential" position="absolute 559 10 735 29" autoselect="true" autoskip="true"/>
  431. <Edit id="input4" taborder="38" class="input_s_essential" position="absolute 559 34 735 53" autoselect="true" autoskip="true"/>
  432. </Layout>
  433. </Layouts>
  434. </Div>
  435. <Shape id="line6" linetype="horizontal" class="line_10" position="absolute 0 85 1193 91" anchor="left top right"/>
  436. </Layout>
  437. </Layouts>
  438. </Tabpage>
  439. </Tabpages>
  440. </Tab>
  441. </Layout>
  442. </Layouts>
  443. <Objects>
  444. <Dataset id="ds_main_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_dept_oncolumnchanged">
  445. <ColumnInfo>
  446. <Column id="instcd" type="STRING" size="256"/>
  447. <Column id="deptcd" type="STRING" size="256"/>
  448. <Column id="depthngnm" type="STRING" size="256"/>
  449. <Column id="project" type="STRING" size="256"/>
  450. <Column id="fracntcd" type="STRING" size="256"/>
  451. <Column id="fracntnm" type="STRING" size="256"/>
  452. <Column id="toacntcd" type="STRING" size="256"/>
  453. <Column id="toacntnm" type="STRING" size="256"/>
  454. <Column id="frdate" type="STRING" size="256"/>
  455. <Column id="todate" type="STRING" size="256"/>
  456. <Column id="acntclsflag" type="STRING" size="256"/>
  457. <Column id="framt" type="STRING" size="256"/>
  458. <Column id="toamt" type="STRING" size="256"/>
  459. <Column id="projectid" type="STRING" size="256"/>
  460. <Column id="projectnm" type="STRING" size="256"/>
  461. <Column id="prntflag" type="STRING" size="256"/>
  462. </ColumnInfo>
  463. <Rows>
  464. <Row>
  465. <Col id="instcd"/>
  466. <Col id="deptcd"/>
  467. <Col id="depthngnm"/>
  468. <Col id="project"/>
  469. <Col id="fracntcd"/>
  470. <Col id="fracntnm"/>
  471. <Col id="toacntcd"/>
  472. <Col id="toacntnm"/>
  473. <Col id="frdate"/>
  474. <Col id="todate"/>
  475. <Col id="acntclsflag">1</Col>
  476. <Col id="framt"/>
  477. <Col id="toamt"/>
  478. <Col id="projectid"/>
  479. <Col id="projectnm"/>
  480. <Col id="prntflag"/>
  481. </Row>
  482. </Rows>
  483. </Dataset>
  484. <Dataset id="ds_main_deptpr_prlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  485. <ColumnInfo>
  486. <Column id="supacntcd4" type="STRING" size="256" sumtext="상위계정코드"/>
  487. <Column id="supacntnm4" type="STRING" size="256" sumtext="상위계정명"/>
  488. <Column id="acntcd" type="STRING" size="256" sumtext="계정코드"/>
  489. <Column id="acntnm" type="STRING" size="256" sumtext="계정명"/>
  490. <Column id="yyyymm" type="STRING" size="256" sumtext="년월"/>
  491. <Column id="apsldt" type="STRING" size="256" sumtext="결재날짜"/>
  492. <Column id="apslno" type="STRING" size="256" sumtext="결재번호"/>
  493. <Column id="gubn" type="STRING" size="256" sumtext="구분"/>
  494. <Column id="note00" type="STRING" size="256" sumtext="적요"/>
  495. <Column id="projectid" type="STRING" size="256" sumtext="프로젝트ID"/>
  496. <Column id="depthngnm" type="STRING" size="256" sumtext="원가사용부서명"/>
  497. <Column id="custflag" type="STRING" size="256" sumtext="상대처구분"/>
  498. <Column id="custnm" type="STRING" size="256" sumtext="거래처"/>
  499. <Column id="dramt" type="STRING" size="256" sumtext="차변금액"/>
  500. <Column id="cramt" type="STRING" size="256" sumtext="대변금액"/>
  501. <Column id="balamt" type="STRING" size="256" sumtext="잔액"/>
  502. <Column id="balsum" type="STRING" size="256" sumtext="잔액"/>
  503. <Column id="slipkind" type="STRING" size="256" sumtext="전표유형"/>
  504. <Column id="unsldd" type="STRING" size="256" sumtext="미결날짜"/>
  505. <Column id="unslno" type="STRING" size="256" sumtext="미결젼표번호"/>
  506. <Column id="slipflag" type="STRING" size="256" sumtext="전표구분"/>
  507. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  508. <Column id="deptcd" type="STRING" size="256" sumtext="원가사용부서"/>
  509. </ColumnInfo>
  510. </Dataset>
  511. <Dataset id="ds_main_balamt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_balamt_oncolumnchanged">
  512. <ColumnInfo>
  513. <Column id="instcd" type="STRING" size="256"/>
  514. <Column id="deptcd" type="STRING" size="256"/>
  515. <Column id="project" type="STRING" size="256"/>
  516. <Column id="fracntcd" type="STRING" size="256"/>
  517. <Column id="fracntnm" type="STRING" size="256"/>
  518. <Column id="toacntcd" type="STRING" size="256"/>
  519. <Column id="toacntnm" type="STRING" size="256"/>
  520. <Column id="frdate" type="STRING" size="256"/>
  521. <Column id="todate" type="STRING" size="256"/>
  522. <Column id="acntclsflag" type="STRING" size="256"/>
  523. <Column id="projectid" type="STRING" size="256"/>
  524. <Column id="projectnm" type="STRING" size="256"/>
  525. <Column id="prntflag" type="STRING" size="256"/>
  526. </ColumnInfo>
  527. <Rows>
  528. <Row>
  529. <Col id="instcd"/>
  530. <Col id="deptcd"/>
  531. <Col id="project"/>
  532. <Col id="fracntcd"/>
  533. <Col id="fracntnm"/>
  534. <Col id="toacntcd"/>
  535. <Col id="toacntnm"/>
  536. <Col id="frdate"/>
  537. <Col id="todate"/>
  538. <Col id="acntclsflag">4</Col>
  539. <Col id="projectid"/>
  540. <Col id="projectnm"/>
  541. <Col id="prntflag"/>
  542. </Row>
  543. </Rows>
  544. </Dataset>
  545. <Dataset id="ds_main_balamtpr_prlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  546. <ColumnInfo>
  547. <Column id="supacntcd4" type="STRING" size="256" sumtext="상위계정코드"/>
  548. <Column id="supacntnm4" type="STRING" size="256" sumtext="상위계정명"/>
  549. <Column id="acntcd" type="STRING" size="256" sumtext="계정코드"/>
  550. <Column id="acntnm" type="STRING" size="256" sumtext="계정명"/>
  551. <Column id="yyyymm" type="STRING" size="256" sumtext="년월"/>
  552. <Column id="apsldt" type="STRING" size="256" sumtext="결재날짜"/>
  553. <Column id="apslno" type="STRING" size="256" sumtext="결재번호"/>
  554. <Column id="gubn" type="STRING" size="256" sumtext="구분"/>
  555. <Column id="note00" type="STRING" size="256" sumtext="적요"/>
  556. <Column id="depthngnm" type="STRING" size="256" sumtext="원가사용부서명"/>
  557. <Column id="custflag" type="STRING" size="256" sumtext="상대처구분"/>
  558. <Column id="custnm" type="STRING" size="256" sumtext="거래처"/>
  559. <Column id="dramt" type="STRING" size="256" sumtext="차변금액"/>
  560. <Column id="cramt" type="STRING" size="256" sumtext="대변금액"/>
  561. <Column id="balamt" type="STRING" size="256" sumtext="잔액"/>
  562. <Column id="balsum" type="STRING" size="256" sumtext="잔액"/>
  563. <Column id="slipkind" type="STRING" size="256" sumtext="전표유형"/>
  564. <Column id="unsldd" type="STRING" size="256" sumtext="미결날짜"/>
  565. <Column id="unslno" type="STRING" size="256" sumtext="미결젼표번호"/>
  566. <Column id="slipflag" type="STRING" size="256" sumtext="전표구분"/>
  567. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  568. <Column id="deptcd" type="STRING" size="256" sumtext="원가사용부서"/>
  569. <Column id="flag" type="STRING" size="256" sumtext="구분"/>
  570. </ColumnInfo>
  571. </Dataset>
  572. <Dataset id="ds_main_project" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_project_oncolumnchanged">
  573. <ColumnInfo>
  574. <Column id="instcd" type="STRING" size="256"/>
  575. <Column id="deptcd" type="STRING" size="256"/>
  576. <Column id="project" type="STRING" size="256"/>
  577. <Column id="fracntcd" type="STRING" size="256"/>
  578. <Column id="fracntnm" type="STRING" size="256"/>
  579. <Column id="toacntcd" type="STRING" size="256"/>
  580. <Column id="toacntnm" type="STRING" size="256"/>
  581. <Column id="frdate" type="STRING" size="256"/>
  582. <Column id="todate" type="STRING" size="256"/>
  583. <Column id="acntclsflag" type="STRING" size="256"/>
  584. <Column id="prntflag" type="STRING" size="256"/>
  585. </ColumnInfo>
  586. <Rows>
  587. <Row>
  588. <Col id="instcd"/>
  589. <Col id="deptcd"/>
  590. <Col id="project"/>
  591. <Col id="fracntcd"/>
  592. <Col id="fracntnm"/>
  593. <Col id="toacntcd"/>
  594. <Col id="toacntnm"/>
  595. <Col id="frdate"/>
  596. <Col id="todate"/>
  597. <Col id="acntclsflag"/>
  598. <Col id="prntflag"/>
  599. </Row>
  600. </Rows>
  601. </Dataset>
  602. <Dataset id="ds_main_projectpr_prlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  603. <ColumnInfo>
  604. <Column id="supacntcd4" type="STRING" size="256" sumtext="상위계정코드"/>
  605. <Column id="supacntnm4" type="STRING" size="256" sumtext="상위계정명"/>
  606. <Column id="acntcd" type="STRING" size="256" sumtext="계정코드"/>
  607. <Column id="acntnm" type="STRING" size="256" sumtext="계정명"/>
  608. <Column id="yyyymm" type="STRING" size="256" sumtext="년월"/>
  609. <Column id="apsldt" type="STRING" size="256" sumtext="결재날짜"/>
  610. <Column id="apslno" type="STRING" size="256" sumtext="결재번호"/>
  611. <Column id="gubn" type="STRING" size="256" sumtext="구분"/>
  612. <Column id="note00" type="STRING" size="256" sumtext="적요"/>
  613. <Column id="depthngnm" type="STRING" size="256" sumtext="원가사용부서명"/>
  614. <Column id="custflag" type="STRING" size="256" sumtext="상대처구분"/>
  615. <Column id="custnm" type="STRING" size="256" sumtext="거래처"/>
  616. <Column id="dramt" type="STRING" size="256" sumtext="차변금액"/>
  617. <Column id="cramt" type="STRING" size="256" sumtext="대변금액"/>
  618. <Column id="balamt" type="STRING" size="256" sumtext="잔액"/>
  619. <Column id="balsum" type="STRING" size="256" sumtext="잔액"/>
  620. <Column id="slipkind" type="STRING" size="256" sumtext="전표유형"/>
  621. <Column id="unsldd" type="STRING" size="256" sumtext="미결날짜"/>
  622. <Column id="unslno" type="STRING" size="256" sumtext="미결젼표번호"/>
  623. <Column id="slipflag" type="STRING" size="256" sumtext="전표구분"/>
  624. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  625. <Column id="deptcd" type="STRING" size="256" sumtext="원가사용부서"/>
  626. <Column id="flag" type="STRING" size="256" sumtext="구분"/>
  627. </ColumnInfo>
  628. </Dataset>
  629. <Dataset id="ds_send_params" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  630. <ColumnInfo>
  631. <Column id="instcd" type="STRING" size="256"/>
  632. <Column id="deptcd" type="STRING" size="256"/>
  633. <Column id="project" type="STRING" size="256"/>
  634. <Column id="fracntcd" type="STRING" size="256"/>
  635. <Column id="toacntcd" type="STRING" size="256"/>
  636. <Column id="frdate" type="STRING" size="256"/>
  637. <Column id="todate" type="STRING" size="256"/>
  638. <Column id="flag" type="STRING" size="256"/>
  639. <Column id="prntflag" type="STRING" size="256"/>
  640. <Column id="acntclsflag" type="STRING" size="256"/>
  641. <Column id="framt" type="STRING" size="256"/>
  642. <Column id="toamt" type="STRING" size="256"/>
  643. <Column id="projectid" type="STRING" size="256"/>
  644. <Column id="prntflag" type="STRING" size="256"/>
  645. </ColumnInfo>
  646. <Rows>
  647. <Row>
  648. <Col id="instcd"/>
  649. <Col id="deptcd"/>
  650. <Col id="project"/>
  651. <Col id="fracntcd"/>
  652. <Col id="toacntcd"/>
  653. <Col id="frdate"/>
  654. <Col id="todate"/>
  655. <Col id="flag"/>
  656. <Col id="prntflag"/>
  657. <Col id="acntclsflag"/>
  658. <Col id="framt"/>
  659. <Col id="toamt"/>
  660. <Col id="projectid"/>
  661. <Col id="prntflag"/>
  662. </Row>
  663. </Rows>
  664. </Dataset>
  665. <Dataset id="ds_send_prenextacntcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  666. <ColumnInfo>
  667. <Column id="instcd" type="STRING" size="256"/>
  668. <Column id="acntcd" type="STRING" size="256"/>
  669. <Column id="acntclsflag" type="STRING" size="256"/>
  670. <Column id="workflag" type="STRING" size="256"/>
  671. </ColumnInfo>
  672. <Rows>
  673. <Row>
  674. <Col id="instcd"/>
  675. <Col id="acntcd"/>
  676. <Col id="acntclsflag"/>
  677. <Col id="workflag"/>
  678. </Row>
  679. </Rows>
  680. </Dataset>
  681. <Dataset id="ds_send_retrprarms2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  682. <ColumnInfo>
  683. <Column id="instcd" type="STRING" size="256"/>
  684. <Column id="mngtcd" type="STRING" size="256"/>
  685. </ColumnInfo>
  686. <Rows>
  687. <Row>
  688. <Col id="instcd"/>
  689. <Col id="mngtcd">acntdept</Col>
  690. </Row>
  691. </Rows>
  692. </Dataset>
  693. <Dataset id="ds_init_code_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  694. <ColumnInfo>
  695. <Column id="cdid" type="STRING" size="256" sumtext="관리코드명"/>
  696. <Column id="cdnm" type="STRING" size="256" sumtext="비고"/>
  697. <Column id="cdgbn" type="STRING" size="256" sumtext="관리코드"/>
  698. <Column id="entrregno" type="STRING" size="256" sumtext="사업자등록번호"/>
  699. <Column id="custnm" type="STRING" size="256" sumtext="거래처명"/>
  700. <Column id="aactcd" type="STRING" size="256" sumtext="계좌코드"/>
  701. <Column id="aactno" type="STRING" size="256" sumtext="계좌번호"/>
  702. </ColumnInfo>
  703. </Dataset>
  704. <Dataset id="ds_hidden_acntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  705. <ColumnInfo>
  706. <Column id="acntcd" type="STRING" size="256" sumtext="계정코드"/>
  707. <Column id="acntnm" type="STRING" size="256" sumtext="계정명"/>
  708. </ColumnInfo>
  709. </Dataset>
  710. <Dataset id="ds_hidden_deptpr_deptprlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  711. <Dataset id="ds_hidden_balamtpr_balamtprlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  712. <Dataset id="ds_hidden_projectpr_projectprlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  713. <Dataset id="ds_source_slipinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  714. <ColumnInfo>
  715. <Column id="instcd" type="STRING" size="256"/>
  716. <Column id="slipno" type="STRING" size="256"/>
  717. <Column id="slipdt" type="STRING" size="256"/>
  718. </ColumnInfo>
  719. </Dataset>
  720. <Dataset id="ds_send_retrprarms" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  721. <ColumnInfo>
  722. <Column id="instnm" type="STRING" size="256"/>
  723. <Column id="selectedIndex" type="STRING" size="256"/>
  724. <Column id="frdate" type="STRING" size="256"/>
  725. <Column id="todate" type="STRING" size="256"/>
  726. <Column id="fracntcd" type="STRING" size="256"/>
  727. <Column id="toacntcd" type="STRING" size="256"/>
  728. <Column id="fracntnm" type="STRING" size="256"/>
  729. <Column id="toacntnm" type="STRING" size="256"/>
  730. <Column id="prntflag" type="STRING" size="256"/>
  731. </ColumnInfo>
  732. <Rows>
  733. <Row>
  734. <Col id="instnm"/>
  735. <Col id="selectedIndex"/>
  736. <Col id="frdate"/>
  737. <Col id="todate"/>
  738. <Col id="fracntcd"/>
  739. <Col id="toacntcd"/>
  740. <Col id="fracntnm"/>
  741. <Col id="toacntnm"/>
  742. <Col id="prntflag"/>
  743. </Row>
  744. </Rows>
  745. </Dataset>
  746. <Dataset id="ds_send_prntlist_girdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  747. </Objects>
  748. <Bind>
  749. <BindItem id="item0" compid="sw_grid.case_deptpr.group4.cmb_prntflag" propid="value" datasetid="ds_main_dept" columnid="prntflag"/>
  750. <BindItem id="item1" compid="sw_grid.case_deptpr.group4.ipt_deptcd" propid="value" datasetid="ds_main_dept" columnid="deptcd"/>
  751. <BindItem id="item2" compid="sw_grid.case_deptpr.group4.ipt_depthngnm" propid="value" datasetid="ds_main_dept" columnid="depthngnm"/>
  752. <BindItem id="item3" compid="sw_grid.case_deptpr.group4.cmb_deptprinstcd" propid="value" datasetid="ds_main_dept" columnid="instcd"/>
  753. <BindItem id="item4" compid="sw_grid.case_deptpr.group4.cmb_acntclsflag" propid="value" datasetid="ds_main_dept" columnid="acntclsflag"/>
  754. <BindItem id="item5" compid="sw_grid.case_deptpr.group4.ipt_fracntcd" propid="value" datasetid="ds_main_dept" columnid="fracntcd"/>
  755. <BindItem id="item6" compid="sw_grid.case_deptpr.group4.ipt_toacntcd" propid="value" datasetid="ds_main_dept" columnid="toacntcd"/>
  756. <BindItem id="item7" compid="sw_grid.case_deptpr.group4.ipt_fracntnm" propid="value" datasetid="ds_main_dept" columnid="fracntnm"/>
  757. <BindItem id="item8" compid="sw_grid.case_deptpr.group4.ipt_toacntnm" propid="value" datasetid="ds_main_dept" columnid="toacntnm"/>
  758. <BindItem id="item9" compid="sw_grid.case_deptpr.group4.ipt_frdate" propid="value" datasetid="ds_main_dept" columnid="frdate"/>
  759. <BindItem id="item10" compid="sw_grid.case_deptpr.group4.ipt_todate" propid="value" datasetid="ds_main_dept" columnid="todate"/>
  760. <BindItem id="item11" compid="sw_grid.case_deptpr.group4.ipt_framt" propid="value" datasetid="ds_main_dept" columnid="framt"/>
  761. <BindItem id="item12" compid="sw_grid.case_deptpr.group4.ipt_toamt" propid="value" datasetid="ds_main_dept" columnid="toamt"/>
  762. <BindItem id="item13" compid="sw_grid.case_deptpr.group4.ipt_projectid" propid="value" datasetid="ds_main_dept" columnid="projectid"/>
  763. <BindItem id="item14" compid="sw_grid.case_deptpr.group4.ipt_projectnm" propid="value" datasetid="ds_main_dept" columnid="projectnm"/>
  764. <BindItem id="item15" compid="sw_grid.case_balamtpr.group5.cmb_balamtprinstcd" propid="value" datasetid="ds_main_balamt" columnid="instcd"/>
  765. <BindItem id="item16" compid="sw_grid.case_balamtpr.group5.ipt_fracntcd2" propid="value" datasetid="ds_main_balamt" columnid="fracntcd"/>
  766. <BindItem id="item17" compid="sw_grid.case_balamtpr.group5.ipt_fracntnm2" propid="value" datasetid="ds_main_balamt" columnid="fracntnm"/>
  767. <BindItem id="item18" compid="sw_grid.case_balamtpr.group5.ipt_frdate2" propid="value" datasetid="ds_main_balamt" columnid="frdate"/>
  768. <BindItem id="item19" compid="sw_grid.case_balamtpr.group5.ipt_todate2" propid="value" datasetid="ds_main_balamt" columnid="todate"/>
  769. <BindItem id="item20" compid="sw_grid.case_balamtpr.group5.cmb_acntclsflag2" propid="value" datasetid="ds_main_balamt" columnid="acntclsflag"/>
  770. <BindItem id="item21" compid="sw_grid.case_balamtpr.group5.ipt_toacntcd2" propid="value" datasetid="ds_main_balamt" columnid="toacntcd"/>
  771. <BindItem id="item22" compid="sw_grid.case_balamtpr.group5.ipt_toacntnm2" propid="value" datasetid="ds_main_balamt" columnid="toacntnm"/>
  772. <BindItem id="item23" compid="sw_grid.case_pjtpr.group6.cmb_projectprinstcd" propid="value" datasetid="ds_main_project" columnid="instcd"/>
  773. <BindItem id="item24" compid="sw_grid.case_pjtpr.group6.input1" propid="value" datasetid="ds_main_project" columnid="fracntcd"/>
  774. <BindItem id="item25" compid="sw_grid.case_pjtpr.group6.input3" propid="value" datasetid="ds_main_project" columnid="fracntnm"/>
  775. <BindItem id="item26" compid="sw_grid.case_pjtpr.group6.ipt_frdate3" propid="value" datasetid="ds_main_project" columnid="frdate"/>
  776. <BindItem id="item27" compid="sw_grid.case_pjtpr.group6.ipt_todate3" propid="value" datasetid="ds_main_project" columnid="todate"/>
  777. <BindItem id="item28" compid="sw_grid.case_pjtpr.group6.cmb_acntclsflag3" propid="value" datasetid="ds_main_project" columnid="acntclsflag"/>
  778. <BindItem id="item29" compid="sw_grid.case_pjtpr.group6.input2" propid="value" datasetid="ds_main_project" columnid="toacntcd"/>
  779. <BindItem id="item30" compid="sw_grid.case_pjtpr.group6.input4" propid="value" datasetid="ds_main_project" columnid="toacntnm"/>
  780. </Bind>
  781. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  782. * System Name :
  783. * Job Name :
  784. * Creator :
  785. * Make Date : 2017-06-19
  786. * Description :
  787. *---------------------------------------------------------------------------------------
  788. * Modify Date Modifier Modify Description
  789. *---------------------------------------------------------------------------------------
  790. * 2017-06-19 Live Converter TF->XP
  791. *
  792. *---------------------------------------------------------------------------------------
  793. ****************************************************************************************/
  794. include "com_commonxp::comm_main.xjs";
  795. include "mis_miscommonxp::MIS.xjs";
  796. include "mis_acntcommonxp::RAD001.xjs";
  797. include "mis_miscommonxp::RAC001.xjs";
  798. function SMRAD00700_oninit(obj:Form, e:InitEventInfo)
  799. {
  800. frmf_initForm(obj);
  801. }
  802. function SMRAD00700_onload(obj:Form, e:LoadEventInfo)
  803. {
  804. grdf_initGrid(sw_grid.case_balamtpr.grd_balamtpr);
  805. grdf_initGrid(sw_grid.case_deptpr.grd_deptpr);
  806. grdf_initGrid(sw_grid.case_pjtpr.grd_projectpr);
  807. fInit();
  808. fSetDate();
  809. }
  810. function fInit()
  811. {
  812. ds_main_deptpr_prlist.clearData();
  813. ds_main_deptpr_prlist.clearData();
  814. ds_main_projectpr_prlist.clearData();
  815. misfComboComCdList("Z0007", sw_grid.case_deptpr.group4.cmb_deptprinstcd, "N");
  816. misfComboComCdList("Z0007", sw_grid.case_balamtpr.group5.cmb_balamtprinstcd, "N");
  817. misfComboComCdList("R0531", sw_grid.case_deptpr.group4.cmb_prntflag, sysf_getUserInfo("dutplceinstcd"));
  818. ds_send_params.setColumn(0, "flag", "dept");
  819. ds_main_dept.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  820. ds_main_balamt.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  821. ds_send_prenextacntcd.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  822. sw_grid.case_deptpr.group4.cmb_prntflag.value = sysf_getUserInfo("dutplceinstcd");
  823. ds_send_retrprarms2.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  824. var oParam = {};
  825. oParam.id = "TRRAZ00001";
  826. oParam.service = "acntcommonapp.AcntCommon";
  827. oParam.method = "reqGetAcntMngtCodeList";
  828. oParam.inds = "req=ds_send_retrprarms2";
  829. oParam.outds = "ds_init_code_codelist=codelist";
  830. oParam.async = false;
  831. //oParam.callback = "cf_TRRAZ00001";
  832. tranf_submit(oParam);
  833. radfCheckInstSearchAuth(sysf_getUserInfo("dutplceinstcd"), sw_grid.case_deptpr.group4.cmb_deptprinstcd);
  834. radfCheckInstSearchAuth(sysf_getUserInfo("dutplceinstcd"), sw_grid.case_balamtpr.group5.cmb_balamtprinstcd);
  835. radfCheckInstSearchAuth(sysf_getUserInfo("dutplceinstcd"), sw_grid.case_deptpr.group4.cmb_deptprinstcd);
  836. if( ds_init_code_codelist.getColumn(0, "cdid") != sysf_getUserInfo("dutplcecd") && sysf_getUserInfo("dutplcecd") != "4020334000" && sysf_getUserInfo("dutplcecd") != "6200000000" )
  837. {
  838. if(sysf_getUserInfo("dutplceinstcd") != "103")
  839. {
  840. sw_grid.case_deptpr.group4.ipt_deptcd.enable = true;
  841. sw_grid.case_deptpr.group4.btn_depthelp.enable = false;
  842. sw_grid.case_deptpr.group4.ipt_depthngnm.enable = false;
  843. sw_grid.case_deptpr.group4.cmb_prntflag.enable = false;
  844. }
  845. ds_main_dept.setColumn(0, "deptcd", sysf_getUserInfo("dutplcecd"));
  846. ds_main_dept.setColumn(0, "depthngnm", sysf_getUserInfo("dutplcenm"));
  847. // btn_balamtpr.visible = false;
  848. // btn_pjtpr.visible = false;
  849. }
  850. sw_grid.tabindex = 0;
  851. }
  852. function fSetDate()
  853. {
  854. var dt = new Date();
  855. sw_grid.case_deptpr.group4.ipt_frdate.value = utlf_getCurrentDate();
  856. sw_grid.case_deptpr.group4.ipt_todate.value = utlf_getCurrentDate();
  857. sw_grid.case_balamtpr.group5.ipt_frdate2.value = utlf_getCurrentDate();
  858. sw_grid.case_balamtpr.group5.ipt_todate2.value = utlf_getCurrentDate();
  859. sw_grid.case_pjtpr.group6.ipt_frdate3.value = utlf_getCurrentDate();
  860. sw_grid.case_pjtpr.group6.ipt_todate3.value = utlf_getCurrentDate();
  861. }
  862. function sw_grid_case_deptpr_group4_ipt_deptcd_onkeydown(obj:Edit, e:KeyEventInfo)
  863. {
  864. if(e.keycode == 13)
  865. {
  866. obj.updateToDataset();
  867. racfDeptValidCheck("deptcd,depthngnm");
  868. sw_grid.case_deptpr.group4.ipt_depthngnm.setFocus();
  869. }
  870. }
  871. function ds_main_dept_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  872. {
  873. if(e.columnid == "deptcd")
  874. {
  875. sw_grid.case_deptpr.group4.ipt_deptcd.value = e.newvalue;
  876. sw_grid.case_deptpr.group4.ipt_deptcd.setFocus();
  877. racfDeptValidCheck("deptcd,depthngnm");
  878. }
  879. if(e.columnid == "depthngnm")
  880. {
  881. sw_grid.case_deptpr.group4.ipt_depthngnm.value = e.newvalue;
  882. sw_grid.case_deptpr.group4.ipt_depthngnm.setFocus();
  883. racfDeptValidCheck("deptcd,depthngnm");
  884. }
  885. if(e.columnid == "depthngnm")
  886. {
  887. misfValidationCheck("05", "", "toacntcd,toacntnm", "sw_grid.case_deptpr.group4.cmb_acntclsflag", "acntclsflag");
  888. }
  889. if(e.columnid == "projectnm")
  890. {
  891. misfValidationCheck("23", "", "projectid,projectnm", "", "", "name");
  892. }
  893. }
  894. function sw_grid_case_deptpr_group4_btn_depthelp_onclick(obj:Button, e:ClickEventInfo)
  895. {
  896. misfOpenPopUpList("02", ds_main_dept, "", "deptcd,depthngnm");
  897. }
  898. function sw_grid_case_deptpr_group4_ipt_depthngnm_onkeydown(obj:Edit, e:KeyEventInfo)
  899. {
  900. if(e.keycode == 13)
  901. {
  902. obj.updateToDataset();
  903. racfDeptValidCheck("deptcd,depthngnm");
  904. sw_grid.case_deptpr.group4.ipt_frdate.setFocus();
  905. }
  906. }
  907. function sw_grid_case_deptpr_group4_cmb_acntclsflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  908. {
  909. ds_main_dept.setColumn(0, "fracntcd", "");
  910. ds_main_dept.setColumn(0, "fracntnm", "");
  911. ds_main_dept.setColumn(0, "toacntcd", "");
  912. ds_main_dept.setColumn(0, "toacntnm", "");
  913. }
  914. function sw_grid_case_deptpr_group4_btn_fracnthelp_onclick(obj:Button, e:ClickEventInfo)
  915. {
  916. misfOpenPopUpList("05", ds_main_dept, "", "fracntcd,fracntnm", "cmb_acntclsflag", "acntclsflag");
  917. }
  918. function sw_grid_case_deptpr_group4_ipt_fracntnm_onkeydown(obj:Edit, e:KeyEventInfo)
  919. {
  920. if(e.keycode == 13)
  921. {
  922. obj.updateToDataset()
  923. sw_grid.case_deptpr.group4.ipt_toacntcd.setFocus();
  924. }
  925. }
  926. function sw_grid_case_deptpr_group4_btn_frpre_onclick(obj:Button, e:ClickEventInfo)
  927. {
  928. if(!utlf_isNull(ds_main_dept.getColumn(0, "fracntcd")))
  929. {
  930. ds_send_prenextacntcd.setColumn(0, "acntcd", sw_grid.case_deptpr.group4.ipt_fracntcd.value);
  931. ds_send_prenextacntcd.setColumn(0, "acntclsflag", sw_grid.case_deptpr.group4.cmb_acntclsflag.value);
  932. ds_send_prenextacntcd.setColumn(0, "workflag", "pre");
  933. var oParam = {};
  934. oParam.id = "TRRAD00704";
  935. oParam.service = "slipapp.AccBook";
  936. oParam.method = "reqGetAcntbtn";
  937. oParam.inds = "req=ds_send_prenextacntcd";
  938. oParam.outds = "ds_hidden_acntinfo=acntinfo";
  939. oParam.async = false;
  940. //oParam.callback = "cf_TRRAD00704";
  941. tranf_submit(oParam);
  942. if(!utlf_isNull(ds_hidden_acntinfo.getColumn(0, "acntcd")))
  943. {
  944. sw_grid.case_deptpr.group4.ipt_fracntcd.value = ds_hidden_acntinfo.getColumn(0, "acntcd");
  945. sw_grid.case_deptpr.group4.ipt_fracntnm.value = ds_hidden_acntinfo.getColumn(0, "acntnm");
  946. }
  947. }
  948. }
  949. function sw_grid_case_deptpr_group4_btn_frnext_onclick(obj:Button, e:ClickEventInfo)
  950. {
  951. if(!utlf_isNull(ds_main_dept.getColumn(0, "fracntcd")))
  952. {
  953. ds_send_prenextacntcd.setColumn(0, "acntcd", sw_grid.case_deptpr.group4.ipt_fracntcd.value);
  954. ds_send_prenextacntcd.setColumn(0, "acntclsflag", sw_grid.case_deptpr.group4.cmb_acntclsflag.value);
  955. ds_send_prenextacntcd.setColumn(0, "workflag", "next");
  956. var oParam = {};
  957. oParam.id = "TRRAD00704";
  958. oParam.service = "slipapp.AccBook";
  959. oParam.method = "reqGetAcntbtn";
  960. oParam.inds = "req=ds_send_prenextacntcd";
  961. oParam.outds = "ds_hidden_acntinfo=acntinfo";
  962. oParam.async = false;
  963. //oParam.callback = "cf_TRRAD00704";
  964. tranf_submit(oParam);
  965. if(!utlf_isNull(ds_hidden_acntinfo.getColumn(0, "acntcd")))
  966. {
  967. sw_grid.case_deptpr.group4.ipt_fracntcd.value = ds_hidden_acntinfo.getColumn(0, "acntcd");
  968. sw_grid.case_deptpr.group4.ipt_fracntnm.value = ds_hidden_acntinfo.getColumn(0, "acntnm");
  969. }
  970. }
  971. }
  972. function sw_grid_case_deptpr_group4_btn_toacnthelp_onclick(obj:Button, e:ClickEventInfo)
  973. {
  974. misfOpenPopUpList("05", ds_main_dept, "", "toacntcd,toacntnm", "cmb_acntclsflag", "acntclsflag");
  975. }
  976. function sw_grid_case_deptpr_group4_ipt_toacntnm_onkeydown(obj:Edit, e:KeyEventInfo)
  977. {
  978. if(e.keycode == 13)
  979. {
  980. sw_grid.case_deptpr.group4.ipt_deptcd.setFocus();
  981. }
  982. }
  983. function sw_grid_case_deptpr_group4_btn_topre_onclick(obj:Button, e:ClickEventInfo)
  984. {
  985. if(!utlf_isNull(ds_main_dept.getColumn(0, "toacntcd")))
  986. {
  987. ds_send_prenextacntcd.setColumn(0, "acntcd", sw_grid.case_deptpr.group4.ipt_toacntcd.value);
  988. ds_send_prenextacntcd.setColumn(0, "acntclsflag", sw_grid.case_deptpr.group4.cmb_acntclsflag.value);
  989. ds_send_prenextacntcd.setColumn(0, "workflag", "pre");
  990. var oParam = {};
  991. oParam.id = "TRRAD00704";
  992. oParam.service = "slipapp.AccBook";
  993. oParam.method = "reqGetAcntbtn";
  994. oParam.inds = "req=ds_send_prenextacntcd";
  995. oParam.outds = "ds_hidden_acntinfo=acntinfo";
  996. oParam.async = false;
  997. //oParam.callback = "cf_TRRAD00704";
  998. tranf_submit(oParam);
  999. if(!utlf_isNull(ds_hidden_acntinfo.getColumn(0, "acntcd")))
  1000. {
  1001. sw_grid.case_deptpr.group4.ipt_toacntcd.value = ds_hidden_acntinfo.getColumn(0, "acntcd");
  1002. sw_grid.case_deptpr.group4.ipt_toacntnm.value = ds_hidden_acntinfo.getColumn(0, "acntnm");
  1003. }
  1004. }
  1005. }
  1006. function sw_grid_case_deptpr_group4_btn_tonext_onclick(obj:Button, e:ClickEventInfo)
  1007. {
  1008. if(!utlf_isNull(ds_main_dept.getColumn(0, "toacntcd")))
  1009. {
  1010. ds_send_prenextacntcd.setColumn(0, "acntcd", sw_grid.case_deptpr.group4.ipt_toacntcd.value);
  1011. ds_send_prenextacntcd.setColumn(0, "acntclsflag", sw_grid.case_deptpr.group4.cmb_acntclsflag.value);
  1012. ds_send_prenextacntcd.setColumn(0, "workflag", "next");
  1013. var oParam = {};
  1014. oParam.id = "TRRAD00704";
  1015. oParam.service = "slipapp.AccBook";
  1016. oParam.method = "reqGetAcntbtn";
  1017. oParam.inds = "req=ds_send_prenextacntcd";
  1018. oParam.outds = "ds_hidden_acntinfo=acntinfo";
  1019. oParam.async = false;
  1020. //oParam.callback = "cf_TRRAD00704";
  1021. tranf_submit(oParam);
  1022. if(!utlf_isNull(ds_hidden_acntinfo.getColumn(0, "acntcd")))
  1023. {
  1024. sw_grid.case_deptpr.group4.ipt_toacntcd.value = ds_hidden_acntinfo.getColumn(0, "acntcd");
  1025. sw_grid.case_deptpr.group4.ipt_toacntnm.value = ds_hidden_acntinfo.getColumn(0, "acntnm");
  1026. }
  1027. }
  1028. }
  1029. function sw_grid_case_deptpr_group4_ipt_projectid_onkeydown(obj:Edit, e:KeyEventInfo)
  1030. {
  1031. if(e.keycode == 13)
  1032. {
  1033. misfValidationCheck("23", "", "projectid,projectnm", "", "", "code");
  1034. sw_grid.case_deptpr.group4.btn_search.click();
  1035. }
  1036. }
  1037. function sw_grid_case_deptpr_group4_btn_projectid_onclick(obj:Button, e:ClickEventInfo)
  1038. {
  1039. misfOpenPopUpList("23", ds_main_dept, "", "projectid,projectnm");
  1040. }
  1041. function sw_grid_case_deptpr_group4_ipt_projectnm_onkeydown(obj:Edit, e:KeyEventInfo)
  1042. {
  1043. if(e.keycode == 13)
  1044. {
  1045. misfValidationCheck("23", "", "projectid,projectnm", "", "", "name");
  1046. sw_grid.case_deptpr.group4.btn_search.setFocus();
  1047. }
  1048. }
  1049. function sw_grid_case_deptpr_group4_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1050. {
  1051. fRetrieve();
  1052. }
  1053. function fRetrieve()
  1054. {
  1055. if(parseFloat(sw_grid.case_deptpr.group4.ipt_fracntcd.value) > parseFloat(sw_grid.case_deptpr.group4.ipt_toacntcd.value))
  1056. {
  1057. sw_grid.case_deptpr.group4.ipt_toacntcd.value = sw_grid.case_deptpr.group4.ipt_fracntcd.value;
  1058. }
  1059. if(utlf_isNull(eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "fracntcd")) && utlf_isNull(eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "toacntcd")))
  1060. {
  1061. sysf_messageBox("계정과목을 하나는 입력해야 합니다.", "I999");
  1062. return;
  1063. }
  1064. if(utlf_isNull(eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "fracntcd")) && !utlf_isNull(eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "toacntcd")))
  1065. {
  1066. eval("ds_main_"+ds_send_params.getColumn(0, "flag")).setColumn(0, "fracntcd", eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "toacntcd"));
  1067. eval("ds_main_"+ds_send_params.getColumn(0, "flag")).setColumn(0, "fracntnm", eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "toacntnm"));
  1068. }
  1069. if(!utlf_isNull(eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "fracntcd")) && utlf_isNull(eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "toacntcd")))
  1070. {
  1071. eval("ds_main_"+ds_send_params.getColumn(0, "flag")).setColumn(0, "toacntcd", eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "fracntcd"));
  1072. eval("ds_main_"+ds_send_params.getColumn(0, "flag")).setColumn(0, "toacntnm", eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "fracntnm"));
  1073. }
  1074. ds_send_params.setColumn(0, "instcd", eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "instcd"));
  1075. ds_send_params.setColumn(0, "deptcd", eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "deptcd"));
  1076. ds_send_params.setColumn(0, "fracntcd", eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "fracntcd"));
  1077. ds_send_params.setColumn(0, "toacntcd", eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "toacntcd"));
  1078. ds_send_params.setColumn(0, "frdate", eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "frdate"));
  1079. ds_send_params.setColumn(0, "todate", eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "todate"));
  1080. ds_send_params.setColumn(0, "framt", eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "framt"));
  1081. ds_send_params.setColumn(0, "toamt", eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "toamt"));
  1082. ds_send_params.setColumn(0, "projectid", eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "projectid"));
  1083. ds_send_params.setColumn(0, "acntclsflag", eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "acntclsflag"));
  1084. ds_send_params.setColumn(0, "prntflag", eval("ds_main_"+ds_send_params.getColumn(0, "flag")).getColumn(0, "prntflag"));
  1085. switch(ds_send_params.getColumn(0, "flag"))
  1086. {
  1087. case "dept":
  1088. ds_main_deptpr_prlist.clearData();
  1089. ds_hidden_deptpr_deptprlist.clearData();
  1090. var oParam = {};
  1091. oParam.id = "TRRAD00701";
  1092. oParam.service = "slipapp.AccBook";
  1093. oParam.method = "reqGetAcntPrList";
  1094. oParam.inds = "req=ds_send_params";
  1095. oParam.outds = "ds_main_deptpr_prlist=prlist";
  1096. oParam.async = false;
  1097. //oParam.callback = "cf_TRRAD00701";
  1098. tranf_submit(oParam);
  1099. break;
  1100. case "balamt":
  1101. ds_main_balamtpr_prlist.clearData();
  1102. ds_hidden_balamtpr_balamtprlist.clearData();
  1103. var oParam = {};
  1104. oParam.id = "TRRAD00702";
  1105. oParam.service = "slipapp.AccBook";
  1106. oParam.method = "reqGetAcntPrList";
  1107. oParam.inds = "req=ds_send_params";
  1108. oParam.outds = "ds_main_balamtpr_prlist=prlist";
  1109. oParam.async = false;
  1110. //oParam.callback = "cf_TRRAD00702";
  1111. tranf_submit(oParam);
  1112. break;
  1113. case "project":
  1114. ds_main_projectpr_prlist.clearData();
  1115. ds_hidden_projectpr_projectprlist.clearData();
  1116. var oParam = {};
  1117. oParam.id = "TRRAD00703";
  1118. oParam.service = "slipapp.AccBook";
  1119. oParam.method = "reqGetAcntPrList";
  1120. oParam.inds = "req=ds_send_params";
  1121. oParam.outds = "ds_main_projectpr_prlist=prlist";
  1122. oParam.async = false;
  1123. //oParam.callback = "cf_TRRAD00703";
  1124. tranf_submit(oParam);
  1125. break;
  1126. }
  1127. }
  1128. function sw_grid_case_deptpr_grd_deptpr_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1129. {
  1130. if (e.row > -1 && ds_main_deptpr_prlist.getColumn(e.row, "gubn") == "2")
  1131. {
  1132. ds_source_slipinfo.setColumn(0, "instcd", sw_grid.case_deptpr.group4.cmb_deptprinstcd.value);
  1133. ds_source_slipinfo.setColumn(0, "slipdt", ds_main_deptpr_prlist.getColumn(e.row, "unsldd"));
  1134. ds_source_slipinfo.setColumn(0, "slipno", String(ds_main_deptpr_prlist.getColumn(e.row, "unslno")).substr(0,4));
  1135. var objArg = new Object();
  1136. objArg.arg_ds_target = ds_source_slipinfo;
  1137. frmf_modal("SMRAD00100", "SMRAD00100", objArg, "", "", "", "", "", "", "", "", "", "M");
  1138. }
  1139. }
  1140. function sw_grid_case_deptpr_btn_exceldeptpr_onclick(obj:Button, e:ClickEventInfo)
  1141. {
  1142. if(ds_main_deptpr_prlist.rowcount > 0)
  1143. {
  1144. grdf_exportExcel(sw_grid.case_deptpr.grd_deptpr, "excel", "see", "false");
  1145. }
  1146. }
  1147. function ds_main_balamt_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1148. {
  1149. if(e.columnid == "fracntcd")
  1150. {
  1151. sw_grid.case_balamtpr.group5.ipt_fracntcd2.value = e.newvalue;
  1152. sw_grid.case_balamtpr.group5.ipt_fracntcd2.setFocus();
  1153. misfValidationCheck("05", "", "fracntcd,fracntnm", "sw_grid.case_balamtpr.group5.cmb_acntclsflag2", "acntclsflag");
  1154. }
  1155. if(e.columnid == "fracntnm")
  1156. {
  1157. sw_grid.case_balamtpr.group5.ipt_fracntnm2.value = e.newvalue;
  1158. sw_grid.case_balamtpr.group5.ipt_fracntnm2.setFocus();
  1159. misfValidationCheck("05", "", "fracntcd,fracntnm", "sw_grid.case_balamtpr.group5.cmb_acntclsflag2", "acntclsflag");
  1160. }
  1161. if(e.columnid == "toacntcd")
  1162. {
  1163. sw_grid.case_balamtpr.group5.ipt_toacntcd2.value = e.newvalue;
  1164. sw_grid.case_balamtpr.group5.ipt_toacntcd2.setFocus();
  1165. misfValidationCheck("05", "", "toacntcd,toacntnm", "sw_grid.case_balamtpr.group5.cmb_acntclsflag2", "acntclsflag");
  1166. }
  1167. if(e.columnid == "toacntnm")
  1168. {
  1169. sw_grid.case_balamtpr.group5.ipt_toacntnm2.value = e.newvalue;
  1170. sw_grid.case_balamtpr.group5.ipt_toacntnm2.setFocus();
  1171. misfValidationCheck("05", "", "toacntcd,toacntnm", "sw_grid.case_balamtpr.group5.cmb_acntclsflag2", "acntclsflag");
  1172. }
  1173. }
  1174. function sw_grid_case_balamtpr_group5_btn_fracnthelp2_onclick(obj:Button, e:ClickEventInfo)
  1175. {
  1176. misfOpenPopUpList("05", ds_main_balamt, "", "fracntcd,fracntnm", "sw_grid.case_balamtpr.group5.cmb_acntclsflag2", "acntclsflag");
  1177. }
  1178. function sw_grid_case_balamtpr_group5_cmb_acntclsflag2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1179. {
  1180. ds_main_balamt.setColumn(0, "fracntcd", "");
  1181. ds_main_balamt.setColumn(0, "fracntnm", "");
  1182. ds_main_balamt.setColumn(0, "toacntcd", "");
  1183. ds_main_balamt.setColumn(0, "toacntnm", "");
  1184. }
  1185. function sw_grid_case_balamtpr_group5_btn_toacnthelp2_onclick(obj:Button, e:ClickEventInfo)
  1186. {
  1187. misfOpenPopUpList("05", ds_main_balamt, "", "toacntcd,toacntnm", "sw_grid.case_balamtpr.group5.cmb_acntclsflag2", "acntclsflag");
  1188. }
  1189. function sw_grid_case_balamtpr_group5_btn_search2_onclick(obj:Button, e:ClickEventInfo)
  1190. {
  1191. fRetrieve();
  1192. }
  1193. function sw_grid_case_balamtpr_btn_excelbalamtpr_onclick(obj:Button, e:ClickEventInfo)
  1194. {
  1195. if(ds_main_balamtpr_prlist.rowcount > 0)
  1196. {
  1197. grdf_exportExcel(sw_grid.case_balamtpr.grd_balamtpr, "excel", "see", "false");
  1198. }
  1199. }
  1200. function sw_grid_case_balamtpr_grd_balamtpr_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1201. {
  1202. if (e.row > -1 && ds_main_balamtpr_prlist.getColumn(e.row, "gubn") == "2")
  1203. {
  1204. ds_source_slipinfo.clearData();
  1205. ds_source_slipinfo.addRow();
  1206. ds_source_slipinfo.setColumn(0, "instcd", sw_grid.case_deptpr.group4.cmb_deptprinstcd.value);
  1207. ds_source_slipinfo.setColumn(0, "slipdt", ds_main_balamtpr_prlist.getColumn(e.row, "unsldd"));
  1208. ds_source_slipinfo.setColumn(0, "slipno", String(ds_main_balamtpr_prlist.getColumn(e.row, "unslno")).substr(0,4));
  1209. var objArg = new Object();
  1210. objArg.arg_ds_target = ds_source_slipinfo;
  1211. frmf_modal("SMRAD00100", "SMRAD00100", objArg, "", "", "", "", "", "", "", "", "", "M");
  1212. }
  1213. }
  1214. function ds_main_project_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1215. {
  1216. if(e.columnid == "fracntcd")
  1217. {
  1218. sw_grid.case_pjtpr.group6.input1.value = e.newvalue;
  1219. sw_grid.case_pjtpr.group6.input1.setFocus();
  1220. misfValidationCheck("05", "", "fracntcd,fracntnm", "sw_grid.case_balamtpr.group5.cmb_acntclsflag2", "acntclsflag");
  1221. }
  1222. if(e.columnid == "fracntnm")
  1223. {
  1224. sw_grid.case_pjtpr.group6.input3.value = e.newvalue;
  1225. sw_grid.case_pjtpr.group6.input3.setFocus();
  1226. misfValidationCheck("05", "", "fracntcd,fracntnm", "sw_grid.case_balamtpr.group5.cmb_acntclsflag2", "acntclsflag");
  1227. }
  1228. if(e.columnid == "toacntcd")
  1229. {
  1230. sw_grid.case_pjtpr.group6.input2.value = e.newvalue;
  1231. sw_grid.case_pjtpr.group6.input2.setFocus();
  1232. misfValidationCheck("05", "", "toacntcd,toacntnm", "sw_grid.case_balamtpr.group5.cmb_acntclsflag2", "acntclsflag");
  1233. }
  1234. if(e.columnid == "toacntnm")
  1235. {
  1236. sw_grid.case_pjtpr.group6.input4.value = e.newvalue;
  1237. sw_grid.case_pjtpr.group6.input4.setFocus();
  1238. misfValidationCheck("05", "", "toacntcd,toacntnm", "sw_grid.case_balamtpr.group5.cmb_acntclsflag2", "acntclsflag");
  1239. }
  1240. }
  1241. function sw_grid_case_pjtpr_group6_button2_onclick(obj:Button, e:ClickEventInfo)
  1242. {
  1243. misfOpenPopUpList("05", ds_main_project, "", "fracntcd,fracntnm", "sw_grid.case_balamtpr.group5.cmb_acntclsflag2", "acntclsflag");
  1244. }
  1245. function sw_grid_case_pjtpr_group6_button1_onclick(obj:Button, e:ClickEventInfo)
  1246. {
  1247. misfOpenPopUpList("05", ds_main_project, "", "toacntcd,toacntnm", "cmb_acntclsflag2", "acntclsflag");
  1248. }
  1249. function sw_grid_case_pjtpr_group6_btn_search3_onclick(obj:Button, e:ClickEventInfo)
  1250. {
  1251. fRetrieve();
  1252. }
  1253. function sw_grid_case_pjtpr_btn_excelprojectpr_onclick(obj:Button, e:ClickEventInfo)
  1254. {
  1255. if(ds_main_projectpr_prlist.rowcount > 0)
  1256. {
  1257. grdf_exportExcel(sw_grid.case_pjtpr.grd_projectpr, "excel", "see", "false");
  1258. }
  1259. }
  1260. function button8_onclick(obj:Button, e:ClickEventInfo)
  1261. {
  1262. ds_send_retrprarms.setColumn(0, "instnm", sw_grid.case_deptpr.group4.cmb_deptprinstcd.text);
  1263. ds_send_retrprarms.setColumn(0, "selectedIndex", sw_grid.tabindex);
  1264. ds_send_retrprarms.setColumn(0, "frdate", sw_grid.case_deptpr.group4.ipt_frdate.value);
  1265. ds_send_retrprarms.setColumn(0, "todate", sw_grid.case_deptpr.group4.ipt_todate.value);
  1266. ds_send_retrprarms.setColumn(0, "prntflag", sw_grid.case_deptpr.group4.cmb_prntflag.value);
  1267. var objDOM = rptf_createDOM();
  1268. var objParam = new Object();
  1269. var prntnextcnt = 0;
  1270. if(sw_grid.tabindex == 0)
  1271. {
  1272. if(ds_main_deptpr_prlist.rowcount == 0)
  1273. {
  1274. sysf_messageBox("출력할 내용이" ,"I004");
  1275. return;
  1276. }
  1277. ds_send_prntlist_girdlist.clearData();
  1278. ds_send_prntlist_girdlist.copyData(ds_main_deptpr_prlist);
  1279. objParam.fracntcd = sw_grid.case_deptpr.group4.ipt_fracntcd.value;
  1280. objParam.fracntnm = sw_grid.case_deptpr.group4.ipt_fracntnm.value;
  1281. objParam.toacntcd = sw_grid.case_deptpr.group4.ipt_toacntcd.value;
  1282. objParam.toacntnm = sw_grid.case_deptpr.group4.ipt_toacntnm.value;
  1283. }
  1284. else if(sw_grid.tabindex == 1)
  1285. {
  1286. if(ds_main_balamtpr_prlist.rowcount == 0)
  1287. {
  1288. sysf_messageBox("출력할 내용이" ,"I004");
  1289. return;
  1290. }
  1291. ds_send_prntlist_girdlist.clearData();
  1292. ds_send_prntlist_girdlist.copyData(ds_main_balamtpr_prlist);
  1293. objParam.fracntcd = sw_grid.case_balamtpr.group5.ipt_fracntcd2.value;
  1294. objParam.fracntnm = sw_grid.case_balamtpr.group5.ipt_fracntnm2.value;
  1295. objParam.toacntcd = sw_grid.case_balamtpr.group5.ipt_toacntcd2.value;
  1296. objParam.toacntnm = sw_grid.case_balamtpr.group5.ipt_toacntnm2.value;
  1297. }
  1298. else if(sw_grid.tabindex == 2)
  1299. {
  1300. if(ds_main_projectpr_prlist.rowcount == 0)
  1301. {
  1302. sysf_messageBox("출력할 내용이" ,"I004");
  1303. return;
  1304. }
  1305. }
  1306. rptf_setNodeListToDOM(objDOM, "/root/send/prntlist/prlist", ds_send_prntlist_girdlist);
  1307. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1308. objParam.frdate = sw_grid.case_deptpr.group4.ipt_frdate.value;
  1309. objParam.todate = sw_grid.case_deptpr.group4.ipt_todate.value;
  1310. objParam.instnm = sw_grid.case_deptpr.group4.cmb_deptprinstcd.text;
  1311. objParam.selectedIndex = sw_grid.tabindex;
  1312. objParam.prntflag = sw_grid.case_deptpr.group4.cmb_prntflag.value;
  1313. trace(sw_grid.case_deptpr.group4.cmb_prntflag.text)
  1314. var option = "";
  1315. rptf_exeReportPreview30(["RPRAD00701"],[objParam], option);
  1316. }
  1317. function sw_grid_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  1318. {
  1319. if(obj.tabindex == 0)
  1320. {
  1321. ds_send_params.setColumn(0, "flag", "dept")
  1322. }
  1323. else if(obj.tabindex == 1)
  1324. {
  1325. ds_send_params.setColumn(0, "flag", "balamt")
  1326. }
  1327. else
  1328. {
  1329. ds_send_params.setColumn(0, "flag", "project")
  1330. }
  1331. }
  1332. function Button00_onclick(obj:Button, e:ClickEventInfo)
  1333. {
  1334. frmf_modal("SMRAD00100", "SMRAD00100", "", "", "", "", "", "", "", "", "", "", "M");
  1335. }
  1336. ]]></Script>
  1337. </Form>
  1338. </FDL>