Quintiq file version 2.0 
 | 
#parent: #root 
 | 
TypeRepresentation SupplyBase 
 | 
{ 
 | 
  AttributeRepresentation DefinitionName 
 | 
  { 
 | 
    AttributeKey: '[1.2.1944]' 
 | 
    Visibility: 'User' 
 | 
  } 
 | 
  AttributeRepresentation Key 
 | 
  { 
 | 
    AttributeKey: '[1.2.81]' 
 | 
    Visibility: 'User' 
 | 
  } 
 | 
  AttributeRepresentation Quantity 
 | 
  { 
 | 
    Alignment: 'Right' 
 | 
    AttributeKey: '[112884.1.1160030032]' 
 | 
    Conditional: 
 | 
    [ 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$999999' 
 | 
        ConditionBody: 'guard( object.ProductInStockingPointInPeriod().Period_MP().IsHistorical(), true )' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: '$FF9900' 
 | 
        ConditionBody: 'guard( object.ProductInStockingPointInPeriod().DependentDemandQuantity() + object.ProductInStockingPointInPeriod().SalesDemandQuantity() > object.ProductInStockingPointInPeriod().SupplyQuantity(), false )' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        ConditionBody: 'guard( object.ProductInStockingPointInPeriod().TargetInventoryLevel() > object.ProductInStockingPointInPeriod().InventoryDemandFulfilledQuantity(), false)' 
 | 
        ConversionBody: '' 
 | 
        InheritConversion: false 
 | 
      } 
 | 
      DataRepresentation.Conditional 
 | 
      { 
 | 
        BackgroundColor: 'Cyan' 
 | 
        ConditionBody: 'guard( object.GetHasUserQuantity(), false )' 
 | 
        ConversionBody: '' 
 | 
        DefaultBackgroundColor: false 
 | 
        InheritConversion: false 
 | 
      } 
 | 
    ] 
 | 
    DataRepresentation.Default 
 | 
    { 
 | 
      ConversionBody: '' 
 | 
      FormatString: 'N(Thousands,Dec(2))' 
 | 
      InheritConversion: false 
 | 
      InheritFormatting: false 
 | 
    } 
 | 
  } 
 | 
} 
 |