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)); }
public SAP_Invoice[] Invoice(int STAFFID, SAP_Invoice_Param model, string ptoken) { return(client.Invoice(STAFFID, model, ptoken)); }