SMRAR00900_구매거래처별채무잔액출력.xfdl 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRAR00900" position="absolute 0 0 1196 800" titletext="구매거래처별 채무잔액출력" onload="SMRAR00900_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_sea" anchor="left top right" taborder="4" class="div_SA" position="absolute 0 25 1195 65"/>
  8. <Shape id="line1" class="line_10" position="absolute 0 89 1195 95" anchor="left top right"/>
  9. <Static id="caption6" text="구매거래처별 채무잔액출력" class="tit_1" position="absolute 0 0 200 25"/>
  10. <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1130 35 1186 57" anchor="right" onclick="btn_search_onclick"/>
  11. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1117 33 1123 59" anchor="right"/>
  12. <Static id="caption22" text="보조과목:" class="search_name" position="absolute 20 37 105 54"/>
  13. <Static id="caption28" text="구매거래처별 채무잔액출력" class="tit_2" position="absolute 0 73 260 90"/>
  14. <Combo id="cmb_frombojocd" taborder="2" innerdataset="@ds_init_custcdlist" codecolumn="value" datacolumn="label" class="combo_essential" position="absolute 105 36 305 55"/>
  15. <Static id="caption1" text="~" position="absolute 310 38 325 53"/>
  16. <Combo id="cmb_tobojocd" taborder="3" innerdataset="@ds_init_custcdlist" codecolumn="value" datacolumn="label" class="combo_essential" position="absolute 328 36 528 55"/>
  17. <Div id="grp_main" anchor="all" taborder="5" scrollbars="none" position="absolute 2 94 1194 799"/>
  18. </Layout>
  19. </Layouts>
  20. <Objects>
  21. <Dataset id="ds_init_custcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  22. <ColumnInfo>
  23. <Column id="value" type="STRING" size="256"/>
  24. <Column id="label" type="STRING" size="256"/>
  25. </ColumnInfo>
  26. </Dataset>
  27. <Dataset id="ds_main_maindatalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  28. <ColumnInfo>
  29. <Column id="kydate" type="STRING" size="256"/>
  30. <Column id="kyseq" type="STRING" size="256"/>
  31. <Column id="ibgoymd" type="STRING" size="256"/>
  32. <Column id="ibgoseq" type="STRING" size="256"/>
  33. <Column id="custcode" type="STRING" size="256"/>
  34. <Column id="cdacnt" type="STRING" size="256"/>
  35. <Column id="acntnm" type="STRING" size="256"/>
  36. <Column id="name" type="STRING" size="256"/>
  37. <Column id="keumak" type="STRING" size="256"/>
  38. <Column id="rmrk" type="STRING" size="256"/>
  39. <Column id="ymdgive" type="STRING" size="256"/>
  40. <Column id="amtgive" type="STRING" size="256"/>
  41. <Column id="amt" type="STRING" size="256"/>
  42. </ColumnInfo>
  43. <Rows>
  44. <Row>
  45. <Col id="kydate"/>
  46. <Col id="kyseq"/>
  47. <Col id="ibgoymd"/>
  48. <Col id="ibgoseq"/>
  49. <Col id="custcode"/>
  50. <Col id="cdacnt"/>
  51. <Col id="acntnm"/>
  52. <Col id="name"/>
  53. <Col id="keumak"/>
  54. <Col id="rmrk"/>
  55. <Col id="ymdgive"/>
  56. <Col id="amtgive"/>
  57. <Col id="amt"/>
  58. </Row>
  59. </Rows>
  60. </Dataset>
  61. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  62. <ColumnInfo>
  63. <Column id="instcd" type="STRING" size="256"/>
  64. <Column id="frombojocd" type="STRING" size="256"/>
  65. <Column id="tobojocd" type="STRING" size="256"/>
  66. </ColumnInfo>
  67. <Rows>
  68. <Row>
  69. <Col id="instcd"/>
  70. <Col id="frombojocd"/>
  71. <Col id="tobojocd"/>
  72. </Row>
  73. </Rows>
  74. </Dataset>
  75. </Objects>
  76. <Bind>
  77. <BindItem id="item0" compid="cmb_frombojocd" propid="value" datasetid="ds_send" columnid="frombojocd"/>
  78. <BindItem id="item1" compid="cmb_tobojocd" propid="value" datasetid="ds_send" columnid="tobojocd"/>
  79. </Bind>
  80. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  81. * System Name :
  82. * Job Name :
  83. * Creator :
  84. * Make Date : 2017-12-04
  85. * Description :
  86. *---------------------------------------------------------------------------------------
  87. * Modify Date Modifier Modify Description
  88. *---------------------------------------------------------------------------------------
  89. * 2017-06-19 Live Converter TF->XP
  90. *
  91. *---------------------------------------------------------------------------------------
  92. ****************************************************************************************/
  93. //=======================================================================================
  94. // Lib Include
  95. //---------------------------------------------------------------------------------------
  96. include "com_commonxp::comm_main.xjs";
  97. include "mis_miscommonxp::MIS.xjs";
  98. include "mis_paybaseinfomngtxp::RWC001.xjs";
  99. include "mis_humtrafactmngtxp::RPB001.xjs";
  100. //=======================================================================================
  101. // Global Form Variable
  102. //---------------------------------------------------------------------------------------
  103. var arErrorCode = new HashArray();
  104. //=======================================================================================
  105. // Function
  106. //---------------------------------------------------------------------------------------
  107. /*-**************************************************************************************
  108. * Argument : N/A
  109. * Description :
  110. ****************************************************************************************/
  111. //=======================================================================================
  112. // Event
  113. //---------------------------------------------------------------------------------------
  114. /****************************************************************************************
  115. * Components : Form
  116. * Description : 화면 처음 초기화시 폼초기화
  117. ****************************************************************************************/
  118. function SMRAR00900_onload(obj:Form, e:LoadEventInfo) {
  119. frmf_initForm(obj);
  120. //grdf_initGrid(grd_XXX);
  121. //grdf_setGridSort(grd_XXX);
  122. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  123. var today = utlf_getCurrentDate();
  124. ds_send.setColumn( 0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  125. //거래처코드 리스팅
  126. ds_main_maindatalist.clearData();
  127. ds_init_custcdlist.clearData();
  128. var oParam = {};
  129. oParam.id = "TRRAR00901";
  130. oParam.service = "accountinginfoapp.AccountingInfo";
  131. oParam.method = "getCustcodeList";
  132. oParam.inds = "req=ds_send";
  133. oParam.outds = "ds_init_custcdlist=custcdlist";
  134. oParam.async = false;
  135. //oParam.callback = "cf_TRRAR00901";
  136. tranf_submit(oParam);
  137. cmb_frombojocd.setFocus();
  138. }
  139. /****************************************************************************************
  140. * Components : Button
  141. * Description : 조회
  142. ****************************************************************************************/
  143. function btn_search_onclick(obj:Button, e:ClickEventInfo) {
  144. var oParam = {};
  145. oParam.id = "TRRAR00902";
  146. oParam.service = "accountinginfoapp.AccountingInfo";
  147. oParam.method = "getJanamtbyCustcode";
  148. oParam.inds = "req=ds_send";
  149. oParam.outds = "ds_main_maindatalist=maindatalist";
  150. oParam.async = false;
  151. oParam.callback = "cf_TRRAR00902";
  152. tranf_submit(oParam);
  153. if(arErrorCode.pop("TRRAR00902") > -1) {
  154. var objDOM = rptf_createDOM();
  155. var objParam = new Object();
  156. rptf_setNodeListToDOM(objDOM, "/root/main/maindatalist" , ds_main_maindatalist);
  157. objParam.xml_data_XML1 = objDOM.documentElement.source;
  158. var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
  159. rptf_exeReportPreview30(["SMRAR00901"],[objParam], option, "", "grp_main");
  160. }
  161. }
  162. function cf_TRRAR00902(sSvcId, nErrorCode, sErrorMsg) {
  163. arErrorCode.push(sSvcId, nErrorCode);
  164. }]]></Script>
  165. </Form>
  166. </FDL>