Exemple #1
0
        private async void importAlm()
        {
            ConnectWebService w = new ConnectWebService();
            ConnectXamarin    x = new ConnectXamarin();

            var ws = await w.getWebServiceAlm();

            List <Alimentos> lista = new List <Alimentos>();

            foreach (Alimentos t in ws)
            {
                lista.Add(t);
            }
            await x.setXamarinAlm(lista);
        }//IMPORTAR DESDE EL REST A XAMARIN
Exemple #2
0
        private async void importUnm()
        {
            ConnectWebService w = new ConnectWebService();
            ConnectXamarin    x = new ConnectXamarin();

            var ws = await w.getWebServiceUnm();

            List <zt_cat_unidad_medidas> lista = new List <zt_cat_unidad_medidas>();

            foreach (zt_cat_unidad_medidas t in ws)
            {
                lista.Add(t);
            }
            await x.setXamarinUnm(lista);
        }
Exemple #3
0
        private async void importInv()
        {
            ConnectWebService w = new ConnectWebService();
            ConnectXamarin    x = new ConnectXamarin();

            var ws = await w.getWebServiceInv();

            List <zt_inventarios> lista = new List <zt_inventarios>();

            foreach (zt_inventarios t in ws)
            {
                lista.Add(t);
            }
            await x.setXamarinInv(lista);
        }//IMPORTAR DESDE EL REST A XAMARIN
Exemple #4
0
        private async void importProd()
        {
            ConnectWebService w = new ConnectWebService();
            ConnectXamarin    x = new ConnectXamarin();

            var ws = await w.getWebServicePod();

            List <zt_cat_productos> list = new List <zt_cat_productos>();

            foreach (zt_cat_productos t in ws)
            {
                list.Add(t);
            }
            await x.setXamarinPod(list);
        }
Exemple #5
0
        private async void importCon()
        {
            ConnectWebService w = new ConnectWebService();
            ConnectXamarin    x = new ConnectXamarin();

            var ws = await w.getWebServiceInc();

            List <zt_inventarios_conteos> lista = new List <zt_inventarios_conteos>();

            foreach (zt_inventarios_conteos t in ws)
            {
                lista.Add(t);
            }
            await x.setXamarinInc(lista);
        }
Exemple #6
0
        }//EXPORTAR PARA EL REST

        private async void importCed()
        {
            ConnectWebService w = new ConnectWebService();
            ConnectXamarin    x = new ConnectXamarin();

            var ws = await w.getWebServiceCed();

            List <zt_cat_cedis> lista = new List <zt_cat_cedis>();

            foreach (zt_cat_cedis t in ws)
            {
                lista.Add(t);
            }
            await x.setXamarinCed(lista);
        }
Exemple #7
0
        }//IMPORTAR DESDE EL REST A XAMARIN

        private async void exportAlm()
        {
            ConnectWebService w = new ConnectWebService();
            ConnectXamarin    x = new ConnectXamarin();

            var xa = await x.getXamarinAlm();

            List <Alimentos> lista = new List <Alimentos>();

            foreach (Alimentos t in xa)
            {
                lista.Add(t);
            }

            await w.setWebServiceAlm(lista);
        }//EXPORTAR PARA EL REST
Exemple #8
0
        }//IMPORTAR DESDE EL REST A XAMARIN

        private async void exportAlm()
        {
            ConnectWebService w = new ConnectWebService();
            ConnectXamarin    x = new ConnectXamarin();

            var xa = await x.getXamarinAlm();

            List <zt_cat_almacenes> lista = new List <zt_cat_almacenes>();

            foreach (zt_cat_almacenes t in xa)
            {
                lista.Add(t);
            }

            await w.setWebServiceAlm(lista, true);
        }//EXPORTAR PARA EL REST
Exemple #9
0
        }//IMPORTAR DESDE EL REST A XAMARIN

        private async void exportInv()
        {
            ConnectWebService w = new ConnectWebService();
            ConnectXamarin    x = new ConnectXamarin();

            var xa = await x.getXamarinInv();

            List <zt_inventarios> lista = new List <zt_inventarios>();

            foreach (zt_inventarios t in xa)
            {
                lista.Add(t);
            }

            await w.setWebServiceInv(lista, true);
        }//EXPORTAR PARA EL REST
Exemple #10
0
        private async void exportProd()
        {
            ConnectWebService w = new ConnectWebService();
            ConnectXamarin    x = new ConnectXamarin();

            var xa = await x.getXamarinPod();

            List <zt_cat_productos> lista = new List <zt_cat_productos>();

            foreach (zt_cat_productos t in xa)
            {
                lista.Add(t);
            }

            await w.setWebServicePod(lista, true);
        }
Exemple #11
0
        private async void exportDet()
        {
            ConnectWebService w = new ConnectWebService();
            ConnectXamarin    x = new ConnectXamarin();

            var xa = await x.getXamarinInd();

            List <zt_inventarios_det> lista = new List <zt_inventarios_det>();

            foreach (zt_inventarios_det t in xa)
            {
                lista.Add(t);
            }

            await w.setWebServiceInd(lista, true);
        }