Пример #1
0
 public SapOa17Webservice.DT_OA_OA17_RespITEM[] SAP_OA_JK_17([System.Xml.Serialization.XmlElementAttribute(Namespace = "http://jiuzhou.com/SAP_OA_JK_17")]SAP_OA_JK17_REQ SAP_OA_JK17_REQ)
 {
     SapOa17Webservice.SI_OA_OA17_OUTService sapSrv = new SapOa17Webservice.SI_OA_OA17_OUTService();
     SapOa17Webservice.DT_OA_OA17 item = new SapOa17Webservice.DT_OA_OA17();
     SapOa17Webservice.DT_OA_OA17HEADER sh = new SapOa17Webservice.DT_OA_OA17HEADER();
     //I_PERNR NUMC    8           123
     //I_BEGDA DATS    8           20170101
     //I_ENDDA DATS    8           20170101
     //I_BEGUZ TIMS    8           17:00
     //I_ENDUZ TIMS    8           18:00
     //I_STDAZ  加班时长
     //I_VERSL CHAR    1           "空格:加班调休 1:加班结薪"
     //item.HEADER.I_PERNR = SAP_OA_JK17_REQ.HEAD.I_PERNR;
     //item.HEADER.I_BEGDA = SAP_OA_JK17_REQ.HEAD.I_BEGDA;
     //item.HEADER.I_ENDDA = SAP_OA_JK17_REQ.HEAD.I_ENDDA;
     sh.I_PERNR = SAP_OA_JK17_REQ.HEAD.I_PERNR;
     sh.I_BEGDA = SAP_OA_JK17_REQ.HEAD.I_BEGDA;
     sh.I_ENDDA = SAP_OA_JK17_REQ.HEAD.I_ENDDA;
     sh.I_BEGUZ = SAP_OA_JK17_REQ.HEAD.I_BEGUZ;
     sh.I_ENDUZ = SAP_OA_JK17_REQ.HEAD.I_ENDUZ;
     sh.I_STDAZ = SAP_OA_JK17_REQ.HEAD.I_STDAZ;
     sh.I_VERSL = SAP_OA_JK17_REQ.HEAD.I_VERSL;
     item.HEADER = sh;
     sapSrv.Credentials = new NetworkCredential(System.Configuration.ConfigurationManager.AppSettings["SAPURLUSER"].ToString(), System.Configuration.ConfigurationManager.AppSettings["SAPURLPSW"].ToString());
     SapOa17Webservice.DT_OA_OA17_RespITEM[] ret = sapSrv.SI_OA_OA17_OUT(item);
     return ret;
 }
Пример #2
0
        public DT_OA_OA17_RespITEM[] SI_OA_OA17_OUT([System.Xml.Serialization.XmlElementAttribute(Namespace = "http://jiuzhou.com/OA")] DT_OA_OA17 MT_OA_OA17)
        {
            object[] results = this.Invoke("SI_OA_OA17_OUT", new object[] {
                MT_OA_OA17
            });

            return((DT_OA_OA17_RespITEM[])(results[0]));
        }
Пример #3
0
 /// <remarks/>
 public void SI_OA_OA17_OUTAsync(DT_OA_OA17 MT_OA_OA17, object userState)
 {
     if ((this.SI_OA_OA17_OUTOperationCompleted == null))
     {
         this.SI_OA_OA17_OUTOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSI_OA_OA17_OUTOperationCompleted);
     }
     this.InvokeAsync("SI_OA_OA17_OUT", new object[] {
         MT_OA_OA17
     }, this.SI_OA_OA17_OUTOperationCompleted, userState);
 }
Пример #4
0
 /// <remarks/>
 public void SI_OA_OA17_OUTAsync(DT_OA_OA17 MT_OA_OA17)
 {
     this.SI_OA_OA17_OUTAsync(MT_OA_OA17, null);
 }