yanweiyuan3
2023-08-09 588bc7829387dfc761cc25f06f77d4c81818bd10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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 }
      ]
    }
  }
}