| Quintiq file version 2.0 | 
| #parent: #root | 
| EDIBroker MPSync_ImportPeriodsFromExcelBroker | 
| { | 
|   MDSDefinition: MPSync | 
|   EDIModelLink.Destination MPSync_DestinationPeriodsForExcelImport | 
|   { | 
|     SettingsEngineLink: 'domainmodel.ediremotedatasourcedefinition.remotestorage.outputperioddefinitionstomodel' | 
|     EDIMLTable IOPeriodParameter_MP | 
|     { | 
|       PrimaryKeyColumns: ID | 
|       TargetType: IOPeriodParameter_MP | 
|       TypeIndex: IOPeriodParameterTypeIndex | 
|       EDIMLColumn ID { Attribute: ID ValueType: String } | 
|       EDIMLColumn StartOfPlanning { Attribute: StartOfPlanning ValueType: DateTime } | 
|     } | 
|     EDIMLTable IOPeriodSpecification_MP | 
|     { | 
|       PrimaryKeyColumns: ID | 
|       TargetType: IOPeriodSpecification_MP | 
|       TypeIndex: IOPeriodSpecificationTypeIndex | 
|       EDIMLColumn ID { Attribute: ID ValueType: String } | 
|       EDIMLColumn IsUsedForPlanning { Attribute: IsUsedForPlanning ValueType: Boolean } | 
|       EDIMLColumn NrOfFuturePeriod { Attribute: NrOfFuturePeriod ValueType: Number } | 
|       EDIMLColumn NrOfHistoricalPeriod { Attribute: NrOfHistoricalPeriod ValueType: Number } | 
|       EDIMLColumn NrOfTimeUnit { Attribute: NrOfTimeUnit ValueType: Number } | 
|       EDIMLColumn PeriodAlignment { Attribute: PeriodAlignment ValueType: DateTime } | 
|       EDIMLColumn TimeUnit { Attribute: TimeUnit ValueType: String } | 
|     } | 
|   } | 
|   EDITransformation.Transformation MPSync_TransformationPeriodsForExcelImport | 
|   { | 
|     EDITableTransformation | 
|     { | 
|       InputTable: PeriodParameters_MP | 
|       OutputTable: IOPeriodParameter_MP | 
|       EDIColumnMatch { InputColumn: ID OutputColumn: ID } | 
|       EDIColumnMatch { InputColumn: StartOPlanning OutputColumn: StartOfPlanning } | 
|     } | 
|     EDITableTransformation | 
|     { | 
|       InputTable: PeriodSpecifications_MP | 
|       OutputTable: IOPeriodSpecification_MP | 
|       EDIColumnMatch { InputColumn: ID OutputColumn: ID } | 
|       EDIColumnMatch { InputColumn: IsUsedForPlanning OutputColumn: IsUsedForPlanning } | 
|       EDIColumnMatch { InputColumn: NrOfFuturePeriod OutputColumn: NrOfFuturePeriod } | 
|       EDIColumnMatch { InputColumn: NrOfHistoricalPeriod OutputColumn: NrOfHistoricalPeriod } | 
|       EDIColumnMatch { InputColumn: NrOfTimeUnit OutputColumn: NrOfTimeUnit } | 
|       EDIColumnMatch { InputColumn: PeriodAlignment OutputColumn: PeriodAlignment } | 
|       EDIColumnMatch { InputColumn: TimeUnit OutputColumn: TimeUnit } | 
|     } | 
|   } | 
|   EDIXLSLink.Source MPSync_SourceInputPeriodsForExcelImport | 
|   { | 
|     FileName: 'MP_Periods.xlsx' | 
|     SettingsEngineLink: 'domainmodel.ediremotedatasourcedefinition.remotestorage.inputperioddefinitionsfromexcel' | 
|     EDIXLSLinkTable PeriodParameters_MP | 
|     { | 
|       Columns: | 
|       [ | 
|         EDIXLSLinkColumn ID { ValueType: String } | 
|         EDIXLSLinkColumn StartOPlanning { ValueType: DateTime } | 
|       ] | 
|     } | 
|     EDIXLSLinkTable PeriodSpecifications_MP | 
|     { | 
|       Columns: | 
|       [ | 
|         EDIXLSLinkColumn ID { ValueType: String } | 
|         EDIXLSLinkColumn NrOfFuturePeriod { ValueType: Number } | 
|         EDIXLSLinkColumn NrOfHistoricalPeriod { ValueType: Number } | 
|         EDIXLSLinkColumn NrOfTimeUnit { ValueType: Number } | 
|         EDIXLSLinkColumn PeriodAlignment { ValueType: DateTime } | 
|         EDIXLSLinkColumn TimeUnit { ValueType: String } | 
|         EDIXLSLinkColumn IsUsedForPlanning { ValueType: Boolean } | 
|       ] | 
|     } | 
|   } | 
| } |