Beispiel #1
0
 /// <remarks/>
 public void SI_OA_OA04_OUTAsync(DT_OA_OA04 MT_OA_OA04, object userState)
 {
     if ((this.SI_OA_OA04_OUTOperationCompleted == null))
     {
         this.SI_OA_OA04_OUTOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSI_OA_OA04_OUTOperationCompleted);
     }
     this.InvokeAsync("SI_OA_OA04_OUT", new object[] {
         MT_OA_OA04
     }, this.SI_OA_OA04_OUTOperationCompleted, userState);
 }
Beispiel #2
0
 //
 public void SAP_OA_JK_04([System.Xml.Serialization.XmlElementAttribute(Namespace = "http://jiuzhou.com/SAP_OA_JK_04")]SAP_OA_JK04_REQ SAP_OA_JK04_REQ)
 {
     SapOa04Webservice.SI_OA_OA04_OUTService sapSrv = new SapOa04Webservice.SI_OA_OA04_OUTService();
     SapOa04Webservice.DT_OA_OA04 sapoa04 = new SapOa04Webservice.DT_OA_OA04();
     SapOa04Webservice.DT_OA_OA04HEADER sh = new SapOa04Webservice.DT_OA_OA04HEADER();
     SapOa04Webservice.DT_OA_OA04HEADERITEM[] items = new SapOa04Webservice.DT_OA_OA04HEADERITEM[SAP_OA_JK04_REQ.HEAD.ITEMS.Count()];
     sh.BUKRS = SAP_OA_JK04_REQ.HEAD.BUKRS;
     sh.ZFKDH = SAP_OA_JK04_REQ.HEAD.ZFKDH;
     sh.ZJYLX = SAP_OA_JK04_REQ.HEAD.ZJYLX;
     sh.BANKA = SAP_OA_JK04_REQ.HEAD.BANKA;
     sh.KOINH = SAP_OA_JK04_REQ.HEAD.KOINH;
     sh.ZBKNO = SAP_OA_JK04_REQ.HEAD.ZBKNO;
     sh.ZJYJE = SAP_OA_JK04_REQ.HEAD.ZJYJE;
     sh.WAERS = SAP_OA_JK04_REQ.HEAD.WAERS;
     sh.ZZHTY = SAP_OA_JK04_REQ.HEAD.ZZHTY;
     sh.BKTXT = SAP_OA_JK04_REQ.HEAD.BKTXT;
     sh.ZPRCT = SAP_OA_JK04_REQ.HEAD.ZPRCT;
     sh.EACBNK = SAP_OA_JK04_REQ.HEAD.EACBNK;
     sh.ZCTNO = SAP_OA_JK04_REQ.HEAD.ZCTNO;
     sh.CDTBRD = SAP_OA_JK04_REQ.HEAD.CDTBRD;
     for (int i = 0; i < SAP_OA_JK04_REQ.HEAD.ITEMS.Count(); i++)
     {
         SapOa04Webservice.DT_OA_OA04HEADERITEM headeritem = new SapOa04Webservice.DT_OA_OA04HEADERITEM();
         headeritem.ZNUM = SAP_OA_JK04_REQ.HEAD.ITEMS[i].ZNUM;//
         headeritem.KOSTL = SAP_OA_JK04_REQ.HEAD.ITEMS[i].KOSTL; //
         headeritem.HKONT = SAP_OA_JK04_REQ.HEAD.ITEMS[i].HKONT; //
         headeritem.ZCBJE = SAP_OA_JK04_REQ.HEAD.ITEMS[i].ZCBJE; //
         headeritem.ZZSKT = SAP_OA_JK04_REQ.HEAD.ITEMS[i].ZZSKT; //
         headeritem.ZSHUE = SAP_OA_JK04_REQ.HEAD.ITEMS[i].ZSHUE; //
         headeritem.ZBXJE = SAP_OA_JK04_REQ.HEAD.ITEMS[i].ZBXJE; //
         headeritem.ZRMTXT = SAP_OA_JK04_REQ.HEAD.ITEMS[i].ZRMTXT; //
         items[i] = headeritem;
     }
     sh.ITEM = items;
     sapoa04.HEADER = sh;
     sapSrv.Credentials = new NetworkCredential(System.Configuration.ConfigurationManager.AppSettings["SAPURLUSER"].ToString(), System.Configuration.ConfigurationManager.AppSettings["SAPURLPSW"].ToString());
     sapSrv.SI_OA_OA04_OUT(sapoa04);
 }
Beispiel #3
0
 /// <remarks/>
 public void SI_OA_OA04_OUTAsync(DT_OA_OA04 MT_OA_OA04)
 {
     this.SI_OA_OA04_OUTAsync(MT_OA_OA04, null);
 }
Beispiel #4
0
 public void SI_OA_OA04_OUT([System.Xml.Serialization.XmlElementAttribute(Namespace = "http://jiuzhou.com/OA")] DT_OA_OA04 MT_OA_OA04)
 {
     this.Invoke("SI_OA_OA04_OUT", new object[] {
         MT_OA_OA04
     });
 }