예제 #1
0
 public RatingReport(MySqlConnection conn, DataSet dsProperties)
     : base(conn, dsProperties)
 {
     Init();
     //это поле не настраивается в интерфейсе и формируется только
     //в конструкторе который используется для обработки отчетов
     RegistredField.Add(new FilterField {
         primaryField          = "tpc.CodeCore",
         viewField             = "tpc.CodeCore as ProductCodeCore",
         outputField           = "ProductCodeCore",
         reportPropertyPreffix = "ProductCodeCore",
         outputCaption         = "Код",
         position = -1
     });
 }
예제 #2
0
 private void Init()
 {
     RegistredField.Add(new FilterField {
         primaryField          = "ol.SynonymCode",
         viewField             = "if(s.SynonymCode is not null, s.Synonym, sa.Synonym) as SupplierProductName",
         outputField           = "SupplierProductName",
         reportPropertyPreffix = "SupplierProductName",
         outputCaption         = "Оригинальное наименование товара",
         position = 9
     });
     RegistredField.Add(new FilterField {
         primaryField          = "ol.SynonymFirmCrCode",
         viewField             = "sfc.Synonym as SupplierProducerName",
         outputField           = "SupplierProducerName",
         reportPropertyPreffix = "SupplierProducerName",
         outputCaption         = "Оригинальное наименование производителя",
         position = 10
     });
 }