Quintiq file version 2.0 
 | 
#parent: #root 
 | 
EDIBroker MPSync_ImportSupplySpecificationsFromExcelBroker 
 | 
{ 
 | 
  MDSDefinition: MPSync 
 | 
  EDIModelLink.Destination MPSync_DestinationSupplySpecificationsForExcelImport 
 | 
  { 
 | 
    SettingsEngineLink: 'domainmodel.ediremotedatasourcedefinition.remotestorage.outputsupplyspecificationstomodel' 
 | 
    EDIMLTable IOSupplySpecification 
 | 
    { 
 | 
      PrimaryKeyColumns: End 
 | 
      PrimaryKeyColumns: ProductID 
 | 
      PrimaryKeyColumns: Start 
 | 
      PrimaryKeyColumns: UnitID 
 | 
      TargetType: IOSupplySpecification 
 | 
      TypeIndex: IOSupplySpecificationTypeIndex 
 | 
      EDIMLColumn End { Attribute: End ValueType: DateTime } 
 | 
      EDIMLColumn HasMaxQuantity { Attribute: HasMaxQuantity ValueType: Boolean } 
 | 
      EDIMLColumn MaxQuantity { Attribute: MaxQuantity ValueType: Real } 
 | 
      EDIMLColumn MinQuantity { Attribute: MinQuantity ValueType: Real } 
 | 
      EDIMLColumn ProductID { Attribute: ProductID ValueType: String } 
 | 
      EDIMLColumn Start { Attribute: Start ValueType: DateTime } 
 | 
      EDIMLColumn TargetQuantity { Attribute: TargetQuantity ValueType: Real } 
 | 
      EDIMLColumn UnitID { Attribute: UnitID ValueType: String } 
 | 
    } 
 | 
  } 
 | 
  EDITransformation.Transformation MPSync_TransformationSupplySpecificationsForExcelImport 
 | 
  { 
 | 
    EDITableTransformation 
 | 
    { 
 | 
      InputTable: SupplySpecifications_MP 
 | 
      OutputTable: IOSupplySpecification 
 | 
      EDIColumnMatch { InputColumn: End OutputColumn: End } 
 | 
      EDIColumnMatch { InputColumn: HasMaxQuantity OutputColumn: HasMaxQuantity } 
 | 
      EDIColumnMatch { InputColumn: MaxQuantity OutputColumn: MaxQuantity } 
 | 
      EDIColumnMatch { InputColumn: MinQuantity OutputColumn: MinQuantity } 
 | 
      EDIColumnMatch { InputColumn: ProductID OutputColumn: ProductID } 
 | 
      EDIColumnMatch { InputColumn: Start OutputColumn: Start } 
 | 
      EDIColumnMatch { InputColumn: TargetQuantity OutputColumn: TargetQuantity } 
 | 
      EDIColumnMatch { InputColumn: UnitID OutputColumn: UnitID } 
 | 
    } 
 | 
  } 
 | 
  EDIXLSLink.Source MPSync_SourceInputSupplySpecificationsForExcelImport 
 | 
  { 
 | 
    FileName: 'MP_SupplySpecifications.xlsx' 
 | 
    SettingsEngineLink: 'domainmodel.ediremotedatasourcedefinition.remotestorage.inputsupplyspecificationsfromexcel' 
 | 
    EDIXLSLinkTable SupplySpecifications_MP 
 | 
    { 
 | 
      Columns: 
 | 
      [ 
 | 
        EDIXLSLinkColumn End { ValueType: DateTime } 
 | 
        EDIXLSLinkColumn HasMaxQuantity { ValueType: Boolean } 
 | 
        EDIXLSLinkColumn MaxQuantity { ValueType: Real } 
 | 
        EDIXLSLinkColumn MinQuantity { ValueType: Real } 
 | 
        EDIXLSLinkColumn ProductID { ValueType: String } 
 | 
        EDIXLSLinkColumn Start { ValueType: DateTime } 
 | 
        EDIXLSLinkColumn TargetQuantity { ValueType: Real } 
 | 
        EDIXLSLinkColumn UnitID { ValueType: String } 
 | 
      ] 
 | 
    } 
 | 
  } 
 | 
} 
 |