SMRAD04600_계정관리항목별보조부.xfdl 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRAD04600" position="absolute 0 0 1218 799" titletext="계정/관리항목별보조부" oninit="SMRAD04600_oninit" onload="SMRAD04600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 2 116 1205 784" id="grp_biz" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout/>
  10. </Layouts>
  11. </Div>
  12. <Grid id="datagrid1" taborder="2" binddataset="ds_main_grnt_grntlist1" useinputpanel="false" visible="false" position="absolute 135 230 1025 290">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="100"/>
  17. <Column size="100"/>
  18. <Column size="100"/>
  19. <Column size="100"/>
  20. <Column size="100"/>
  21. <Column size="100"/>
  22. <Column size="100"/>
  23. <Column size="100"/>
  24. <Column size="100"/>
  25. <Column size="100"/>
  26. <Column size="100"/>
  27. <Column size="100"/>
  28. <Column size="100"/>
  29. <Column size="100"/>
  30. <Column size="100"/>
  31. <Column size="100"/>
  32. </Columns>
  33. <Rows>
  34. <Row size="24" band="head"/>
  35. <Row size="24"/>
  36. </Rows>
  37. <Band id="head">
  38. <Cell text="caption1"/>
  39. <Cell col="1" text="caption2"/>
  40. <Cell col="2" text="caption3"/>
  41. <Cell col="3" text="caption4"/>
  42. <Cell col="4" text="caption5"/>
  43. <Cell col="5" text="caption6"/>
  44. <Cell col="6" text="caption7"/>
  45. <Cell col="7" text="caption8"/>
  46. <Cell col="8" text="caption9"/>
  47. <Cell col="9" text="caption10"/>
  48. <Cell col="10" text="caption11"/>
  49. <Cell col="11" text="caption12"/>
  50. <Cell col="12" text="caption13"/>
  51. <Cell col="13" text="caption14"/>
  52. <Cell col="14" text="caption15"/>
  53. <Cell col="15" text="caption16"/>
  54. </Band>
  55. <Band id="body">
  56. <Cell text="bind:chr01"/>
  57. <Cell col="1" text="bind:chr02"/>
  58. <Cell col="2" text="bind:chr03"/>
  59. <Cell col="3" text="bind:chr04"/>
  60. <Cell col="4" text="bind:chr05"/>
  61. <Cell col="5" text="bind:chr06"/>
  62. <Cell col="6" text="bind:chr07"/>
  63. <Cell col="7" text="bind:chr08"/>
  64. <Cell col="8" text="bind:chr09"/>
  65. <Cell col="9" text="bind:chr10"/>
  66. <Cell col="10" text="bind:rmrk"/>
  67. <Cell col="11" text="bind:inamt"/>
  68. <Cell col="12" text="bind:outamt"/>
  69. <Cell col="13" text="bind:janamt"/>
  70. <Cell col="14" text="bind:acntnm"/>
  71. <Cell col="15" text="bind:title"/>
  72. </Band>
  73. </Format>
  74. </Formats>
  75. </Grid>
  76. <Div position="absolute 0 13 1195 38" id="grp_btn" scrollbars="autoboth">
  77. <Layouts>
  78. <Layout/>
  79. </Layouts>
  80. </Div>
  81. <Static id="caption6" text="계정/관리항목별보조부" class="tit_1" position="absolute 0 0 240 23"/>
  82. <Div id="grp_sea" taborder="1" position="absolute 0 23 1207 83" class="div_SA" anchor="left top right">
  83. <Layouts>
  84. <Layout>
  85. <Static id="cap_payinst" text="소속기관:" class="search_name" position="absolute 13 9 99 26" anchor="default"/>
  86. <Static id="caption3" text="LINE수:" class="search_name" position="absolute 13 36 92 53" anchor="default"/>
  87. <Edit id="input2" taborder="1" position="absolute 94 35 129 54" autoselect="true" autoskip="true" anchor="default"/>
  88. <Combo id="cmb_instcd" taborder="2" class="combo_s_essential" enable="false" position="absolute 94 8 243 27" anchor="default"/>
  89. <Static id="caption22" text="기준일자:" class="search_name" position="absolute 269 8 350 25" anchor="default"/>
  90. <Static id="caption2" text="계정과목:" class="search_name" position="absolute 268 36 362 53" anchor="default"/>
  91. <Calendar id="ipt_payym" taborder="3" class="input_default" position="absolute 353 8 458 27" mask="yyyy-mm-dd" autoselect="true" autoskip="true" anchor="default"/>
  92. <Static id="caption4" text="~" position="absolute 461 9 476 29" anchor="default"/>
  93. <Calendar id="input1" taborder="4" class="input_default" position="absolute 473 8 578 27" mask="yyyy-mm-dd" autoselect="true" autoskip="true" anchor="default"/>
  94. <Combo id="combo2" taborder="5" innerdataset="@ds_init_combo3_acntcmb" codecolumn="acntcd" datacolumn="acntnm" position="absolute 353 35 578 54" anchor="default"/>
  95. <Static id="caption1" text="관리항목:" class="search_name" position="absolute 598 8 683 25" anchor="default"/>
  96. <Static id="caption5" text="~" position="absolute 663 37 678 57" anchor="default"/>
  97. <Edit id="input3" taborder="6" class="input_default" position="absolute 683 34 783 53" autoselect="true" autoskip="true" anchor="default"/>
  98. <Edit id="input17" taborder="7" class="input_default" position="absolute 683 7 783 26" autoselect="true" autoskip="true" anchor="default"/>
  99. <Button id="button6" taborder="8" class="icon_search" position="absolute 785 8 801 24" onclick="grp_sea_button6_onclick" anchor="default"/>
  100. <Button id="button1" taborder="9" class="icon_search" position="absolute 785 35 801 51" onclick="grp_sea_button1_onclick" anchor="default"/>
  101. <Edit id="input4" taborder="10" class="input_essential" enable="false" position="absolute 803 34 993 53" anchor="default"/>
  102. <Edit id="input18" taborder="11" class="input_essential" enable="false" position="absolute 803 7 993 26" anchor="default"/>
  103. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1039 5 1045 55" anchor="top right"/>
  104. <Button id="btn_search" taborder="12" text="조회" class="btn1" position="absolute 1057 18 1113 40" anchor="top right" onclick="grp_sea_btn_search_onclick"/>
  105. <Button id="button3" taborder="13" text="엑셀출력" class="btn7" position="absolute 1115 19 1195 41" anchor="top right" onclick="grp_sea_button3_onclick"/>
  106. </Layout>
  107. </Layouts>
  108. </Div>
  109. <Static id="caption28" text="계정별내역" class="tit_2" position="absolute 0 92 153 113"/>
  110. <Shape id="line193" class="line_10" position="absolute -1 108 1205 114" anchor="left top right"/>
  111. </Layout>
  112. </Layouts>
  113. <Objects>
  114. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  115. <ColumnInfo>
  116. <Column id="fromdd" type="STRING" size="256"/>
  117. <Column id="todd" type="STRING" size="256"/>
  118. <Column id="instcd" type="STRING" size="256"/>
  119. <Column id="acntcd" type="STRING" size="256"/>
  120. <Column id="fromacntcd" type="STRING" size="256"/>
  121. <Column id="toacntcd" type="STRING" size="256"/>
  122. <Column id="fromcustcode" type="STRING" size="256"/>
  123. <Column id="tocustcode" type="STRING" size="256"/>
  124. <Column id="fromcustnm" type="STRING" size="256"/>
  125. <Column id="tocustnm" type="STRING" size="256"/>
  126. <Column id="custcode" type="STRING" size="256"/>
  127. <Column id="frombojo" type="STRING" size="256"/>
  128. <Column id="tobojo" type="STRING" size="256"/>
  129. <Column id="line" type="STRING" size="256"/>
  130. <Column id="frombojonm" type="STRING" size="256"/>
  131. <Column id="tobojonm" type="STRING" size="256"/>
  132. </ColumnInfo>
  133. <Rows>
  134. <Row>
  135. <Col id="fromdd"/>
  136. <Col id="todd"/>
  137. <Col id="instcd"/>
  138. <Col id="acntcd"/>
  139. <Col id="fromacntcd"/>
  140. <Col id="toacntcd"/>
  141. <Col id="fromcustcode"/>
  142. <Col id="tocustcode"/>
  143. <Col id="fromcustnm"/>
  144. <Col id="tocustnm"/>
  145. <Col id="custcode"/>
  146. <Col id="frombojo"/>
  147. <Col id="tobojo"/>
  148. <Col id="line"/>
  149. <Col id="frombojonm"/>
  150. <Col id="tobojonm"/>
  151. </Row>
  152. </Rows>
  153. </Dataset>
  154. <Dataset id="ds_main_grnt_grntlist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  155. <ColumnInfo>
  156. <Column id="chr01" type="STRING" size="256" sumtext="항목1"/>
  157. <Column id="chr02" type="STRING" size="256" sumtext="항목1"/>
  158. <Column id="chr03" type="STRING" size="256" sumtext="항목1"/>
  159. <Column id="chr04" type="STRING" size="256" sumtext="항목1"/>
  160. <Column id="chr05" type="STRING" size="256" sumtext="항목1"/>
  161. <Column id="chr06" type="STRING" size="256" sumtext="항목1"/>
  162. <Column id="chr07" type="STRING" size="256" sumtext="항목1"/>
  163. <Column id="chr08" type="STRING" size="256" sumtext="항목1"/>
  164. <Column id="chr09" type="STRING" size="256" sumtext="항목1"/>
  165. <Column id="chr10" type="STRING" size="256" sumtext="항목1"/>
  166. <Column id="rmrk" type="STRING" size="256" sumtext="적요"/>
  167. <Column id="inamt" type="STRING" size="256" sumtext="입금액"/>
  168. <Column id="outamt" type="STRING" size="256" sumtext="출금액"/>
  169. <Column id="janamt" type="STRING" size="256" sumtext="잔액"/>
  170. <Column id="acntnm" type="STRING" size="256" sumtext="계정명"/>
  171. <Column id="title" type="STRING" size="256" sumtext="타이틀"/>
  172. </ColumnInfo>
  173. </Dataset>
  174. <Dataset id="ds_init_combo3_acntcmb" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  175. <ColumnInfo>
  176. <Column id="acntnm" type="STRING" size="256"/>
  177. <Column id="acntcd" type="STRING" size="256"/>
  178. </ColumnInfo>
  179. </Dataset>
  180. <Dataset id="ds_pop3data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  181. <ColumnInfo>
  182. <Column id="xrwseq" type="STRING" size="256"/>
  183. </ColumnInfo>
  184. <Rows>
  185. <Row/>
  186. </Rows>
  187. </Dataset>
  188. </Objects>
  189. <Bind>
  190. <BindItem id="item0" compid="grp_sea.cmb_instcd" propid="value" datasetid="ds_send" columnid="instcd"/>
  191. <BindItem id="item1" compid="grp_sea.ipt_payym" propid="value" datasetid="ds_send" columnid="fromdd"/>
  192. <BindItem id="item2" compid="grp_sea.input1" propid="value" datasetid="ds_send" columnid="todd"/>
  193. <BindItem id="item3" compid="grp_sea.input17" propid="value" datasetid="ds_send" columnid="frombojo"/>
  194. <BindItem id="item4" compid="grp_sea.input18" propid="value" datasetid="ds_send" columnid="frombojonm"/>
  195. <BindItem id="item5" compid="grp_sea.input2" propid="value" datasetid="ds_send" columnid="line"/>
  196. <BindItem id="item6" compid="grp_sea.combo2" propid="value" datasetid="ds_send" columnid="fromacntcd"/>
  197. <BindItem id="item7" compid="grp_sea.input3" propid="value" datasetid="ds_send" columnid="tobojo"/>
  198. <BindItem id="item8" compid="grp_sea.input4" propid="value" datasetid="ds_send" columnid="tobojonm"/>
  199. </Bind>
  200. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  201. * System Name :
  202. * Job Name :
  203. * Creator :
  204. * Make Date : 2017-06-19
  205. * Description :
  206. *---------------------------------------------------------------------------------------
  207. * Modify Date Modifier Modify Description
  208. *---------------------------------------------------------------------------------------
  209. * 2017-06-19 Live Converter TF->XP
  210. *
  211. *---------------------------------------------------------------------------------------
  212. ****************************************************************************************/
  213. include "com_commonxp::comm_main.xjs";
  214. include "mis_miscommonxp::MIS.xjs";
  215. function SMRAD04600_oninit(obj:Form, e:InitEventInfo)
  216. {
  217. frmf_initForm(obj);
  218. }
  219. function SMRAD04600_onload(obj:Form, e:LoadEventInfo)
  220. {
  221. grdf_initGrid(datagrid1);
  222. misfComboInstCdListMulti("grp_sea.cmb_instcd",utlf_getCurrentDate(),"","N");
  223. var today = utlf_getCurrentDate();
  224. var cur_yymm = parseInt(String(today).substr(0, 6));
  225. ds_send.setColumn(0, "fromdd", today);
  226. ds_send.setColumn(0, "todd", today);
  227. var oParam = {};
  228. oParam.id = "TRRAD01504";
  229. oParam.service = "slipapp.AccBook";
  230. oParam.method = "reqGetAcntcdAllList";
  231. oParam.inds = "req=ds_send";
  232. oParam.outds = "ds_init_combo3_acntcmb=acntcmb";
  233. oParam.async = false;
  234. //oParam.callback = "cf_TRRAD01504";
  235. tranf_submit(oParam);
  236. grp_sea.cmb_instcd.value = sysf_getUserInfo("dutplceinstcd");
  237. var objDOM = rptf_createDOM();
  238. var objParam = new Object();
  239. objParam.xml_data_XML1 = objDOM.documentElement.source;
  240. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  241. rptf_exeReportPreview30(["RPRAD04601"],[objParam], option, "", "grp_biz")
  242. grp_sea.ipt_payym.setFocus();
  243. }
  244. function grp_sea_button6_onclick(obj:Button, e:ClickEventInfo)
  245. {
  246. ds_pop3data.setColumn(0, "xrwseq", "2");
  247. var objArg = new Object();
  248. objArg.arg_ds_pop3data = ds_pop3data;
  249. frmf_modal("SMRPQ02000", "SMRPQ02000", objArg, "", "", "", "", "", "", "", "", "", "M");
  250. }
  251. function grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
  252. {
  253. ds_pop3data.setColumn(0, "xrwseq", "3");
  254. var objArg = new Object();
  255. objArg.arg_ds_pop3data = ds_pop3data;
  256. frmf_modal("SMRPQ02000", "SMRPQ02000", objArg, "", "", "", "", "", "", "", "", "", "M");
  257. }
  258. function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  259. {
  260. var oParam = {};
  261. oParam.id = "TRRAD04601";
  262. oParam.service = "slipapp.AccBook";
  263. oParam.method = "reqGetBojobu3List";
  264. oParam.inds = "req=ds_send";
  265. oParam.outds = "ds_main_grnt_grntlist1=grntlist1";
  266. oParam.async = false;
  267. //oParam.callback = "cf_TRRAD04601";
  268. tranf_submit(oParam);
  269. var objDOM = rptf_createDOM();
  270. var objParam = new Object();
  271. rptf_setNodeListToDOM(objDOM, "/root/main/grnt/grntlist1", ds_main_grnt_grntlist1);
  272. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  273. objParam.xml_data_XML1 = objDOM.documentElement.source;
  274. rptf_exeReportPreview30(["RPRAD04601"],[objParam], option, "", "grp_biz");
  275. }
  276. function grp_sea_button3_onclick(obj:Button, e:ClickEventInfo)
  277. {
  278. grdf_exportExcel(datagrid1, "excel", "see", "false");
  279. }
  280. ]]></Script>
  281. </Form>
  282. </FDL>