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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
Quintiq file version 2.0
#parent: #root
EDIBroker MPSync_ImportPeriodsFromDBBroker
{
  MDSDefinition: MPSync
  EDIModelLink.Destination MPSync_DestinationPeriodsForImport
  {
    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 }
    }
  }
  EDIODBCLink.Source MPSync_SourcePeriodsForImport
  {
    DataIntegrityStrategy: 'Disabled'
    SettingsEngineLink: 'domainmodel.ediremotedatasourcedefinition.remotestorage.syncobject'
    EDIODBCLinkTable PeriodParameters
    {
      OthersMayCreateTable: true
      OthersMayDeleteRow: true
      OthersMayDropTable: true
      OthersMayFlushTable: true
      OthersMayInsertRow: true
      Parameters: '/owner="dbo"'
      PrimaryKeyColumns: ID
      RecordModificationHintStrategy: 'None'
      EDIODBCLinkColumn ID
      {
        OthersMayUpdateColumn: true
        ValueType: String
      }
      EDIODBCLinkColumn StartOfPlanning
      {
        OthersMayUpdateColumn: true
        ValueType: DateTime
      }
    }
    EDIODBCLinkTable PeriodSpecifications
    {
      OthersMayCreateTable: true
      OthersMayDeleteRow: true
      OthersMayDropTable: true
      OthersMayFlushTable: true
      OthersMayInsertRow: true
      Parameters: '/owner="dbo"'
      PrimaryKeyColumns: ID
      RecordModificationHintStrategy: 'None'
      EDIODBCLinkColumn ID
      {
        OthersMayUpdateColumn: true
        ValueType: String
      }
      EDIODBCLinkColumn IsInHour
      {
        OthersMayUpdateColumn: true
        ValueType: String
      }
      EDIODBCLinkColumn IsUsedForPlanning
      {
        ValueType: Boolean
      }
      EDIODBCLinkColumn NrOfFuturePeriod
      {
        OthersMayUpdateColumn: true
        ValueType: Number
      }
      EDIODBCLinkColumn NrOfHistoricalPeriod
      {
        OthersMayUpdateColumn: true
        ValueType: Number
      }
      EDIODBCLinkColumn NrOfTimeUnit
      {
        OthersMayUpdateColumn: true
        ValueType: Number
      }
      EDIODBCLinkColumn PeriodAlignment
      {
        OthersMayUpdateColumn: true
        ValueType: DateTime
      }
      EDIODBCLinkColumn TimeUnit
      {
        OthersMayUpdateColumn: true
        ValueType: String
      }
    }
  }
  EDITransformation.Transformation MPSync_TransformPeriodsForImport
  {
    EDITableTransformation
    {
      InputTable: PeriodParameters
      OutputTable: IOPeriodParameter_MP
      EDIColumnMatch { InputColumn: ID OutputColumn: ID }
      EDIColumnMatch { InputColumn: StartOfPlanning OutputColumn: StartOfPlanning }
    }
    EDITableTransformation
    {
      InputTable: PeriodSpecifications
      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 }
    }
  }
}