Пример #1
0
        public void FillUSR_PRD_LANCIOD(PrioritaDS ds, List <string> idIDLANCIOD)
        {
            PrioritaAdapter a = new PrioritaAdapter(DbConnection, DbTransaction);

            while (idIDLANCIOD.Count > 0)
            {
                List <string> articoliDaCaricare;
                if (idIDLANCIOD.Count > 999)
                {
                    articoliDaCaricare = idIDLANCIOD.GetRange(0, 999);
                    idIDLANCIOD.RemoveRange(0, 999);
                }
                else
                {
                    articoliDaCaricare = idIDLANCIOD.GetRange(0, idIDLANCIOD.Count);
                    idIDLANCIOD.RemoveRange(0, idIDLANCIOD.Count);
                }
                a.FillUSR_PRD_LANCIOD(ds, articoliDaCaricare);
            }
        }
Пример #2
0
        public void FillUSR_PRD_FASI(PrioritaDS ds, List <string> IDPRDFASE)
        {
            PrioritaAdapter a = new PrioritaAdapter(DbConnection, DbTransaction);

            while (IDPRDFASE.Count > 0)
            {
                List <string> articoliDaCaricare;
                if (IDPRDFASE.Count > 999)
                {
                    articoliDaCaricare = IDPRDFASE.GetRange(0, 999);
                    IDPRDFASE.RemoveRange(0, 999);
                }
                else
                {
                    articoliDaCaricare = IDPRDFASE.GetRange(0, IDPRDFASE.Count);
                    IDPRDFASE.RemoveRange(0, IDPRDFASE.Count);
                }
                a.FillUSR_PRD_FASI(ds, articoliDaCaricare);
            }
        }
Пример #3
0
        public void FillMAGAZZ(PrioritaDS ds, List <string> IDMAGAZZ)
        {
            List <string> articoliPresenti = ds.MAGAZZ.Select(x => x.IDMAGAZZ).Distinct().ToList();
            List <string> articoliMancanti = IDMAGAZZ.Except(articoliPresenti).ToList();

            PrioritaAdapter a = new PrioritaAdapter(DbConnection, DbTransaction);

            while (articoliMancanti.Count > 0)
            {
                List <string> articoliDaCaricare;
                if (articoliMancanti.Count > 999)
                {
                    articoliDaCaricare = articoliMancanti.GetRange(0, 999);
                    articoliMancanti.RemoveRange(0, 999);
                }
                else
                {
                    articoliDaCaricare = articoliMancanti.GetRange(0, articoliMancanti.Count);
                    articoliMancanti.RemoveRange(0, articoliMancanti.Count);
                }
                a.FillMAGAZZ(ds, articoliDaCaricare);
            }
        }
Пример #4
0
        public void FillUSR_PRD_MOVFASI_Chiusi(PrioritaDS ds, string codiceSegnalatore, string codiceReparto, string idtabfas, string Articolo, int giorniIndietro)
        {
            PrioritaAdapter a = new PrioritaAdapter(DbConnection, DbTransaction);

            a.FillUSR_PRD_MOVFASI_Chiusi(ds, codiceSegnalatore, codiceReparto, idtabfas, Articolo, giorniIndietro);
        }
Пример #5
0
        public void FillTABFAS(PrioritaDS ds)
        {
            PrioritaAdapter a = new PrioritaAdapter(DbConnection, DbTransaction);

            a.FillTABFAS(ds);
        }
Пример #6
0
        public void FillREPARTI(PrioritaDS ds)
        {
            PrioritaAdapter a = new PrioritaAdapter(DbConnection, DbTransaction);

            a.FillREPARTI(ds);
        }
Пример #7
0
        public void UpdateRW_SCADENZE(PrioritaDS ds)
        {
            PrioritaAdapter a = new PrioritaAdapter(DbConnection, DbTransaction);

            a.UpdateTable("RW_SCADENZE", ds);
        }
Пример #8
0
        public void FillUSR_PRD_FLUSSO_MOVFASI(PrioritaDS ds, string IDPRMOVFASE)
        {
            PrioritaAdapter a = new PrioritaAdapter(DbConnection, DbTransaction);

            a.FillUSR_PRD_FLUSSO_MOVFASI(ds, IDPRMOVFASE);
        }
Пример #9
0
        public void FillSEGNALATORI(PrioritaDS ds)
        {
            PrioritaAdapter a = new PrioritaAdapter(DbConnection, DbTransaction);

            a.FillSEGNALATORI(ds);
        }
Пример #10
0
        public void FillUSR_PRD_FLUSSO_MOVFASI_By_RW_SCADENZE(PrioritaDS ds, DateTime dtInizio, DateTime dtFine)
        {
            PrioritaAdapter a = new PrioritaAdapter(DbConnection, DbTransaction);

            a.FillUSR_PRD_FLUSSO_MOVFASI_By_RW_SCADENZE(ds, dtInizio, dtFine);
        }
Пример #11
0
        public void FillRW_SCADENZE(PrioritaDS ds, DateTime dtInizio, DateTime dtFine)
        {
            PrioritaAdapter a = new PrioritaAdapter(DbConnection, DbTransaction);

            a.FillRW_SCADENZE(ds, dtInizio, dtFine);
        }