lazhen
2024-05-27 f05a9841c606ebef1e41ae7b6720696c6315b53b
1
2
3
4
5
6
7
8
9
10
11
12
13
Quintiq file version 2.0
#parent: #root
FunctionOverride CalcNewSupplyBlendingQuantity
{
  TextBody:
  [*
    value := sum( this, ChildOfProductDimension, copd,
                  not copd.ProductInStockingPoint_MP().IsExcluded(),
                  copd.NewSupplyBlendingQuantity() * copd.ProductInStockingPoint_MP().ParentPISPConversionFactor() );
    
    this.NewSupplyBlendingQuantity( value );
  *]
}