renhao
2023-10-25 ed726fd8e11571e29bb43e2f5cd62bbafee7e29c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Quintiq file version 2.0
#parent: #root
DeclarativeReferenceRelation CalcSanityCheckGroupMaxInventoryLevel
{
  #keys: '1[134266.1.44506157]'
  Expression:
  [*
    value := null( SanityCheckGroupMaxInventoryLevel );
    
    if( not this.ProductInStockingPointInPeriodPlanning().IsValidPlannedMaxInventoryLevel() and this.ProductInStockingPointInPeriodPlanning().GetIsShownMaxInventoryLevelError() )
    {
      value := SanityCheckGroupMaxInventoryLevel::GetSanityCheckGroup( this.ProductInStockingPointInPeriodPlanning().MacroPlan() );
    }
    
    return value;
  *]
  Relation: SanityCheckGroupMaxInventoryLevel
}