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
Quintiq file version 2.0
#parent: #root
EDIBroker MP_ImportPeriodsBroker
{
  MDSDefinition: MacroPlan
  EDIModelLink.Destination OutputPeriodsToModel
  {
    SettingsEngineLink: 'domainmodel.ediremotedatasourcedefinition.remotestorage.outputperioddefinitionstomodel'
    EDIMLTable PeriodParameter_MP
    {
      PrimaryKeyColumns: ID
      TargetType: PeriodParameter_MP
      TypeIndex: PeriodParameterTypeIndex
      EDIMLColumn StartOPlanning { Attribute: StartOfPlanning ValueType: DateTime }
      EDIMLColumn ID { Attribute: ID ValueType: String }
    }
    EDIMLTable PeriodSpecification_MP
    {
      PrimaryKeyColumns: ID
      TargetType: PeriodSpecification_MP
      TypeIndex: PeriodSpecificationTypeIndex
      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 }
    }
  }
  EDITransformation.Transformation TransformPeriodsForImport
  {
    EDITableTransformation
    {
      InputTable: PeriodParameters_MP
      OutputTable: PeriodParameter_MP
      EDIColumnMatch
      {
        InputColumn: ID
        OutputColumn: ID
      }
      EDIColumnMatch
      {
        InputColumn: StartOPlanning
        OutputColumn: StartOPlanning
      }
    }
    EDITableTransformation
    {
      InputTable: PeriodSpecifications_MP
      OutputTable: PeriodSpecification_MP
      EDIColumnMatch { InputColumn: IsUsedForPlanning OutputColumn: IsUsedForPlanning }
      EDIColumnMatch
      {
        InputColumn: PeriodAlignment
        OutputColumn: PeriodAlignment
      }
      EDIColumnMatch
      {
        InputColumn: NrOfTimeUnit
        OutputColumn: NrOfTimeUnit
      }
      EDIColumnMatch
      {
        InputColumn: NrOfHistoricalPeriod
        OutputColumn: NrOfHistoricalPeriod
      }
      EDIColumnMatch
      {
        InputColumn: NrOfFuturePeriod
        OutputColumn: NrOfFuturePeriod
      }
      EDIColumnMatch
      {
        InputColumn: ID
        OutputColumn: ID
      }
      EDIColumnMatch
      {
        InputColumn: TimeUnit
        OutputColumn: TimeUnit
      }
    }
  }
  EDIXLSLink.Source InputPeriodsFromExcel
  {
    FileName: 'MP_Periods.xlsx'
    SettingsEngineLink: 'domainmodel.ediremotedatasourcedefinition.remotestorage.inputperioddefinitionsfromexcel'
    EDIXLSLinkTable PeriodParameters_MP
    {
      Columns:
      [
        EDIXLSLinkColumn ID { ValueType: String }
        EDIXLSLinkColumn StartOPlanning { ValueType: DateTime }
      ]
    }
    EDIXLSLinkTable PeriodSpecifications_MP
    {
      Columns:
      [
        EDIXLSLinkColumn ID { ValueType: String }
        EDIXLSLinkColumn NrOfFuturePeriod { ValueType: Number }
        EDIXLSLinkColumn NrOfHistoricalPeriod { ValueType: Number }
        EDIXLSLinkColumn NrOfTimeUnit { ValueType: Number }
        EDIXLSLinkColumn PeriodAlignment { ValueType: DateTime }
        EDIXLSLinkColumn TimeUnit { ValueType: String }
        EDIXLSLinkColumn IsUsedForPlanning { ValueType: String }
      ]
    }
  }
}