Example #1
0
        public DT_OA_OA20_RespITEM[] SI_OA_OA20_OUT([System.Xml.Serialization.XmlElementAttribute(Namespace = "http://jiuzhou.com/OA")] DT_OA_OA20 MT_OA_OA20)
        {
            object[] results = this.Invoke("SI_OA_OA20_OUT", new object[] {
                MT_OA_OA20
            });

            return((DT_OA_OA20_RespITEM[])(results[0]));
        }
Example #2
0
 /// <remarks/>
 public void SI_OA_OA20_OUTAsync(DT_OA_OA20 MT_OA_OA20, object userState)
 {
     if ((this.SI_OA_OA20_OUTOperationCompleted == null))
     {
         this.SI_OA_OA20_OUTOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSI_OA_OA20_OUTOperationCompleted);
     }
     this.InvokeAsync("SI_OA_OA20_OUT", new object[] {
         MT_OA_OA20
     }, this.SI_OA_OA20_OUTOperationCompleted, userState);
 }
Example #3
0
 public SapOa20Webservice.DT_OA_OA20_RespITEM[] SAP_OA_JK_20([System.Xml.Serialization.XmlElementAttribute(Namespace = "http://jiuzhou.com/SAP_OA_JK_20")]SAP_OA_JK20_REQ SAP_OA_JK_20_REQ)
 {
     SapOa20Webservice.SI_OA_OA20_OUTService sapSrv = new SapOa20Webservice.SI_OA_OA20_OUTService();
     SapOa20Webservice.DT_OA_OA20 item = new SapOa20Webservice.DT_OA_OA20();
     SapOa20Webservice.DT_OA_OA20HEADER sh = new SapOa20Webservice.DT_OA_OA20HEADER();
     //I_PERNR	NUMC	8		必填	123
     //I_BEGDA DATS    4       必填  20170101
     //I_MASSG CHAR    4       必填  01                                                            
     sh.I_PERNR = SAP_OA_JK_20_REQ.HEAD.I_PERNR;
     sh.I_BEGDA = SAP_OA_JK_20_REQ.HEAD.I_BEGDA;
     sh.I_MASSG = SAP_OA_JK_20_REQ.HEAD.I_MASSG;
     item.HEADER = sh;
     sapSrv.Credentials = new NetworkCredential(System.Configuration.ConfigurationManager.AppSettings["SAPURLUSER"].ToString(), System.Configuration.ConfigurationManager.AppSettings["SAPURLPSW"].ToString());
     SapOa20Webservice.DT_OA_OA20_RespITEM[] ret = sapSrv.SI_OA_OA20_OUT(item);
     return ret;
 }
Example #4
0
 /// <remarks/>
 public void SI_OA_OA20_OUTAsync(DT_OA_OA20 MT_OA_OA20)
 {
     this.SI_OA_OA20_OUTAsync(MT_OA_OA20, null);
 }