this.dsEdcRptsResult = new Dataset(); //기안 상신 결과 this.dsEdcRptsResult.set_name("dsEdcRptsResult"); this.gf_ErpEdcRptsCall = function(pSetting) { var sIfJobDivCd = pSetting.ifJobDivCd; var sIfTrkey = pSetting.ifTrkey; var sAppId = pSetting.appId; var sEdcFormId = pSetting.edcFormId; var sEdcTitle = pSetting.edcTitle; var sEdcContent1 = pSetting.edcContent1; var sEdcContent2 = this.gf_Nvl(pSetting.edcContent2,""); var sUserId = this.gf_Nvl(pSetting.userId, this.gf_ErpGetUserInfo().userId); var sDeptCode = this.gf_Nvl(pSetting.deptCode, this.gf_ErpGetUserInfo().deptCode); var sSiteCode = this.gf_Nvl(pSetting.siteCode, this.gf_ErpGetUserInfo().siteCode); var sCompanyCode = this.gf_Nvl(pSetting.companyCode, this.gf_ErpGetUserInfo().companyCode); var inDs = new Dataset(); inDs.addColumn("ifJobDivCd","string"); inDs.addColumn("ifTrkey","string"); inDs.addColumn("appId","string"); inDs.addColumn("edcFormId","string"); inDs.addColumn("edcTitle","string"); inDs.addColumn("edcContent1","string"); inDs.addColumn("edcContent2","string"); inDs.addColumn("userId","string"); inDs.addColumn("deptCode","string"); inDs.addColumn("siteCode","string"); inDs.addColumn("companyCode","string"); inDs.addRow(); inDs.set_name("inDs"); inDs.setColumn(0,"ifJobDivCd", sIfJobDivCd); inDs.setColumn(0,"ifTrkey", sIfTrkey); inDs.setColumn(0,"appId", sAppId); inDs.setColumn(0,"edcFormId", sEdcFormId); inDs.setColumn(0,"edcTitle", sEdcTitle); inDs.setColumn(0,"edcContent1", sEdcContent1); inDs.setColumn(0,"edcContent2", sEdcContent2); inDs.setColumn(0,"userId", sUserId); inDs.setColumn(0,"deptCode", sDeptCode); inDs.setColumn(0,"siteCode", sSiteCode); inDs.setColumn(0,"companyCode", sCompanyCode); var strInDs = "ds_input_" + this.gf_GetRandomKey(); var strOutDs = "ds_ouput_" + this.gf_GetRandomKey(); this.addChild(strInDs, inDs); this.addChild(strOutDs, this.dsEdcRptsResult); var sInDataset = "_IN_ROOT_="+strInDs; var sOutDataset = strOutDs+"=_OUT_ROOT_"; this.gf_ErpTransaction("SSMCMMSVC", "SSMCMMSVC002", sInDataset, sOutDataset, "gf_ErpCallback"); };