123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624 |
- /***************************************************************************************************************
- *
- * radfcheckAcountClose 주어진 날짜 기준으로 회계 마감 상태 여부를 return 한다.
- * radfgetAcntYY 주어진 날짜 기준으로 회계 년도를 return 한다.
- * radfcheckCustExist 유효한 거래처인지 Check
- * radfcheckEmplExist 유효한 사번인지 Check
- * radfGetBankcd 유효한 은행명인지 Check, 은행코드 return
- * radfGetIcpncd 유효한 소득자인지 Check, 주민번호 return
- * radfseizureynCheck 압류거래처 체크
- * radfBizCheck 사업자 등록번호 체크
- * radfJuminCheck 주민등록번호 체크
- * radfFgnJuminCheck 외국인 주민등록번호 체크
- * radGetInstCardNO 법인카드 기본값 조회
- * radfSaveExcel excel 다운로드
- * radfCheckInstSearchAuth 기관코드 조회 권한 기관 체크(현재 의료원[001])
- *
- ***************************************************************************************************************/
- /*************************************
- * Instcd 기관코드
- * ym 년월
- *************************************/
- function radfcheckAcountClose(Instcd, YM)
- {
-
- var comcd_node = "/root/send/comcdref";
- var comcd_rsltnode = "/root/init/comcd";
-
- model.removeNodeset(comcd_node);
- model.makeValue(comcd_node + "/ym", YM);
- model.makeValue(comcd_node + "/instcd", Instcd);
- model.makeNode(comcd_rsltnode);
-
- model.removeChild("TRRAZ00003");
- model.createChild("xforms:submission", "id:TRRAZ00003;mediatype:application/x-www-form-urlencoded; method:post; ref:" + comcd_node + "; resultref:" + comcd_rsltnode + "; ");
- submit("TRRAZ00003");
-
- if(model.getValue("/root/init/comcd/comcodelist/closyn") == 'Y')
- {
- return 'close';
- }
- else
- {
- return 'open';
- }
- }
- /*************************************
- * Instcd 기관코드
- * ymdd 년월일
- *************************************/
- function radfgetAcntYY(Instcd, YMDD, nZipcd1, nZipcd2, nSupaddr, nInfaddr, cadl, nEntrregno, nFromDD, nToDD)
- {
-
- var comcd_node = "/root/send/comcdref";
- var comcd_rsltnode = "/root/init/comcd";
-
- model.removeNodeset(comcd_node);
- model.makeValue(comcd_node + "/ymdd", YMDD);
- model.makeValue(comcd_node + "/instcd", Instcd);
- model.makeNode(comcd_rsltnode);
-
- model.removeChild("TRRAZ00004");
- model.createChild("xforms:submission", "id:TRRAZ00004;mediatype:application/x-www-form-urlencoded; method:post; ref:" + comcd_node + "; resultref:" + comcd_rsltnode + "; ");
- submit("TRRAZ00004");
-
- if(!(nZipcd1 == "" || nZipcd1 == null)) {model.setValue(nZipcd1, model.getValue("/root/init/comcd/comcodelist/zipcd1"));}
- if(!(nZipcd2 == "" || nZipcd2 == null)) {model.setValue(nZipcd2, model.getValue("/root/init/comcd/comcodelist/zipcd2"));}
- if(!(nSupaddr == "" || nSupaddr == null)) {model.setValue(nSupaddr, model.getValue("/root/init/comcd/comcodelist/supaddr"));}
- if(!(nInfaddr == "" || nInfaddr == null)) {model.setValue(nInfaddr, model.getValue("/root/init/comcd/comcodelist/infaddr"));}
- if(!(cadl == "" || cadl == null)) {model.setValue(cadl, model.getValue("/root/init/comcd/comcodelist/cadl"));}
- if(!(nEntrregno == "" || nEntrregno == null)) {model.setValue(nEntrregno, model.getValue("/root/init/comcd/comcodelist/entrregno"));}
-
- if(!(nFromDD == "" || nFromDD == null)) {model.setValue(nFromDD, model.getValue("/root/init/comcd/comcodelist/fromdd"));}
- if(!(nToDD == "" || nToDD == null)) {model.setValue(nToDD, model.getValue("/root/init/comcd/comcodelist/todd"));}
-
- return model.getValue("/root/init/comcd/comcodelist/acntyy");
- }
- /*************************************
- * Instcd 기관코드
- * entrregno 사업자등록번호
- *************************************/
- function radfcheckCustExist(Instcd, entrregno, allscanyn)
- {
-
- var comcd_node = "/root/send/comcdref";
- var comcd_rsltnode = "/root/init/comcd";
-
- model.removeNodeset(comcd_node);
- model.makeValue(comcd_node + "/entrregno", entrregno);
- model.makeValue(comcd_node + "/instcd", Instcd);
- model.makeValue(comcd_node + "/allscanyn", allscanyn);
- model.makeNode(comcd_rsltnode);
-
- model.removeChild("TRRAZ00005");
- model.createChild("xforms:submission", "id:TRRAZ00005;mediatype:application/x-www-form-urlencoded; method:post; ref:" + comcd_node + "; resultref:" + comcd_rsltnode + "; ");
- submit("TRRAZ00005");
-
- return model.getValue("/root/init/comcd/comcodelist/custnm");
- }
- /*************************************
- * emplno 사번
- *************************************/
- function radfcheckEmplExist(emplno, vNode)
- {
-
- var comcd_node = "/root/send/comcdref";
- var comcd_rsltnode = "/root/init/comcd";
-
- model.removeNodeset(comcd_node);
- model.makeValue(comcd_node + "/emplno", emplno);
- model.makeNode(comcd_rsltnode);
-
- model.removeChild("TRRAZ00006");
- model.createChild("xforms:submission", "id:TRRAZ00006;mediatype:application/x-www-form-urlencoded; method:post; ref:" + comcd_node + "; resultref:" + comcd_rsltnode + "; ");
- submit("TRRAZ00006");
-
- if(vNode != null)
- {
- //alert(model.getValue("/root/init/comcd/comcodelist/rregno"));
- model.setValue(vNode,model.getValue("/root/init/comcd/comcodelist/rregno"));
- }
- return model.getValue("/root/init/comcd/comcodelist/emplnm");
- }
- /*************************************
- * banknm 은행명
- *************************************/
- function radfGetBankcd(banknm)
- {
-
- var comcd_node = "/root/send/comcdref";
- var comcd_rsltnode = "/root/init/comcd";
- model.removeNodeset(comcd_node);
- model.makeValue(comcd_node + "/banknm", banknm);
- model.makeNode(comcd_rsltnode);
-
- model.removeChild("TRRAZ00007");
- model.createChild("xforms:submission", "id:TRRAZ00007;mediatype:application/x-www-form-urlencoded; method:post; ref:" + comcd_node + "; resultref:" + comcd_rsltnode + "; ");
- submit("TRRAZ00007");
-
- return model.getValue("/root/init/comcd/comcodelist/bankcd");
- }
- /*************************************
- * instcd 기관코드
- * rrgstno 주민등록번호
- *************************************/
- function radfGetIcpncd(instcd, rrgstno)
- {
-
- var comcd_node = "/root/send/comcdref";
- var comcd_rsltnode = "/root/init/comcd";
- model.removeNodeset(comcd_node);
- model.makeValue(comcd_node + "/instcd", instcd);
- model.makeValue(comcd_node + "/rrgstno", rrgstno);
- model.makeNode(comcd_rsltnode);
-
- model.removeChild("TRRAZ00008");
- model.createChild("xforms:submission", "id:TRRAZ00008;mediatype:application/x-www-form-urlencoded; method:post; ref:" + comcd_node + "; resultref:" + comcd_rsltnode + "; ");
- submit("TRRAZ00008");
-
- return model.getValue("/root/init/comcd/comcodelist/name");
- }
- /*************************************
- * instcd 기관코드
- * entrregno 사업자등록번호
- *************************************/
- function radfseizureynCheck(instcd, entrregno, messageflag)
- {
-
- var comcd_node = "/root/send/comcdref";
- var comcd_rsltnode = "/root/init/comcd";
- model.removeNodeset(comcd_node);
- model.makeValue(comcd_node + "/instcd", instcd);
- model.makeValue(comcd_node + "/entrregno", entrregno);
- model.makeNode(comcd_rsltnode);
-
- model.removeChild("TRRAZ00009");
- model.createChild("xforms:submission", "id:TRRAZ00009;mediatype:application/x-www-form-urlencoded; method:post; ref:" + comcd_node + "; resultref:" + comcd_rsltnode + "; ");
- submit("TRRAZ00009");
-
- if(messageflag == 'Y' && model.getValue("/root/init/comcd/comcodelist/seizureyn") == "Y")
- {
- messageBox(model.getValue("/root/init/comcd/comcodelist/custnm") + "은(는) 압류 거래처입니다." ,"I000");
- }
-
- return model.getValue("/root/init/comcd/comcodelist/seizureyn");
- }
- /*************************************
- * bizID 사업자등록번호
- *************************************/
- function radfBizCheck(bizID)
- {
- var checkID = new Array(1, 3, 7, 1, 3, 7, 1, 3, 5, 1);
- var tmpBizID, i, chkSum=0, c2, remander;
- for (i=0; i<=7; i++)
- {
- chkSum += checkID[i] * bizID.charAt(i);
- }
- c2 = "0" + (checkID[8] * bizID.charAt(8));
- c2 = c2.substring(c2.length - 2, c2.length);
- chkSum += Math.floor(c2.charAt(0)) + Math.floor(c2.charAt(1));
- remander = (10 - (chkSum % 10)) % 10 ;
- if (Math.floor(bizID.charAt(9)) == remander)
- {
- return true; // OK!
- }
- return false;
- }
- /*************************************
- * jumin 주민등록번호
- *************************************/
- function radfJuminCheck(juminno)
- {
- jumin = juminno.substr(0, 6) + "-" + juminno.substr(6, 7);
-
- if(jumin.match(/^\d{2}[0-1]\d[0-3]\d-[1-4]\d{6}$/) == null)
- {
- return false;
- }
-
- var chk = 0;
- var i;
- var last_num = jumin.substring(13, 14);
- var chk_num = '234567-892345';
- for(i = 0; i < 13; i++)
- {
- if(jumin.charAt(i) != '-')
- chk += ( parseInt(chk_num.charAt(i)) * parseInt(jumin.charAt(i)) );
- }
- chk = (11 - (chk % 11)) % 10;
- if (chk != last_num) return false;
- return true;
- }
- /*************************************
- * jumin 외국인 주민등록번호
- *************************************/
- function radfFgnJuminCheck(juminno) {
- var sum = 0;
- var odd = 0;
-
- buf = new Array(13);
- for (i = 0; i < 13; i++) buf[i] = parseInt(juminno.charAt(i));
- odd = buf[7]*10 + buf[8];
-
- if (odd%2 != 0) {
- return false;
- }
- if ((buf[11] != 6)&&(buf[11] != 7)&&(buf[11] != 8)&&(buf[11] != 9)) {
- return false;
- }
-
- multipliers = [2,3,4,5,6,7,8,9,2,3,4,5];
- for (i = 0, sum = 0; i < 12; i++) sum += (buf[i] *= multipliers[i]);
- sum=11-(sum%11);
-
- if (sum>=10) sum-=10;
- sum += 2;
- if (sum>=10) sum-=10;
- if ( sum != buf[12]) {
- return false;
- }
- else {
- return true;
- }
- }
- /*************************************
- * instcd 기관코드
- * userid 사용자 ID
- *************************************/
- function radGetInstCardNO(instcd, userid, deptcd)
- {
-
- var comcd_node = "/root/send/comcdref";
- var comcd_rsltnode = "/root/init/comcd";
- model.removeNodeset(comcd_node);
- model.makeValue(comcd_node + "/instcd", instcd);
- model.makeValue(comcd_node + "/userid", userid);
- model.makeValue(comcd_node + "/deptcd", deptcd);
- model.makeNode(comcd_rsltnode);
-
- model.removeChild("TRRAZ00010");
- model.createChild("xforms:submission", "id:TRRAZ00010;mediatype:application/x-www-form-urlencoded; method:post; ref:" + comcd_node + "; resultref:" + comcd_rsltnode + "; ");
- submit("TRRAZ00010");
-
- if(model.instance1.selectNodes("/root/init/comcd/comcodelist").length == 1)
- {
- return model.getValue("/root/init/comcd/comcodelist/cardno");
- }
- else
- {
- return null;
- }
- }
- /*************************************
- * pGrid 그리드명
- * sTitle 파일이름
- * sSheetName 시트명
- * bColhidden hidden 행 출력여부 (true/false)
- * bRowhidden hidden 열 출력여부 (true/false)
- * sExportfalsecols 출력 제외 행 (1,2,3,4,5)
- * sExportfalserows 출력 제외 열 (6,7,8,9,10)
- *************************************/
- function radfSaveExcel(pGrid, sTitle, sSheetName, bColhidden, bRowhidden, sExportfalsecols, sExportfalserows)
- {
- if(sTitle == null) { sTitle = "excel"; };
- if(sSheetName == null) { sSheetName = "sheet1"; }
- else { sSheetName = "sheetname:" + sSheetName + ";"; };
- if(bColhidden == null) { bColhidden = ""; }
- else { bColhidden = "colhiddenextend:" + bColhidden + ";"; };
- if(bRowhidden == null) { bRowhidden = ""; }
- else { bRowhidden = "rowhiddenextend:" + bRowhidden + ";"; };
- if(sExportfalsecols == null) { sExportfalsecols = ""; }
- else { sExportfalsecols = "exportfalsecols:" + sExportfalsecols + ";"; };
- if(sExportfalserows == null) { sExportfalserows = ""; }
- else { sExportfalserows = "exportfalserows:" + sExportfalserows + ";"; };
-
- var sProperty = sSheetName + bColhidden + bRowhidden + sExportfalsecols + sExportfalserows;
-
- var fileName = window.fileDialog("save", ",", false, sTitle, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "")
- {
- pGrid.saveExcel(fileName,"");
- }
- }
- /*************************************
- * Instcd 기관코드
- * CmbBoxID 기관코드 콤보박스
- *************************************/
- function radfCheckInstSearchAuth(Instcd, CmbBoxID)
- {
- if(Instcd == '001')
- {
- CmbBoxID.disabled = false;
- }
- else
- {
- CmbBoxID.disabled = true;
- }
- CmbBoxID.refresh();
- }
- /*************************************
- * Instcd 기관코드
- * UserID 사용자ID
- *************************************/
- function radfCheckAcntAuth(Instcd, UserID, ControlColumn, ColumnValue)
- {
- var comcd_node = "/root/send/comcdref";
- var comcd_rsltnode = "/root/init/comcd";
- model.removeNodeset(comcd_node);
- model.makeValue(comcd_node + "/instcd", Instcd);
- model.makeValue(comcd_node + "/userid", UserID);
- model.makeValue(comcd_node + "/" + ControlColumn, ColumnValue);
-
- model.makeNode(comcd_rsltnode);
-
- model.removeChild("TRRAZ00011");
- model.createChild("xforms:submission", "id:TRRAZ00011;mediatype:application/x-www-form-urlencoded; method:post; ref:" + comcd_node + "; resultref:" + comcd_rsltnode + "; ");
- submit("TRRAZ00011");
-
- return model.getValue("/root/init/comcd/comcodelist/authyn");
- }
- /*************************************
- * Instcd 기관코드
- * UserID 사용자ID
- *************************************/
- function radfCheckInstMngt(Instcd, ConditionID)
- {
- var comcd_node = "/root/send/comcdref";
- var comcd_rsltnode = "/root/init/comcd";
- model.removeNodeset(comcd_node);
- model.makeValue(comcd_node + "/instcd", Instcd);
- model.makeValue(comcd_node + "/conditionid", ConditionID);
-
- model.makeNode(comcd_rsltnode);
-
- model.removeChild("TRRAZ00012");
- model.createChild("xforms:submission", "id:TRRAZ00012;mediatype:application/x-www-form-urlencoded; method:post; ref:" + comcd_node + "; resultref:" + comcd_rsltnode + "; ");
- submit("TRRAZ00012");
-
- return model.getValue("/root/init/comcd/comcodelist/mngtcontent");
- }
- /*************************************
- * Instcd 기관코드
- * Emplno 사번
- * Deptcd 부서코드
- * WorkFlag 업무구분
- *************************************/
- function radfCheckBugtAuth(Instcd, Emplno, Deptcd, WorkFlag)
- {
- var comcd_node = "/root/send/comcdref";
- var comcd_rsltnode = "/root/init/comcd";
- model.removeNodeset(comcd_node);
- model.makeValue(comcd_node + "/instcd", Instcd);
- model.makeValue(comcd_node + "/emplno", Emplno);
- model.makeValue(comcd_node + "/deptcd", Deptcd);
- model.makeValue(comcd_node + "/workflag", WorkFlag);
-
- model.makeNode(comcd_rsltnode);
-
- model.removeChild("TRRAZ00013");
- model.createChild("xforms:submission", "id:TRRAZ00013;mediatype:application/x-www-form-urlencoded; method:post; ref:" + comcd_node + "; resultref:" + comcd_rsltnode + "; ");
- submit("TRRAZ00013");
-
- return model.getValue("/root/init/comcd/comcodelist/auth");
- }
- /*************************************
- * Instcd 기관코드
- * Entrregno 세금계산서번호
- * Nodeset Return Node
- *************************************/
- function radfGetCustEmailList(Instcd, Entrregno, Nodeset)
- {
- var comcd_node = "/root/send/comcdref";
- var comcd_rsltnode = "/root/init/comcd";
- model.removeNodeset(comcd_node);
- model.makeValue(comcd_node + "/instcd", Instcd);
- model.makeValue(comcd_node + "/entrregno", Entrregno);
-
- model.makeNode(comcd_rsltnode);
-
- model.removeChild("TRRAZ00014");
- model.createChild("xforms:submission", "id:TRRAZ00014;mediatype:application/x-www-form-urlencoded; method:post; ref:" + comcd_node + "; resultref:" + comcd_rsltnode + "; ");
- submit("TRRAZ00014");
-
- for(var i = 1 ; i <= instance1.selectNodes("/root/init/comcd/comcodelist").length ; i++)
- {
- model.makeValue(Nodeset + "[" + i + "]" + "/label", model.getValue("/root/init/comcd/comcodelist[" + i + "]/label"));
- model.makeValue(Nodeset + "[" + i + "]" + "/value", model.getValue("/root/init/comcd/comcodelist[" + i + "]/value"));
- }
-
- return model.getValue("/root/init/comcd/comcodelist");
- }
- /*************************************
- * Instcd 기관코드
- * Entrregno 세금계산서번호
- * Nodeset Return Node
- *************************************/
- function radfGetDTIPassword()
- {
- var comcd_node = "/root/send/comcdref";
- var comcd_rsltnode = "/root/init/comcd";
- model.removeNodeset(comcd_node);
- model.makeValue(comcd_node + "/emplno", getUserInfo("userid"));
-
- model.makeNode(comcd_rsltnode);
-
- model.removeChild("TRRAZ00015");
- model.createChild("xforms:submission", "id:TRRAZ00015;mediatype:application/x-www-form-urlencoded; method:post; ref:" + comcd_node + "; resultref:" + comcd_rsltnode + "; ");
- submit("TRRAZ00015");
-
-
- var sPasswd = model.getValue("/root/init/comcd/comcodelist/passwd")
- var sLink = "http://222.106.233.111:8081/login.do?method=process1&userId=" + getUserInfo("userid") + "&password=" + sPasswd;
- if(sPasswd != "")
- {
- window.load(sLink, "html");
- }
- }
- /*************************************
- * ctr_repaymthd 상각구분 컨트롤러
- * ctr_cntsyearno 내용연수 컨트롤러
- *************************************/
- function radfGetCntsYearNOList(ctr_repaymthd,ctr_cntsyearno,ctr_repayrate)
- {
- var comcd_node = "/root/send/comcdref";
- var comcd_rsltnode = "/root/init/comcd/cntsyearnolist";
-
- model.removeNodeset(comcd_node);
- model.makeValue(comcd_node + "/repaymthd", model.getValue(ctr_repaymthd.attribute("ref")));
-
- model.makeNode(comcd_rsltnode);
-
- model.removeChild("TRRAZ00016");
- model.createChild("xforms:submission", "id:TRRAZ00016;mediatype:application/x-www-form-urlencoded; method:post; ref:" + comcd_node + "; resultref:" + comcd_rsltnode + "; ");
- submit("TRRAZ00016");
-
- //alert(model.getValue("/root/init/comcd/comcodelist/cntsyearno"));
- //alert(model.instance1.selectNodes("/root/init/comcd/comcodelist/cntsyearno").length);
-
- var vLen = model.instance1.selectNodes(comcd_rsltnode + "/comcodelist/cntsyearno").length;
- model.setValue(ctr_cntsyearno.attribute("ref"), "");
-
- vNodeset = "/root/hidden/cntsyearnolist";
-
- model.removeNodeset(vNodeset);
-
- for(var i = 1 ; i <= vLen ; i++)
- {
- model.makeValue(vNodeset + "[" + i + "]" + "/label", model.getValue(comcd_rsltnode + "/comcodelist[" + i + "]/cntsyearno"));
- model.makeValue(vNodeset + "[" + i + "]" + "/value", model.getValue(comcd_rsltnode + "/comcodelist[" + i + "]/cntsyearno"));
- }
-
- ctr_cntsyearno.choices.itemset.attribute("nodeset") = vNodeset;
- ctr_cntsyearno.choices.itemset.label.attribute("ref") = "label";
- ctr_cntsyearno.choices.itemset.value.attribute("ref") = "value";
- ctr_cntsyearno.refresh();
- model.setValue(ctr_repayrate.attribute("ref"), "");
- ctr_repayrate.refresh();
-
-
- }
- /*************************************
- * ctr_repaymthd 상각구분 컨트롤러
- * ctr_cntsyearno 내용연수 컨트롤러
- * ctr_repayrate 상각율 컨트롤러
- *************************************/
- function radfGetRepayRate(ctr_repaymthd,ctr_cntsyearno,ctr_repayrate)
- {
- var comcd_node = "/root/send/comcdref";
- var comcd_rsltnode = "/root/init/comcd/repayratelist";
-
- model.removeNodeset(comcd_node);
- model.makeValue(comcd_node + "/repaymthd", model.getValue(ctr_repaymthd.attribute("ref")));
- model.makeValue(comcd_node + "/cntsyearno", model.getValue(ctr_cntsyearno.attribute("ref")));
-
- model.makeNode(comcd_rsltnode);
-
- model.removeChild("TRRAZ00017");
- model.createChild("xforms:submission", "id:TRRAZ00017;mediatype:application/x-www-form-urlencoded; method:post; ref:" + comcd_node + "; resultref:" + comcd_rsltnode + "; ");
- submit("TRRAZ00017");
-
- model.setValue(ctr_repayrate.attribute("ref"), model.getValue(comcd_rsltnode + "/comcodelist/repayrate"));
-
- ctr_repayrate.refresh();
-
- }
- /*************************************
- * Instcd 기관코드
- * Acntyy 회계년도
- * FromDD 시작일
- *************************************/
- function radfRenewalBebtClos(Instcd, Acntyy, FromDD)
- {
- var comcd_node = "/root/send/comcdref";
- var comcd_rsltnode = "/root/init/comcd";
-
- model.removeNodeset(comcd_node);
- model.makeValue(comcd_node + "/instcd", Instcd);
- model.makeValue(comcd_node + "/acntyy", Acntyy);
- model.makeValue(comcd_node + "/fromdd", FromDD);
-
- model.makeNode(comcd_rsltnode);
-
- model.removeChild("TXRAZ00002");
- model.createChild("xforms:submission", "id:TXRAZ00002;mediatype:application/x-www-form-urlencoded; method:post; ref:" + comcd_node + "; resultref:" + comcd_rsltnode + "; ");
- submit("TXRAZ00002");
-
- }
|