SMRWY08000_연말정산공제신청오류및확인.xfdl 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRWY08000" position="absolute 0 0 1194 753" titletext="연말정산공제신청내역 오류 및 확인사항" oninit="SMRWY08000_oninit" onload="SMRWY08000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="연말정산공제신청내역 오류 및 확인사항" class="tit_1" position="absolute 0 0 800 25"/>
  8. <Shape id="line1" class="line_10" position="absolute 0 77 1190 83" anchor="left top right"/>
  9. <Grid id="grd_yyenderrorandconf" taborder="1" binddataset="ds_main_yyenderrorandconflist" useinputpanel="false" position="absolute 0 82 1190 749" autoenter="select" cellsizingtype="col" anchor="all" oncellclick="grd_yyenderrorandconf_oncellclick">
  10. <Formats>
  11. <Format id="default">
  12. <Columns>
  13. <Column size="26"/>
  14. <Column size="60"/>
  15. <Column size="70"/>
  16. <Column size="90"/>
  17. <Column size="140"/>
  18. <Column size="100"/>
  19. <Column size="576"/>
  20. <Column size="110"/>
  21. <Column size="65"/>
  22. <Column size="65"/>
  23. <Column size="120"/>
  24. <Column size="0"/>
  25. <Column size="0"/>
  26. <Column size="0"/>
  27. <Column size="0"/>
  28. <Column size="0"/>
  29. </Columns>
  30. <Rows>
  31. <Row size="24" band="head"/>
  32. <Row size="24"/>
  33. </Rows>
  34. <Band id="head">
  35. <Cell/>
  36. <Cell col="1" text="수정여부"/>
  37. <Cell col="2" text="성명"/>
  38. <Cell col="3" text="대분류"/>
  39. <Cell col="4" text="중분류"/>
  40. <Cell col="5" text="소분류"/>
  41. <Cell col="6" text="오류내용"/>
  42. <Cell col="7" text="해당오류주민번호"/>
  43. <Cell col="8" text="가족성명"/>
  44. <Cell col="9" text="확인자"/>
  45. <Cell col="10" text="확인일자"/>
  46. <Cell col="11" text="확인자(사번)"/>
  47. <Cell col="12" text="수정일자"/>
  48. <Cell col="13" text="수정자(사번)"/>
  49. <Cell col="14"/>
  50. <Cell col="15"/>
  51. </Band>
  52. <Band id="body">
  53. <Cell celltype="head"/>
  54. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:modifyyn"/>
  55. <Cell col="2" text="bind:name"/>
  56. <Cell col="3" text="bind:lrgcls"/>
  57. <Cell col="4" text="bind:midcls"/>
  58. <Cell col="5" text="bind:smlcls"/>
  59. <Cell col="6" text="bind:cmt"/>
  60. <Cell col="7" displaytype="normal" edittype="mask" style="align:center middle;" text="bind:famyrrgstno" mask="######-#######" maskchar=" "/>
  61. <Cell col="8" text="bind:famynm"/>
  62. <Cell col="9" text="bind:confpsnnm"/>
  63. <Cell col="10" text="bind:confdd"/>
  64. <Cell col="11" text="bind:confpsn"/>
  65. <Cell col="12" text="bind:modifydd"/>
  66. <Cell col="13" text="bind:modifypsn"/>
  67. <Cell col="14" text="bind:rregno"/>
  68. <Cell col="15" text="bind:emplno"/>
  69. </Band>
  70. </Format>
  71. </Formats>
  72. </Grid>
  73. <Static id="caption1" text="※ 주민등록번호가 잘못 입력된 분들은 아래 &quot;해당오류주민번호&quot;를 꼭 변경하여 주세요&#13;&#10;※ 수정이 완료되면 해당자료 수정여부에 체크를 하여주시기 바랍니다." position="absolute 0 27 555 64" style="color:#ff0000ff;font:Dotum,9,bold;"/>
  74. </Layout>
  75. </Layouts>
  76. <Objects>
  77. <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  78. <ColumnInfo>
  79. <Column id="name" type="STRING" size="256"/>
  80. <Column id="emplno" type="STRING" size="256"/>
  81. <Column id="rregno" type="STRING" size="256"/>
  82. <Column id="instcd" type="STRING" size="256"/>
  83. </ColumnInfo>
  84. <Rows>
  85. <Row>
  86. <Col id="name"/>
  87. <Col id="emplno"/>
  88. <Col id="rregno"/>
  89. <Col id="instcd"/>
  90. </Row>
  91. </Rows>
  92. </Dataset>
  93. <Dataset id="ds_main_yyenderrorandconflist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_yyenderrorandconflist_oncolumnchanged">
  94. <ColumnInfo>
  95. <Column id="name" type="STRING" size="256" sumtext="성명"/>
  96. <Column id="rregno" type="STRING" size="256" sumtext="주민번호"/>
  97. <Column id="lrgcls" type="STRING" size="256" sumtext="대분류"/>
  98. <Column id="midcls" type="STRING" size="256" sumtext="중분류"/>
  99. <Column id="smlcls" type="STRING" size="256" sumtext="소분류"/>
  100. <Column id="cmt" type="STRING" size="256" sumtext="사유"/>
  101. <Column id="confpsn" type="STRING" size="256" sumtext="확인자"/>
  102. <Column id="confpsnnm" type="STRING" size="256" sumtext="확인자"/>
  103. <Column id="confdd" type="STRING" size="256" sumtext="확인일자"/>
  104. <Column id="modifypsn" type="STRING" size="256" sumtext="수정자"/>
  105. <Column id="modifydd" type="STRING" size="256" sumtext="수정일자"/>
  106. <Column id="modifyyn" type="STRING" size="256" sumtext="수정여부"/>
  107. <Column id="famyrrgstno" type="STRING" size="256" sumtext="가족주민번호"/>
  108. <Column id="emplno" type="STRING" size="256" sumtext="사원번호"/>
  109. <Column id="famynm" type="STRING" size="256" sumtext="가족성명"/>
  110. </ColumnInfo>
  111. </Dataset>
  112. </Objects>
  113. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  114. * System Name :
  115. * Job Name :
  116. * Creator :
  117. * Make Date : 2017-06-19
  118. * Description :
  119. *---------------------------------------------------------------------------------------
  120. * Modify Date Modifier Modify Description
  121. *---------------------------------------------------------------------------------------
  122. * 2017-06-19 Live Converter TF->XP
  123. *
  124. *---------------------------------------------------------------------------------------
  125. ****************************************************************************************/
  126. include "com_commonxp::comm_main.xjs";
  127. include "mis_miscommonxp::MIS.xjs";
  128. include "mis_acntcommonxp::RAD001.xjs";
  129. function SMRWY08000_oninit(obj:Form, e:InitEventInfo)
  130. {
  131. frmf_initForm(obj);
  132. }
  133. function SMRWY08000_onload(obj:Form, e:LoadEventInfo)
  134. {
  135. grdf_initGrid(grd_yyenderrorandconf);
  136. grdf_setRowTypeIcon(grd_yyenderrorandconf, 0);
  137. misfGridInit(grd_yyenderrorandconf);
  138. misfGetUserAuth();
  139. ds_send_search.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  140. ds_send_search.setColumn(0, "emplno", sysf_getUserInfo("userid"));
  141. if(DUTY_YYEN_YN == "Y")
  142. {
  143. ds_send_search.setColumn(0, "emplno", "admin");
  144. }
  145. var oParam = {};
  146. oParam.id = "TRRWP08001";
  147. oParam.service = "yyendtaxadstapp.YYEndTaxAdstRef";
  148. oParam.method = "reqGetYYEndErrorAndConfList";
  149. oParam.inds = "req=ds_send_search";
  150. oParam.outds = "ds_main_yyenderrorandconflist=yyenderrorandconflist";
  151. oParam.async = false;
  152. //oParam.callback = "cf_TRRWP08001";
  153. tranf_submit(oParam);
  154. }
  155. function grd_yyenderrorandconf_oncellclick(obj:Grid, e:GridClickEventInfo)
  156. {
  157. if( e.cell == grd_yyenderrorandconf.getBindCellIndex("Body", "modifyyn"))
  158. {
  159. var rregnoaftupdt = ds_main_yyenderrorandconflist.getColumn(e.row, "famyrrgstno");
  160. if(!radfJuminCheck(rregnoaftupdt))
  161. {
  162. if (!radfFgnJuminCheck(rregnoaftupdt))
  163. {
  164. sysf_messageBox("주민번호가 잘못되었습니다. 주민번호를 확인하세요. " ,"C999");
  165. ds_main_yyenderrorandconflist.setColumn(e.row, "modifyyn", 0);
  166. return false;
  167. }
  168. }
  169. var oParam = {};
  170. oParam.id = "TXRWY08001";
  171. oParam.service = "yyendtaxadstapp.YYEndTaxAdstRef";
  172. oParam.method = "reqExeYYEndErrorAndConfList";
  173. oParam.inds = "yyenderrorandconflist=ds_main_yyenderrorandconflist:u";
  174. oParam.outds = "";
  175. oParam.async = false;
  176. //oParam.callback = "cf_TXRWY08001";
  177. tranf_submit(oParam);
  178. var oParam = {};
  179. oParam.id = "TRRWP08001";
  180. oParam.service = "yyendtaxadstapp.YYEndTaxAdstRef";
  181. oParam.method = "reqGetYYEndErrorAndConfList";
  182. oParam.inds = "req=ds_send_search";
  183. oParam.outds = "ds_main_yyenderrorandconflist=yyenderrorandconflist";
  184. oParam.async = false;
  185. //oParam.callback = "cf_TRRWP08001";
  186. tranf_submit(oParam);
  187. }
  188. }
  189. function ds_main_yyenderrorandconflist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  190. {
  191. if( e.columnid == "famyrrgstno")
  192. {
  193. var oParam = {};
  194. oParam.id = "TXRWY08002";
  195. oParam.service = "yyendtaxadstapp.YYEndTaxAdstRef";
  196. oParam.method = "reqExeYYEndErrorAndConfRregno";
  197. oParam.inds = "yyenderrorandconflist=ds_main_yyenderrorandconflist:u";
  198. oParam.outds = "";
  199. oParam.async = false;
  200. //oParam.callback = "cf_TXRWY08002";
  201. tranf_submit(oParam);
  202. var oParam = {};
  203. oParam.id = "TRRWP08001";
  204. oParam.service = "yyendtaxadstapp.YYEndTaxAdstRef";
  205. oParam.method = "reqGetYYEndErrorAndConfList";
  206. oParam.inds = "req=ds_send_search";
  207. oParam.outds = "ds_main_yyenderrorandconflist=yyenderrorandconflist";
  208. oParam.async = false;
  209. //oParam.callback = "cf_TRRWP08001";
  210. tranf_submit(oParam);
  211. }
  212. }
  213. ]]></Script>
  214. </Form>
  215. </FDL>