SMRAD02900_외상매입금명세서(집계표).xfdl 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRAD02900" position="absolute 0 0 1196 800" titletext="외상/미지급명세서(집계표)" onload="SMRAD02900_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_sea" anchor="left top right" taborder="5" class="div_SA" position="absolute 0 25 1195 65"/>
  8. <Static id="caption6" text="외상/미지급명세서(집계표)" class="tit_1" position="absolute 0 0 200 25"/>
  9. <Static id="cap_payinst" text="소속기관:" class="search_name" position="absolute 15 37 101 54"/>
  10. <Combo id="cmb_instcd" taborder="2" class="combo_essential" enable="false" position="absolute 96 36 221 55"/>
  11. <Static id="caption22" text="회계년도:" class="search_name" position="absolute 281 37 362 54"/>
  12. <Calendar id="ipt_payym" taborder="3" class="input_default" position="absolute 365 36 446 55" mask="yyyy" dateformat="yyyy" editformat="yyyy" value="null" onkillfocus="ipt_payym_onkillfocus"/>
  13. <Static id="caption28" text="외상/미지급내역" class="tit_2" position="absolute 0 73 217 91"/>
  14. <Static id="caption2" text="미지급계정:" class="search_name" position="absolute 515 37 609 54"/>
  15. <Combo id="combo1" taborder="4" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 615 36 740 55" index="-1">
  16. <Dataset id="innerdataset">
  17. <ColumnInfo>
  18. <Column id="codecolumn"/>
  19. <Column id="datacolumn"/>
  20. </ColumnInfo>
  21. <Rows>
  22. <Row>
  23. <Col id="codecolumn">21110100</Col>
  24. <Col id="datacolumn">외상매입금</Col>
  25. </Row>
  26. <Row>
  27. <Col id="codecolumn">21130000</Col>
  28. <Col id="datacolumn">미지급금</Col>
  29. </Row>
  30. <Row>
  31. <Col id="codecolumn"/>
  32. <Col id="datacolumn">전체</Col>
  33. </Row>
  34. </Rows>
  35. </Dataset>
  36. </Combo>
  37. <Shape id="line1" class="line_10" position="absolute 0 89 1195 95" anchor="left top right"/>
  38. <Div id="grp_main" anchor="all" taborder="6" scrollbars="none" position="absolute 2 94 1194 799"/>
  39. <Button id="btn_search00" taborder="7" text="조회" onclick="btn_search_onclick" class="btn1" position="absolute 1130 35 1186 57" anchor="right"/>
  40. <Shape id="line00" linetype="vertical" class="line_4" position="absolute 1117 33 1123 59" anchor="right"/>
  41. </Layout>
  42. </Layouts>
  43. <Objects>
  44. <Dataset id="ds_main_grnt_grntlist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  45. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  46. <ColumnInfo>
  47. <Column id="hidden" type="STRING" size="256"/>
  48. </ColumnInfo>
  49. </Dataset>
  50. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  51. <ColumnInfo>
  52. <Column id="init" type="STRING" size="256"/>
  53. </ColumnInfo>
  54. <Rows>
  55. <Row>
  56. <Col id="init"/>
  57. </Row>
  58. </Rows>
  59. </Dataset>
  60. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  61. <ColumnInfo>
  62. <Column id="fromdd" type="STRING" size="256"/>
  63. <Column id="todd" type="STRING" size="256"/>
  64. <Column id="instcd" type="STRING" size="256"/>
  65. <Column id="acntcd" type="STRING" size="256"/>
  66. <Column id="fromacntcd" type="STRING" size="256"/>
  67. <Column id="toacntcd" type="STRING" size="256"/>
  68. </ColumnInfo>
  69. <Rows>
  70. <Row>
  71. <Col id="fromdd"/>
  72. <Col id="todd"/>
  73. <Col id="instcd"/>
  74. <Col id="acntcd"/>
  75. <Col id="fromacntcd"/>
  76. <Col id="toacntcd"/>
  77. </Row>
  78. </Rows>
  79. </Dataset>
  80. </Objects>
  81. <Bind>
  82. <BindItem id="item0" compid="cmb_instcd" propid="value" datasetid="ds_send" columnid="instcd"/>
  83. <BindItem id="item1" compid="ipt_payym" propid="value" datasetid="ds_send" columnid="fromdd"/>
  84. <BindItem id="item2" compid="combo1" propid="value" datasetid="ds_send" columnid="acntcd"/>
  85. </Bind>
  86. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  87. * System Name :
  88. * Job Name :
  89. * Creator :
  90. * Make Date : 2017-12-04
  91. * Description :
  92. *---------------------------------------------------------------------------------------
  93. * Modify Date Modifier Modify Description
  94. *---------------------------------------------------------------------------------------
  95. * 2017-06-19 Live Converter TF->XP
  96. *
  97. *---------------------------------------------------------------------------------------
  98. ****************************************************************************************/
  99. //=======================================================================================
  100. // Lib Include
  101. //---------------------------------------------------------------------------------------
  102. include "com_commonxp::comm_main.xjs";
  103. include "mis_miscommonxp::MIS.xjs";
  104. include "mis_paybaseinfomngtxp::RWC001.xjs";
  105. include "mis_humtrafactmngtxp::RPB001.xjs";
  106. //=======================================================================================
  107. // Global Form Variable
  108. //---------------------------------------------------------------------------------------
  109. var arErrorCode = new HashArray();
  110. //=======================================================================================
  111. // Function
  112. //---------------------------------------------------------------------------------------
  113. /*-**************************************************************************************
  114. * Argument : N/A
  115. * Description :
  116. ****************************************************************************************/
  117. //=======================================================================================
  118. // Event
  119. //---------------------------------------------------------------------------------------
  120. /****************************************************************************************
  121. * Components : Form
  122. * Description : 화면 처음 초기화시 폼초기화
  123. ****************************************************************************************/
  124. function SMRAD02900_onload(obj:Form, e:LoadEventInfo)
  125. {
  126. frmf_initForm(obj);
  127. misfComboInstCdListMulti("cmb_instcd",utlf_getCurrentDate(),"","N");
  128. var today = utlf_getCurrentDate();
  129. var cur_yy = parseInt(today.substring(0, 4));
  130. ds_send.setColumn(0, "fromdd", cur_yy);
  131. cmb_instcd.value = sysf_getUserInfo("dutplceinstcd");
  132. }
  133. /****************************************************************************************
  134. * Components : Button
  135. * Description : 조회
  136. ****************************************************************************************/
  137. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  138. {
  139. var oParam = {};
  140. oParam.id = "TRRAD02901";
  141. oParam.service = "slipapp.AccBook";
  142. oParam.method = "reqGetCredit2List";
  143. oParam.inds = "req=ds_send";
  144. oParam.outds = "ds_main_grnt_grntlist1=grntlist1";
  145. oParam.async = false;
  146. //oParam.callback = "cf_TRRAD02901";
  147. tranf_submit(oParam);
  148. var objDOM = rptf_createDOM();
  149. var objParam = new Object();
  150. rptf_setNodeListToDOM(objDOM, "/root/main/grnt/grntlist1" , ds_main_grnt_grntlist1);
  151. objParam.xml_data_XML1 = objDOM.documentElement.source;
  152. var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
  153. rptf_exeReportPreview30(["RPRAD02901"],[objParam], option, "", "grp_main");
  154. }
  155. function ipt_payym_onkillfocus(obj:Calendar, e:KillFocusEventInfo)
  156. {
  157. ds_send.setColumn(0, "fromdd", obj.text);
  158. }
  159. ]]></Script>
  160. </Form>
  161. </FDL>