Quintiq file version 2.0 
 | 
#parent: #root 
 | 
EDIBroker MP_ExportCurrenciesBroker 
 | 
{ 
 | 
  MDSDefinition: MacroPlan 
 | 
  EDIModelLink.Source InputCurrenciesFromModel 
 | 
  { 
 | 
    SettingsEngineLink: 'domainmodel.ediremotedatasourcedefinition.remotestorage.inputcurrenciesfrommodel' 
 | 
    EDIMLTable CurrencyRate_MP 
 | 
    { 
 | 
      PrimaryKeyColumns: CurrencyID 
 | 
      PrimaryKeyColumns: Start 
 | 
      TargetType: CurrencyRate_MP 
 | 
      TypeIndex: CurrencyRateTypeIndex 
 | 
      EDIMLColumn CurrencyID { Attribute: CurrencyID ValueType: String } 
 | 
      EDIMLColumn Rate { Attribute: Rate ValueType: Real } 
 | 
      EDIMLColumn Start { Attribute: Start ValueType: Date } 
 | 
    } 
 | 
    EDIMLTable Currency_MP 
 | 
    { 
 | 
      PrimaryKeyColumns: ID 
 | 
      TargetType: Currency_MP 
 | 
      TypeIndex: CurrencyTypeIndex 
 | 
      EDIMLColumn ID { Attribute: ID ValueType: String } 
 | 
      EDIMLColumn IsBase { Attribute: IsBase ValueType: Boolean } 
 | 
      EDIMLColumn Name { Attribute: Name ValueType: String } 
 | 
      EDIMLColumn Symbol { Attribute: Symbol ValueType: String } 
 | 
    } 
 | 
  } 
 | 
  EDITransformation.Transformation TransformCurrenciesForExport 
 | 
  { 
 | 
    EDITableTransformation 
 | 
    { 
 | 
      InputTable: CurrencyRate_MP 
 | 
      OutputTable: CurrencyRates_MP 
 | 
      EDIColumnMatch 
 | 
      { 
 | 
        InputColumn: Rate 
 | 
        OutputColumn: Rate 
 | 
      } 
 | 
      EDIColumnMatch 
 | 
      { 
 | 
        InputColumn: CurrencyID 
 | 
        OutputColumn: CurrencyID 
 | 
      } 
 | 
      EDIColumnMatch 
 | 
      { 
 | 
        InputColumn: Start 
 | 
        OutputColumn: Start 
 | 
      } 
 | 
    } 
 | 
    EDITableTransformation 
 | 
    { 
 | 
      InputTable: Currency_MP 
 | 
      OutputTable: Currencies_MP 
 | 
      EDIColumnMatch 
 | 
      { 
 | 
        InputColumn: ID 
 | 
        OutputColumn: ID 
 | 
      } 
 | 
      EDIColumnMatch { InputColumn: IsBase OutputColumn: IsBase } 
 | 
      EDIColumnMatch 
 | 
      { 
 | 
        InputColumn: Name 
 | 
        OutputColumn: Name 
 | 
      } 
 | 
      EDIColumnMatch 
 | 
      { 
 | 
        InputColumn: Symbol 
 | 
        OutputColumn: Symbol 
 | 
      } 
 | 
    } 
 | 
  } 
 | 
  EDIXLSLink.Destination OutputCurrenciesToExcel 
 | 
  { 
 | 
    FileName: 'MP_Currencies' 
 | 
    SettingsEngineLink: 'domainmodel.ediremotedatasourcedefinition.remotestorage.outputcurrenciestoexcel' 
 | 
    EDIXLSLinkTable Currencies_MP 
 | 
    { 
 | 
      Columns: 
 | 
      [ 
 | 
        EDIXLSLinkColumn ID { ValueType: String } 
 | 
        EDIXLSLinkColumn Name { ValueType: String } 
 | 
        EDIXLSLinkColumn Symbol { ValueType: String } 
 | 
        EDIXLSLinkColumn IsBase { ValueType: Boolean } 
 | 
      ] 
 | 
    } 
 | 
    EDIXLSLinkTable CurrencyRates_MP 
 | 
    { 
 | 
      Columns: 
 | 
      [ 
 | 
        EDIXLSLinkColumn CurrencyID { ValueType: String } 
 | 
        EDIXLSLinkColumn Rate { ValueType: Real } 
 | 
        EDIXLSLinkColumn Start { ValueType: Date } 
 | 
      ] 
 | 
    } 
 | 
  } 
 | 
} 
 |