lazhen
2024-11-11 43790f1fe5b8ee434a342c34eade9304e0dd6c12
_Main/BL/Type_FinancialSalesReport/Method_GenerateColumn.qbl
@@ -11,13 +11,10 @@
    startofyear               := startofplanning.StartOfYear();
    startofnextyear           := startofplanning.StartOfNextYear();
    
    for( start := startofyear; start < startofnextyear; start := start + Duration::Days( 1 ) ){
    for( start := startofyear; start < startofnextyear; start := start.StartOfMonth() ){
      periodtime := start.Date();
      periodname := periodtime.Format( "M2/D2/Y" );
      this.FinancialSalesColumn( relnew, Name := periodname, Period := periodtime, IsDay := true );
      if( start = start.StartOfMonth() ){
        this.FinancialSalesColumn( relnew, Name := periodname, Period := periodtime );
      }
      this.FinancialSalesColumn( relnew, Name := periodname, Period := periodtime );
    }
  *]
}