lazhen
2024-10-29 4419b51e5cfed824ca592ae5cba7654994ee005d
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
Quintiq file version 2.0
#parent: #root
EDIBroker RB_DispatchShiftPlanBroker
{
  MDSDefinition: RecycleBin
  TimeZone: 'ACT'
  UseOSTimeZone: false
  EDIModelLink.Source DispatchShiftPlanSource
  {
    EDIMLTable DispatchShiftPlan
    {
      TargetType: DispatchShiftPlan
      EDIMLColumn Fac { Attribute: Fac ValueType: String }
      EDIMLColumn FactoryName { Attribute: FactoryName ValueType: String }
      EDIMLColumn ID { Attribute: ID ValueType: String }
      EDIMLColumn InterfaceTime { Attribute: InterfaceTime ValueType: DateTime }
      EDIMLColumn ProductLine { Attribute: ProductLine ValueType: String }
      EDIMLColumn ShiftDate { Attribute: ShiftDate ValueType: Date }
      EDIMLColumn Tips { Attribute: Tips ValueType: String }
      EDIMLColumn VersionFlag { Attribute: VersionFlag ValueType: String }
      EDIMLColumn VersionName { Attribute: VersionName ValueType: String }
    }
  }
  EDIODBCLink.Destination DispatchShiftPlanDestination
  {
    DataIntegrityStrategy: 'Disabled'
    SettingsEngineLink: 'domainmodel.ediremotedatasourcedefinition.remotestorage.vwed'
    EDIODBCLinkTable A_DispatchShiftPlan
    {
      MayCreateTable: true
      MayDeleteRow: true
      MayDropTable: true
      MayFlushTable: true
      MayInsertRow: true
      Parameters: '/owner="dbo"'
      PrimaryKeyColumns: ID
      RecordModificationHintStrategy: 'None'
      EDIODBCLinkColumn Fac
      {
        MayUpdateColumn: true
        ValueType: String
      }
      EDIODBCLinkColumn FactoryName
      {
        MayUpdateColumn: true
        ValueType: String
      }
      EDIODBCLinkColumn ID
      {
        MayUpdateColumn: true
        ValueType: String
      }
      EDIODBCLinkColumn InterfaceTime
      {
        MayUpdateColumn: true
        ValueType: DateTime
      }
      EDIODBCLinkColumn ProductLine
      {
        MayUpdateColumn: true
        ValueType: String
      }
      EDIODBCLinkColumn ShiftDate
      {
        MayUpdateColumn: true
        ValueType: DateTime
      }
      EDIODBCLinkColumn Tips
      {
        MayUpdateColumn: true
        ValueType: String
      }
      EDIODBCLinkColumn VersionFlag
      {
        MayUpdateColumn: true
        ValueType: String
      }
      EDIODBCLinkColumn VersionName
      {
        MayUpdateColumn: true
        ValueType: String
      }
    }
  }
  EDITransformation.Transformation DispatchShiftPlanTransformation
  {
    EDITableTransformation
    {
      InputTable: DispatchShiftPlan
      OutputTable: A_DispatchShiftPlan
      EDIColumnMatch { InputColumn: Fac OutputColumn: Fac }
      EDIColumnMatch { InputColumn: FactoryName OutputColumn: FactoryName }
      EDIColumnMatch { InputColumn: ID OutputColumn: ID }
      EDIColumnMatch { InputColumn: InterfaceTime OutputColumn: InterfaceTime }
      EDIColumnMatch { InputColumn: ProductLine OutputColumn: ProductLine }
      EDIColumnMatch
      {
        InputColumn: ShiftDate
        OutputColumn: ShiftDate
        Converter
        {
          XMLDefinition:
          [*
            <?xml version="1.0" encoding="UTF-16"?>
            <DateToDateTime xmlns="http://www.quintiq.com/GEB/DateToDateTime" Key="@1">
              <IsStandard>true</IsStandard>
              <IsISO>false</IsISO>
              <IsCustom>false</IsCustom>
              <ConversionType>0</ConversionType>
            </DateToDateTime>
          *]
        }
      }
      EDIColumnMatch { InputColumn: Tips OutputColumn: Tips }
      EDIColumnMatch { InputColumn: VersionFlag OutputColumn: VersionFlag }
      EDIColumnMatch { InputColumn: VersionName OutputColumn: VersionName }
    }
  }
}