SMRAR01000_대금지급내역.xfdl 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRAR01000" position="absolute 0 0 1197 805" titletext="대금지급내역" onload="SMRAR01000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_sea" taborder="6" position="absolute 0 25 1195 65" class="div_SA" anchor="left top right"/>
  8. <Static id="caption6" text="대금지급내역" class="tit_1" position="absolute 0 0 120 25"/>
  9. <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1130 35 1186 57" anchor="right" onclick="btn_search_onclick"/>
  10. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1117 34 1123 57" anchor="right"/>
  11. <Static id="caption22" text="지급기간:" class="search_name" position="absolute 13 37 98 54"/>
  12. <Static id="caption28" text="대금지급내역" class="tit_2" position="absolute 0 73 140 91"/>
  13. <Shape id="line193" class="line_10" position="absolute 0 89 1195 95" anchor="left top right"/>
  14. <Calendar id="ipt_frdate" taborder="2" class="input_essential" position="absolute 100 36 208 55" mask="yyyy-mm-dd"/>
  15. <Static id="caption1" text="~" position="absolute 209 38 224 53"/>
  16. <Calendar id="ipt_todate" taborder="3" class="input_essential" position="absolute 220 36 329 55" mask="yyyy-mm-dd"/>
  17. <Grid id="grd_main" taborder="4" binddataset="ds_main_maindatalist" useinputpanel="false" visible="false" position="absolute 16 126 1179 284">
  18. <Formats>
  19. <Format id="default">
  20. <Columns>
  21. <Column size="100"/>
  22. <Column size="60"/>
  23. <Column size="100"/>
  24. <Column size="80"/>
  25. <Column size="140"/>
  26. <Column size="120"/>
  27. <Column size="200"/>
  28. <Column size="100"/>
  29. <Column size="100"/>
  30. <Column size="100"/>
  31. </Columns>
  32. <Rows>
  33. <Row size="24" band="head"/>
  34. <Row size="24"/>
  35. </Rows>
  36. <Band id="head">
  37. <Cell text="지출일자"/>
  38. <Cell col="1" text="구분"/>
  39. <Cell col="2" text="품의번호"/>
  40. <Cell col="3" text="계정"/>
  41. <Cell col="4" text="계정과목명"/>
  42. <Cell col="5" text="거래처"/>
  43. <Cell col="6" text="내역"/>
  44. <Cell col="7" text="금액"/>
  45. <Cell col="8" text="지급액"/>
  46. <Cell col="9" text="세금계산서일자"/>
  47. </Band>
  48. <Band id="body">
  49. <Cell text="bind:ymdgive" mask="####-##-##"/>
  50. <Cell col="1" text="bind:gubun"/>
  51. <Cell col="2" displaytype="text" text="bind:pumno"/>
  52. <Cell col="3" displaytype="text" text="bind:acctid"/>
  53. <Cell col="4" displaytype="text" text="bind:acntpumnm"/>
  54. <Cell col="5" displaytype="text" text="bind:custname"/>
  55. <Cell col="6" displaytype="text" text="bind:rmrk"/>
  56. <Cell col="7" displaytype="number" text="bind:amt"/>
  57. <Cell col="8" displaytype="number" text="bind:jiamt"/>
  58. <Cell col="9" text="bind:sekeumdate" mask="####-##-##"/>
  59. </Band>
  60. </Format>
  61. </Formats>
  62. </Grid>
  63. <Button id="ipt_excsave" taborder="5" text="엑셀저장" class="btn7" position="absolute 1115 67 1195 89" anchor="right" onclick="ipt_excsave_onclick"/>
  64. <Div id="grp_main" anchor="all" taborder="7" scrollbars="none" position="absolute 2 95 1193 799"/>
  65. </Layout>
  66. </Layouts>
  67. <Objects>
  68. <Dataset id="ds_main_maindatalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  69. <ColumnInfo>
  70. <Column id="ymdgive" type="STRING" size="256"/>
  71. <Column id="gubun" type="STRING" size="256"/>
  72. <Column id="pumno" type="STRING" size="256"/>
  73. <Column id="acctid" type="STRING" size="256"/>
  74. <Column id="acntpumnm" type="STRING" size="256"/>
  75. <Column id="custname" type="STRING" size="256"/>
  76. <Column id="rmrk" type="STRING" size="256"/>
  77. <Column id="amt" type="STRING" size="256"/>
  78. <Column id="jiamt" type="STRING" size="256"/>
  79. <Column id="sekeumdate" type="STRING" size="256"/>
  80. </ColumnInfo>
  81. <Rows>
  82. <Row>
  83. <Col id="ymdgive"/>
  84. <Col id="gubun"/>
  85. <Col id="pumno"/>
  86. <Col id="acctid"/>
  87. <Col id="acntpumnm"/>
  88. <Col id="custname"/>
  89. <Col id="rmrk"/>
  90. <Col id="amt"/>
  91. <Col id="jiamt"/>
  92. <Col id="sekeumdate"/>
  93. </Row>
  94. </Rows>
  95. </Dataset>
  96. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  97. <ColumnInfo>
  98. <Column id="instcd" type="STRING" size="256"/>
  99. <Column id="frdate" type="STRING" size="256"/>
  100. <Column id="todate" type="STRING" size="256"/>
  101. </ColumnInfo>
  102. <Rows>
  103. <Row>
  104. <Col id="instcd"/>
  105. <Col id="frdate"/>
  106. <Col id="todate"/>
  107. </Row>
  108. </Rows>
  109. </Dataset>
  110. </Objects>
  111. <Bind>
  112. <BindItem id="item0" compid="ipt_frdate" propid="value" datasetid="ds_send" columnid="frdate"/>
  113. <BindItem id="item1" compid="ipt_todate" propid="value" datasetid="ds_send" columnid="todate"/>
  114. </Bind>
  115. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  116. * System Name :
  117. * Job Name :
  118. * Creator :
  119. * Make Date : 2017-12-04
  120. * Description :
  121. *---------------------------------------------------------------------------------------
  122. * Modify Date Modifier Modify Description
  123. *---------------------------------------------------------------------------------------
  124. * 2017-06-19 Live Converter TF->XP
  125. *
  126. *---------------------------------------------------------------------------------------
  127. ****************************************************************************************/
  128. //=======================================================================================
  129. // Lib Include
  130. //---------------------------------------------------------------------------------------
  131. include "com_commonxp::comm_main.xjs";
  132. include "mis_miscommonxp::MIS.xjs";
  133. include "mis_paybnusmngtxp::RWP001.xjs";
  134. include "mis_humtrafactmngtxp::RPB001.xjs";
  135. //=======================================================================================
  136. // Global Form Variable
  137. //---------------------------------------------------------------------------------------
  138. var arErrorCode = new HashArray();
  139. //=======================================================================================
  140. // Function
  141. //---------------------------------------------------------------------------------------
  142. /*-**************************************************************************************
  143. * Argument : N/A
  144. * Description :
  145. ****************************************************************************************/
  146. //=======================================================================================
  147. // Event
  148. //---------------------------------------------------------------------------------------
  149. /****************************************************************************************
  150. * Components : Form
  151. * Description : 화면 처음 초기화시 폼초기화
  152. ****************************************************************************************/
  153. function SMRAR01000_onload(obj:Form, e:LoadEventInfo)
  154. {
  155. frmf_initForm(obj);
  156. //grdf_initGrid(grd_XXX);
  157. //grdf_setGridSort(grd_XXX);
  158. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  159. ds_main_maindatalist.clearData();
  160. var today = utlf_getCurrentDate();
  161. ds_send.setColumn( 0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  162. ds_send.setColumn( 0, "frdate", today);
  163. ds_send.setColumn( 0, "todate", today);
  164. ipt_frdate.setFocus();
  165. }
  166. /****************************************************************************************
  167. * Components : Button
  168. * Description : 조회
  169. ****************************************************************************************/
  170. function btn_search_onclick(obj:Button, e:ClickEventInfo) {
  171. var oParam = {};
  172. oParam.id = "TRRAR01001";
  173. oParam.service = "accountinginfoapp.AccountingInfo";
  174. oParam.method = "getDaegumlist";
  175. oParam.inds = "req=ds_send";
  176. oParam.outds = "ds_main_maindatalist=maindatalist";
  177. oParam.async = false;
  178. oParam.callback = "cf_TRRAR01001";
  179. tranf_submit(oParam);
  180. if (arErrorCode.pop("TRRAR01001") > -1){
  181. //레포트명, 연계방법, 매개변수필드 XPath, SubmitID, 출력여부, 인쇄창 보임 여부, 저장타입, 파일명, 파일 저장창 보임여부, 미리보기창닫기여부, 모니터 번호, 부모객체명, 트레이번호, 데이터 소스, 툴바버튼보임여부, 프린트장수, 미리보기뷰어 비율, 출력시 선택 옵션, 데이터 XPath , 메인리포트 반복XPath, 서브리포트1 반복Xpath
  182. var objDOM = rptf_createDOM();
  183. var objParam = new Object();
  184. rptf_setNodeListToDOM(objDOM, "/root/main/maindatalist" , ds_main_maindatalist);
  185. objParam.xml_data_XML1 = objDOM.documentElement.source;
  186. var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
  187. rptf_exeReportPreview30(["SMRAR01001"],[objParam], option, "", "grp_main");//, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
  188. }
  189. }
  190. function cf_TRRAR01001(sSvcId, nErrorCode, sErrorMsg) {
  191. arErrorCode.push(sSvcId, nErrorCode);
  192. }
  193. /****************************************************************************************
  194. * Components : Button
  195. * Description : 엑셀저장
  196. ****************************************************************************************/
  197. function ipt_excsave_onclick(obj:Button, e:ClickEventInfo) {
  198. misfSaveExcel(grd_main);
  199. }
  200. ]]></Script>
  201. </Form>
  202. </FDL>