SMRAR00800_구매건전자결제파일생성.xfdl 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRAR00800" position="absolute 0 0 1195 776" titletext="전자결제 전송파일 생성" onload="SMRAR00800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_sea" taborder="9" position="absolute 0 25 1194 65" class="div_SA" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Button id="button2" taborder="0" text="전송내역조회" class="btn1" position="absolute 1073 10 1179 32" anchor="right" onclick="grp_sea_button2_onclick"/>
  11. <Shape id="line5" linetype="vertical" class="line_4" position="absolute 1054 10 1060 32" anchor="right"/>
  12. <Calendar id="ipt_gipyoymd" taborder="1" class="input_default" position="absolute 491 11 601 30"/>
  13. <Static id="caption2" text="기표일자 :" class="search_name" position="absolute 404 12 508 29"/>
  14. <Calendar id="ipt_senddate" taborder="2" class="input_essential" position="absolute 216 11 326 30"/>
  15. <Combo id="cmb_sendday" taborder="3" innerdataset="@ds_init_senddaylist" codecolumn="value" datacolumn="label" class="combo_default" position="absolute 103 11 213 30" onitemchanged="grp_sea_cmb_sendday_onitemchanged"/>
  16. <Static id="caption3" text="전송일자 :" class="search_name" position="absolute 14 12 102 29"/>
  17. </Layout>
  18. </Layouts>
  19. </Div>
  20. <Static id="caption6" text="전자결제 전송파일 생성" class="tit_1" position="absolute 0 0 180 25"/>
  21. <Shape id="line3" class="line_10" position="absolute 0 89 1194 95" anchor="left top right"/>
  22. <Grid id="grd_main" taborder="5" binddataset="ds_main_maindatalist" useinputpanel="false" position="absolute 0 94 1194 745" anchor="all">
  23. <Formats>
  24. <Format id="default">
  25. <Columns>
  26. <Column size="25" band="left"/>
  27. <Column size="50"/>
  28. <Column size="50"/>
  29. <Column size="110"/>
  30. <Column size="170"/>
  31. <Column size="100"/>
  32. <Column size="100"/>
  33. <Column size="100"/>
  34. <Column size="100"/>
  35. <Column size="300"/>
  36. <Column size="50"/>
  37. <Column size="0"/>
  38. <Column size="0"/>
  39. <Column size="0"/>
  40. <Column size="0"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. </Columns>
  44. <Rows>
  45. <Row size="24" band="head"/>
  46. <Row size="24"/>
  47. </Rows>
  48. <Band id="head">
  49. <Cell/>
  50. <Cell col="1" text="순번"/>
  51. <Cell col="2" text="결재"/>
  52. <Cell col="3" text="사업자번호"/>
  53. <Cell col="4" text="업체명"/>
  54. <Cell col="5" text="검수일자"/>
  55. <Cell col="6" text="결제일자"/>
  56. <Cell col="7" text="구입금액"/>
  57. <Cell col="8" text="매입채무액"/>
  58. <Cell col="9" text="계약건명"/>
  59. <Cell col="10" text="전송"/>
  60. <Cell col="11" text="instcd"/>
  61. <Cell col="12" text="seq"/>
  62. <Cell col="13" text="transymd"/>
  63. <Cell col="14" text="kydate"/>
  64. <Cell col="15" text="kyseq"/>
  65. <Cell col="16" text="ymdaction"/>
  66. </Band>
  67. <Band id="body">
  68. <Cell celltype="head"/>
  69. <Cell col="1" text="bind:line"/>
  70. <Cell col="2" text="bind:aprvtype"/>
  71. <Cell col="3" text="bind:entrregno" mask="999-99-99999"/>
  72. <Cell col="4" displaytype="text" text="bind:custnm"/>
  73. <Cell col="5" text="bind:ibgoymd" mask="####-##-##"/>
  74. <Cell col="6" text="bind:yejungymd" mask="####-##-##"/>
  75. <Cell col="7" displaytype="number" text="bind:keumak" mask="#,###"/>
  76. <Cell col="8" displaytype="number" text="bind:keumak" mask="#,###"/>
  77. <Cell col="9" displaytype="text" text="bind:rmrk"/>
  78. <Cell col="10" text="bind:signflag"/>
  79. <Cell col="11" text="bind:instcd"/>
  80. <Cell col="12" text="bind:seq"/>
  81. <Cell col="13" text="bind:transymd"/>
  82. <Cell col="14" text="bind:kydate"/>
  83. <Cell col="15" text="bind:kyseq"/>
  84. <Cell col="16" text="bind:ymdaction"/>
  85. </Band>
  86. </Format>
  87. </Formats>
  88. </Grid>
  89. <Button id="ipt_excsave" taborder="6" text="생 성" class="btn2" position="absolute 1148 67 1194 89" anchor="right" onclick="ipt_excsave_onclick"/>
  90. <Static id="caption21" text="전자결제 전송파일 생성" class="tit_2" position="absolute 0 73 200 90"/>
  91. <Button id="button1" taborder="7" text="전송자료생성" class="btn2" position="absolute 1056 67 1145 89" anchor="right" onclick="button1_onclick"/>
  92. <Grid id="grd_excel" taborder="8" binddataset="ds_main_mainexcellist" useinputpanel="false" visible="false" position="absolute 20 446 1175 726">
  93. <Formats>
  94. <Format id="default">
  95. <Columns>
  96. <Column size="25" band="left"/>
  97. <Column size="70"/>
  98. <Column size="100"/>
  99. <Column size="103"/>
  100. <Column size="170"/>
  101. <Column size="100"/>
  102. <Column size="100"/>
  103. <Column size="100"/>
  104. <Column size="100"/>
  105. <Column size="170"/>
  106. </Columns>
  107. <Rows>
  108. <Row size="0" band="head"/>
  109. <Row size="24"/>
  110. </Rows>
  111. <Band id="head">
  112. <Cell/>
  113. <Cell col="1"/>
  114. <Cell col="2"/>
  115. <Cell col="3"/>
  116. <Cell col="4"/>
  117. <Cell col="5"/>
  118. <Cell col="6"/>
  119. <Cell col="7"/>
  120. <Cell col="8"/>
  121. <Cell col="9"/>
  122. </Band>
  123. <Band id="body">
  124. <Cell celltype="head"/>
  125. <Cell col="1" text="bind:seq"/>
  126. <Cell col="2" text="bind:entrregno"/>
  127. <Cell col="3" text="bind:rrgstno" mask="999999-9999999"/>
  128. <Cell col="4" text="bind:custnm"/>
  129. <Cell col="5" text="bind:ibgoymd" mask="####-##-##"/>
  130. <Cell col="6" text="bind:yejungymd" mask="####-##-##"/>
  131. <Cell col="7" text="bind:keumak"/>
  132. <Cell col="8" text="bind:keumak"/>
  133. <Cell col="9" text="bind:rmrk"/>
  134. </Band>
  135. </Format>
  136. </Formats>
  137. </Grid>
  138. <Static id="caption1" text="합 계" class="cell_1" position="absolute 534 749 654 772" style="padding:0 0 0 0;align:center middle;"/>
  139. <Static id="cpt_sumkeumak" position="absolute 656 749 766 772" mask="(-)#,###" style="background:#ffccccff;"/>
  140. </Layout>
  141. </Layouts>
  142. <Objects>
  143. <Dataset id="ds_main_maindatalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  144. <ColumnInfo>
  145. <Column id="instcd" type="STRING" size="256"/>
  146. <Column id="entrregno" type="STRING" size="256"/>
  147. <Column id="rrgstno" type="STRING" size="256"/>
  148. <Column id="custnm" type="STRING" size="256"/>
  149. <Column id="ibgoymd" type="STRING" size="256"/>
  150. <Column id="yejungymd" type="STRING" size="256"/>
  151. <Column id="keumak" type="STRING" size="256"/>
  152. <Column id="rmrk" type="STRING" size="256"/>
  153. <Column id="transymd" type="STRING" size="256"/>
  154. <Column id="signflag" type="STRING" size="256"/>
  155. <Column id="kydate" type="STRING" size="256"/>
  156. <Column id="kyseq" type="STRING" size="256"/>
  157. <Column id="ymdaction" type="STRING" size="256"/>
  158. <Column id="seq" type="STRING" size="256"/>
  159. <Column id="line" type="STRING" size="256"/>
  160. <Column id="aprvtype" type="STRING" size="256"/>
  161. </ColumnInfo>
  162. <Rows>
  163. <Row>
  164. <Col id="instcd"/>
  165. <Col id="entrregno"/>
  166. <Col id="rrgstno"/>
  167. <Col id="custnm"/>
  168. <Col id="ibgoymd"/>
  169. <Col id="yejungymd"/>
  170. <Col id="keumak"/>
  171. <Col id="rmrk"/>
  172. <Col id="transymd"/>
  173. <Col id="signflag"/>
  174. <Col id="kydate"/>
  175. <Col id="kyseq"/>
  176. <Col id="ymdaction"/>
  177. <Col id="seq"/>
  178. <Col id="line"/>
  179. <Col id="aprvtype"/>
  180. </Row>
  181. </Rows>
  182. </Dataset>
  183. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  184. <ColumnInfo>
  185. <Column id="instcd" type="STRING" size="256"/>
  186. <Column id="senddate" type="STRING" size="256"/>
  187. <Column id="signflag" type="STRING" size="256"/>
  188. <Column id="senddatetmp" type="STRING" size="256"/>
  189. <Column id="gipyoymd" type="STRING" size="256"/>
  190. </ColumnInfo>
  191. <Rows>
  192. <Row>
  193. <Col id="instcd"/>
  194. <Col id="senddate"/>
  195. <Col id="signflag"/>
  196. <Col id="senddatetmp"/>
  197. <Col id="gipyoymd"/>
  198. </Row>
  199. </Rows>
  200. </Dataset>
  201. <Dataset id="ds_main_mainexcellist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  202. <ColumnInfo>
  203. <Column id="instcd" type="STRING" size="256"/>
  204. <Column id="seq" type="STRING" size="256"/>
  205. <Column id="entrregno" type="STRING" size="256"/>
  206. <Column id="rrgstno" type="STRING" size="256"/>
  207. <Column id="custnm" type="STRING" size="256"/>
  208. <Column id="ibgoymd" type="STRING" size="256"/>
  209. <Column id="yejungymd" type="STRING" size="256"/>
  210. <Column id="keumak" type="STRING" size="256"/>
  211. <Column id="rmrk" type="STRING" size="256"/>
  212. </ColumnInfo>
  213. <Rows>
  214. <Row>
  215. <Col id="instcd"/>
  216. <Col id="seq"/>
  217. <Col id="entrregno"/>
  218. <Col id="rrgstno"/>
  219. <Col id="custnm"/>
  220. <Col id="ibgoymd"/>
  221. <Col id="yejungymd"/>
  222. <Col id="keumak"/>
  223. <Col id="rmrk"/>
  224. </Row>
  225. </Rows>
  226. </Dataset>
  227. <Dataset id="ds_init_senddaylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  228. <ColumnInfo>
  229. <Column id="label" type="STRING" size="256"/>
  230. <Column id="value" type="STRING" size="256"/>
  231. </ColumnInfo>
  232. </Dataset>
  233. <Dataset id="ds_hidden_apsl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  234. <ColumnInfo>
  235. <Column id="sumkeumak" type="STRING" size="256"/>
  236. <Column id="rowcount" type="STRING" size="256"/>
  237. </ColumnInfo>
  238. <Rows>
  239. <Row>
  240. <Col id="sumkeumak"/>
  241. <Col id="rowcount"/>
  242. </Row>
  243. </Rows>
  244. </Dataset>
  245. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  246. <ColumnInfo>
  247. <Column id="save" type="STRING" size="256"/>
  248. </ColumnInfo>
  249. </Dataset>
  250. </Objects>
  251. <Bind>
  252. <BindItem id="item0" compid="grp_sea.ipt_senddate" propid="value" datasetid="ds_send" columnid="senddate"/>
  253. <BindItem id="item1" compid="grp_sea.cmb_sendday" propid="value" datasetid="ds_send" columnid="senddatetmp"/>
  254. <BindItem id="item2" compid="grp_sea.ipt_gipyoymd" propid="value" datasetid="ds_send" columnid="gipyoymd"/>
  255. <BindItem id="item3" compid="cpt_sumkeumak" propid="value" datasetid="ds_hidden_apsl" columnid="sumkeumak"/>
  256. </Bind>
  257. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  258. * System Name :
  259. * Job Name :
  260. * Creator :
  261. * Make Date : 2017-12-04
  262. * Description :
  263. *---------------------------------------------------------------------------------------
  264. * Modify Date Modifier Modify Description
  265. *---------------------------------------------------------------------------------------
  266. * 2017-06-19 Live Converter TF->XP
  267. *
  268. *---------------------------------------------------------------------------------------
  269. ****************************************************************************************/
  270. //=======================================================================================
  271. // Lib Include
  272. //---------------------------------------------------------------------------------------
  273. include "com_commonxp::comm_main.xjs";
  274. include "mis_miscommonxp::MIS.xjs";
  275. include "mis_humtrafactmngtxp::RPB001.xjs";
  276. //=======================================================================================
  277. // Global Form Variable
  278. //---------------------------------------------------------------------------------------
  279. var arErrorCode = new HashArray();
  280. //=======================================================================================
  281. // Function
  282. //---------------------------------------------------------------------------------------
  283. /*-**************************************************************************************
  284. * Argument : N/A
  285. * Description :
  286. ****************************************************************************************/
  287. //정렬 순서로 sort함.
  288. function fGetSortSeq(){
  289. var num = grd_main.rows- 1;
  290. if(rdo_seq.value == 1){
  291. grd_main.sort(1, 2, num, 2) = "asc";
  292. }else{
  293. grd_main.sort(1, 3, num, 3) = "asc";
  294. }
  295. //model.refresh();
  296. }
  297. //출력물순서 저장
  298. //엑셀 입력
  299. function fInputExcel(pGrid) {
  300. var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  301. if(fileName != "") {
  302. pGrid.loadExcel(fileName, 1, true);
  303. pGrid.deleteRow(1);
  304. for(i = 1; i < pGrid.rows; i++) {
  305. pGrid.rowStatus(i) = 1;
  306. }
  307. //pGrid.refresh();
  308. }
  309. }
  310. /*-**************************************************************************************
  311. * Argument : N/A
  312. * Description : 전송내역조회
  313. ****************************************************************************************/
  314. function call_TRRAR00801() {
  315. ds_main_maindatalist.clearData();
  316. ds_main_mainexcellist.clearData();
  317. var oParam = {};
  318. oParam.id = "TRRAR00801";
  319. oParam.service = "accountinginfoapp.AccountingInfo";
  320. oParam.method = "getElectronPayList";
  321. oParam.inds = "req=ds_send";
  322. oParam.outds = "ds_main_maindatalist=maindatalist ds_main_mainexcellist=mainexcellist";
  323. oParam.async = false;
  324. oParam.callback = "cf_TRRAR00801";
  325. tranf_submit(oParam);
  326. }
  327. function cf_TRRAR00801(sSvcId, nErrorCode, sErrorMsg) {
  328. arErrorCode.push(sSvcId, nErrorCode);
  329. if(ds_main_maindatalist.rowcount < 1) sysf_messageBox("조회된 결과가 없습니다.", "I");
  330. }
  331. /*-**************************************************************************************
  332. * Argument : N/A
  333. * Description : 조회가능한 전송일자 리스트
  334. ****************************************************************************************/
  335. function fGetSendDayList() {
  336. var oParam = {};
  337. oParam.id = "TRRAR00802";
  338. oParam.service = "accountinginfoapp.AccountingInfo";
  339. oParam.method = "getSenddayList";
  340. oParam.inds = "req=ds_send";
  341. oParam.outds = "ds_init_senddaylist=senddaylist";
  342. oParam.async = false;
  343. //oParam.callback = "cf_TRRAR00802";
  344. tranf_submit(oParam);
  345. }
  346. //data checking logic..
  347. function fSetChackValue() {
  348. /*var row = grd_main.row;
  349. var signflagN = 0;
  350. for ( var i = grd_main.fixedRows; i <= grd_main.rows; i++ ) {
  351. if ( grd_main.valueMatrix(i, grd_main.colRef("signflag"))=="N" ){
  352. signflagN = signflagN + 1;
  353. }
  354. }
  355. if ( signflagN == 0 ) {
  356. alert("전송자료생성을 클릭하셔서 조회 후 생성해 주세요.");
  357. return false;
  358. }*/
  359. return true;
  360. }
  361. //=======================================================================================
  362. // Event
  363. //---------------------------------------------------------------------------------------
  364. /****************************************************************************************
  365. * Components : Form
  366. * Description : 화면 처음 초기화시 폼초기화
  367. ****************************************************************************************/
  368. function SMRAR00800_onload(obj:Form, e:LoadEventInfo)
  369. {
  370. frmf_initForm(obj);
  371. //grdf_initGrid(grd_XXX);
  372. //grdf_setGridSort(grd_XXX);
  373. grdf_setRowTypeIcon(grd_main, 0);
  374. grdf_setRowTypeIcon(grd_excel, 0);
  375. var fdate = utlf_getCurrentDate();
  376. ds_main_maindatalist.clearData();
  377. ds_main_mainexcellist.clearData();
  378. ds_send.setColumn( 0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  379. ds_send.setColumn( 0, "senddate", fdate);
  380. //2013.01.21 박준범 - 기표일자 조건 추가
  381. ds_send.setColumn( 0, "gipyoymd", fdate);
  382. fGetSendDayList();
  383. button1.click(); //전송자료생성버튼 click
  384. }
  385. /****************************************************************************************
  386. * Components : Button
  387. * Description : 전송내역조회
  388. ****************************************************************************************/
  389. function grp_sea_button2_onclick(obj:Button, e:ClickEventInfo) {
  390. // setAlertOn();
  391. ds_send.setColumn( 0, "signflag", "Y");
  392. call_TRRAR00801();
  393. if (arErrorCode.pop("TRRAR00801") > -1){
  394. //2011.06.20 박준범 - " i <= grd_main.rows" 이 부분의 부등호를 "<" 로 변경함
  395. for ( var i = 0; i < ds_main_maindatalist.rowcount; i++ ) {
  396. ds_main_maindatalist.setColumn(i, "line", i+1);
  397. }
  398. }
  399. }
  400. /****************************************************************************************
  401. * Components : Combo
  402. * Description : 전송일자 조건 변경
  403. ****************************************************************************************/
  404. function grp_sea_cmb_sendday_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  405. ds_send.setColumn( 0, "senddate", e.postvalue );
  406. grp_sea.button2.click();
  407. }
  408. /****************************************************************************************
  409. * Components : Button
  410. * Description : 생성
  411. ****************************************************************************************/
  412. function ipt_excsave_onclick(obj:Button, e:ClickEventInfo) {
  413. if( fSetChackValue() ) { //저장시 입력data checking logic..
  414. rtn = sysf_messageBox("아래의 DATA 생성을","Q003");
  415. if ( rtn == "6" ) {
  416. var signflagY = 0;
  417. //2011.06.20 박준범 - " i <= grd_main.rows" 이 부분의 부등호를 "<" 로 변경함
  418. for ( var i = 0; i < ds_main_maindatalist.rowcount; i++ ) {
  419. if ( ds_main_maindatalist.getColumn(i, "signflag")=="Y" ){
  420. signflagY = signflagY + 1;
  421. }
  422. }
  423. if ( signflagY > 0 ) {
  424. misfSaveExcel(grd_excel);
  425. }else{
  426. //N 인경우 DATA를 UPDATE 하고 아닌경우는 엑셀만 받는다.
  427. //2011.06.20 박준범 - " i <= grd_main.rows" 이 부분의 부등호를 "<" 로 변경함
  428. for ( var i = 0; i < ds_main_maindatalist.rowcount; i++ ) {
  429. grdf_setStatus(grd_main, "U", [i]);
  430. ds_main_maindatalist.setColumn(i, "transymd", grp_sea.ipt_senddate.value);
  431. ds_main_maindatalist.setColumn(i, "signflag", "Y");
  432. ds_main_maindatalist.setColumn(i, "seq", ds_main_maindatalist.getColumn(i, "line"));
  433. }
  434. //입력,수정,삭제된 data save node 에 담기..
  435. dsf_createDs("ds_hidden_save");
  436. dsf_createDs("ds_temp_unsllist");
  437. var dsUpdate = grdf_getGridUpdateData(grd_exmptmpl, "all");
  438. grdf_setStatusColumn(dsUpdate, "status");
  439. ds_hidden_save.copyData(dsUpdate, true);
  440. var oParam = {};
  441. oParam.id = "TXRAR00801";
  442. oParam.service = "accountinginfoapp.AccountingInfo";
  443. oParam.method = "setElectronPayList";
  444. oParam.inds = "req=ds_hidden_save";
  445. oParam.outds = "ds_temp_unsllist=unsllist";
  446. oParam.async = false;
  447. oParam.callback = "cf_TXRAR00801";
  448. tranf_submit(oParam);
  449. if(arErrorCode.pop("TXRAR00801") > -1) {
  450. //2011.06.22 박준범 - Excel 자료 생성시점을 다시 조회하기 전으로 옮겼음
  451. misfSaveExcel(grd_excel);
  452. fGetSendDayList();
  453. //2011.06.22 박준범 - 하단의 구현된 것이 button2 클릭 이벤트의 구현부와 동일하여 event 호출로 대체함
  454. grp_sea.button2.click(); //전송내역조회버튼 click
  455. }
  456. }
  457. }
  458. }
  459. }
  460. function cf_TXRAR00801(sSvcId, nErrorCode, sErrorMsg) {
  461. arErrorCode.push(sSvcId, nErrorCode);
  462. }
  463. /****************************************************************************************
  464. * Components : Button
  465. * Description : 전송자료 생성
  466. ****************************************************************************************/
  467. function button1_onclick(obj:Button, e:ClickEventInfo) {
  468. // setAlertOn();
  469. ds_send.setColumn( 0, "signflag", "N");
  470. call_TRRAR00801();
  471. if(arErrorCode.pop("TRRAR00801") > -1) {
  472. //2011.06.20 박준범 - " i <= grd_main.rows" 이 부분의 부등호를 "<" 로 변경함
  473. for ( var i = 0; i < ds_main_maindatalist.rowcount; i++ ) {
  474. ds_main_maindatalist.setColumn(i, "line", i+1);
  475. }
  476. }
  477. }
  478. ]]></Script>
  479. </Form>
  480. </FDL>