LogikalProductGroup.cs 403 B

1234567891011121314151617
  1. using InABox.Integration.Logikal;
  2. namespace PRSDesktop.Integrations.Logikal;
  3. public class LogikalProductGroup : ILogikalProductGroup
  4. {
  5. public string Code { get; set; }
  6. public string Description { get; set; }
  7. public static string SQL = $@"
  8. select distinct
  9. cast(d.[DiscountGroup] as text) as {nameof(Code)},
  10. d.[name] as {nameof(Description)}
  11. from
  12. EstimationDiscounts d
  13. ";
  14. }