xiaoding721
2024-11-27 216034d9f196fbef90a2ef82d69c32ca47c2347b
_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_GenerateDispatchData.qbl
@@ -145,6 +145,15 @@
    traverse( lines,Elements,line ){
      line.CalcLineQuantity();
      
      unit := constnull( Unit );
      {
        unitHandle := unitIndexTree.GetHandle( line.LineName() );
        unitIndex := guard( unitIndexTree.Root().Child( unitHandle ), null( NamedValue ));
        if( not isnull( unitIndex )){
          unit := units.Element( unitIndex.GetValueAsNumber() );
        }
      }
      // 481
      lineQuantity := line.LineQuantity();