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

            return((DT_OA_OA12_RespITEM[])(results[0]));
        }
Exemple #2
0
 /// <remarks/>
 public void SI_OA_OA12_OUTAsync(DT_OA_OA12 MT_OA_OA12, object userState)
 {
     if ((this.SI_OA_OA12_OUTOperationCompleted == null))
     {
         this.SI_OA_OA12_OUTOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSI_OA_OA12_OUTOperationCompleted);
     }
     this.InvokeAsync("SI_OA_OA12_OUT", new object[] {
         MT_OA_OA12
     }, this.SI_OA_OA12_OUTOperationCompleted, userState);
 }
Exemple #3
0
        public SapOa12Webservice.DT_OA_OA12_RespITEM[] SAP_OA_JK_12([System.Xml.Serialization.XmlElementAttribute(Namespace = "http://jiuzhou.com/SAP_OA_JK_12")]string uid)
        {
            //拼接xml 
            //oaApp.GetCheckInfoList();
            SapOa12Webservice.SI_OA_OA12_OUTService sapSrv = new SapOa12Webservice.SI_OA_OA12_OUTService();
            //SapOa10WebService.SI_OA_OA10_OUTService sapSrv = new SapOa10WebService.SI_OA_OA10_OUTService();
            SapOa12Webservice.DT_OA_OA12 items = new SapOa12Webservice.DT_OA_OA12();
            //人员编号 ITEM        I_PERNR NUMC    8           123
            //请假日期 ITEM        I_BEGDA DATS    8           20170101
            //是否全天?‘0‘,是;‘1’,否。	ITEM L_HALF  CHAR    1           是否全天?‘0‘,是;‘1’,否。
            //开始时间 ITEM        L_ BEGUZ    TIMS    8           8:00
            //结束时间 ITEM        L_ ENDUZ    TIMS    8           16:00
            //请假类型编码 ITEM        I_AWART CHAR    4           2000、2010…

            SapOa12Webservice.DT_OA_OA12HEAD head = new SapOa12Webservice.DT_OA_OA12HEAD();
            head.I_PERNR = uid;
            items.HEAD = head;
            sapSrv.Credentials = new NetworkCredential(System.Configuration.ConfigurationManager.AppSettings["SAPURLUSER"].ToString(), System.Configuration.ConfigurationManager.AppSettings["SAPURLPSW"].ToString());
            SapOa12Webservice.DT_OA_OA12_RespITEM[] ret = sapSrv.SI_OA_OA12_OUT(items);
            return ret;
        }
Exemple #4
0
 /// <remarks/>
 public void SI_OA_OA12_OUTAsync(DT_OA_OA12 MT_OA_OA12)
 {
     this.SI_OA_OA12_OUTAsync(MT_OA_OA12, null);
 }