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 }); }
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 }); }