コード例 #1
0
        public DT_OA_OA11_RespITEM[] SI_OA_OA11_OUT([System.Xml.Serialization.XmlElementAttribute(Namespace = "http://jiuzhou.com/OA")] DT_OA_OA11 MT_OA_OA11)
        {
            object[] results = this.Invoke("SI_OA_OA11_OUT", new object[] {
                MT_OA_OA11
            });

            return((DT_OA_OA11_RespITEM[])(results[0]));
        }
コード例 #2
0
 /// <remarks/>
 public void SI_OA_OA11_OUTAsync(DT_OA_OA11 MT_OA_OA11, object userState)
 {
     if ((this.SI_OA_OA11_OUTOperationCompleted == null))
     {
         this.SI_OA_OA11_OUTOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSI_OA_OA11_OUTOperationCompleted);
     }
     this.InvokeAsync("SI_OA_OA11_OUT", new object[] {
         MT_OA_OA11
     }, this.SI_OA_OA11_OUTOperationCompleted, userState);
 }
コード例 #3
0
 public SapOa11Webservice.DT_OA_OA11_RespITEM[] SAP_OA_JK_11([System.Xml.Serialization.XmlElementAttribute(Namespace = "http://jiuzhou.com/SAP_OA_JK_11")]SAP_OA_JK11_REQ SAP_OA_JK_11_REQ)
 {
     SapOa11Webservice.SI_OA_OA11_OUTService sapSrv = new SapOa11Webservice.SI_OA_OA11_OUTService();
     SapOa11Webservice.DT_OA_OA11 item = new SapOa11Webservice.DT_OA_OA11();
     SapOa11Webservice.DT_OA_OA11HEAD sh = new SapOa11Webservice.DT_OA_OA11HEAD();
     //员工编号 Head        PERNR NUMC    8           123
     //日期 Head        LDATE DATS    8           20170101
     //时间 Head        LTIME TIMS    6           13:30
     //时间类型(上班卡或下班卡)	Head SATZA   CHAR    3           "P10 上班卡
     //P20 下班卡"
     //刷卡类型 Head        ABWGR CHAR    4           "ABWGR = ’0003’ 补卡
     //ABWGR = ’0005外出补卡"
     sh.PERNR = SAP_OA_JK_11_REQ.HEAD.PERNR;
     sh.LDATE = SAP_OA_JK_11_REQ.HEAD.LDATE;
     sh.LTIME = SAP_OA_JK_11_REQ.HEAD.LTIME;
     sh.SATZA = SAP_OA_JK_11_REQ.HEAD.SATZA;
     sh.ABWGR = SAP_OA_JK_11_REQ.HEAD.ABWGR;
     item.HEAD = sh;
     sapSrv.Credentials = new NetworkCredential(System.Configuration.ConfigurationManager.AppSettings["SAPURLUSER"].ToString(), System.Configuration.ConfigurationManager.AppSettings["SAPURLPSW"].ToString());
     SapOa11Webservice.DT_OA_OA11_RespITEM[] ret = sapSrv.SI_OA_OA11_OUT(item);
     return ret;
 }
コード例 #4
0
 /// <remarks/>
 public void SI_OA_OA11_OUTAsync(DT_OA_OA11 MT_OA_OA11)
 {
     this.SI_OA_OA11_OUTAsync(MT_OA_OA11, null);
 }