Quintiq file version 2.0 
 | 
#parent: #root 
 | 
TypeRepresentation ProductInStockingPointInPeriod 
 | 
{ 
 | 
  AttributeRepresentation AccumulateDisaggregationFactor 
 | 
  { 
 | 
    AttributeKey: '[134266.1.852511]' 
 | 
    Conditional: 
 | 
    [ 
 | 
    ] 
 | 
    DataRepresentation.Default 
 | 
    { 
 | 
      ConversionBody: '' 
 | 
      FormatString: 'N(Dec(3))' 
 | 
      InheritConversion: false 
 | 
      InheritFormatting: false 
 | 
    } 
 | 
  } 
 | 
  AttributeRepresentation ActualInventoryLevelEnd 
 | 
  { 
 | 
    AttributeKey: '[134266.1.852613]' 
 | 
    Synonym: 'Actual Inventory' 
 | 
    Conditional: 
 | 
    [ 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$F09A9A' 
 | 
        ConditionBody: 'object.GetIsOutlier()' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$F7F7F7' 
 | 
        ConditionBody: 'not ActualProductInStockingPointInPeriod::CanUpdateInMatrix( attribute( ProductInStockingPointInPeriod, ActualInventoryLevelEnd ).Name(), object )' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
    ] 
 | 
  } 
 | 
  AttributeRepresentation DependentDemandAndSalesDemandQuantity 
 | 
  { 
 | 
    Alignment: 'Right' 
 | 
    AttributeKey: '[134266.1.852532]' 
 | 
    Synonym: 'Demand' 
 | 
    Conditional: 
 | 
    [ 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$FFCCCC' 
 | 
        ConditionBody: 'not object.HasFulfilledDependentDemand() or object.GetHasMisMatchAvailableUserSupply()' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$FFCC99' 
 | 
        ConditionBody: 'not object.HasFulfilledSalesDemand()' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$EBEBEB' 
 | 
        ConditionBody: 'true' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
    ] 
 | 
    DataRepresentation.Default 
 | 
    { 
 | 
      ConversionBody: '' 
 | 
      FormatString: 'N(Thousands,Dec(0))' 
 | 
      InheritConversion: false 
 | 
      InheritFormatting: false 
 | 
    } 
 | 
  } 
 | 
  AttributeRepresentation DisplaySupplyQuantity 
 | 
  { 
 | 
    AttributeKey: '[136682.3.983291654]' 
 | 
    Synonym: 'Total supply' 
 | 
    Conditional: 
 | 
    [ 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$EAEAEA' 
 | 
        ConditionBody: 'object.IsPeriodFrozen()' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$99FFFF' 
 | 
        ConditionBody: 'object.HasUserSupplyLocked()' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$DBDBFF' 
 | 
        ConditionBody: 'object.HasFeedback() and not object.astype( ProductInStockingPointInPeriodPlanningLeaf ).HasFeedbackIsLocked()' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$CDFF9B' 
 | 
        ConditionBody: 'object.HasFeedback() and object.astype( ProductInStockingPointInPeriodPlanningLeaf ).HasFeedbackIsLocked()' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
    ] 
 | 
  } 
 | 
  AttributeRepresentation End 
 | 
  { 
 | 
    AttributeKey: '[134266.1.852604]' 
 | 
    Conditional: 
 | 
    [ 
 | 
    ] 
 | 
    DataRepresentation.Default 
 | 
    { 
 | 
      ConversionBody: '' 
 | 
      FormatString: 'D-MM-Y' 
 | 
      InheritConversion: false 
 | 
      InheritFormatting: false 
 | 
    } 
 | 
  } 
 | 
  AttributeRepresentation InventoryLevelEnd 
 | 
  { 
 | 
    Alignment: 'Right' 
 | 
    AttributeKey: '[134266.1.852568]' 
 | 
    Synonym: 'Inventory end (quantity)' 
 | 
    Conditional: 
 | 
    [ 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$FF9933' 
 | 
        ConditionBody: 'not guard( object.astype(  ProductInStockingPointInPeriodPlanningLeaf).IsProductShelfLifeOK(), true )' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$99FF99' 
 | 
        ConditionBody: 'object.ProductInStockingPoint_MP().IsNegativeInventoryAllowed()' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        FormatString: 'N' 
 | 
        InheritConversion: false 
 | 
        InheritFormatting: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$EBEBEB' 
 | 
        ConditionBody: 'true' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
    ] 
 | 
    DataRepresentation.Default 
 | 
    { 
 | 
      ConversionBody: '' 
 | 
      FormatString: 'N(Thousands,Dec(0))' 
 | 
      InheritConversion: false 
 | 
      InheritFormatting: false 
 | 
    } 
 | 
  } 
 | 
  AttributeRepresentation InventorySupplyAndNewSupplyQuantity 
 | 
  { 
 | 
    Alignment: 'Right' 
 | 
    AttributeKey: '[134266.1.852538]' 
 | 
    Conditional: 
 | 
    [ 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$EBEBEB' 
 | 
        ConditionBody: 'object.IsPeriodFrozen()' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        FormatString: 'N(Thousands,Dec(0))' 
 | 
        InheritConversion: false 
 | 
        InheritFormatting: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        Bold: true 
 | 
        ConditionBody: 'object.HasUserCreatedSupply() or object.HasTotalSupplyUser()' 
 | 
        ConversionBody: '' 
 | 
        FormatString: 'N(Thousands,Dec(0))' 
 | 
        InheritConversion: false 
 | 
        InheritFormatting: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        ConditionBody: 'object.HasFulfilledAllDemand()' 
 | 
        ConversionBody: '' 
 | 
        FormatString: 'N(Thousands,Dec(0))' 
 | 
        InheritConversion: false 
 | 
        InheritFormatting: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: 'Orange' 
 | 
        Bold: true 
 | 
        ConditionBody: 'not object.HasFulfilledDependentDemand() or not object.HasFulfilledSalesDemand() and  ( object.HasUserCreatedSupply() or object.HasTotalSupplyUser() )' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        FormatString: 'N(Thousands,Dec(0))' 
 | 
        InheritConversion: false 
 | 
        InheritFormatting: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: 'Orange' 
 | 
        ConditionBody: 'not object.HasFulfilledDependentDemand() or not object.HasFulfilledSalesDemand()' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        FormatString: 'N(Thousands,Dec(0))' 
 | 
        InheritConversion: false 
 | 
        InheritFormatting: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: 'Yellow' 
 | 
        Bold: true 
 | 
        ConditionBody: 'not object.HasFulfilledInventoryDemand() and ( object.HasUserCreatedSupply() or object.HasTotalSupplyUser() )' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        FormatString: 'N(Thousands,Dec(0))' 
 | 
        InheritConversion: false 
 | 
        InheritFormatting: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: 'Yellow' 
 | 
        ConditionBody: 'not object.HasFulfilledInventoryDemand()' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        FormatString: 'N(Thousands,Dec(0))' 
 | 
        InheritConversion: false 
 | 
        InheritFormatting: false 
 | 
      } 
 | 
    ] 
 | 
    DataRepresentation.Default 
 | 
    { 
 | 
      ConversionBody: '' 
 | 
      FormatString: 'N(Thousands,Dec(0))' 
 | 
      InheritConversion: false 
 | 
      InheritFormatting: false 
 | 
    } 
 | 
  } 
 | 
  AttributeRepresentation PlannedInventoryLevelEnd 
 | 
  { 
 | 
    AttributeKey: '[134266.1.852571]' 
 | 
    Synonym: 'Planned Inventory' 
 | 
    Conditional: 
 | 
    [ 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$F7F7F7CD' 
 | 
        ConditionBody: 'not ActualProductInStockingPointInPeriod::CanUpdateInMatrix( attribute( ProductInStockingPointInPeriod, PlannedInventoryLevelEnd ).Name(), object )' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
    ] 
 | 
  } 
 | 
  AttributeRepresentation Start 
 | 
  { 
 | 
    AttributeKey: '[134266.1.852526]' 
 | 
    Conditional: 
 | 
    [ 
 | 
    ] 
 | 
    DataRepresentation.Default 
 | 
    { 
 | 
      ConversionBody: '' 
 | 
      FormatString: 'D-MM-Y' 
 | 
      InheritConversion: false 
 | 
      InheritFormatting: false 
 | 
    } 
 | 
  } 
 | 
  AttributeRepresentation StockLevelInDays 
 | 
  { 
 | 
    AttributeKey: '[150660.0.1009482635]' 
 | 
    Synonym: 'Inventory end (days)' 
 | 
    Conditional: 
 | 
    [ 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$EBEBEB' 
 | 
        ConditionBody: 'true' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
    ] 
 | 
    DataRepresentation.Default 
 | 
    { 
 | 
      FormatString: 'N' 
 | 
      InheritFormatting: false 
 | 
    } 
 | 
  } 
 | 
  AttributeRepresentation SumOfChildrenDisaggregationFactor 
 | 
  { 
 | 
    AttributeKey: '[134266.1.852529]' 
 | 
    Conditional: 
 | 
    [ 
 | 
    ] 
 | 
    DataRepresentation.Default 
 | 
    { 
 | 
      ConversionBody: '' 
 | 
      FormatString: 'N(Dec(3))' 
 | 
      InheritConversion: false 
 | 
      InheritFormatting: false 
 | 
    } 
 | 
  } 
 | 
  AttributeRepresentation SupplyQuantity 
 | 
  { 
 | 
    Alignment: 'Right' 
 | 
    AttributeKey: '[134266.1.852478]' 
 | 
    Synonym: 'Total supply' 
 | 
    Conditional: 
 | 
    [ 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$EBEBEB' 
 | 
        ConditionBody: 'object.IsPeriodFrozen()' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$99FFFF' 
 | 
        ConditionBody: 'object.HasUserCreatedSupply() or object.HasTotalSupplyUser()' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$D9D9FF' 
 | 
        ConditionBody: 'object.HasFeedback() and not object.astype( ProductInStockingPointInPeriodPlanningLeaf ).HasFeedbackIsLocked()' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$CCFF99' 
 | 
        ConditionBody: 'object.HasFeedback() and object.astype( ProductInStockingPointInPeriodPlanningLeaf ).HasFeedbackIsLocked()' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
    ] 
 | 
    DataRepresentation.Default 
 | 
    { 
 | 
      ConversionBody: '' 
 | 
      FormatString: 'N(Thousands,Dec(0))' 
 | 
      InheritConversion: false 
 | 
      InheritFormatting: false 
 | 
    } 
 | 
  } 
 | 
  AttributeRepresentation TargetInventoryLevel 
 | 
  { 
 | 
    Alignment: 'Right' 
 | 
    AttributeKey: '[134266.1.852565]' 
 | 
    Synonym: 'Safety stock' 
 | 
    Conditional: 
 | 
    [ 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$FFFFCC' 
 | 
        ConditionBody: 'not object.GetIsTargetInventoryLevelMet()' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$EBEBEB' 
 | 
        ConditionBody: 'true' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
    ] 
 | 
    DataRepresentation.Default 
 | 
    { 
 | 
      ConversionBody: '' 
 | 
      FormatString: 'N(Thousands,Dec(0))' 
 | 
      InheritConversion: false 
 | 
      InheritFormatting: false 
 | 
    } 
 | 
  } 
 | 
} 
 |