Exemple #1
0
        public DT_OA_OA15_RespITEM[] SI_OA_OA15_OUT([System.Xml.Serialization.XmlElementAttribute(Namespace = "http://jiuzhou.com/OA")] DT_OA_OA15 MT_OA_OA15)
        {
            object[] results = this.Invoke("SI_OA_OA15_OUT", new object[] {
                MT_OA_OA15
            });

            return((DT_OA_OA15_RespITEM[])(results[0]));
        }
Exemple #2
0
 /// <remarks/>
 public void SI_OA_OA15_OUTAsync(DT_OA_OA15 MT_OA_OA15, object userState)
 {
     if ((this.SI_OA_OA15_OUTOperationCompleted == null))
     {
         this.SI_OA_OA15_OUTOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSI_OA_OA15_OUTOperationCompleted);
     }
     this.InvokeAsync("SI_OA_OA15_OUT", new object[] {
         MT_OA_OA15
     }, this.SI_OA_OA15_OUTOperationCompleted, userState);
 }
Exemple #3
0
 public SapOa15Webservice.DT_OA_OA15_RespITEM[] SAP_OA_JK_15([System.Xml.Serialization.XmlElementAttribute(Namespace = "http://jiuzhou.com/SAP_OA_JK_15")]SAP_OA_JK15_REQ SAP_OA_JK_15_REQ)
 {
     SapOa15Webservice.SI_OA_OA15_OUTService sapSrv = new SapOa15Webservice.SI_OA_OA15_OUTService();
     SapOa15Webservice.DT_OA_OA15 item = new SapOa15Webservice.DT_OA_OA15();
     SapOa15Webservice.DT_OA_OA15HEADER sh = new SapOa15Webservice.DT_OA_OA15HEADER();
     //人员编号 Head        I_PERNR NUMC    8       必填  123
     //出差开始时间 Head        I_BEGDA DATS    8       必填  20170801
     //出差结束时间 Head        I_ENDDA DATS    8       必填  20170802
     //出差类型 Head        I_AWART CHAR    4       必填  "1210"
     // item.HEADER.I_PERNR = SAP_OA_JK_15_REQ.HEAD.I_PERNR;
     //  item.HEADER.I_BEGDA = SAP_OA_JK_15_REQ.HEAD.I_BEGDA;
     // item.HEADER.I_ENDDA = SAP_OA_JK_15_REQ.HEAD.I_ENDDA;
     sh.I_PERNR = SAP_OA_JK_15_REQ.HEAD.I_PERNR;
     sh.I_BEGDA = SAP_OA_JK_15_REQ.HEAD.I_BEGDA;
     sh.I_ENDDA = SAP_OA_JK_15_REQ.HEAD.I_ENDDA;
     sh.I_BEGUZ = SAP_OA_JK_15_REQ.HEAD.I_BEGUZ;
     sh.I_ENDUZ = SAP_OA_JK_15_REQ.HEAD.I_ENDUZ;
     sh.I_AWART = "1210";
     item.HEADER = sh;
     sapSrv.Credentials = new NetworkCredential(System.Configuration.ConfigurationManager.AppSettings["SAPURLUSER"].ToString(), System.Configuration.ConfigurationManager.AppSettings["SAPURLPSW"].ToString());
     SapOa15Webservice.DT_OA_OA15_RespITEM[] ret = sapSrv.SI_OA_OA15_OUT(item);
     return ret;
 }
Exemple #4
0
 /// <remarks/>
 public void SI_OA_OA15_OUTAsync(DT_OA_OA15 MT_OA_OA15)
 {
     this.SI_OA_OA15_OUTAsync(MT_OA_OA15, null);
 }