SPRAC00610_거래처Excel입력.xrw 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>거래처Excel입력</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <custlist/>
  12. </list>
  13. </main>
  14. <send>
  15. <list>
  16. <custlist/>
  17. </list>
  18. <condition>
  19. <instcd/>
  20. <entrregno/>
  21. <custnm/>
  22. <insertfromdd>20080301</insertfromdd>
  23. <inserttodd/>
  24. <insertinstcd/>
  25. </condition>
  26. </send>
  27. <hidden>
  28. <list>
  29. <custchecklist/>
  30. </list>
  31. </hidden>
  32. <init>
  33. </init>
  34. <temp>
  35. </temp>
  36. </root>
  37. </instance>
  38. <submission id="TRZBC00101" method="urlencoded-post" replace="instance"/>
  39. <bind id="bind_totamt" ref="/root/hidden/totamt" calculate="(/root/main/orch_one/paytotamt) - (/root/main/orch_one/incmtax) -(/root/main/orch_one/resdntax)"/>
  40. <bind id="bind_amt" ref="/root/hidden/orchreturn/amt" calculate="sum(/root/main/list/orchlist/paytotamt)"/>
  41. <bind id="bind_incmtax" ref="/root/hidden/orchreturn/incmtax" calculate="sum(/root/main/list/orchlist/incmtax)"/>
  42. <bind id="bind_resdntax" ref="/root/hidden/orchreturn/resdntax" calculate="sum(/root/main/list/orchlist/resdntax)"/>
  43. <submission id="TXRAC00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/list" resultref="/root/temp"/>
  44. <submission id="TRRAC00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/hidden/list/custchecklist"/>
  45. </model>
  46. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  50. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  51. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  52. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  53. <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
  54. <script type="javascript" ev:event="xforms-ready">
  55. <![CDATA[
  56. fInitialize();
  57. ]]>
  58. </script>
  59. <script type="javascript">
  60. <![CDATA[
  61. function fInitialize()
  62. {
  63. model.removenode("/root/hidden/list/custchecklist");
  64. model.removenode("/root/main/list/custlist");
  65. misfComboComCdList("Z0007", cmb_instcd, "N");
  66. model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
  67. misfComboComCdList("Z0007", cmb_insertinstcd, "N");
  68. model.setValue(cmb_insertinstcd.attribute("ref"), getUserInfo("dutplceinstcd"));
  69. model.setValue(ipt_inserttodd.attribute("ref"), getCurrentDate().toString());
  70. model.refresh();
  71. model.setFocus("ipt_name");
  72. }
  73. function fSave()
  74. {
  75. var updtdata = getGridUpdateData(grd_custlist);
  76. if (updtdata == "")
  77. {
  78. return false;
  79. }
  80. model.copyNode("/root/send/list", "/root/main/list");
  81. submit("TXRAC00601");
  82. grd_custchecklist.clearStatus();
  83. grd_custlist.clearStatus();
  84. }
  85. //========================================================================================
  86. //not null check
  87. //========================================================================================
  88. function fDataCheck()
  89. {
  90. if(grd_custlist.fixedRows == grd_custlist.rows) return;
  91. var bDataValidFlag = true;
  92. var bflag = true;
  93. for(var i = grd_custlist.fixedRows ; i < grd_custlist.rows ; i++)
  94. {
  95. bflag = true;
  96. sCustNm = grd_custlist.valueMatrix(i, grd_custlist.colRef("custnm"));
  97. if(sCustNm == "")
  98. {
  99. grd_custlist.cellStyle("background-color", i, grd_custlist.colRef("custnm")) = "#ff0000";
  100. bflag = false;
  101. }
  102. else
  103. {
  104. grd_custlist.cellStyle("background-color", i, grd_custlist.colRef("custnm")) = "#ffff00";
  105. }
  106. sFromdd = grd_custlist.valueMatrix(i, grd_custlist.colRef("fromdd"));
  107. if(!isValidDateTime(sFromdd, "YYYYMMDD"))
  108. {
  109. grd_custlist.cellStyle("background-color", i, grd_custlist.colRef("fromdd")) = "#ff0000";
  110. bflag = false;
  111. }
  112. else
  113. {
  114. grd_custlist.cellStyle("background-color", i, grd_custlist.colRef("fromdd")) = "#ffff00";
  115. }
  116. sTodd = grd_custlist.valueMatrix(i, grd_custlist.colRef("todd"));
  117. if(!isValidDateTime(sFromdd, "YYYYMMDD"))
  118. {
  119. grd_custlist.cellStyle("background-color", i, grd_custlist.colRef("todd")) = "#ff0000";
  120. bflag = false;
  121. }
  122. else
  123. {
  124. grd_custlist.cellStyle("background-color", i, grd_custlist.colRef("todd")) = "#ffff00";
  125. }
  126. if(bflag == false)
  127. {
  128. grd_custlist.valueMatrix(i, grd_custlist.colRef("validyn")) = "N";
  129. bDataValidFlag = false;
  130. }
  131. else
  132. {
  133. grd_custlist.valueMatrix(i, grd_custlist.colRef("validyn")) = "Y";
  134. }
  135. }
  136. if(bDataValidFlag == true)
  137. {
  138. btn_save.disabled = false;
  139. for(var i = grd_custlist.fixedRows ; i < grd_custlist.rows ; i++)
  140. {
  141. grd_custlist.rowStatus(i) = 1;
  142. }
  143. }
  144. }
  145. //엑셀 입력
  146. function fInputExcel(pGrid)
  147. {
  148. var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  149. if(fileName != "")
  150. {
  151. pGrid.loadExcel(fileName, 1, true);
  152. pGrid.deleteRow(1);
  153. for(i = 1; i < pGrid.rows; i++)
  154. {
  155. pGrid.rowStatus(i) = 1;
  156. }
  157. pGrid.refresh();
  158. }
  159. }
  160. ]]>
  161. </script>
  162. </xhtml:head>
  163. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  164. <group id="group1" style="left:0px; top:0px; width:1042px; height:13px; ">
  165. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">거래처 Excel 입력</caption>
  166. </group>
  167. <group id="group2" scroll="auto" style="left:0px; top:12px; width:1195px; height:753px; ">
  168. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:14px; width:815px; height:45px; background-color:#fffbf2; border-color:#ffd799; "/>
  169. <line id="line2" class="line_1" style="x1:0px; y1:9px; x2:1195px; y2:9px; "/>
  170. <datagrid id="grd_custchecklist" nodeset="/root/hidden/list/custchecklist" caption="사업자등록번호^거래처명^시작일자^종료일자^대표자명^주민등록번호^업태^종목^주거래종목^매입/매출처^법인구분^우편번호1^우편번호2^우편번호일련번호^상위주소^하위주소^전화번호^팩스번호^은행코드^예금주^계좌번호^이메일주소^홈페이지주소^승계구사업자등록번호^지불조건^회계담당자명^회계담당자전화번호^회계담당자휴대폰번호^회계담당자이메일주소^거래상태^비고^법인명^출력순서^압류여부^유효여부" colwidth="100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100" dataheight="25" ellipsis="true" extendlastcol="scroll" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:59px; width:1195px; height:240px; ">
  171. <col ref="entrregno"/>
  172. <col ref="custnm"/>
  173. <col ref="fromdd"/>
  174. <col ref="todd"/>
  175. <col ref="prsdnm"/>
  176. <col ref="rrgstno"/>
  177. <col ref="bizcont"/>
  178. <col ref="item"/>
  179. <col ref="mainbizitem"/>
  180. <col ref="custflag"/>
  181. <col ref="instflag"/>
  182. <col ref="zipcd1"/>
  183. <col ref="zipcd2"/>
  184. <col ref="zipcdseqno"/>
  185. <col ref="supaddr"/>
  186. <col ref="infaddr"/>
  187. <col ref="cntctel"/>
  188. <col ref="faxno"/>
  189. <col ref="bankcd"/>
  190. <col ref="depor"/>
  191. <col ref="aactno"/>
  192. <col ref="emailaddr"/>
  193. <col ref="homepgaddr"/>
  194. <col ref="oldentrregno"/>
  195. <col ref="paycond"/>
  196. <col ref="acntchrgnm"/>
  197. <col ref="acntchrgtelno"/>
  198. <col ref="acntchrgmpphonno"/>
  199. <col ref="acntchrgemailaddr"/>
  200. <col ref="custstat"/>
  201. <col ref="cmt"/>
  202. <col ref="cmpynm"/>
  203. <col ref="prntseqno"/>
  204. <col ref="seizureyn"/>
  205. <col ref="validyn" type="checkbox"/>
  206. </datagrid>
  207. <button id="btn_excel" class="btn2_letter2" navindex="-1" style="left:965px; top:37px; width:42px; height:19px; ">
  208. <caption>검사</caption>
  209. <script type="javascript" ev:event="DOMActivate">
  210. <![CDATA[
  211. fDataCheck();
  212. ]]>
  213. </script>
  214. </button>
  215. <button id="button1" class="btn2_letter7" navindex="-1" style="left:965px; top:15px; width:97px; height:19px; ">
  216. <caption>Excel 불러오기</caption>
  217. <script type="javascript" ev:event="DOMActivate">
  218. <![CDATA[
  219. model.removeNodeset("/root/hidden/list/custchecklist");
  220. model.removeNodeset("/root/main/list/custlist");
  221. grd_custchecklist.refresh();
  222. grd_custlist.refresh();
  223. fInputExcel(grd_custchecklist);
  224. btn_save.disabled = true;
  225. var instcd = getUserInfo("dutplceinstcd")
  226. var bflag = false;
  227. var vRowNumber = 1;
  228. for(var i = grd_custchecklist.fixedRows ; i < grd_custchecklist.rows ; i++)
  229. {
  230. bflag = true;
  231. sValidYN = grd_custchecklist.valueMatrix(i, grd_custchecklist.colRef("validyn"));
  232. if(sValidYN != "Y") continue;
  233. if(bflag && sValidYN != "Y")
  234. {
  235. grd_custchecklist.rowStyle(i, "data", "background-color") = "#333333";
  236. bflag = false;
  237. }
  238. sEntrregno = grd_custchecklist.valueMatrix(i, grd_custchecklist.colRef("entrregno"));
  239. if(bflag && !radfBizCheck(sEntrregno))
  240. {
  241. grd_custchecklist.cellStyle("background-color", i, grd_custchecklist.colRef("entrregno")) = "#ff0000";
  242. model.setValue(grd_custchecklist.nodeset + "[" + i + "]/validyn", "ERROR");
  243. bflag = false;
  244. }
  245. if(bflag && (radfcheckCustExist(instcd, sEntrregno, "N") != ""))
  246. {
  247. grd_custchecklist.cellStyle("background-color", i, grd_custchecklist.colRef("entrregno")) = "#00ff00";
  248. model.setValue(grd_custchecklist.nodeset + "[" + i + "]/validyn", "EXIST");
  249. bflag = false;
  250. }
  251. if(bflag == true)
  252. {
  253. model.makeNode(grd_custlist.nodeset + "[" + vRowNumber + "]");
  254. model.copyNode(grd_custlist.nodeset + "[" + vRowNumber + "]", grd_custchecklist.nodeset + "[" + i + "]");
  255. model.makeValue(grd_custlist.nodeset + "[" + vRowNumber + "]/statflag", "i");
  256. vRowNumber++;
  257. }
  258. for(var j = i+1 ; j < grd_custchecklist.rows ; j++)
  259. {
  260. if(sEntrregno == grd_custchecklist.valueMatrix(j, grd_custchecklist.colRef("entrregno")))
  261. {
  262. grd_custchecklist.valueMatrix(j, grd_custchecklist.colRef("validyn")) = "D";
  263. grd_custchecklist.rowStyle(j, "data", "background-color") = "#800080";
  264. }
  265. }
  266. }
  267. grd_custchecklist.refresh();
  268. grd_custlist.refresh();
  269. ]]>
  270. </script>
  271. </button>
  272. <button id="btn_save" class="btn4_letter2" disabled="true" navindex="-1" style="left:1135px; top:14px; width:56px; height:22px; ">
  273. <caption>저장</caption>
  274. <script type="javascript" ev:event="DOMActivate">
  275. <![CDATA[
  276. fSave();
  277. btn_save.disabled = true;
  278. ]]>
  279. </script>
  280. </button>
  281. <datagrid id="grd_custlist" nodeset="/root/main/list/custlist" caption="사업자등록번호^거래처명^시작일자^종료일자^대표자명^주민등록번호^업태^종목^주거래종목^매입/매출처^법인구분^우편번호1^우편번호2^우편번호일련번호^상위주소^하위주소^전화번호^팩스번호^은행코드^예금주^계좌번호^이메일주소^홈페이지주소^승계구사업자등록번호^지불조건^회계담당자명^회계담당자전화번호^회계담당자휴대폰번호^회계담당자이메일주소^거래상태^비고^법인명^출력순서^압류여부^유효여부" colwidth="100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100" dataheight="25" ellipsis="true" extendlastcol="scroll" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:305px; width:1195px; height:445px; ">
  282. <col ref="entrregno"/>
  283. <col ref="custnm"/>
  284. <col ref="fromdd"/>
  285. <col ref="todd"/>
  286. <col ref="prsdnm"/>
  287. <col ref="rrgstno"/>
  288. <col ref="bizcont"/>
  289. <col ref="item"/>
  290. <col ref="mainbizitem"/>
  291. <col ref="custflag"/>
  292. <col ref="instflag"/>
  293. <col ref="zipcd1"/>
  294. <col ref="zipcd2"/>
  295. <col ref="zipcdseqno"/>
  296. <col ref="supaddr"/>
  297. <col ref="infaddr"/>
  298. <col ref="cntctel"/>
  299. <col ref="faxno"/>
  300. <col ref="bankcd"/>
  301. <col ref="depor"/>
  302. <col ref="aactno"/>
  303. <col ref="emailaddr"/>
  304. <col ref="homepgaddr"/>
  305. <col ref="oldentrregno"/>
  306. <col ref="paycond"/>
  307. <col ref="acntchrgnm"/>
  308. <col ref="acntchrgtelno"/>
  309. <col ref="acntchrgmpphonno"/>
  310. <col ref="acntchrgemailaddr"/>
  311. <col ref="custstat"/>
  312. <col ref="cmt"/>
  313. <col ref="cmpynm"/>
  314. <col ref="prntseqno"/>
  315. <col ref="seizureyn"/>
  316. <col ref="statflag"/>
  317. </datagrid>
  318. <line id="line1" class="line_1" style="x1:0px; y1:300px; x2:1195px; y2:300px; "/>
  319. <button id="button2" class="btn2_letter9" navindex="-1" style="left:840px; top:15px; width:119px; height:19px; ">
  320. <caption>Excel 출력(오류분)</caption>
  321. <script type="javascript" ev:event="DOMActivate">
  322. <![CDATA[
  323. misfSaveExcel(grd_custchecklist);
  324. ]]>
  325. </script>
  326. </button>
  327. <button id="button3" class="btn2_letter9" navindex="-1" style="left:840px; top:37px; width:119px; height:19px; ">
  328. <caption>Excel 출력(입력분)</caption>
  329. <script type="javascript" ev:event="DOMActivate">
  330. <![CDATA[
  331. misfSaveExcel(grd_custlist);
  332. ]]>
  333. </script>
  334. </button>
  335. <button id="btn_regnohelp" class="icon_search" navindex="11" style="left:520px; top:17px; width:16px; height:16px; text-align:center; ">
  336. <caption/>
  337. <script type="javascript" ev:event="DOMActivate">
  338. <![CDATA[
  339. misfOpenPopUpList("14", ipt_entrregno, "", "entrregno,custnm", "cmb_custstat,cmb_instcd", "custuseyn,instcd");
  340. model.refresh();
  341. ]]>
  342. </script>
  343. </button>
  344. <input id="ipt_custnm" ref="/root/send/condition/custnm" class="input_s_essential" navindex="12" style="left:540px; top:15px; width:145px; height:19px; ">
  345. <script type="javascript" ev:event="onkeypress">
  346. <![CDATA[
  347. if(event.keyCode == 13)
  348. {
  349. // racfCustValidCheck("entrregno,custnm", "name");
  350. ipt_custnm.value = ipt_custnm.currentText;
  351. btn_search.dispatch("DOMActivate");
  352. }
  353. ]]>
  354. </script>
  355. <script type="javascript" ev:event="xforms-value-changed">
  356. <![CDATA[
  357. // racfCustValidCheck("entrregno,custnm", "name");
  358. btn_search.dispatch("DOMActivate");
  359. ]]>
  360. </script>
  361. </input>
  362. <caption id="caption12" class="search_name" style="left:280px; top:37px; width:134px; height:17px; ">최초입력일자 :</caption>
  363. <caption id="caption13" style="left:522px; top:43px; width:20px; height:15px; ">~</caption>
  364. <caption id="caption5" class="search_name" style="left:280px; top:16px; width:125px; height:17px; ">사업자등록번호 :</caption>
  365. <input id="ipt_inserttodd" ref="/root/send/condition/inserttodd" class="input_s_essential" inputtype="date" style="left:540px; top:38px; width:105px; height:19px; "/>
  366. <input id="ipt_entrregno" ref="/root/send/condition/entrregno" class="input_s_essential" navindex="10" format="999-99-99999" style="left:409px; top:15px; width:105px; height:19px; text-align:center; ">
  367. <script type="javascript" ev:event="onkeypress">
  368. <![CDATA[
  369. if(event.keyCode == 13)
  370. {
  371. // racfCustValidCheck("entrregno,custnm", "code");
  372. ipt_entrregno.value = ipt_entrregno.currentText;
  373. btn_search.dispatch("DOMActivate");
  374. }
  375. ]]>
  376. </script>
  377. <script type="javascript" ev:event="xforms-value-changed">
  378. <![CDATA[
  379. // racfCustValidCheck("entrregno,custnm", "code");
  380. btn_search.dispatch("DOMActivate");
  381. ]]>
  382. </script>
  383. </input>
  384. <input id="ipt_insertfromdd" ref="/root/send/condition/insertfromdd" class="input_s_essential" inputtype="date" style="left:409px; top:38px; width:105px; height:19px; "/>
  385. <select1 id="cmb_instcd" ref="/root/send/condition/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:95px; top:14px; width:175px; height:19px; ">
  386. <choices>
  387. <itemset>
  388. <label/>
  389. <value/>
  390. </itemset>
  391. </choices>
  392. </select1>
  393. <caption id="caption14" class="search_name" style="left:6px; top:14px; width:86px; height:17px; ">복사기관 :</caption>
  394. <button id="btn_search" class="btn1_letter2" navindex="15" style="left:695px; top:25px; width:56px; height:22px; ">
  395. <caption>조회</caption>
  396. <script type="javascript" ev:event="DOMActivate">
  397. <![CDATA[
  398. model.removeNodeset("/root/hidden/list/custchecklist");
  399. model.removeNodeset("/root/main/list/custlist");
  400. grd_custchecklist.refresh();
  401. grd_custlist.refresh();
  402. submit("TRRAC00603");
  403. ]]>
  404. </script>
  405. </button>
  406. <select1 id="cmb_insertinstcd" ref="/root/send/condition/insertinstcd" class="combo_s_essential" disabled="true" navindex="1" appearance="minimal" style="left:95px; top:36px; width:175px; height:19px; ">
  407. <choices>
  408. <itemset>
  409. <label/>
  410. <value/>
  411. </itemset>
  412. </choices>
  413. </select1>
  414. <caption id="caption1" class="search_name" style="left:6px; top:36px; width:86px; height:17px; ">기 관 :</caption>
  415. <button id="button4" class="btn4_letter2" navindex="-1" style="left:755px; top:25px; width:56px; height:22px; ">
  416. <caption>복사</caption>
  417. <script type="javascript" ev:event="DOMActivate">
  418. <![CDATA[
  419. model.removeNodeset("/root/main/list/custlist");
  420. grd_custlist.refresh();
  421. btn_save.disabled = true;
  422. var vRowNumber = 1;
  423. var bflag = true;
  424. for(var i = grd_custchecklist.fixedRows ; i < grd_custchecklist.rows ; i++)
  425. {
  426. bflag = true;
  427. sValidYN = grd_custchecklist.valueMatrix(i, grd_custchecklist.colRef("validyn"));
  428. //alert(sValidYN);
  429. if(!sValidYN)
  430. {
  431. grd_custchecklist.rowStyle(i, "data", "background-color") = "#333333";
  432. bflag = false;
  433. }
  434. sEntrregno = grd_custchecklist.valueMatrix(i, grd_custchecklist.colRef("entrregno"));
  435. if(bflag && !radfBizCheck(sEntrregno))
  436. {
  437. grd_custchecklist.cellStyle("background-color", i, grd_custchecklist.colRef("entrregno")) = "#ff0000";
  438. model.setValue(grd_custchecklist.nodeset + "[" + i + "]/validyn", "E");
  439. bflag = false;
  440. }
  441. if(bflag)
  442. {
  443. model.makeNode(grd_custlist.nodeset + "[" + vRowNumber + "]");
  444. model.copyNode(grd_custlist.nodeset + "[" + vRowNumber + "]", grd_custchecklist.nodeset + "[" + i + "]");
  445. model.makeValue(grd_custlist.nodeset + "[" + vRowNumber + "]/statflag", "i");
  446. vRowNumber++;
  447. }
  448. }
  449. model.refresh();
  450. ]]>
  451. </script>
  452. </button>
  453. </group>
  454. </xhtml:body>
  455. </xhtml:html>