SMRFE00100_액세사리구성이력등록.xfdl 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRFE00100" position="absolute 0 0 1191 687" titletext="악세사리" oninit="SMRFE00100_oninit" onload="SMRFE00100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button id="button27" taborder="1" text="출력" class="btn6" visible="false" position="absolute 0 26 56 48" onclick="button27_onclick"/>
  8. <Button id="button26" taborder="2" text="화면이동" class="btn3" visible="false" position="absolute 58 26 138 48"/>
  9. <Shape id="line14" linetype="horizontal" class="line_6" position="absolute 0 47 1185 53" anchor="left top right"/>
  10. <Button id="button20" taborder="3" text="저장" class="btn4" position="absolute 1057 26 1113 48" anchor="top right" onclick="button20_onclick"/>
  11. <Button id="button29" taborder="4" text="초기화" class="btn4" position="absolute 1116 26 1184 48" anchor="top right" onclick="button29_onclick"/>
  12. <Static id="caption6" text="소모품구성이력등록" class="tit_1" position="absolute 0 0 262 25"/>
  13. <Grid id="grd_setcompslist" taborder="5" binddataset="ds_main_setcompslist" useinputpanel="false" position="absolute 0 175 1185 682" autoenter="select" autofittype="col" cellsizingtype="col" anchor="all">
  14. <Formats>
  15. <Format id="default">
  16. <Columns>
  17. <Column size="20" band="left"/>
  18. <Column size="52"/>
  19. <Column size="110"/>
  20. <Column size="0"/>
  21. <Column size="215"/>
  22. <Column size="100"/>
  23. <Column size="100"/>
  24. <Column size="170"/>
  25. <Column size="100"/>
  26. <Column size="100"/>
  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="Set 구분"/>
  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. </Band>
  48. <Band id="body">
  49. <Cell celltype="head"/>
  50. <Cell col="1" text="bind:compsgoodseq"/>
  51. <Cell col="2" displaytype="text" edittype="text" style="align:center middle;" text="bind:goodcd"/>
  52. <Cell col="3" displaytype="combo" edittype="combo" text="bind:setflag"/>
  53. <Cell col="4" displaytype="text" edittype="text" style="align:center middle;" text="bind:itemnm"/>
  54. <Cell col="5" displaytype="text" edittype="text" style="align:center middle;" text="bind:setcompsspec"/>
  55. <Cell col="6" displaytype="number" edittype="text" text="bind:compsgoodqty"/>
  56. <Cell col="7" displaytype="number" edittype="text" text="bind:compsgoodunitcost"/>
  57. <Cell col="8" displaytype="number" text="bind:goodamt"/>
  58. <Cell col="9" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:suplflag" combodataset="ds_init_suplflag" combocodecol="value" combodatacol="label"/>
  59. <Cell col="10" text="bind:instcd"/>
  60. <Cell col="11" text="bind:fixasetcd"/>
  61. </Band>
  62. </Format>
  63. </Formats>
  64. </Grid>
  65. <Button id="btn_delrow" taborder="6" text="행삭제" class="btn2" position="absolute 1132 151 1185 170" anchor="top right" onclick="btn_delrow_onclick"/>
  66. <Button id="btn_addrow" taborder="7" text="행추가" class="btn2" position="absolute 1076 151 1129 170" anchor="top right" onclick="btn_addrow_onclick"/>
  67. <Static id="caption9" text="소모품 구성이력" class="tit_2" position="absolute 0 154 140 176"/>
  68. <Shape id="line1" class="line_10" position="absolute 0 170 1185 176" anchor="left top right"/>
  69. <Static id="cap_possndd" text="취득일자" class="cell_1" position="absolute 404 125 489 148"/>
  70. <Edit id="opt_installplcenm" taborder="8" class="output" position="absolute 185 103 401 122" style="background:URL('theme://images/bg_edit_R.png') stretch 5,5;"/>
  71. <Edit id="ipt_installplcecd" taborder="9" readonly="true" class="output" position="absolute 88 103 183 122"/>
  72. <Static id="cap_mngtno" text="SERIAL NO" class="cell_1" position="absolute 677 101 777 124"/>
  73. <Combo id="cmb_instcd" taborder="10" class="combo_essential" position="absolute 88 78 240 97"/>
  74. <Edit id="ipt_mngtno" taborder="11" readonly="true" class="output" position="absolute 779 103 979 122"/>
  75. <Edit id="ipt_possnamt" taborder="12" readonly="true" class="output" position="absolute 779 126 979 145"/>
  76. <Static id="cap_possnamt" text="취득금액" class="cell_1" position="absolute 677 125 777 148"/>
  77. <Edit id="ipt_cntrdeptcd" taborder="13" readonly="true" class="output" position="absolute 88 127 183 146"/>
  78. <Static id="caption1" text="소모품 구성 이력등록" class="tit_2" position="absolute 0 56 165 78"/>
  79. <Button id="btn_fixasetcd" taborder="14" class="icon_search" position="absolute 601 78 617 94" onclick="btn_fixasetcd_onclick"/>
  80. <Edit id="ipt_goodspec" taborder="15" readonly="true" class="output" position="absolute 491 103 674 122"/>
  81. <Static id="cap_goodspec" text="규격" class="cell_1" position="absolute 404 101 489 124"/>
  82. <Edit id="ipt_fixasetnm" taborder="16" class="input_fix" position="absolute 620 78 979 97" autoselect="true"/>
  83. <Shape id="line2" class="line_2" position="absolute 0 122 1185 128" anchor="left top right"/>
  84. <Calendar id="ipt_possndd" taborder="17" readonly="true" class="output" position="absolute 491 126 674 145" style="background:URL('theme://images/bg_edit_R.png') stretch 5,5;"/>
  85. <Edit id="opt_cntrdeptcd" taborder="18" readonly="true" class="output" position="absolute 185 127 401 146"/>
  86. <Static id="cap_installplcecd" text="설치장소" class="cell_1" position="absolute 0 101 85 124"/>
  87. <Static id="cap_instcd" text="기관코드" class="cell_1" position="absolute 0 77 85 100"/>
  88. <Edit id="ipt_fixasetcd" taborder="19" class="input_essential" position="absolute 491 78 597 97" autoselect="true" onkeydown="ipt_fixasetcd_onkeydown"/>
  89. <Shape id="line3" class="line_10" position="absolute 0 72 1185 78" anchor="left top right"/>
  90. <Shape id="line4" class="line_2" position="absolute 0 98 1185 104" anchor="left top right"/>
  91. <Static id="cap_fixasetcd" text="자산코드" class="cell_1" position="absolute 404 77 489 100"/>
  92. <Button id="btn_search" taborder="20" text="조회" class="btn1" position="absolute 1125 102 1181 124" anchor="top right" onclick="btn_search_onclick"/>
  93. <Shape id="line6" class="line_3" position="absolute 0 145 1185 151" anchor="left top right"/>
  94. <Static id="cap_cntrdeptcd" text="귀속부서" class="cell_1" position="absolute 0 125 85 148"/>
  95. </Layout>
  96. </Layouts>
  97. <Objects>
  98. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_oncolumnchanged">
  99. <ColumnInfo>
  100. <Column id="instcd" type="STRING" size="256"/>
  101. <Column id="fixasetcd" type="STRING" size="256"/>
  102. <Column id="goodflaghngnm" type="STRING" size="256"/>
  103. <Column id="possndd" type="STRING" size="256"/>
  104. <Column id="installplcecd" type="STRING" size="256"/>
  105. <Column id="installplcenm" type="STRING" size="256"/>
  106. <Column id="goodspec" type="STRING" size="256"/>
  107. <Column id="possnamt" type="STRING" size="256"/>
  108. <Column id="cntrdeptcd" type="STRING" size="256"/>
  109. <Column id="depthngnm" type="STRING" size="256"/>
  110. <Column id="mngtno" type="STRING" size="256"/>
  111. </ColumnInfo>
  112. <Rows>
  113. <Row>
  114. <Col id="instcd"/>
  115. <Col id="fixasetcd"/>
  116. <Col id="goodflaghngnm"/>
  117. <Col id="possndd"/>
  118. <Col id="installplcecd"/>
  119. <Col id="installplcenm"/>
  120. <Col id="goodspec"/>
  121. <Col id="possnamt"/>
  122. <Col id="cntrdeptcd"/>
  123. <Col id="depthngnm"/>
  124. <Col id="mngtno"/>
  125. </Row>
  126. </Rows>
  127. </Dataset>
  128. <Dataset id="ds_main_setcompslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_setcompslist_oncolumnchanged">
  129. <ColumnInfo>
  130. <Column id="compsgoodseq" type="STRING" size="256" sumtext="순번"/>
  131. <Column id="setflag" type="STRING" size="256" sumtext="Set구분"/>
  132. <Column id="itemnm" type="STRING" size="256" sumtext="Set명칭"/>
  133. <Column id="setcompsspec" type="STRING" size="256" sumtext="규격"/>
  134. <Column id="compsgoodqty" type="STRING" size="256" sumtext="수량"/>
  135. <Column id="compsgoodunitcost" type="STRING" size="256" sumtext="단가"/>
  136. <Column id="goodamt" type="STRING" size="256" sumtext="금액"/>
  137. <Column id="suplflag" type="STRING" size="256" sumtext="조달구분"/>
  138. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  139. <Column id="fixasetcd" type="STRING" size="256" sumtext="자산코드"/>
  140. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
  141. </ColumnInfo>
  142. </Dataset>
  143. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  144. <Dataset id="ds_init_suplflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  145. <ColumnInfo>
  146. <Column id="label" type="STRING" size="256"/>
  147. <Column id="value" type="STRING" size="256"/>
  148. </ColumnInfo>
  149. <Rows>
  150. <Row>
  151. <Col id="label">국내조달</Col>
  152. <Col id="value">1</Col>
  153. </Row>
  154. <Row>
  155. <Col id="label">기타</Col>
  156. <Col id="value">2</Col>
  157. </Row>
  158. <Row>
  159. <Col id="label">제조회사</Col>
  160. <Col id="value">3</Col>
  161. </Row>
  162. </Rows>
  163. </Dataset>
  164. </Objects>
  165. <Bind>
  166. <BindItem id="item0" compid="cmb_instcd" propid="value" datasetid="ds_send" columnid="instcd"/>
  167. <BindItem id="item1" compid="ipt_fixasetcd" propid="value" datasetid="ds_send" columnid="fixasetcd"/>
  168. <BindItem id="item2" compid="ipt_fixasetnm" propid="value" datasetid="ds_send" columnid="goodflaghngnm"/>
  169. <BindItem id="item3" compid="ipt_installplcecd" propid="value" datasetid="ds_send" columnid="installplcecd"/>
  170. <BindItem id="item4" compid="opt_installplcenm" propid="value" datasetid="ds_send" columnid="installplcenm"/>
  171. <BindItem id="item5" compid="ipt_goodspec" propid="value" datasetid="ds_send" columnid="goodspec"/>
  172. <BindItem id="item6" compid="ipt_mngtno" propid="value" datasetid="ds_send" columnid="mngtno"/>
  173. <BindItem id="item7" compid="ipt_cntrdeptcd" propid="value" datasetid="ds_send" columnid="cntrdeptcd"/>
  174. <BindItem id="item8" compid="opt_cntrdeptcd" propid="value" datasetid="ds_send" columnid="depthngnm"/>
  175. <BindItem id="item9" compid="ipt_possndd" propid="value" datasetid="ds_send" columnid="possndd"/>
  176. <BindItem id="item10" compid="ipt_possnamt" propid="value" datasetid="ds_send" columnid="possnamt"/>
  177. </Bind>
  178. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  179. * System Name :
  180. * Job Name :
  181. * Creator :
  182. * Make Date : 2017-06-19
  183. * Description :
  184. *---------------------------------------------------------------------------------------
  185. * Modify Date Modifier Modify Description
  186. *---------------------------------------------------------------------------------------
  187. * 2017-06-19 Live Converter TF->XP
  188. *
  189. *---------------------------------------------------------------------------------------
  190. ****************************************************************************************/
  191. include "com_commonxp::comm_main.xjs";
  192. include "mis_miscommonxp::MIS.xjs";
  193. include "mis_miscommonxp::RSZ001.xjs";
  194. function SMRFE00100_oninit(obj:Form, e:InitEventInfo)
  195. {
  196. frmf_initForm(obj);
  197. }
  198. function SMRFE00100_onload(obj:Form, e:LoadEventInfo)
  199. {
  200. grdf_initGrid(grd_setcompslist);
  201. grdf_setRowTypeIcon(grd_setcompslist, 0);
  202. try
  203. {
  204. ds_temp.copyData(arg_ds_temp)
  205. }
  206. catch(e)
  207. {
  208. }
  209. fInitialize();
  210. fGetdata();
  211. }
  212. function fInitialize()
  213. {
  214. ds_send.clearData();
  215. ds_send.addRow();
  216. misfGridInit(grd_setcompslist);
  217. misfComboComCdListMulti("Z0007", "cmb_instcd"); // 기관코드
  218. ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  219. misfMsterDetailSet(grd_setcompslist, null, "TRRFC00204", "Y");
  220. }
  221. function fGetdata()
  222. {
  223. ds_send.enableevent = false;
  224. var sInstcd = ds_temp.getColumn(0, "instcd");
  225. var sFixasetcd = ds_temp.getColumn(0, "fixasetcd");
  226. var sInstallplcecd = ds_temp.getColumn(0, "installplcecd");
  227. var sInstallplcenm = ds_temp.getColumn(0, "installplcenm");
  228. var sGoodspec = ds_temp.getColumn(0, "goodspec");
  229. var sMngtno = ds_temp.getColumn(0, "mngtno");
  230. var sCntrdeptcd = ds_temp.getColumn(0, "cntrdeptcd");
  231. var sCntrdeptnm = ds_temp.getColumn(0, "cntrdeptnm");
  232. var sPossndd = ds_temp.getColumn(0, "possndd");
  233. var sPossnamt = ds_temp.getColumn(0, "possnamt");
  234. if(!utlf_isNull(sInstcd))
  235. {
  236. cmb_instcd.value = ds_temp.getColumn(0, "instcd");
  237. }
  238. if(!utlf_isNull(sFixasetcd))
  239. {
  240. ipt_fixasetcd.value = ds_temp.getColumn(0, "fixasetcd");
  241. ipt_fixasetnm.value = ds_temp.getColumn(0, "goodflaghngnm");
  242. var eventObj = new EventInfo(); // 이벤트생성
  243. eventObj.columnid = "fixasetcd";
  244. eventObj.newvalue = ds_send.getColumn(0, "fixasetcd");
  245. ds_send_oncolumnchanged(ds_send, eventObj);
  246. }
  247. if(!utlf_isNull(sInstallplcecd))
  248. {
  249. ipt_installplcecd.value = ds_temp.getColumn(0, "installplcecd");
  250. }
  251. if(!utlf_isNull(sInstallplcenm))
  252. {
  253. opt_installplcenm.value = ds_temp.getColumn(0, "installplcenm");
  254. }
  255. if(!utlf_isNull(sGoodspec))
  256. {
  257. ipt_goodspec.value = ds_temp.getColumn(0, "goodspec");
  258. }
  259. if(!utlf_isNull(sMngtno))
  260. {
  261. ipt_mngtno.value = ds_temp.getColumn(0, "mngtno");
  262. }
  263. if(!utlf_isNull(sCntrdeptcd))
  264. {
  265. ipt_cntrdeptcd.value = ds_temp.getColumn(0, "cntrdeptcd");
  266. }
  267. if(!utlf_isNull(sCntrdeptnm))
  268. {
  269. opt_cntrdeptcd.value = ds_temp.getColumn(0, "cntrdeptnm");
  270. }
  271. if(!utlf_isNull(sPossndd))
  272. {
  273. ipt_possndd.value = ds_temp.getColumn(0, "possndd");
  274. }
  275. if(!utlf_isNull(sPossnamt))
  276. {
  277. ipt_possnamt.value = ds_temp.getColumn(0, "possnamt");
  278. }
  279. if(!utlf_isNull(sFixasetcd))
  280. {
  281. btn_search.click();
  282. }
  283. ds_send.enableevent = true;
  284. }
  285. function ds_send_oncolumnchanged(obj, e)
  286. {
  287. if(e.columnid == "fixasetcd")
  288. {
  289. var objFocus = this.getFocus();
  290. if(!utlf_isNull(e.newvalue))
  291. {
  292. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "requirementcd,instcd,requirementnm", "fixasetcd," + cmb_instcd.value + "," + e.newvalue, "", "fixasetcd,goodflaghngnm",
  293. ipt_fixasetcd, "SPRSD00240", "instcd","cmb_instcd");
  294. }
  295. else
  296. {
  297. ipt_fixasetcd.value = "";
  298. ipt_fixasetnm.value = "";
  299. }
  300. objFocus.setFocus();
  301. }
  302. if(e.columnid == "goodflaghngnm")
  303. {
  304. var objFocus = this.getFocus();
  305. if(!utlf_isNull(e.newvalue))
  306. {
  307. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "requirementcd,instcd,requirementnm",
  308. "goodflaghngnm," + cmb_instcd.value + "," + e.newvalue, "", "fixasetcd,goodflaghngnm",
  309. ipt_fixasetnm, "SPRSD00240", "instcd","cmb_instcd");
  310. }
  311. else
  312. {
  313. ipt_fixasetcd.value = "";
  314. ipt_fixasetnm.value = "";
  315. }
  316. objFocus.setFocus();
  317. }
  318. }
  319. function btn_fixasetcd_onclick(obj:Button, e:ClickEventInfo)
  320. {
  321. var temp = "fixasetcd,goodflaghngnm,cntrdeptcd,installplcenm,possnamt,goodspec,mngtno,possndd,installplcecd,depthngnm";
  322. rszfOpenPopUpListByWndName(ipt_fixasetcd,"", temp, "SPRSD00240","instcd","cmb_instcd", "Y");
  323. }
  324. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  325. {
  326. fSearch();
  327. }
  328. function fSearch()
  329. {
  330. arrCompId = new Array("ipt_fixasetcd");
  331. if(!frmf_isRequiredControls(arrCompId)) return;
  332. var updtdata = grdf_getGridUpdateData(grd_setcompslist).rowcount;
  333. if ( updtdata != 0)
  334. {
  335. var ret = sysf_messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
  336. if (ret != 6)
  337. {
  338. return;
  339. }
  340. }
  341. misfMsterDetailRetrieve();
  342. }
  343. function ds_main_setcompslist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  344. {
  345. if(e.columnid == "compsgoodqty" || e.columnid == "compsgoodunitcost")
  346. {
  347. var sQty = obj.getColumn(e.row, "compsgoodqty");
  348. var sCost = obj.getColumn(e.row, "compsgoodunitcost");
  349. if(e.columnid == "compsgoodqty")
  350. {
  351. if(!utlf_isNull(e.newvalue))
  352. {
  353. sQty = e.newvalue;
  354. }
  355. }
  356. if(e.columnid == "compsgoodunitcost")
  357. {
  358. if(!utlf_isNull(e.newvalue))
  359. {
  360. sCost = e.newvalue;
  361. }
  362. }
  363. obj.setColumn(e.row, "goodamt", (sQty * sCost));
  364. }
  365. }
  366. function btn_addrow_onclick(obj:Button, e:ClickEventInfo)
  367. {
  368. arrCompId = new Array("ipt_fixasetcd");
  369. if(!frmf_isRequiredControls(arrCompId)) return;
  370. misfGridIUD(grd_setcompslist, "A");
  371. var cur_row = ds_main_setcompslist.rowposition;
  372. ds_main_setcompslist.setColumn(cur_row, "setflag", 1);
  373. // ds_main_setcompslist.setColumn(cur_row, "instcd", ds_send.getColumn(0, "instcd");
  374. // ds_main_setcompslist.setColumn(cur_row, "instcd", ds_send.getColumn(0, "instcd");
  375. }
  376. function btn_delrow_onclick(obj:Button, e:ClickEventInfo)
  377. {
  378. misfGridIUD(grd_setcompslist, "D");
  379. }
  380. function button20_onclick(obj:Button, e:ClickEventInfo)
  381. {
  382. fSave();
  383. }
  384. function fSave()
  385. {
  386. var updtdata = grdf_getGridUpdateData(grd_setcompslist).rowcount;
  387. if (updtdata == 0)
  388. {
  389. sysf_messageBox("변경된 데이터가","I004");
  390. return;
  391. }
  392. var oParam = {};
  393. oParam.id = "TXRFC00203";
  394. oParam.service = "purcbaseapp.PurcBaseMngt";
  395. oParam.method = "reqSaveSetCompsList";
  396. oParam.inds = "req=ds_main_setcompslist:u";
  397. oParam.outds = "";
  398. oParam.async = false;
  399. oParam.callback = "cf_TXRFC00203";
  400. tranf_submit(oParam);
  401. }
  402. function cf_TXRFC00203(sSvcId, nErrorCode, sErrorMsg)
  403. {
  404. if(nErrorCode < 0) return;
  405. else btn_search.click();
  406. }
  407. function button29_onclick(obj:Button, e:ClickEventInfo)
  408. {
  409. fInitialize();
  410. }
  411. function ipt_fixasetcd_onkeydown(obj:Edit, e:KeyEventInfo)
  412. {
  413. if( e.keycode == 13 ){
  414. obj.updateToDataset();
  415. }
  416. }
  417. ]]></Script>
  418. </Form>
  419. </FDL>