SPPAS00770_미수총괄표.xfdl 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPAS00770" position="absolute 0 0 1200 784" titletext="미수총괄표" onload="SPPAS00770_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group2" position="absolute 0 23 1195 60" style="" class="div_SA">
  8. <Layouts>
  9. <Layout>
  10. <Button id="btn_search" class="btn1" position="absolute 1130 6 1186 28" style="" text="조회" onclick="group2_btn_search_onclick"/>
  11. <Shape id="line1" class="line_4" linetype="vertical" position="absolute 1120 6 1123 28" style="border: solid #ffe4bb #ffe4bb;" anchor="default"/>
  12. <Static id="caption4" class="search_name" position="absolute 10 10 101 27" style="" text="기간 :"/>
  13. <Calendar id="input1" position="absolute 102 9 207 28" style="" anchor="default"/>
  14. <Static id="caption1" position="absolute 213 11 223 26" style="align:center ;" text="~"/>
  15. <Calendar id="input2" position="absolute 229 9 334 28" style="" anchor="default"/>
  16. <Button id="button1" class="btn3" position="absolute 1035 6 1115 28" style="" text="엑셀출력" onclick="group2_button1_onclick"/>
  17. <Static id="caption3" class="search_name" position="absolute 370 10 445 27" style="" text="기준일:"/>
  18. <Calendar id="input3" position="absolute 445 9 530 28" style="" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
  19. <Button id="button2" class="btn3" position="absolute 950 6 1030 28" style="" text="상세내역" onclick="group2_button2_onclick"/>
  20. </Layout>
  21. </Layouts>
  22. </Div>
  23. <Div id="group3" position="absolute 0 0 1195 25" style="">
  24. <Layouts>
  25. <Layout>
  26. <Static id="caption60" class="tit_1" position="absolute 0 0 183 23" style="align:left middle;font:Dotum,9, bold;" text="미수금 총괄표"/>
  27. </Layout>
  28. </Layouts>
  29. </Div>
  30. <Static id="caption2" class="tit_2" position="absolute 10 66 150 80" style="" text="미수총괄표"/>
  31. <Grid id="datagrid1" binddataset="ds_list_totunco" visible="false" position="absolute 220 85 1070 225" style="">
  32. <Formats>
  33. <Format id="default">
  34. <Columns>
  35. <Column size="80"/>
  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. <Column size="100"/>
  49. <Column size="100"/>
  50. <Column size="100"/>
  51. <Column size="100"/>
  52. <Column size="100"/>
  53. </Columns>
  54. <Rows>
  55. <Row size="24" band="head"/>
  56. <Row size="24"/>
  57. </Rows>
  58. <Band id="head">
  59. <Cell text="구분"/>
  60. <Cell col="1" text="1999까지"/>
  61. <Cell col="2" text="2000"/>
  62. <Cell col="3" text="2001"/>
  63. <Cell col="4" text="2002"/>
  64. <Cell col="5" text="2003"/>
  65. <Cell col="6" text="2004"/>
  66. <Cell col="7" text="2005"/>
  67. <Cell col="8" text="2006"/>
  68. <Cell col="9" text="2007"/>
  69. <Cell col="10" text="2008"/>
  70. <Cell col="11" text="2009"/>
  71. <Cell col="12" text="2010"/>
  72. <Cell col="13" text="2011"/>
  73. <Cell col="14" text="2012"/>
  74. <Cell col="15" text="2013"/>
  75. <Cell col="16" text="2014"/>
  76. <Cell col="17" text="합계"/>
  77. </Band>
  78. <Band id="body">
  79. <Cell text="bind:nm"/>
  80. <Cell col="1" text="bind:y99"/>
  81. <Cell col="2" text="bind:y00"/>
  82. <Cell col="3" text="bind:y01"/>
  83. <Cell col="4" text="bind:y02"/>
  84. <Cell col="5" text="bind:y03"/>
  85. <Cell col="6" text="bind:y04"/>
  86. <Cell col="7" text="bind:y05"/>
  87. <Cell col="8" text="bind:y06"/>
  88. <Cell col="9" text="bind:y07"/>
  89. <Cell col="10" text="bind:y08"/>
  90. <Cell col="11" text="bind:y09"/>
  91. <Cell col="12" text="bind:y10"/>
  92. <Cell col="13" text="bind:y11"/>
  93. <Cell col="14" text="bind:y12"/>
  94. <Cell col="15" text="bind:y13"/>
  95. <Cell col="16" text="bind:y14"/>
  96. <Cell col="17" text="bind:tot"/>
  97. </Band>
  98. </Format>
  99. </Formats>
  100. </Grid>
  101. <Tab id="switch1" position="absolute 8 84 1193 739" style="buttonbackground:stretch 10,10;background:white stretch 10,26;" anchor="default">
  102. <Tabpages>
  103. <Tabpage id="case1" anchor="default"/>
  104. </Tabpages>
  105. </Tab>
  106. <Div id="group1" position="absolute 5 760 1190 775" style=""/>
  107. </Layout>
  108. </Layouts>
  109. <Objects>
  110. <Dataset id="ds_list_totunco" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  111. <ColumnInfo/>
  112. </Dataset>
  113. <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  114. <ColumnInfo>
  115. <Column id="source" type="STRING" size="256"/>
  116. </ColumnInfo>
  117. <Rows>
  118. <Row>
  119. <Col id="source"/>
  120. </Row>
  121. </Rows>
  122. </Dataset>
  123. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  124. <ColumnInfo>
  125. <Column id="main" type="STRING" size="256"/>
  126. </ColumnInfo>
  127. <Rows>
  128. <Row>
  129. <Col id="main"/>
  130. </Row>
  131. </Rows>
  132. </Dataset>
  133. <Dataset id="ds_result" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  134. <ColumnInfo>
  135. <Column id="result" type="STRING" size="256"/>
  136. </ColumnInfo>
  137. <Rows>
  138. <Row>
  139. <Col id="result"/>
  140. </Row>
  141. </Rows>
  142. </Dataset>
  143. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  144. <ColumnInfo>
  145. <Column id="init" type="STRING" size="256"/>
  146. </ColumnInfo>
  147. </Dataset>
  148. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  149. <ColumnInfo>
  150. <Column id="temp" type="STRING" size="256"/>
  151. </ColumnInfo>
  152. <Rows>
  153. <Row>
  154. <Col id="temp"/>
  155. </Row>
  156. </Rows>
  157. </Dataset>
  158. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  159. <ColumnInfo>
  160. <Column id="fromdd" type="STRING" size="256"/>
  161. <Column id="todd" type="STRING" size="256"/>
  162. <Column id="condd" type="STRING" size="256"/>
  163. </ColumnInfo>
  164. <Rows>
  165. <Row>
  166. <Col id="fromdd"/>
  167. <Col id="todd"/>
  168. <Col id="condd"/>
  169. </Row>
  170. </Rows>
  171. </Dataset>
  172. </Objects>
  173. <Bind>
  174. <BindItem id="item0" compid="group2.input1" propid="value" datasetid="ds_send" columnid="fromdd"/>
  175. <BindItem id="item1" compid="group2.input2" propid="value" datasetid="ds_send" columnid="todd"/>
  176. <BindItem id="item2" compid="group2.input3" propid="value" datasetid="ds_send" columnid="condd"/>
  177. </Bind>
  178. <Script type="xscript4.0"><![CDATA[include 'com_commonxp::comm_main.xjs';
  179. include 'com_basiccodexp::ZBC001.xjs';
  180. include 'com_zipcodexp::ZBP001.xjs';
  181. include 'pam_outordamtmngtxp::SMPAO00100.xjs';
  182. function SPPAS00770_onload(obj: Form, e: LoadEventInfo) {
  183. frmf_initForm(obj);
  184. grdf_initGrid(this.datagrid1);
  185. ds_send.setColumn(0, "fromdd", "19000101");
  186. ds_send.setColumn(0, "todd", utlf_getCurrentDate());
  187. ds_send.setColumn(0, "condd", utlf_getCurrentDate());
  188. }
  189. function group2_btn_search_onclick(obj: Button, e: ClickEventInfo) {
  190. var oParam = {};
  191. oParam.id = "TRPAS00850";
  192. oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
  193. oParam.method = "reqGetTotalUncoTable";
  194. oParam.inds = "req=ds_send";
  195. oParam.outds = "ds_list_totunco=totunco";
  196. oParam.async = false;
  197. tranf_submit(oParam);
  198. var objDOM = rptf_createDOM();
  199. var objParam = new Object();
  200. rptf_setNodeListToDOM(objDOM, "root/list/totunco", ds_list_totunco);
  201. objParam.xml_data_XML1 = objDOM.documentElement.source;
  202. var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
  203. rptf_exeReportPreview30(["RPPAS00780"], [objParam], option);
  204. }
  205. function group2_button1_onclick(obj: Button, e: ClickEventInfo) {
  206. if (ds_list_totunco.rowcount < 1) {
  207. ds_list_totunco.clearData();
  208. var oParam = {};
  209. oParam.id = "TRPAS00850";
  210. oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
  211. oParam.method = "reqGetTotalUncoTable";
  212. oParam.inds = "req=ds_send";
  213. oParam.outds = "ds_list_totunco=totunco";
  214. oParam.async = false;
  215. tranf_submit(oParam);
  216. }
  217. grdf_exportExcel(datagrid1, "미수총괄표", "Sheet1", true, "", 'user', true);
  218. }
  219. function group2_button2_onclick(obj: Button, e: ClickEventInfo) {
  220. frmf_open("SPPAS00721", "SPPAS00721", "", "", "", "", "", "", "", "", "", "", "M");
  221. }
  222. ]]></Script>
  223. </Form>
  224. </FDL>