lazhen
2024-08-07 59e208f515c361caffcdfe35543f1b917d449d44
_Main/BL/Type_MachiningPipelineRow/Method_SetCellInventoryValue.qbl
@@ -2,7 +2,7 @@
#parent: #root
Method SetCellInventoryValue (
  MachiningPipelineColumn column,
  String unit,
  Boolean iscc,
  Real quantity
)
{
@@ -11,9 +11,9 @@
    // 甄兰鸽 Jun-24-2024 (created)
    cell := selectobject( this, Cell, cell, cell.Column() = column );
    
    if( unit = MachiningPipelineReport::GetDefaultCCUnit() ){
    if( iscc ){
      cell.CCInventoryQty( cell.CCInventoryQty() + quantity );
    }else if( unit = MachiningPipelineReport::GetDefaultDLUnit() ){
    } else {
      cell.DLInventoryQty( cell.DLInventoryQty() + quantity );
    }
  *]