| Quintiq file version 2.0 | 
| #parent: #root | 
| TypeRepresentation ProductInStockingPointInPeriod | 
| { | 
|   AttributeRepresentation AccumulateDisaggregationFactor | 
|   { | 
|     AttributeKey: '[134266.1.852511]' | 
|     Conditional: | 
|     [ | 
|     ] | 
|     DataRepresentation.Default | 
|     { | 
|       FormatString: 'N(Dec(3))' | 
|       InheritFormatting: false | 
|     } | 
|   } | 
|   AttributeRepresentation ActualInventoryLevelEnd | 
|   { | 
|     Alignment: 'Right' | 
|     AttributeKey: '[134266.1.852613]' | 
|     Synonym: 'Actual Inventory' | 
|   } | 
|   AttributeRepresentation DefinitionName | 
|   { | 
|     AttributeKey: '[1.2.1944]' | 
|     Visibility: 'User' | 
|   } | 
|   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 | 
|     { | 
|       FormatString: 'N(Thousands,Dec(0))' | 
|       InheritFormatting: false | 
|     } | 
|   } | 
|   AttributeRepresentation DependentDemandQuantity | 
|   { | 
|     Alignment: 'Right' | 
|     AttributeKey: '[134266.1.852544]' | 
|     Synonym: 'Dependent demand' | 
|   } | 
|   AttributeRepresentation DependentDemandUnfulfilledQuantity | 
|   { | 
|     Alignment: 'Right' | 
|     AttributeKey: '[134266.1.852577]' | 
|     Synonym: 'Unfulfilled dependent demand' | 
|   } | 
|   AttributeRepresentation DisplaySupplyQuantity | 
|   { | 
|     AttributeKey: '[136682.3.983291654]' | 
|     Synonym: 'Total supply' | 
|   } | 
|   AttributeRepresentation End | 
|   { | 
|     AttributeKey: '[134266.1.852604]' | 
|     Conditional: | 
|     [ | 
|     ] | 
|     DataRepresentation.Default | 
|     { | 
|       FormatString: 'D-MM-Y' | 
|       InheritFormatting: false | 
|     } | 
|   } | 
|   AttributeRepresentation InventoryLevelEnd | 
|   { | 
|     Alignment: 'Right' | 
|     AttributeKey: '[134266.1.852568]' | 
|     Synonym: 'Inventory end' | 
|     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(Thousands,Dec(0))' | 
|         InheritConversion: false | 
|         InheritFormatting: false | 
|       } | 
|       DataRepresentation.Conditional | 
|       { | 
|         BackgroundColor: '$EBEBEB' | 
|         ConditionBody: 'true' | 
|         ConversionBody: '' | 
|         DefaultBackgroundColor: false | 
|         InheritConversion: false | 
|       } | 
|     ] | 
|     DataRepresentation.Default | 
|     { | 
|       FormatString: 'N(Thousands,Dec(0))' | 
|       InheritFormatting: false | 
|     } | 
|   } | 
|   AttributeRepresentation InventoryLevelStart | 
|   { | 
|     Alignment: 'Right' | 
|     AttributeKey: '[134266.1.852508]' | 
|     Synonym: 'Inventory start' | 
|   } | 
|   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 | 
|     { | 
|       FormatString: 'N(Thousands,Dec(0))' | 
|       InheritFormatting: false | 
|     } | 
|   } | 
|   AttributeRepresentation InventorySupplyQuantity | 
|   { | 
|     AttributeKey: '[134266.1.852463]' | 
|     Synonym: 'Inventory supply' | 
|   } | 
|   AttributeRepresentation Key | 
|   { | 
|     AttributeKey: '[1.2.81]' | 
|     Visibility: 'User' | 
|   } | 
|   AttributeRepresentation MaxLevelInDays | 
|   { | 
|     AttributeKey: '[136682.1.339214510]' | 
|     Synonym: 'Max inventory (Days)' | 
|   } | 
|   AttributeRepresentation MaxLevelInQuantity | 
|   { | 
|     AttributeKey: '[134266.1.852541]' | 
|     Synonym: 'Max inventory (Quantity)' | 
|   } | 
|   AttributeRepresentation MinLevelInDays | 
|   { | 
|     AttributeKey: '[136682.1.339214503]' | 
|     Synonym: 'Min inventory (Days)' | 
|   } | 
|   AttributeRepresentation MinLevelInQuantity | 
|   { | 
|     AttributeKey: '[134266.1.852550]' | 
|     Synonym: 'Min inventory (Quantity)' | 
|   } | 
|   AttributeRepresentation NewSupplyQuantity | 
|   { | 
|     Alignment: 'Right' | 
|     AttributeKey: '[134266.1.852457]' | 
|     Synonym: 'New supply' | 
|   } | 
|   AttributeRepresentation PlannedInventoryLevelEnd | 
|   { | 
|     AttributeKey: '[134266.1.852571]' | 
|     Synonym: 'Planned Inventory' | 
|   } | 
|   AttributeRepresentation SalesDemandQuantity | 
|   { | 
|     Alignment: 'Right' | 
|     AttributeKey: '[134266.1.852490]' | 
|     Synonym: 'Sales demand' | 
|   } | 
|   AttributeRepresentation SalesDemandUnfulFilledQuantity | 
|   { | 
|     AttributeKey: '[142146.0.862154060]' | 
|     Synonym: 'Unfulfilled sales demand' | 
|   } | 
|   AttributeRepresentation Start | 
|   { | 
|     AttributeKey: '[134266.1.852526]' | 
|     Conditional: | 
|     [ | 
|     ] | 
|     DataRepresentation.Default | 
|     { | 
|       FormatString: 'D-MM-Y' | 
|       InheritFormatting: false | 
|     } | 
|   } | 
|   AttributeRepresentation StockLevelInDays | 
|   { | 
|     AttributeKey: '[150660.0.1009482635]' | 
|     Synonym: 'Inventory end (days)' | 
|   } | 
|   AttributeRepresentation SumOfChildrenDisaggregationFactor | 
|   { | 
|     AttributeKey: '[134266.1.852529]' | 
|     Conditional: | 
|     [ | 
|     ] | 
|     DataRepresentation.Default | 
|     { | 
|       FormatString: 'N(Dec(3))' | 
|       InheritFormatting: false | 
|     } | 
|   } | 
|   AttributeRepresentation SupplyQuantity | 
|   { | 
|     Alignment: 'Right' | 
|     AttributeKey: '[134266.1.852478]' | 
|     Synonym: 'Total supply' | 
|     Conditional: | 
|     [ | 
|       DataRepresentation.Conditional | 
|       { | 
|         BackgroundColor: '$99FFFF' | 
|         ConditionBody: 'object.HasUserCreatedSupply() or object.HasTotalSupplyUser()' | 
|         ConversionBody: '' | 
|         DefaultBackgroundColor: false | 
|         FormatString: 'N(Thousands,Dec(0))' | 
|         InheritConversion: false | 
|         InheritFormatting: false | 
|       } | 
|       DataRepresentation.Conditional | 
|       { | 
|         BackgroundColor: '$EBEBEB' | 
|         ConditionBody: 'object.IsPeriodFrozen()' | 
|         ConversionBody: '' | 
|         DefaultBackgroundColor: false | 
|         FormatString: 'N(Thousands,Dec(0))' | 
|         InheritConversion: false | 
|         InheritFormatting: false | 
|       } | 
|     ] | 
|     DataRepresentation.Default | 
|     { | 
|       FormatString: 'N(Thousands,Dec(0))' | 
|       InheritFormatting: false | 
|     } | 
|   } | 
|   AttributeRepresentation TargetInventoryLevel | 
|   { | 
|     Alignment: 'Right' | 
|     AttributeKey: '[134266.1.852565]' | 
|     Synonym: 'Target inventory' | 
|     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 | 
|     { | 
|       FormatString: 'N(Thousands,Dec(0))' | 
|       InheritFormatting: false | 
|     } | 
|   } | 
| } |