Quintiq file version 2.0 
 | 
#parent: #root 
 | 
EDIBroker MP_ExportSupplySpecificationsBroker 
 | 
{ 
 | 
  MDSDefinition: MacroPlan 
 | 
  EDIModelLink.Source InputSupplySpecificationsFromModel 
 | 
  { 
 | 
    SettingsEngineLink: 'domainmodel.ediremotedatasourcedefinition.remotestorage.inputsupplyspecificationsfrommodel' 
 | 
    EDIMLTable SupplySpecification 
 | 
    { 
 | 
      PrimaryKeyColumns: End 
 | 
      PrimaryKeyColumns: ProductID 
 | 
      PrimaryKeyColumns: Start 
 | 
      PrimaryKeyColumns: UnitID 
 | 
      TargetType: SupplySpecification 
 | 
      TypeIndex: SupplySpecificationTypeIndex 
 | 
      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 TransformSupplySpecificationsForExport 
 | 
  { 
 | 
    EDITableTransformation 
 | 
    { 
 | 
      InputTable: SupplySpecification 
 | 
      OutputTable: SupplySpecifications_MP 
 | 
      EDIColumnMatch 
 | 
      { 
 | 
        InputColumn: MinQuantity 
 | 
        OutputColumn: MinQuantity 
 | 
      } 
 | 
      EDIColumnMatch 
 | 
      { 
 | 
        InputColumn: HasMaxQuantity 
 | 
        OutputColumn: HasMaxQuantity 
 | 
      } 
 | 
      EDIColumnMatch 
 | 
      { 
 | 
        InputColumn: MaxQuantity 
 | 
        OutputColumn: MaxQuantity 
 | 
      } 
 | 
      EDIColumnMatch 
 | 
      { 
 | 
        InputColumn: UnitID 
 | 
        OutputColumn: UnitID 
 | 
      } 
 | 
      EDIColumnMatch 
 | 
      { 
 | 
        InputColumn: Start 
 | 
        OutputColumn: Start 
 | 
      } 
 | 
      EDIColumnMatch 
 | 
      { 
 | 
        InputColumn: End 
 | 
        OutputColumn: End 
 | 
      } 
 | 
      EDIColumnMatch 
 | 
      { 
 | 
        InputColumn: ProductID 
 | 
        OutputColumn: ProductID 
 | 
      } 
 | 
      EDIColumnMatch 
 | 
      { 
 | 
        InputColumn: TargetQuantity 
 | 
        OutputColumn: TargetQuantity 
 | 
      } 
 | 
    } 
 | 
  } 
 | 
  EDIXLSLink.Destination OutputSupplySpecificationsToExcel 
 | 
  { 
 | 
    FileName: 'MP_SupplySpecifications' 
 | 
    SettingsEngineLink: 'domainmodel.ediremotedatasourcedefinition.remotestorage.outputsupplyspecificationstoexcel' 
 | 
    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 } 
 | 
      ] 
 | 
    } 
 | 
  } 
 | 
} 
 |