示例#1
0
        public List <M_PuntoDeVenta> ListarPDV_Campania_Person(string CodCampania, string CodPerson, string Fecha_Ini, string Fecha_Fin)
        {
            ServicioGestionCampania.Ges_CampaniaServiceClient client = new ServicioGestionCampania.Ges_CampaniaServiceClient("BasicHttpBinding_IGes_CampaniaService");
            string dataJson;
            string request;

            request  = "{'a':'" + CodCampania + "','b':'" + CodPerson + "','c':'" + Fecha_Ini + "','d':'" + Fecha_Fin + "'}";
            dataJson = client.ListarPuntodeVenta_Por_CodCampania_codPersona(request);

            M_PuntoDeVenta_Response oM_PuntoDeVenta_Response = HelperJson.Deserialize <M_PuntoDeVenta_Response>(dataJson);

            return(oM_PuntoDeVenta_Response.listaPDV);
        }
示例#2
0
        public List <M_PuntoDeVenta> consulta(string CodCampania, string CodOficina, string CodZona)
        {
            ServicioGestionCampania.Ges_CampaniaServiceClient client = new ServicioGestionCampania.Ges_CampaniaServiceClient("BasicHttpBinding_IGes_CampaniaService");
            string dataJson;
            string request;

            request  = "{'a':'" + CodCampania + "','b':'" + CodOficina + "','c':'" + CodZona + "'}";
            dataJson = client.Listar_PuntoDeVenta_Por_CodCampania_CodOficina_CodCadena(request);

            M_PuntoDeVenta_Response oM_PuntoDeVenta_Response = HelperJson.Deserialize <M_PuntoDeVenta_Response>(dataJson);

            return(oM_PuntoDeVenta_Response.listaPDV);
        }
示例#3
0
        public List <M_PuntoDeVenta> Listar_PDV_Por_Campania_NodeCommercial(string idCampania, string idNode)
        {
            ServicioGestionCampania.Ges_CampaniaServiceClient client = new ServicioGestionCampania.Ges_CampaniaServiceClient("BasicHttpBinding_IGes_CampaniaService");


            string dataJson;
            string request;

            request  = "{'a':'" + idCampania + "','b':'" + idNode + "'}";
            dataJson = client.Listar_PDV_Por_Campania_NodeCommercial(request);


            M_PuntoDeVenta_Response oM_PuntoDeVenta_Response = HelperJson.Deserialize <M_PuntoDeVenta_Response>(dataJson);

            return(oM_PuntoDeVenta_Response.listaPDV);
        }
示例#4
0
        public List <M_PuntoDeVenta> consultaPDV_CodCampania_CodCiudad_CodCadena(string idC, string idCiudad, string idM)
        {
            ServicioGestionCampania.Ges_CampaniaServiceClient client = new ServicioGestionCampania.Ges_CampaniaServiceClient("BasicHttpBinding_IGes_CampaniaService");


            string dataJson;
            string request;

            request  = "{'a':'" + idC + "','b':'" + idCiudad + "','c':'" + idM + "'}";
            dataJson = client.Listar_NodeComercial_Por_CodCampania_CodCiudad(request);


            M_PuntoDeVenta_Response oM_PuntoDeVenta_Response = HelperJson.Deserialize <M_PuntoDeVenta_Response>(dataJson);

            return(oM_PuntoDeVenta_Response.listaPDV);
        }