SMMNG03501_운송불출관리.xfdl 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNG03501" position="absolute 0 0 1191 723" titletext="운송불출관리" oninit="SMMNG03501_oninit" onload="SMMNG03501_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="운송 불출관리" class="tit_1" position="absolute 0 0 186 25" anchor="left top right"/>
  8. <Div id="group4" taborder="3" position="absolute 0 25 1185 65" class="div_SA" anchor="left top right">
  9. <Layouts>
  10. <Layout>
  11. <Static id="cap_instcd" text="기관코드 :" class="search_name" position="absolute 10 12 96 29"/>
  12. <Edit id="opt_instcdnm" taborder="1" readonly="true" position="absolute 100 11 235 30" autoselect="true" autoskip="true" class="output"/>
  13. <Calendar id="ipt_reqfromdd" taborder="2" class="input_default" position="absolute 321 11 406 30" mask="yyyy-mm-dd" onchanged="group4_ipt_reqfromdd_onchanged"/>
  14. <Static id="cap_csrreqdeptcd" text="업무일자:" class="search_name" position="absolute 250 12 323 29"/>
  15. <Static id="caption3" text="~" position="absolute 408 11 428 36"/>
  16. <Calendar id="ipt_reqtodd" taborder="3" class="input_default" position="absolute 421 11 506 30" mask="yyyy-mm-dd" onchanged="group4_ipt_reqtodd_onchanged"/>
  17. <Static id="caption1" text="부서구분:" class="search_name" position="absolute 526 12 599 29"/>
  18. <Combo id="cmb_dept" taborder="4" innerdataset="@ds_main_csrdeptlist" codecolumn="deptcd" datacolumn="deptnm" position="absolute 600 11 700 30"/>
  19. <Static id="caption2" text="업무구분:" class="search_name" position="absolute 714 12 795 29"/>
  20. <Radio id="rdo_srchflag" taborder="5" columncount="-1" rowcount="-1" innerdataset="@ds_init_grupcdinfo_grupcdlist" codecolumn="cdid" datacolumn="cdnm" position="absolute 787 10 1037 30"/>
  21. <Shape id="line2" linetype="vertical" class="line_4" position="absolute 1047 8 1053 33" anchor="top right"/>
  22. <Button id="btn_search" taborder="6" text="조회" class="btn1" position="absolute 1062 10 1118 32" anchor="top right" onclick="group4_btn_search_onclick"/>
  23. <Button id="btn_prt" taborder="7" text="출력" class="btn1" position="absolute 1125 10 1181 32" anchor="top right" onclick="group4_btn_prt_onclick"/>
  24. </Layout>
  25. </Layouts>
  26. </Div>
  27. <Radio id="rdo_gubuncd" taborder="4" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" visible="false" position="absolute 220 78 610 93">
  28. <Dataset id="innerdataset">
  29. <ColumnInfo>
  30. <Column id="codecolumn"/>
  31. <Column id="datacolumn"/>
  32. </ColumnInfo>
  33. <Rows>
  34. <Row>
  35. <Col id="codecolumn">01</Col>
  36. <Col id="datacolumn">물품마스터</Col>
  37. </Row>
  38. <Row>
  39. <Col id="codecolumn">02</Col>
  40. <Col id="datacolumn">창고마스터</Col>
  41. </Row>
  42. </Rows>
  43. </Dataset>
  44. </Radio>
  45. <Static id="caption12" text="운송 불출관리" class="tit_2" position="absolute 0 79 138 101"/>
  46. <Grid id="grd_trnslist" taborder="5" binddataset="ds_main_trnsinfo_trnslist" useinputpanel="false" position="absolute 0 100 1185 715" autoenter="select" cellsizingtype="col" anchor="all" onheadclick="grd_trnslist_onheadclick">
  47. <Formats>
  48. <Format id="default">
  49. <Columns>
  50. <Column size="21"/>
  51. <Column size="20"/>
  52. <Column size="30"/>
  53. <Column size="58"/>
  54. <Column size="100"/>
  55. <Column size="100"/>
  56. <Column size="100"/>
  57. <Column size="100"/>
  58. <Column size="100"/>
  59. <Column size="100"/>
  60. <Column size="100"/>
  61. <Column size="100"/>
  62. <Column size="100"/>
  63. <Column size="100"/>
  64. <Column size="100"/>
  65. <Column size="100"/>
  66. <Column size="100"/>
  67. <Column size="0"/>
  68. <Column size="0"/>
  69. </Columns>
  70. <Rows>
  71. <Row size="24" band="head"/>
  72. <Row size="24"/>
  73. </Rows>
  74. <Band id="head">
  75. <Cell/>
  76. <Cell col="1" displaytype="checkbox" edittype="checkbox" style="linetype:onlyhorz;" expr="0"/>
  77. <Cell col="2" text="선택"/>
  78. <Cell col="3" text="응급여부"/>
  79. <Cell col="4" text="상태구분"/>
  80. <Cell col="5" text="부서코드"/>
  81. <Cell col="6" text="물품코드"/>
  82. <Cell col="7" text="상세코드"/>
  83. <Cell col="8" text="린넨품명"/>
  84. <Cell col="9" text="상세규격"/>
  85. <Cell col="10" text="불출량"/>
  86. <Cell col="11" text="불출자"/>
  87. <Cell col="12" text="운송량"/>
  88. <Cell col="13" text="운송자"/>
  89. <Cell col="14" text="운송일시"/>
  90. <Cell col="15" text="수령량"/>
  91. <Cell col="16" text="수령자"/>
  92. <Cell col="17" text="수령일시"/>
  93. <Cell col="18"/>
  94. </Band>
  95. <Band id="body">
  96. <Cell celltype="head"/>
  97. <Cell col="1" colspan="2" displaytype="checkbox" edittype="checkbox" text="bind:chkyn" expr="expr:chkyn == 'Y' || chkyn == '1' ? '1' : '0'" taborder="undefined"/>
  98. <Cell col="3" displaytype="checkbox" edittype="checkbox" text="bind:erflag" expr="expr:erflag == 'Y' || erflag == '1' ? '1' : '0'"/>
  99. <Cell col="4" displaytype="combo" edittype="combo" text="bind:trnsflag" combodataset="ds_init_grupcdinfo1_grupcdlist" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="10"/>
  100. <Cell col="5" displaytype="combo" edittype="combo" text="bind:deptcd" combodataset="ds_main_csrdeptlist" combocodecol="deptcd" combodatacol="deptnm" combodisplayrowcount="40"/>
  101. <Cell col="6" style="align:left;" text="bind:goodcd"/>
  102. <Cell col="7" style="align:left;" text="bind:goodcdseq"/>
  103. <Cell col="8" style="align:left;" text="bind:lngoodnm"/>
  104. <Cell col="9" style="align:left;" text="bind:goodmodel"/>
  105. <Cell col="10" displaytype="number" style="align:left;" text="bind:outcnt" mask="#,###"/>
  106. <Cell col="11" style="align:left;" text="bind:outnm"/>
  107. <Cell col="12" text="bind:trscnt"/>
  108. <Cell col="13" text="bind:trsnm"/>
  109. <Cell col="14" text="bind:trsdt"/>
  110. <Cell col="15" text="bind:reccnt"/>
  111. <Cell col="16" text="bind:recnm"/>
  112. <Cell col="17" text="bind:reqdd"/>
  113. <Cell col="18" text="bind:seqno"/>
  114. </Band>
  115. </Format>
  116. </Formats>
  117. </Grid>
  118. <Button id="btn_sav" taborder="6" text="저장" class="btn5" position="absolute 1143 76 1185 95" anchor="top right" onclick="btn_sav_onclick"/>
  119. <Shape id="line1" class="line_10" position="absolute 0 95 1185 101" anchor="left top right"/>
  120. </Layout>
  121. </Layouts>
  122. <Objects>
  123. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  124. <ColumnInfo>
  125. <Column id="instcdnm" type="STRING" size="256"/>
  126. <Column id="reqfromdd" type="STRING" size="256"/>
  127. <Column id="gubuncd" type="STRING" size="256"/>
  128. <Column id="reqtodd" type="STRING" size="256"/>
  129. <Column id="cdgrupid" type="STRING" size="256"/>
  130. <Column id="srchflag" type="STRING" size="256"/>
  131. <Column id="deptcd" type="STRING" size="256"/>
  132. <Column id="cdgrupid1" type="STRING" size="256"/>
  133. </ColumnInfo>
  134. <Rows>
  135. <Row>
  136. <Col id="instcdnm"/>
  137. <Col id="reqfromdd"/>
  138. <Col id="gubuncd">01</Col>
  139. <Col id="reqtodd"/>
  140. <Col id="cdgrupid">T66</Col>
  141. <Col id="srchflag"/>
  142. <Col id="deptcd"/>
  143. <Col id="cdgrupid1">T64</Col>
  144. </Row>
  145. </Rows>
  146. </Dataset>
  147. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  148. <ColumnInfo>
  149. <Column id="reqtodd" type="STRING" size="256"/>
  150. <Column id="selyymmdd" type="STRING" size="256"/>
  151. <Column id="reqfromdd" type="STRING" size="256"/>
  152. </ColumnInfo>
  153. <Rows>
  154. <Row>
  155. <Col id="reqtodd"/>
  156. <Col id="selyymmdd">DD</Col>
  157. <Col id="reqfromdd"/>
  158. </Row>
  159. </Rows>
  160. </Dataset>
  161. <Dataset id="ds_main_trnsinfo_trnslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_trnsinfo_trnslist_oncolumnchanged">
  162. <ColumnInfo>
  163. <Column id="chkyn" type="STRING" size="256" sumtext="응급구분"/>
  164. <Column id="erflag" type="STRING" size="256" sumtext="응급구분"/>
  165. <Column id="trnsflag" type="STRING" size="256" sumtext="상태구분"/>
  166. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
  167. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
  168. <Column id="goodcdseq" type="STRING" size="256" sumtext="상세코드"/>
  169. <Column id="lngoodnm" type="STRING" size="256" sumtext="물품코드"/>
  170. <Column id="goodmodel" type="STRING" size="256" sumtext="물품코드"/>
  171. <Column id="outcnt" type="STRING" size="256" sumtext="불출량"/>
  172. <Column id="outid" type="STRING" size="256" sumtext="불출자id"/>
  173. <Column id="outdt" type="STRING" size="256" sumtext="불출일시"/>
  174. <Column id="outnm" type="STRING" size="256" sumtext="불출자명"/>
  175. <Column id="outconfid" type="STRING" size="256" sumtext="불출확인자id"/>
  176. <Column id="outconfnm" type="STRING" size="256" sumtext="불출확인자명"/>
  177. <Column id="outconfdt" type="STRING" size="256" sumtext="불출확인시간"/>
  178. <Column id="trscnt" type="STRING" size="256" sumtext="운송량"/>
  179. <Column id="trsdt" type="STRING" size="256" sumtext="운송일시"/>
  180. <Column id="trsid" type="STRING" size="256" sumtext="운송자id"/>
  181. <Column id="trsnm" type="STRING" size="256" sumtext="운송자명"/>
  182. <Column id="reccmt" type="STRING" size="256" sumtext="수령량"/>
  183. <Column id="recid" type="STRING" size="256" sumtext="수령자id"/>
  184. <Column id="recnm" type="STRING" size="256" sumtext="수령자명"/>
  185. <Column id="recdt" type="STRING" size="256" sumtext="수령일시"/>
  186. <Column id="reqdd" type="STRING" size="256" sumtext="청구일자"/>
  187. <Column id="seqno" type="STRING" size="256" sumtext="순번"/>
  188. </ColumnInfo>
  189. </Dataset>
  190. <Dataset id="ds_main_csrdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  191. <ColumnInfo>
  192. <Column id="deptnm" type="STRING" size="256"/>
  193. <Column id="deptcd" type="STRING" size="256"/>
  194. </ColumnInfo>
  195. </Dataset>
  196. <Dataset id="ds_init_grupcdinfo_grupcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  197. <ColumnInfo>
  198. <Column id="cdnm" type="STRING" size="256"/>
  199. <Column id="cdid" type="STRING" size="256"/>
  200. </ColumnInfo>
  201. </Dataset>
  202. <Dataset id="ds_init_grupcdinfo1_grupcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  203. <ColumnInfo>
  204. <Column id="cdnm" type="STRING" size="256"/>
  205. <Column id="cdid" type="STRING" size="256"/>
  206. </ColumnInfo>
  207. </Dataset>
  208. </Objects>
  209. <Bind>
  210. <BindItem id="item0" compid="group4.opt_instcdnm" propid="value" datasetid="ds_send" columnid="instcdnm"/>
  211. <BindItem id="item1" compid="group4.ipt_reqfromdd" propid="value" datasetid="ds_cond" columnid="reqfromdd"/>
  212. <BindItem id="item2" compid="group4.ipt_reqtodd" propid="value" datasetid="ds_cond" columnid="reqtodd"/>
  213. <BindItem id="item3" compid="group4.cmb_dept" propid="value" datasetid="ds_send" columnid="deptcd"/>
  214. <BindItem id="item4" compid="group4.rdo_srchflag" propid="value" datasetid="ds_send" columnid="srchflag"/>
  215. <BindItem id="item5" compid="rdo_gubuncd" propid="value" datasetid="ds_send" columnid="gubuncd"/>
  216. </Bind>
  217. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  218. * System Name :
  219. * Job Name :
  220. * Creator :
  221. * Make Date : 2017-07-11
  222. * Description :
  223. *---------------------------------------------------------------------------------------
  224. * Modify Date Modifier Modify Description
  225. *---------------------------------------------------------------------------------------
  226. * 2017-07-11 Live Converter TF->XP
  227. *
  228. *---------------------------------------------------------------------------------------
  229. ****************************************************************************************/
  230. include "com_commonxp::comm_main.xjs";
  231. var arErrorCode = new HashArray();
  232. function SMMNG03501_oninit(obj:Form, e:InitEventInfo)
  233. {
  234. frmf_initForm(obj);
  235. }
  236. function SMMNG03501_onload(obj:Form, e:LoadEventInfo)
  237. {
  238. //grdf_initGrid(grd_trnslist);
  239. grdf_setRowTypeIcon(grd_trnslist, 0);
  240. fInitialize();
  241. }
  242. function fInitialize()
  243. {
  244. //grd_trnslist.fixedcellcheckbox(0, grd_trnslist.colRef("chkyn")) = true;
  245. group4.opt_instcdnm.value = sysf_getUserInfo("dutplceinstnm");
  246. ds_cond.setColumn(0, "reqtodd", utlf_getCurrentDate());
  247. var da = utlf_getCurrentDate();
  248. var dat = ((da.toDate("YYYYMMDD")).getAddDate(-1, "D")).getDateFormat("YYYYMMDD") ;
  249. ds_cond.setColumn(0, "reqfromdd", dat);
  250. group4.rdo_srchflag.value = "L";
  251. group4.rdo_srchflag.enable = false;
  252. dsf_makeValue(ds_send, "useyn", "string", "Y", 0);
  253. grd_trnslist.setCellProperty("Body", grd_trnslist.getBindCellIndex("Body", "erflag"), "edittype", "none");
  254. grd_trnslist.setCellProperty("Body", grd_trnslist.getBindCellIndex("Body", "erflag"), "controlbackground", "silver");
  255. grd_trnslist.setCellProperty("Body", grd_trnslist.getBindCellIndex("Body", "erflag"), "controlborder", "1 solid #708090cc");
  256. var oParam = {};
  257. oParam.id = "TRMNG00402";
  258. oParam.service = "csrapp.CsrMngt";
  259. oParam.method = "getCsrDeptList";
  260. oParam.inds = "req=ds_send";
  261. oParam.outds = "ds_main_csrdeptlist=csrdeptlist";
  262. oParam.async = false;
  263. //oParam.callback = "cf_TRMNG00402";
  264. tranf_submit(oParam);
  265. var oParam = {};
  266. oParam.id = "TRMNG02305";
  267. oParam.service = "csrapp.CsrDryMngt";
  268. oParam.method = "reqGetGrupcdList";
  269. oParam.inds = "req=ds_send";
  270. oParam.outds = "ds_init_grupcdinfo_grupcdlist=grupcdlist";
  271. oParam.async = false;
  272. //oParam.callback = "cf_TRMNG02305";
  273. tranf_submit(oParam);
  274. ds_send.setColumn(0, "cdgrupid", ds_send.getColumn(0, "cdgrupid1"));
  275. var oParam = {};
  276. oParam.id = "TRMNG02305";
  277. oParam.service = "csrapp.CsrDryMngt";
  278. oParam.method = "reqGetGrupcdList";
  279. oParam.inds = "req=ds_send";
  280. oParam.outds = "ds_init_grupcdinfo1_grupcdlist=grupcdlist";
  281. oParam.async = false;
  282. //oParam.callback = "cf_TRMNG02305";
  283. tranf_submit(oParam);
  284. fSearch();
  285. }
  286. function fSearch()
  287. {
  288. grd_trnslist.setCellProperty("Head", 1, "expr", "0");
  289. ds_send.setColumn(0, "reqfromdd", ds_cond.getColumn(0, "reqfromdd"));
  290. ds_send.setColumn(0, "reqtodd", ds_cond.getColumn(0, "reqtodd"));
  291. var oParam = {};
  292. oParam.id = "TRMNG03502";
  293. oParam.service = "csrapp.CsrDryMngt";
  294. oParam.method = "reqGetTrnsList";
  295. oParam.inds = "req=ds_send";
  296. oParam.outds = "ds_main_trnsinfo_trnslist=trnslist";
  297. oParam.async = false;
  298. //oParam.callback = "cf_TRMNG03502";
  299. tranf_submit(oParam);
  300. if( utlf_isNull(ds_main_trnsinfo_trnslist.getColumnInfo("chkyn")) ){
  301. ds_main_trnsinfo_trnslist.addColumn("chkyn", "string");
  302. }
  303. ds_main_trnsinfo_trnslist.updatecontrol = false;
  304. dsf_setDefaultVal(ds_main_trnsinfo_trnslist, "chkyn:N");
  305. ds_main_trnsinfo_trnslist.updatecontrol = true;
  306. }
  307. function group4_ipt_reqfromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  308. {
  309. fSearch();
  310. }
  311. function group4_ipt_reqtodd_onchanged(obj:Calendar, e:ChangeEventInfo)
  312. {
  313. fSearch();
  314. }
  315. function group4_btn_search_onclick(obj:Button, e:ClickEventInfo)
  316. {
  317. fSearch();
  318. }
  319. function btn_sav_onclick(obj:Button, e:ClickEventInfo)
  320. {
  321. var cnt = 0;
  322. for (var i = 0; i < ds_main_trnsinfo_trnslist.rowcount; i++ )
  323. {
  324. if ( ds_main_trnsinfo_trnslist.getColumn(i, "chkyn") == "Y" )
  325. {
  326. ds_main_trnsinfo_trnslist.setColumn(i, "trnsflag", "05");
  327. ds_main_trnsinfo_trnslist.setColumn(i, "trscnt", ds_main_trnsinfo_trnslist.getColumn(i, "outcnt"));
  328. ds_main_trnsinfo_trnslist.updatecontrol = false;
  329. ds_main_trnsinfo_trnslist.setRowType(i, "u");
  330. ds_main_trnsinfo_trnslist.updatecontrol = true;
  331. cnt++;
  332. }
  333. }
  334. if ( cnt < 1)
  335. {
  336. alert("선택된 불출확인목록이 없습니다.");
  337. return;
  338. }
  339. ds_main_trnsinfo_trnslist.enableevent = false;
  340. ds_main_trnsinfo_trnslist.updatecontrol = false;
  341. grdf_setStatusColumn(ds_main_trnsinfo_trnslist, "status");
  342. ds_main_trnsinfo_trnslist.updatecontrol = true;
  343. ds_main_trnsinfo_trnslist.enableevent = true;
  344. ds_main_trnsinfo_trnslist.updateColID("trnsflag", "lnrqflag");
  345. var oParam = {};
  346. oParam.id = "TXMNG02504";
  347. oParam.service = "csrapp.CsrDryMngt";
  348. oParam.method = "reqExeLnrqList";
  349. oParam.inds = "req=ds_main_trnsinfo_trnslist:u";
  350. oParam.outds = "";
  351. oParam.typeStr = "m";
  352. oParam.async = false;
  353. oParam.callback = "cf_TXMNG02504";
  354. tranf_submit(oParam);
  355. if(arErrorCode.pop("TXMNG02504") > -1)
  356. {
  357. alert(cnt + "건이 운송 처리되었습니다.");
  358. }
  359. fSearch();
  360. }
  361. function cf_TXMNG02504(sSvcId, nErrorCode, sErrorMsg)
  362. {
  363. arErrorCode.push(sSvcId, nErrorCode);
  364. if(nErrorCode < 0) return;
  365. }
  366. function ds_main_trnsinfo_trnslist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  367. {
  368. if(e.columnid == "chkyn")
  369. {
  370. obj.setColumn(e.row, "chkyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  371. }
  372. if(e.columnid == "erflag")
  373. {
  374. obj.setColumn(e.row, "erflag", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  375. }
  376. }
  377. function grd_trnslist_onheadclick(obj:Grid, e:GridClickEventInfo)
  378. {
  379. if( e.cell == 1 ){
  380. if( obj.getCellProperty("Head", e.cell, "expr") == "0" ){
  381. obj.setCellProperty("Head", e.cell, "expr", "1");
  382. ds_main_trnsinfo_trnslist.enableevent = false;
  383. ds_main_trnsinfo_trnslist.updatecontrol = false;
  384. for( var i=0 ; i<ds_main_trnsinfo_trnslist.rowcount ; i++ ){
  385. ds_main_trnsinfo_trnslist.setColumn(i, "chkyn", "Y");
  386. }
  387. ds_main_trnsinfo_trnslist.updatecontrol = true;
  388. ds_main_trnsinfo_trnslist.enableevent = true;
  389. }else{
  390. obj.setCellProperty("Head", e.cell, "expr", "0");
  391. ds_main_trnsinfo_trnslist.enableevent = false;
  392. ds_main_trnsinfo_trnslist.updatecontrol = false;
  393. for( var i=0 ; i<ds_main_trnsinfo_trnslist.rowcount ; i++ ){
  394. ds_main_trnsinfo_trnslist.setColumn(i, "chkyn", "N");
  395. }
  396. ds_main_trnsinfo_trnslist.updatecontrol = true;
  397. ds_main_trnsinfo_trnslist.enableevent = true;
  398. }
  399. }
  400. }
  401. ]]></Script>
  402. </Form>
  403. </FDL>