public static Utility Create(string taskkey,string fromloc,string fromid)
        {
            Utility utility = new Utility();
            utility.UtilityHeader.taskdetailkey = taskkey;
            utility.UtilityHeader.fromid = fromid;
            utility.UtilityHeader.fromloc = fromloc;

            return utility;
        }
        public void call_NSPRFTPA01(string taskkey,string fromloc,string fromid)
        {
            this.tpa01req = tpa01_req.Utility.Create(taskkey,fromloc,fromid);
            this.tpa01req.UtilityHeader.userid = this.loginuser.UserName;
            RequestMessage requestmessage = new RequestMessage(enumRequestType.MessageProcessor,
                  enumMessageType.Utility,
                  enumRequestMethod.functionOperation, this.loginuser,
                  enumSendSysId.EXceed,
                  this.tpa01req);
            //RequestWorkItem workitem = new RequestWorkItem(requestmessage, 2+ix);
            //threadhelper.AddWorkItem(workitem);
            ResponseMessage Response = ThreadHelper.Execute(requestmessage);

             string errormsg = Response.GetErrorMessage();
             if (errormsg != string.Empty)
             {
                 //this.Stop();
                 MessageBox.Show(errormsg);
                 //this.tpa00res = null;
                 //this.tpa01res = null;
             }
             else
             {
                 this.tpa01res = Response.Deserialize<tpa01_res.Utility>();
                 toloc = this.tpa01res.UtilityHeader.ToLoc;

                 packkey = this.tpa01res.UtilityHeader.PackKey;
                 //string fromid = this.tpa01res.UtilityHeader.FromId;
                 if (!packkeylist.ContainsKey(fromid))
                 packkeylist.Add(fromid, packkey);
             }
        }