-
Notifications
You must be signed in to change notification settings - Fork 0
/
PopulatePersonVacationLeave.dtsx
252 lines (252 loc) · 12.5 KB
/
PopulatePersonVacationLeave.dtsx
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
<?xml version="1.0"?>
<DTS:Executable xmlns:DTS="www.microsoft.com/SqlServer/Dts"
DTS:refId="Package"
DTS:CreationDate="7/28/2017 2:15:09 PM"
DTS:CreationName="SSIS.Package.3"
DTS:CreatorComputerName="ODS"
DTS:CreatorName="ACADEMIC\webserv"
DTS:DTSID="{19DB2A99-E37C-43F7-AE00-0893DC94FF6D}"
DTS:ExecutableType="SSIS.Package.3"
DTS:LastModifiedProductVersion="11.0.5058.0"
DTS:LocaleID="1033"
DTS:ObjectName="PopulatePersonVacationLeave"
DTS:PackageType="5"
DTS:VersionBuild="16"
DTS:VersionGUID="{D5E92DF9-FD93-418E-B90D-E7DD062E405E}">
<DTS:Property
DTS:Name="PackageFormatVersion">6</DTS:Property>
<DTS:ConnectionManagers>
<DTS:ConnectionManager
DTS:refId="Package.ConnectionManagers[ods.ODS_Reporting]"
DTS:CreationName="OLEDB"
DTS:DTSID="{F4057983-6826-46D9-9F91-122A54776301}"
DTS:ObjectName="ods.ODS_Reporting">
<DTS:ObjectData>
<DTS:ConnectionManager
DTS:ConnectionString="Data Source=ods;Initial Catalog=ODS_Reporting;Provider=SQLNCLI11.1;Integrated Security=SSPI;Auto Translate=False;" />
</DTS:ObjectData>
</DTS:ConnectionManager>
<DTS:ConnectionManager
DTS:refId="Package.ConnectionManagers[ODS.ODS_Reporting1]"
DTS:CreationName="ADO.NET:System.Data.SqlClient.SqlConnection, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
DTS:DTSID="{031CF5C1-A984-4152-AB19-4122CA87ED72}"
DTS:ObjectName="ODS.ODS_Reporting1">
<DTS:ObjectData>
<DTS:ConnectionManager
DTS:ConnectionString="Data Source=ODS;Initial Catalog=ODS_Reporting;Integrated Security=True;Application Name=SSIS-PopulatePersonVacationLeave-{031CF5C1-A984-4152-AB19-4122CA87ED72}ODS.ODS_Reporting1;" />
</DTS:ObjectData>
</DTS:ConnectionManager>
<DTS:ConnectionManager
DTS:refId="Package.ConnectionManagers[SMTP Connection Manager]"
DTS:CreationName="SMTP"
DTS:DTSID="{684BBAC4-98C0-4190-B66B-4E90468048BE}"
DTS:ObjectName="SMTP Connection Manager">
<DTS:ObjectData>
<SmtpConnectionManager
ConnectionString="SmtpServer=receive.roanoke.edu;UseWindowsAuthentication=False;EnableSsl=False;" />
</DTS:ObjectData>
</DTS:ConnectionManager>
</DTS:ConnectionManagers>
<DTS:Variables />
<DTS:Executables>
<DTS:Executable
DTS:refId="Package\Data didnt Load"
DTS:CreationName="Microsoft.SqlServer.Dts.Tasks.SendMailTask.SendMailTask, Microsoft.SqlServer.SendMailTask, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
DTS:Description="Send Mail Task"
DTS:Disabled="True"
DTS:DTSID="{c2ee8d15-bc4b-48f4-804b-92ee75104f5d}"
DTS:ExecutableType="Microsoft.SqlServer.Dts.Tasks.SendMailTask.SendMailTask, Microsoft.SqlServer.SendMailTask, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
DTS:LocaleID="-1"
DTS:ObjectName="Data didnt Load"
DTS:TaskContact="Send Mail Task; Microsoft Corporation; SQL Server 2012; © 2007 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1"
DTS:ThreadHint="0">
<DTS:Variables />
<DTS:ObjectData>
<SendMailTask:SendMailTaskData
SendMailTask:SMTPServer="{684BBAC4-98C0-4190-B66B-4E90468048BE}"
SendMailTask:From="gabrielson@roanoke.edu"
SendMailTask:To="gabrielson@roanoke.edu"
SendMailTask:CC="datamart@roanoke.edu"
SendMailTask:Subject="Populate Vacation Leave"
SendMailTask:MessageSource="Oh, no! Something went wrong in the POpulate Vacation Leave Package on ODS, please troubleshoot." xmlns:SendMailTask="www.microsoft.com/sqlserver/dts/tasks/sendmailtask" />
</DTS:ObjectData>
</DTS:Executable>
<DTS:Executable
DTS:refId="Package\Execute SQL Task"
DTS:CreationName="Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask, Microsoft.SqlServer.SQLTask, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
DTS:Description="Execute SQL Task"
DTS:DTSID="{C5EBA704-E1EC-48DC-AFEE-574B419B3095}"
DTS:ExecutableType="Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask, Microsoft.SqlServer.SQLTask, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
DTS:LocaleID="-1"
DTS:ObjectName="Execute SQL Task"
DTS:TaskContact="Execute SQL Task; Microsoft Corporation; SQL Server 2012; © 2007 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1"
DTS:ThreadHint="0">
<DTS:Variables />
<DTS:ObjectData>
<SQLTask:SqlTaskData
SQLTask:Connection="{F4057983-6826-46D9-9F91-122A54776301}"
SQLTask:BypassPrepare="False"
SQLTask:SqlStatementSource="DELETE FROM sandbox.STAGING.dbo.Person_Vacation_Sick_Leave;" xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" />
</DTS:ObjectData>
</DTS:Executable>
<DTS:Executable
DTS:refId="Package\Execute SQL Task 1"
DTS:CreationName="Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask, Microsoft.SqlServer.SQLTask, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
DTS:Description="Execute SQL Task"
DTS:DTSID="{0771C687-592B-4B2C-A569-E2A407C8DD7D}"
DTS:ExecutableType="Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask, Microsoft.SqlServer.SQLTask, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
DTS:LocaleID="-1"
DTS:ObjectName="Execute SQL Task 1"
DTS:TaskContact="Execute SQL Task; Microsoft Corporation; SQL Server 2012; © 2007 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1"
DTS:ThreadHint="0">
<DTS:Variables />
<DTS:ObjectData>
<SQLTask:SqlTaskData
SQLTask:Connection="{F4057983-6826-46D9-9F91-122A54776301}"
SQLTask:BypassPrepare="False"
SQLTask:SqlStatementSource="INSERT INTO sandbox.STAGING.dbo.Person_Vacation_Sick_Leave

SELECT 
	PERLEAVE_ID,
	PLA_ACCRUAL_HOURS,
	PLA_ACCRUAL_LIMIT,
	PLA_END_DATE,
	LEAVE_CODE_DESC,
	LEAVE_PLAN_TYPE,
	LEAVE_PLAN_TYPE_DESC,
	PLA_HRP_ID,
	PLA_LPN_ID,
	PLA_MOVR_ACCRUAL_HOURS,
	PLA_MOVR_ACCRUAL_LIMIT,
	PLA_PERLEAVE_ID,
	PLA_START_DATE,
	PERLV_BALANCE

FROM ODS_Reporting.dbo.view_Person_Vacation_Sick_Leave 
 
;" xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" />
</DTS:ObjectData>
</DTS:Executable>
</DTS:Executables>
<DTS:PrecedenceConstraints>
<DTS:PrecedenceConstraint
DTS:refId="Package.PrecedenceConstraints[Constraint]"
DTS:CreationName=""
DTS:DTSID="{541C2744-B2B8-4168-993C-00F92228AC3C}"
DTS:From="Package\Execute SQL Task"
DTS:LogicalAnd="True"
DTS:ObjectName="Constraint"
DTS:To="Package\Execute SQL Task 1" />
<DTS:PrecedenceConstraint
DTS:refId="Package.PrecedenceConstraints[Constraint 1]"
DTS:CreationName=""
DTS:DTSID="{1A012D46-FA4F-4E2C-8CAA-BD9306456F3D}"
DTS:From="Package\Execute SQL Task 1"
DTS:LogicalAnd="True"
DTS:ObjectName="Constraint 1"
DTS:To="Package\Data didnt Load"
DTS:Value="1" />
</DTS:PrecedenceConstraints>
<DTS:DesignTimeProperties><![CDATA[<?xml version="1.0"?>
<!--This CDATA section contains the layout information of the package. The section includes information such as (x,y) coordinates, width, and height.-->
<!--If you manually edit this section and make a mistake, you can delete it. -->
<!--The package will still be able to load normally but the previous layout information will be lost and the designer will automatically re-arrange the elements on the design surface.-->
<Objects
Version="sql11">
<!--Each node below will contain properties that do not affect runtime behavior.-->
<Package
design-time-name="Package">
<LayoutInfo>
<GraphLayout
Capacity="8" xmlns="clr-namespace:Microsoft.SqlServer.IntegrationServices.Designer.Model.Serialization;assembly=Microsoft.SqlServer.IntegrationServices.Graph" xmlns:mssgle="clr-namespace:Microsoft.SqlServer.Graph.LayoutEngine;assembly=Microsoft.SqlServer.Graph" xmlns:assembly="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mssgm="clr-namespace:Microsoft.SqlServer.Graph.Model;assembly=Microsoft.SqlServer.Graph" xmlns:mssge="clr-namespace:Microsoft.SqlServer.Graph.Extended;assembly=Microsoft.SqlServer.IntegrationServices.Graph" xmlns:av="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<NodeLayout
Size="156,62"
Id="Package\Data didnt Load"
TopLeft="877,356" />
<NodeLayout
Size="165,42"
Id="Package\Execute SQL Task"
TopLeft="464,146" />
<NodeLayout
Size="174,42"
Id="Package\Execute SQL Task 1"
TopLeft="600,362" />
<EdgeLayout
Id="Package.PrecedenceConstraints[Constraint]"
TopLeft="546.5,188">
<EdgeLayout.Curve>
<mssgle:Curve
StartConnector="{assembly:Null}"
EndConnector="140.5,174"
Start="0,0"
End="140.5,166.5">
<mssgle:Curve.Segments>
<mssgle:SegmentCollection
Capacity="5">
<mssgle:LineSegment
End="0,83" />
<mssgle:CubicBezierSegment
Point1="0,83"
Point2="0,87"
Point3="4,87" />
<mssgle:LineSegment
End="136.5,87" />
<mssgle:CubicBezierSegment
Point1="136.5,87"
Point2="140.5,87"
Point3="140.5,91" />
<mssgle:LineSegment
End="140.5,166.5" />
</mssgle:SegmentCollection>
</mssgle:Curve.Segments>
</mssgle:Curve>
</EdgeLayout.Curve>
<EdgeLayout.Labels>
<EdgeLabelCollection />
</EdgeLayout.Labels>
</EdgeLayout>
<EdgeLayout
Id="Package.PrecedenceConstraints[Constraint 1]"
TopLeft="774,385">
<EdgeLayout.Curve>
<mssgle:Curve
StartConnector="{assembly:Null}"
EndConnector="103,0"
Start="0,0"
End="95.5,0">
<mssgle:Curve.Segments>
<mssgle:SegmentCollection
Capacity="5">
<mssgle:LineSegment
End="95.5,0" />
</mssgle:SegmentCollection>
</mssgle:Curve.Segments>
</mssgle:Curve>
</EdgeLayout.Curve>
<EdgeLayout.Labels>
<mssgm:EdgeLabel
BoundingBox="33.50865234375,5,30.4826953125,9.7490234375"
RelativePosition="Any" />
</EdgeLayout.Labels>
</EdgeLayout>
<AnnotationLayout
Text="Sandbox Version"
ParentId="Package"
Size="212,43"
Id="0bd85d5a-2f1e-4909-9d7a-821a58ffaa87"
TopLeft="184,69">
<AnnotationLayout.FontInfo>
<mssge:FontInfo
Family="Tahoma"
Size="14.25"
Color="#FFFF0000"
Weight="Bold">
<mssge:FontInfo.TextDecorations>
<av:TextDecorationCollection />
</mssge:FontInfo.TextDecorations>
</mssge:FontInfo>
</AnnotationLayout.FontInfo>
</AnnotationLayout>
<AnnotationLayout
Text="All email notifactions on the Sandbox ver of these packages have been disabled. 
We need to make sure they are active in Hermes (Live) once they are ready.
Gabrielson 11/2017"
ParentId="Package"
Size="433,67"
Id="0bf105b1-1885-496e-b128-49f51572c1ca"
TopLeft="184,478">
<AnnotationLayout.FontInfo>
<mssge:FontInfo
Family="Tahoma"
Size="11.25"
Color="#FF000000"
Style="Italic">
<mssge:FontInfo.TextDecorations>
<av:TextDecorationCollection />
</mssge:FontInfo.TextDecorations>
</mssge:FontInfo>
</AnnotationLayout.FontInfo>
</AnnotationLayout>
</GraphLayout>
</LayoutInfo>
</Package>
</Objects>]]></DTS:DesignTimeProperties>
</DTS:Executable>