SMRAD04400_계정보조과목별보조부.xfdl 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRAD04400" position="absolute 0 0 1198 805" titletext="계정/보조과목별보조부" oninit="SMRAD04400_oninit" onload="SMRAD04400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_biz" taborder="13" position="absolute 2 109 1181 791" scrollbars="none"/>
  8. <Static id="caption6" text="계정/보조과목별보조부" class="tit_1" position="absolute 0 0 171 25"/>
  9. <Shape id="roundrect1" type="roundrectangle" position="absolute 0 25 1193 85"/>
  10. <Button id="btn_search" taborder="3" text="조회" class="btn1" position="absolute 1130 47 1186 69" onclick="btn_search_onclick"/>
  11. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1117 25 1123 84"/>
  12. <Static id="cap_payinst" text="소속기관:" class="search_name" position="absolute 15 34 101 51"/>
  13. <Combo id="cmb_instcd" taborder="4" class="combo_s_essential" enable="false" position="absolute 96 33 221 52"/>
  14. <Static id="caption22" text="기준일자:" class="search_name" position="absolute 271 33 352 50"/>
  15. <Calendar id="ipt_payym" taborder="5" class="input_default" position="absolute 355 33 460 52" mask="yyyy-mm-dd" autoselect="true"/>
  16. <Static id="caption28" text="계정별내역" class="tit_2" position="absolute 1 86 210 103"/>
  17. <Shape id="line193" linetype="horizontal" class="line_10" position="absolute 0 102 1194 108"/>
  18. <Static id="caption2" text="계정과목:" class="search_name" position="absolute 270 58 364 75"/>
  19. <Calendar id="input1" taborder="6" class="input_default" position="absolute 475 33 580 52" mask="yyyy-mm-dd" autoselect="true"/>
  20. <Static id="caption4" text="~" position="absolute 460 35 475 55"/>
  21. <Combo id="combo2" taborder="7" innerdataset="@ds_init_combo3_acntcmb" codecolumn="acntcd" datacolumn="acntnm" position="absolute 355 58 515 77" onitemchanged="combo2_onitemchanged"/>
  22. <Static id="caption3" text="LINE수:" class="search_name" position="absolute 615 33 694 50"/>
  23. <Edit id="input2" taborder="8" position="absolute 690 33 725 52" autoselect="true"/>
  24. <Static id="caption1" text="보조과목:" class="search_name" position="absolute 530 58 624 75"/>
  25. <Combo id="combo1" taborder="9" innerdataset="@ds_init_combo4_acntcmb" codecolumn="bojocd" datacolumn="bojonm" position="absolute 615 58 750 77"/>
  26. <Combo id="combo3" taborder="10" innerdataset="@ds_init_combo4_acntcmb" codecolumn="bojocd" datacolumn="bojonm" position="absolute 770 58 905 77"/>
  27. <Static id="caption5" text="~" position="absolute 753 58 768 78"/>
  28. <Grid id="datagrid1" taborder="11" binddataset="ds_main_grnt_grntlist1" useinputpanel="false" position="absolute 170 155 955 250" visible="false">
  29. <Formats>
  30. <Format id="default">
  31. <Columns>
  32. <Column size="100"/>
  33. <Column size="100"/>
  34. <Column size="100"/>
  35. <Column size="100"/>
  36. <Column size="100"/>
  37. <Column size="100"/>
  38. <Column size="100"/>
  39. <Column size="100"/>
  40. <Column size="100"/>
  41. <Column size="100"/>
  42. <Column size="100"/>
  43. <Column size="100"/>
  44. <Column size="100"/>
  45. <Column size="100"/>
  46. <Column size="100"/>
  47. <Column size="100"/>
  48. </Columns>
  49. <Rows>
  50. <Row size="24" band="head"/>
  51. <Row size="24"/>
  52. </Rows>
  53. <Band id="head">
  54. <Cell text="caption1"/>
  55. <Cell col="1" text="caption2"/>
  56. <Cell col="2" text="caption3"/>
  57. <Cell col="3" text="caption4"/>
  58. <Cell col="4" text="caption5"/>
  59. <Cell col="5" text="caption6"/>
  60. <Cell col="6" text="caption7"/>
  61. <Cell col="7" text="caption8"/>
  62. <Cell col="8" text="caption9"/>
  63. <Cell col="9" text="caption10"/>
  64. <Cell col="10" text="caption11"/>
  65. <Cell col="11" text="caption12"/>
  66. <Cell col="12" text="caption13"/>
  67. <Cell col="13" text="caption14"/>
  68. <Cell col="14" text="caption15"/>
  69. <Cell col="15" text="caption16"/>
  70. </Band>
  71. <Band id="body">
  72. <Cell text="bind:chr01"/>
  73. <Cell col="1" text="bind:chr02"/>
  74. <Cell col="2" text="bind:chr03"/>
  75. <Cell col="3" text="bind:chr04"/>
  76. <Cell col="4" text="bind:chr05"/>
  77. <Cell col="5" text="bind:chr06"/>
  78. <Cell col="6" text="bind:chr07"/>
  79. <Cell col="7" text="bind:chr08"/>
  80. <Cell col="8" text="bind:chr09"/>
  81. <Cell col="9" text="bind:chr10"/>
  82. <Cell col="10" text="bind:rmrk"/>
  83. <Cell col="11" text="bind:inamt"/>
  84. <Cell col="12" text="bind:outamt"/>
  85. <Cell col="13" text="bind:janamt"/>
  86. <Cell col="14" text="bind:acntnm"/>
  87. <Cell col="15" text="bind:title"/>
  88. </Band>
  89. </Format>
  90. </Formats>
  91. </Grid>
  92. <Button id="button3" taborder="12" text="엑셀출력" class="btn2" position="absolute 1050 60 1114 79" onclick="button3_onclick"/>
  93. </Layout>
  94. </Layouts>
  95. <Objects>
  96. <Dataset id="ds_main_grnt_grntlist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  97. <ColumnInfo>
  98. <Column id="chr01" type="STRING" size="256"/>
  99. <Column id="chr02" type="STRING" size="256"/>
  100. <Column id="chr03" type="STRING" size="256"/>
  101. <Column id="chr04" type="STRING" size="256"/>
  102. <Column id="chr05" type="STRING" size="256"/>
  103. <Column id="chr06" type="STRING" size="256"/>
  104. <Column id="chr07" type="STRING" size="256"/>
  105. <Column id="chr08" type="STRING" size="256"/>
  106. <Column id="chr09" type="STRING" size="256"/>
  107. <Column id="chr10" type="STRING" size="256"/>
  108. <Column id="rmrk" type="STRING" size="256"/>
  109. <Column id="inamt" type="STRING" size="256"/>
  110. <Column id="outamt" type="STRING" size="256"/>
  111. <Column id="janamt" type="STRING" size="256"/>
  112. <Column id="acntnm" type="STRING" size="256"/>
  113. <Column id="title" type="STRING" size="256"/>
  114. </ColumnInfo>
  115. <Rows>
  116. <Row>
  117. <Col id="chr01"/>
  118. <Col id="chr02"/>
  119. <Col id="chr03"/>
  120. <Col id="chr04"/>
  121. <Col id="chr05"/>
  122. <Col id="chr06"/>
  123. <Col id="chr07"/>
  124. <Col id="chr08"/>
  125. <Col id="chr09"/>
  126. <Col id="chr10"/>
  127. <Col id="rmrk"/>
  128. <Col id="inamt"/>
  129. <Col id="outamt"/>
  130. <Col id="janamt"/>
  131. <Col id="acntnm"/>
  132. <Col id="title"/>
  133. </Row>
  134. </Rows>
  135. </Dataset>
  136. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  137. <ColumnInfo>
  138. <Column id="fromdd" type="STRING" size="256"/>
  139. <Column id="todd" type="STRING" size="256"/>
  140. <Column id="instcd" type="STRING" size="256"/>
  141. <Column id="acntcd" type="STRING" size="256"/>
  142. <Column id="fromacntcd" type="STRING" size="256"/>
  143. <Column id="toacntcd" type="STRING" size="256"/>
  144. <Column id="fromcustcode" type="STRING" size="256"/>
  145. <Column id="tocustcode" type="STRING" size="256"/>
  146. <Column id="fromcustnm" type="STRING" size="256"/>
  147. <Column id="tocustnm" type="STRING" size="256"/>
  148. <Column id="custcode" type="STRING" size="256"/>
  149. <Column id="frombojo" type="STRING" size="256"/>
  150. <Column id="tobojo" type="STRING" size="256"/>
  151. <Column id="line" type="STRING" size="256"/>
  152. </ColumnInfo>
  153. <Rows>
  154. <Row>
  155. <Col id="fromdd"/>
  156. <Col id="todd"/>
  157. <Col id="instcd"/>
  158. <Col id="acntcd"/>
  159. <Col id="fromacntcd"/>
  160. <Col id="toacntcd"/>
  161. <Col id="fromcustcode"/>
  162. <Col id="tocustcode"/>
  163. <Col id="fromcustnm"/>
  164. <Col id="tocustnm"/>
  165. <Col id="custcode"/>
  166. <Col id="frombojo"/>
  167. <Col id="tobojo"/>
  168. <Col id="line"/>
  169. </Row>
  170. </Rows>
  171. </Dataset>
  172. <Dataset id="ds_custinfo_custlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  173. <ColumnInfo>
  174. <Column id="aactno" type="STRING" size="256"/>
  175. <Column id="bankcd" type="STRING" size="256"/>
  176. <Column id="depor" type="STRING" size="256"/>
  177. <Column id="custnm" type="STRING" size="256"/>
  178. </ColumnInfo>
  179. <Rows>
  180. <Row>
  181. <Col id="aactno"/>
  182. <Col id="bankcd"/>
  183. <Col id="depor"/>
  184. <Col id="custnm"/>
  185. </Row>
  186. </Rows>
  187. </Dataset>
  188. <Dataset id="ds_init_combo3_acntcmb" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  189. <ColumnInfo>
  190. <Column id="acntcd" type="STRING" size="256"/>
  191. <Column id="acntnm" type="STRING" size="256"/>
  192. </ColumnInfo>
  193. <Rows>
  194. <Row>
  195. <Col id="acntcd"/>
  196. <Col id="acntnm"/>
  197. </Row>
  198. </Rows>
  199. </Dataset>
  200. <Dataset id="ds_init_combo4_acntcmb" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  201. <ColumnInfo>
  202. <Column id="bojocd" type="STRING" size="256"/>
  203. <Column id="bojonm" type="STRING" size="256"/>
  204. </ColumnInfo>
  205. <Rows>
  206. <Row>
  207. <Col id="bojocd"/>
  208. <Col id="bojonm"/>
  209. </Row>
  210. </Rows>
  211. </Dataset>
  212. </Objects>
  213. <Bind>
  214. <BindItem id="item0" compid="cmb_instcd" propid="value" datasetid="ds_send" columnid="instcd"/>
  215. <BindItem id="item1" compid="ipt_payym" propid="value" datasetid="ds_send" columnid="fromdd"/>
  216. <BindItem id="item2" compid="input1" propid="value" datasetid="ds_send" columnid="todd"/>
  217. <BindItem id="item3" compid="input2" propid="value" datasetid="ds_send" columnid="line"/>
  218. <BindItem id="item4" compid="combo2" propid="value" datasetid="ds_send" columnid="fromacntcd"/>
  219. <BindItem id="item5" compid="combo1" propid="value" datasetid="ds_send" columnid="frombojo"/>
  220. <BindItem id="item6" compid="combo3" propid="value" datasetid="ds_send" columnid="tobojo"/>
  221. </Bind>
  222. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  223. * System Name :
  224. * Job Name :
  225. * Creator :
  226. * Make Date : 2017-06-19
  227. * Description :
  228. *---------------------------------------------------------------------------------------
  229. * Modify Date Modifier Modify Description
  230. *---------------------------------------------------------------------------------------
  231. * 2017-06-19 Live Converter TF->XP
  232. *
  233. *---------------------------------------------------------------------------------------
  234. ****************************************************************************************/
  235. include "com_commonxp::comm_main.xjs";
  236. include "mis_miscommonxp::MIS.xjs";
  237. include "mis_miscommonxp::PIC002.xjs";
  238. include "mis_miscommonxp::RAC001.xjs";
  239. include "mis_miscommonxp::RBC001.xjs";
  240. include "mis_miscommonxp::RSZ001.xjs";
  241. var arErrorCode = new HashArray();
  242. function SMRAD04400_oninit(obj:Form, e:InitEventInfo)
  243. {
  244. frmf_initForm(obj); //폼 초기화
  245. }
  246. function SMRAD04400_onload(obj:Form, e:LoadEventInfo)
  247. {
  248. misfComboInstCdListMulti("cmb_instcd",utlf_getCurrentDate(),"","N");
  249. //makeReportPreview(0,110,1195,650);
  250. var today = utlf_getCurrentDate();
  251. var cur_yymm = parseInt(today.substring(0, 6));
  252. ds_send.setColumn(0, "fromdd", today);
  253. ds_send.setColumn(0, "todd", today);
  254. //ipt_payym.refresh();
  255. //submit("TRRAD01504");
  256. var oParam = {};
  257. oParam.id = "TRRAD01504";
  258. oParam.service = "slipapp.AccBook";
  259. oParam.method = "reqGetAcntcdAllList";
  260. oParam.inds = "req=ds_send";
  261. oParam.outds = "ds_init_combo3_acntcmb=acntcmb";
  262. oParam.async = false;
  263. tranf_submit(oParam);
  264. combo2.index = -1;
  265. combo1.index = -1;
  266. combo3.index = -1;
  267. ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  268. ipt_payym.setFocus();
  269. }
  270. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  271. {
  272. var oParam = {};
  273. oParam.id = "TRRAD04401";
  274. oParam.service = "slipapp.AccBook";
  275. oParam.method = "reqGetBojobu2List";
  276. oParam.inds = "req=ds_send";
  277. oParam.outds = "ds_main_grnt_grntlist1=grntlist1";
  278. oParam.async = false;
  279. tranf_submit(oParam);
  280. var objDOM = rptf_createDOM();
  281. rptf_setNodeListToDOM(objDOM, "root/main/grnt/grntlist1", ds_main_grnt_grntlist1); // 데이터셋 1
  282. var objParam = new Object();
  283. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  284. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  285. //var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0;";
  286. rptf_exeReportPreview30(["RPRAD04401"],[objParam], option, "", "grp_biz");
  287. }
  288. function combo2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  289. {
  290. ds_send.setColumn(0, "acntcd", ds_send.getColumn(0, "fromacntcd"));
  291. ds_send.setColumn(0, "frombojo", "");
  292. ds_send.setColumn(0, "tobojo", "");
  293. //submit("TRRAD01701");
  294. var oParam = {};
  295. oParam.id = "TRRAD01701";
  296. oParam.service = "slipapp.AccBook";
  297. oParam.method = "reqGetBojocdAllList";
  298. oParam.inds = "req=ds_send";
  299. oParam.outds = "ds_init_combo4_acntcmb=acntcmb";
  300. oParam.async = false;
  301. tranf_submit(oParam);
  302. }
  303. function button3_onclick(obj:Button, e:ClickEventInfo)
  304. {
  305. grdf_exportExcel(datagrid1, caption6.text + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
  306. }
  307. ]]></Script>
  308. </Form>
  309. </FDL>