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
Quintiq file version 2.0
#parent: #root
EDIBroker MPSync_ImportPeriodsFromExcelBroker
{
  MDSDefinition: MPSync
  EDIModelLink.Destination MPSync_DestinationPeriodsForExcelImport
  {
    SettingsEngineLink: 'domainmodel.ediremotedatasourcedefinition.remotestorage.outputperioddefinitionstomodel'
    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 }
    }
  }
  EDITransformation.Transformation MPSync_TransformationPeriodsForExcelImport
  {
    EDITableTransformation
    {
      InputTable: PeriodParameters_MP
      OutputTable: IOPeriodParameter_MP
      EDIColumnMatch { InputColumn: ID OutputColumn: ID }
      EDIColumnMatch { InputColumn: StartOPlanning OutputColumn: StartOfPlanning }
    }
    EDITableTransformation
    {
      InputTable: PeriodSpecifications_MP
      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 }
    }
  }
  EDIXLSLink.Source MPSync_SourceInputPeriodsForExcelImport
  {
    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: Boolean }
      ]
    }
  }
}