| Quintiq file version 2.0 | 
| #parent: #root | 
| EDIBroker SM_ExportBookmarksBroker | 
| { | 
|   MDSDefinition: ScenarioManager | 
|   EDIModelLink.Source InputBookmarksFromModel | 
|   { | 
|     EDIMLTable Bookmark | 
|     { | 
|       PrimaryKeyColumns: Name | 
|       TargetType: Bookmark | 
|       TypeIndex: BookmarkTypeIndex | 
|       EDIMLColumn IsFolder { Attribute: IsFolder ValueType: Boolean } | 
|       EDIMLColumn Name { Attribute: Name ValueType: String } | 
|       EDIMLColumn ParentName { Attribute: ParentName ValueType: String } | 
|     } | 
|     EDIMLTable BookmarkPeriodSpecificationElement | 
|     { | 
|       PrimaryKeyColumns: BookmarkName | 
|       PrimaryKeyColumns: PeriodSpecificationID | 
|       TargetType: BookmarkPeriodSpecificationElement | 
|       TypeIndex: BookmarkPeriodSpecificationTypeIndex | 
|       EDIMLColumn BookmarkName { Attribute: BookmarkName ValueType: String } | 
|       EDIMLColumn PeriodSpecificationID { Attribute: PeriodSpecificationID ValueType: String } | 
|     } | 
|     EDIMLTable BookmarkPeriodSpecificationPeriodElement | 
|     { | 
|       PrimaryKeyColumns: BookmarkName | 
|       PrimaryKeyColumns: PeriodEnd | 
|       PrimaryKeyColumns: PeriodSpecificationID | 
|       PrimaryKeyColumns: PeriodStart | 
|       TargetType: BookmarkPeriodSpecificationPeriodElement | 
|       TypeIndex: BookmarkPeriodSpecificationPeriodTypeIndex | 
|       EDIMLColumn BookmarkName { Attribute: BookmarkName ValueType: String } | 
|       EDIMLColumn PeriodEnd { Attribute: PeriodEnd ValueType: DateTime } | 
|       EDIMLColumn PeriodSpecificationID { Attribute: PeriodSpecificationID ValueType: String } | 
|       EDIMLColumn PeriodStart { Attribute: PeriodStart ValueType: DateTime } | 
|       EDIMLColumn UniqueIdentifier { Attribute: UniqueIdentifier ValueType: String } | 
|     } | 
|     EDIMLTable BookmarkProductElement | 
|     { | 
|       PrimaryKeyColumns: BookmarkName | 
|       PrimaryKeyColumns: ProductID | 
|       TargetType: BookmarkProductElement | 
|       TypeIndex: BookmarkProductTypeIndex | 
|       EDIMLColumn BookmarkName { Attribute: BookmarkName ValueType: String } | 
|       EDIMLColumn ProductID { Attribute: ProductID ValueType: String } | 
|     } | 
|     EDIMLTable BookmarkSalesSegmentElement | 
|     { | 
|       PrimaryKeyColumns: BookmarkName | 
|       PrimaryKeyColumns: SalesSegmentName | 
|       TargetType: BookmarkSalesSegmentElement | 
|       TypeIndex: BookmarkSalesSegmentTypeIndex | 
|       EDIMLColumn BookmarkName { Attribute: BookmarkName ValueType: String } | 
|       EDIMLColumn SalesSegmentName { Attribute: SalesSegmentName ValueType: String } | 
|     } | 
|     EDIMLTable BookmarkStockingPointElement | 
|     { | 
|       PrimaryKeyColumns: BookmarkName | 
|       PrimaryKeyColumns: StockingPointID | 
|       TargetType: BookmarkStockingPointElement | 
|       TypeIndex: BookmarkStockingPointTypeIndex | 
|       EDIMLColumn BookmarkName { Attribute: BookmarkName ValueType: String } | 
|       EDIMLColumn StockingPointID { Attribute: StockingPointID ValueType: String } | 
|     } | 
|     EDIMLTable BookmarkUnitElement | 
|     { | 
|       PrimaryKeyColumns: BookmarkName | 
|       PrimaryKeyColumns: UnitID | 
|       TargetType: BookmarkUnitElement | 
|       TypeIndex: BookmarkUnitTypeIndex | 
|       EDIMLColumn BookmarkName { Attribute: BookmarkName ValueType: String } | 
|       EDIMLColumn UnitID { Attribute: UnitID ValueType: String } | 
|     } | 
|   } | 
|   EDITransformation.Transformation TransformBookmarksForExport | 
|   { | 
|     EDITableTransformation | 
|     { | 
|       InputTable: Bookmark | 
|       OutputTable: Bookmarks_SM | 
|       EDIColumnMatch | 
|       { | 
|         InputColumn: IsFolder | 
|         OutputColumn: IsFolder | 
|       } | 
|       EDIColumnMatch | 
|       { | 
|         InputColumn: Name | 
|         OutputColumn: Name | 
|       } | 
|       EDIColumnMatch | 
|       { | 
|         InputColumn: ParentName | 
|         OutputColumn: ParentName | 
|       } | 
|     } | 
|     EDITableTransformation | 
|     { | 
|       InputTable: BookmarkPeriodSpecificationElement | 
|       OutputTable: BookmarkPeriodSpecElements_SM | 
|       EDIColumnMatch { InputColumn: BookmarkName OutputColumn: BookmarkName } | 
|       EDIColumnMatch { InputColumn: PeriodSpecificationID OutputColumn: PeriodSpecificationID } | 
|     } | 
|     EDITableTransformation | 
|     { | 
|       InputTable: BookmarkPeriodSpecificationPeriodElement | 
|       OutputTable: BookmarkPSPElements_SM | 
|       EDIColumnMatch { InputColumn: BookmarkName OutputColumn: BookmarkName } | 
|       EDIColumnMatch { InputColumn: PeriodEnd OutputColumn: PeriodEnd } | 
|       EDIColumnMatch { InputColumn: PeriodSpecificationID OutputColumn: PeriodSpecificationID } | 
|       EDIColumnMatch { InputColumn: PeriodStart OutputColumn: PeriodStart } | 
|       EDIColumnMatch { InputColumn: UniqueIdentifier OutputColumn: UniqueIdentifier } | 
|     } | 
|     EDITableTransformation | 
|     { | 
|       InputTable: BookmarkProductElement | 
|       OutputTable: BookmarkProductElements_SM | 
|       EDIColumnMatch | 
|       { | 
|         InputColumn: BookmarkName | 
|         OutputColumn: BookmarkName | 
|       } | 
|       EDIColumnMatch | 
|       { | 
|         InputColumn: ProductID | 
|         OutputColumn: ProductID | 
|       } | 
|     } | 
|     EDITableTransformation | 
|     { | 
|       InputTable: BookmarkSalesSegmentElement | 
|       OutputTable: BookmarkSalesSegmentElements_SM | 
|       EDIColumnMatch | 
|       { | 
|         InputColumn: BookmarkName | 
|         OutputColumn: BookmarkName | 
|       } | 
|       EDIColumnMatch | 
|       { | 
|         InputColumn: SalesSegmentName | 
|         OutputColumn: SalesSegmentName | 
|       } | 
|     } | 
|     EDITableTransformation | 
|     { | 
|       InputTable: BookmarkStockingPointElement | 
|       OutputTable: BookmarkStockingPointElements_SM | 
|       EDIColumnMatch | 
|       { | 
|         InputColumn: BookmarkName | 
|         OutputColumn: BookmarkName | 
|       } | 
|       EDIColumnMatch | 
|       { | 
|         InputColumn: StockingPointID | 
|         OutputColumn: StockingPointID | 
|       } | 
|     } | 
|     EDITableTransformation | 
|     { | 
|       InputTable: BookmarkUnitElement | 
|       OutputTable: BookmarkUnitElements_SM | 
|       EDIColumnMatch | 
|       { | 
|         InputColumn: BookmarkName | 
|         OutputColumn: BookmarkName | 
|       } | 
|       EDIColumnMatch | 
|       { | 
|         InputColumn: UnitID | 
|         OutputColumn: UnitID | 
|       } | 
|     } | 
|   } | 
|   EDIXLSLink.Destination OutputBookmarkToExcel | 
|   { | 
|     FileName: 'SM_Bookmarks' | 
|     EDIXLSLinkTable BookmarkPSPElements_SM | 
|     { | 
|       Columns: | 
|       [ | 
|         EDIXLSLinkColumn BookmarkName { ValueType: String } | 
|         EDIXLSLinkColumn PeriodEnd { ValueType: DateTime } | 
|         EDIXLSLinkColumn PeriodStart { ValueType: DateTime } | 
|         EDIXLSLinkColumn PeriodSpecificationID { ValueType: String } | 
|         EDIXLSLinkColumn UniqueIdentifier { ValueType: String } | 
|       ] | 
|     } | 
|     EDIXLSLinkTable BookmarkPeriodSpecElements_SM | 
|     { | 
|       Columns: | 
|       [ | 
|         EDIXLSLinkColumn BookmarkName { ValueType: String } | 
|         EDIXLSLinkColumn PeriodSpecificationID { ValueType: String } | 
|       ] | 
|     } | 
|     EDIXLSLinkTable BookmarkProductElements_SM | 
|     { | 
|       Columns: | 
|       [ | 
|         EDIXLSLinkColumn BookmarkName { ValueType: String } | 
|         EDIXLSLinkColumn ProductID { ValueType: String } | 
|       ] | 
|     } | 
|     EDIXLSLinkTable BookmarkSalesSegmentElements_SM | 
|     { | 
|       Columns: | 
|       [ | 
|         EDIXLSLinkColumn BookmarkName { ValueType: String } | 
|         EDIXLSLinkColumn SalesSegmentName { ValueType: String } | 
|       ] | 
|     } | 
|     EDIXLSLinkTable BookmarkStockingPointElements_SM | 
|     { | 
|       Columns: | 
|       [ | 
|         EDIXLSLinkColumn BookmarkName { ValueType: String } | 
|         EDIXLSLinkColumn StockingPointID { ValueType: String } | 
|       ] | 
|     } | 
|     EDIXLSLinkTable BookmarkUnitElements_SM | 
|     { | 
|       Columns: | 
|       [ | 
|         EDIXLSLinkColumn BookmarkName { ValueType: String } | 
|         EDIXLSLinkColumn UnitID { ValueType: String } | 
|       ] | 
|     } | 
|     EDIXLSLinkTable Bookmarks_SM | 
|     { | 
|       Columns: | 
|       [ | 
|         EDIXLSLinkColumn IsFolder { ValueType: Boolean } | 
|         EDIXLSLinkColumn Name { ValueType: String } | 
|         EDIXLSLinkColumn ParentName { ValueType: String } | 
|       ] | 
|     } | 
|   } | 
| } |