lazhen
2024-10-28 eb703e956320ef3f51ef085447e18bbd4747e1d3
_Main/BL/Type_FinancialSalesSource/Method_AfterImport.qbl
@@ -36,7 +36,7 @@
          periodname        := period.Format( "M2/D2/Y" );
          quantity          := [Real]cell.Value()
          previouscolumn    := cell.FinancialSalesColumn().PreviousColumn();
          if( period = yearday.Date() and not isnull( previouscolumn ) and beforeyearday = cnv2.Convert( previouscolumn.Name() ) ){
          if( period = yearday.Date() and not isnull( previouscolumn ) and cnv2.CanConvert( previouscolumn.Name() )  and beforeyearday = cnv2.Convert( previouscolumn.Name() ) ){
            previouscell    := selectobject( row, FinancialSalesCell, previouscell, previouscell.FinancialSalesColumn() = previouscolumn );
            quantity        := [Real]cell.Value() + [Real]previouscell.Value();
          }