Пример #1
0
        static void ScheduleReport2()
        {
            Report[] report = new Report[] {
                new Report {
                    Id      = "5007",
                    Prompts = new Prompt[] {
                        new Prompt {
                            Name = "Column1 - type", Value = "Actuals"
                        },
                        new Prompt {
                            Name = "Column1 - mm/yyyy", Value = "032004"
                        },
                        new Prompt {
                            Name = "Column2 - type", Value = "Budget"
                        },
                        new Prompt {
                            Name = "Column2 - mm/yyyy", Value = "032004"
                        }
                    }
                }
            };

            SchSchedule frm = new SchSchedule();

            frm.Url      = @"http://trishna:8080/dswsbobje/services";
            frm.Domain   = "TRISHNA:6400";
            frm.Login    = "******";
            frm.Password = "******";
            frm.AuthType = "secEnterprise";
            frm.Password = "******";
            frm.SetReports(ref report);
            frm.Show();
            frm.Close();
        }
Пример #2
0
        static void ScheduleReport()
        {
            Report[] report = new Report[] {
                new Report {
                    //  Id="12288",
                    Id = "18641",
                    //    Cuid="AfgVIsAn2NhIoUXnUMiQe3g",
                    Prompts = new Prompt[] {
                        new Prompt {
                            Name = "Début de période de règlement :", Value = "01/01/2010"
                        },
                        new Prompt {
                            Name = "Fin de période de règlement :", Value = "01/06/2010"
                        },
                        new Prompt {
                            Name = "Saisir une ou plusieurs valeurs pour N° Organisme :", Value = "000001;000007;000002;000003"
                        }
                    }
                }
            };

            SchSchedule frm = new SchSchedule();

            frm.Url      = @"http://*****:*****@"F:\Partage\exportWebI\%SI_NAME%";
            frm.Format     = "PDF";
            frm.NotifEmail = "*****@*****.**";
            frm.SetReports(ref report);
            frm.Show();
            //   frm.Close();
        }
Пример #3
0
        static void ScheduleReport()
        {
            Report[] report = new Report[] {
                new Report {
                    Id      = "1041",
                    Prompts = new Prompt[] {
                        //   new Prompt{ Value="01/01/2009"},
                        //  new Prompt{ Value="01/02/2009"}
                    }
                }
            };

            SchSchedule frm = new SchSchedule();

            frm.Url      = @"http://vform-boxi3:8080/dswsbobje/services";
            frm.Domain   = "vform-boxi3:6400";
            frm.Login    = "******";
            frm.Password = "";
            frm.AuthType = "secEnterprise";
            frm.SetReports(ref report);
            frm.Show();
            frm.Close();
        }
Пример #4
0
        static void ScheduleReport()
        {
            Report[] report = new Report[] {
                new Report {
                    Id      = "1041",
                    Prompts = new Prompt[] {
                        //   new Prompt{ Value="01/01/2009"},
                        //  new Prompt{ Value="01/02/2009"}
                    }
                }
            };

            SchSchedule frm = new SchSchedule();

            frm.Url      = @"http://treelife.dev.micropole.com/dswsbobje/services";
            frm.Domain   = "treelife";
            frm.Login    = "******";
            frm.AuthType = "CCBO";
            frm.Password = "******";
            frm.SetReports(ref report);
            frm.Show();
            frm.Close();
        }