예제 #1
0
        public string Data_SAP_Invoice(string cxdata)
        {
            if (Session["token"] != null)
            {
                token = Session["token"].ToString();
            }
            SAP_Invoice_Param model = Newtonsoft.Json.JsonConvert.DeserializeObject <SAP_Invoice_Param>(cxdata);

            SAP_Invoice[] data = crmModels.SAP_Report.Invoice(Convert.ToInt32(Session["STAFFID"]), model, token);
            return(Newtonsoft.Json.JsonConvert.SerializeObject(data));
        }
예제 #2
0
 public SAP_Invoice[] Invoice(int STAFFID, SAP_Invoice_Param model, string ptoken)
 {
     return(client.Invoice(STAFFID, model, ptoken));
 }