46. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 5/2/2019 1:17:48 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

46.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\EPRS\EPRS_SSIS\EPRS.SSIS\EPRS.SSIS\obj\Development ConsultActivitiesComment.dtsx Thu Apr 18 16:53:28 2019 UTC
2 C:\AraxisMergeCompare\Pri_re\EPRS\EPRS_SSIS\EPRS.SSIS\EPRS.SSIS\obj\Development ConsultActivitiesComment.dtsx Tue Apr 30 14:24:32 2019 UTC

46.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 7 3432
Changed 6 14
Inserted 0 0
Removed 0 0

46.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

46.4 Active regular expressions

No regular expressions were active.

46.5 Comparison detail

  1   <?xml vers ion="1.0"? >
  2   <DTS:Execu table xmln s:DTS="www .microsoft .com/SqlSe rver/Dts"
  3     DTS:refI d="Package "
  4     DTS:Crea tionDate=" 8/21/2017  3:12:14 PM "
  5     DTS:Crea tionName=" Microsoft. Package"
  6     DTS:Crea torCompute rName="BAY -LTBP11826 3"
  7       DTS:Creato rName=" DOM A IN \ DNS     BakerK3"
  8     DTS:DTSI D="{6CECE8 1E-92F3-4E CF-A39F-6D AC088AD4EE }"
  9     DTS:Exec utableType ="Microsof t.Package"
  10     DTS:Last ModifiedPr oductVersi on="14.0.0 800.90"
  11     DTS:Loca leID="1033 "
  12     DTS:Obje ctName="Co nsultActiv itiesComme nt"
  13     DTS:Pack ageType="5 "
  14     DTS:Vers ionBuild=" 129"
  15     DTS:Vers ionGUID="{ 7D7A2A42-F CD5-46FE-B 6BC-2C848C C570B3}">
  16     <DTS:Pro perty
  17       DTS:Na me="Packag eFormatVer sion">8</D TS:Propert y>
  18     <DTS:Con nectionMan agers>
  19       <DTS:C onnectionM anager
  20           DTS:refId= "Package.C onnectionM anagers[ DNS             . DNS             .EPRS_Shad ow]"
  21         DTS: CreationNa me="OLEDB"
  22         DTS: DTSID="{0C E1C688-8AD 1-4320-BB0 B-F4C62C56 5E2E}"
  23           DTS:Object Name=" DNS             . DNS             .EPRS_Shad ow">
  24         <DTS :ObjectDat a>
  25           <D TS:Connect ionManager
  26               DTS:Connec tionString ="Data Sou rce= DNS             . DNS             ;Initial C atalog=EPR S_Shadow;P rovider=SQ LNCLI11.1; Integrated  Security= SSPI;Auto  Translate= False;" />
  27         </DT S:ObjectDa ta>
  28       </DTS: Connection Manager>
  29     </DTS:Co nnectionMa nagers>
  30     <DTS:Var iables>
  31       <DTS:V ariable
  32         DTS: CreationNa me=""
  33         DTS: DTSID="{63 2C6334-457 5-45DD-BEB 1-31F4F656 7E51}"
  34         DTS: IncludeInD ebugDump=" 6789"
  35         DTS: Namespace= "User"
  36         DTS: ObjectName ="batchLog Id">
  37         <DTS :VariableV alue
  38           DT S:DataType ="20">0</D TS:Variabl eValue>
  39       </DTS: Variable>
  40       <DTS:V ariable
  41         DTS: CreationNa me=""
  42         DTS: DTSID="{DB 4112F4-B55 F-458A-826 6-0AACF295 1D8C}"
  43         DTS: IncludeInD ebugDump=" 6789"
  44         DTS: Namespace= "User"
  45         DTS: ObjectName ="batchRec ordCount">
  46         <DTS :VariableV alue
  47           DT S:DataType ="20">0</D TS:Variabl eValue>
  48       </DTS: Variable>
  49       <DTS:V ariable
  50         DTS: CreationNa me=""
  51         DTS: DTSID="{AB 2E87D0-7A3 7-433C-988 E-15BE76C3 C31C}"
  52         DTS: IncludeInD ebugDump=" 2345"
  53         DTS: Namespace= "User"
  54         DTS: ObjectName ="loadStat usComplete ">
  55         <DTS :VariableV alue
  56           DT S:DataType ="8">EXTCO MPLETE</DT S:Variable Value>
  57       </DTS: Variable>
  58       <DTS:V ariable
  59         DTS: CreationNa me=""
  60         DTS: DTSID="{95 97EF84-032 8-42D4-809 F-EAAC5D0A 3131}"
  61         DTS: IncludeInD ebugDump=" 2345"
  62         DTS: Namespace= "User"
  63         DTS: ObjectName ="loadStat usError">
  64         <DTS :VariableV alue
  65           DT S:DataType ="8">EXTER ROR</DTS:V ariableVal ue>
  66       </DTS: Variable>
  67       <DTS:V ariable
  68         DTS: CreationNa me=""
  69         DTS: DTSID="{EA E7FCB3-EB3 6-4174-975 0-2DCE603C CA63}"
  70         DTS: IncludeInD ebugDump=" 6789"
  71         DTS: Namespace= "User"
  72         DTS: ObjectName ="maxSourc eBatchNumb er">
  73         <DTS :VariableV alue
  74           DT S:DataType ="20">0</D TS:Variabl eValue>
  75       </DTS: Variable>
  76       <DTS:V ariable
  77         DTS: CreationNa me=""
  78         DTS: DTSID="{BE 00FA74-A98 9-47B7-A9A B-A7ECFA07 280B}"
  79         DTS: IncludeInD ebugDump=" 6789"
  80         DTS: Namespace= "User"
  81         DTS: ObjectName ="priorSou rceBatchNu mber">
  82         <DTS :VariableV alue
  83           DT S:DataType ="20">0</D TS:Variabl eValue>
  84       </DTS: Variable>
  85       <DTS:V ariable
  86         DTS: CreationNa me=""
  87         DTS: DTSID="{C6 3AD0D0-95D 7-4617-AB0 1-F4A27E4E 523D}"
  88         DTS: IncludeInD ebugDump=" 2345"
  89         DTS: Namespace= "User"
  90         DTS: ObjectName ="rawTable Name">
  91         <DTS :VariableV alue
  92           DT S:DataType ="8">zraw. _spatientS ConsultAct ivityComme ntspv</DTS :VariableV alue>
  93       </DTS: Variable>
  94       <DTS:V ariable
  95         DTS: CreationNa me=""
  96         DTS: DTSID="{A7 144AA8-ECA 4-4D32-91C B-97C0DDF9 D3DC}"
  97         DTS: IncludeInD ebugDump=" 6789"
  98         DTS: Namespace= "User"
  99         DTS: ObjectName ="resultOK ">
  100         <DTS :VariableV alue
  101           DT S:DataType ="3">0</DT S:Variable Value>
  102       </DTS: Variable>
  103       <DTS:V ariable
  104         DTS: CreationNa me=""
  105         DTS: DTSID="{3B 518DA0-047 C-4AE6-B14 5-C4E22A84 DF41}"
  106         DTS: IncludeInD ebugDump=" 2345"
  107         DTS: Namespace= "User"
  108         DTS: ObjectName ="sourceTa bleName">
  109         <DTS :VariableV alue
  110           DT S:DataType ="8">con.c onsult</DT S:Variable Value>
  111       </DTS: Variable>
  112     </DTS:Va riables>
  113     <DTS:Exe cutables>
  114       <DTS:E xecutable
  115         DTS: refId="Pac kage\Data  Flow Task"
  116         DTS: CreationNa me="Micros oft.Pipeli ne"
  117         DTS: Descriptio n="Data Fl ow Task"
  118         DTS: DTSID="{B9 6427EF-B22 F-4643-8D9 8-A9AF2329 5CD7}"
  119         DTS: Executable Type="Micr osoft.Pipe line"
  120         DTS: LocaleID=" -1"
  121         DTS: ObjectName ="Data Flo w Task"
  122         DTS: TaskContac t="Perform s high-per formance d ata extrac tion, tran sformation  and loadi ng;Microso ft Corpora tion; Micr osoft SQL  Server; (C ) Microsof t Corporat ion; All R ights Rese rved;http: //www.micr osoft.com/ sql/suppor t/default. asp;1">
  123         <DTS :Variables  />
  124         <DTS :ObjectDat a>
  125           <p ipeline
  126              version="1 ">
  127              <component s>
  128                <compone nt
  129                  refId= "Package\D ata Flow T ask\Derive d Column"
  130                  compon entClassID ="Microsof t.DerivedC olumn"
  131                  contac tInfo="Der ived Colum n;Microsof t Corporat ion; Micro soft SQL S erver; (C)  Microsoft  Corporati on; All Ri ghts Reser ved; http: //www.micr osoft.com/ sql/suppor t;0"
  132                  descri ption="Cre ates new c olumn valu es by appl ying expre ssions to  transforma tion input  columns.  Create new  columns o r overwrit e existing  ones. For  example,  concatenat e the valu es from th e 'first n ame' and ' last name'  column to  make a 'f ull name'  column."
  133                  name=" Derived Co lumn"
  134                  usesDi spositions ="true">
  135                  <input s>
  136                    <inp ut
  137                      re fId="Packa ge\Data Fl ow Task\De rived Colu mn.Inputs[ Derived Co lumn Input ]"
  138                      de scription= "Input to  the Derive d Column T ransformat ion"
  139                      na me="Derive d Column I nput">
  140                      <e xternalMet adataColum ns />
  141                    </in put>
  142                  </inpu ts>
  143                  <outpu ts>
  144                    <out put
  145                      re fId="Packa ge\Data Fl ow Task\De rived Colu mn.Outputs [Derived C olumn Outp ut]"
  146                      de scription= "Default O utput of t he Derived  Column Tr ansformati on"
  147                      ex clusionGro up="1"
  148                      na me="Derive d Column O utput"
  149                      sy nchronousI nputId="Pa ckage\Data  Flow Task \Derived C olumn.Inpu ts[Derived  Column In put]">
  150                      <o utputColum ns>
  151                         <outputCol umn
  152                           refId="P ackage\Dat a Flow Tas k\Derived  Column.Out puts[Deriv ed Column  Output].Co lumns[Batc hLogID]"
  153                           dataType ="i8"
  154                           errorOrT runcationO peration=" Computatio n"
  155                           errorRow Dispositio n="FailCom ponent"
  156                           lineageI d="Package \Data Flow  Task\Deri ved Column .Outputs[D erived Col umn Output ].Columns[ BatchLogID ]"
  157                           name="Ba tchLogID"
  158                           truncati onRowDispo sition="Fa ilComponen t">
  159                           <propert ies>
  160                             <prope rty
  161                               cont ainsID="tr ue"
  162                               data Type="Syst em.String"
  163                               desc ription="D erived Col umn Expres sion"
  164                               name ="Expressi on">@[User ::batchLog Id]</prope rty>
  165                             <prope rty
  166                               cont ainsID="tr ue"
  167                               data Type="Syst em.String"
  168                               desc ription="D erived Col umn Friend ly Express ion"
  169                               expr essionType ="Notify"
  170                               name ="Friendly Expression ">@[User:: batchLogId ]</propert y>
  171                           </proper ties>
  172                         </outputCo lumn>
  173                      </ outputColu mns>
  174                      <e xternalMet adataColum ns />
  175                    </ou tput>
  176                    <out put
  177                      re fId="Packa ge\Data Fl ow Task\De rived Colu mn.Outputs [Derived C olumn Erro r Output]"
  178                      de scription= "Error Out put of the  Derived C olumn Tran sformation "
  179                      ex clusionGro up="1"
  180                      is ErrorOut=" true"
  181                      na me="Derive d Column E rror Outpu t"
  182                      sy nchronousI nputId="Pa ckage\Data  Flow Task \Derived C olumn.Inpu ts[Derived  Column In put]">
  183                      <o utputColum ns>
  184                         <outputCol umn
  185                           refId="P ackage\Dat a Flow Tas k\Derived  Column.Out puts[Deriv ed Column  Error Outp ut].Column s[ErrorCod e]"
  186                           dataType ="i4"
  187                           lineageI d="Package \Data Flow  Task\Deri ved Column .Outputs[D erived Col umn Error  Output].Co lumns[Erro rCode]"
  188                           name="Er rorCode"
  189                           specialF lags="1" / >
  190                         <outputCol umn
  191                           refId="P ackage\Dat a Flow Tas k\Derived  Column.Out puts[Deriv ed Column  Error Outp ut].Column s[ErrorCol umn]"
  192                           dataType ="i4"
  193                           lineageI d="Package \Data Flow  Task\Deri ved Column .Outputs[D erived Col umn Error  Output].Co lumns[Erro rColumn]"
  194                           name="Er rorColumn"
  195                           specialF lags="2" / >
  196                      </ outputColu mns>
  197                      <e xternalMet adataColum ns />
  198                    </ou tput>
  199                  </outp uts>
  200                </compon ent>
  201                <compone nt
  202                  refId= "Package\D ata Flow T ask\OLE DB  Destinati on"
  203                  compon entClassID ="Microsof t.OLEDBDes tination"
  204                  contac tInfo="OLE  DB Destin ation;Micr osoft Corp oration; M icrosoft S QL Server;  (C) Micro soft Corpo ration; Al l Rights R eserved; h ttp://www. microsoft. com/sql/su pport;4"
  205                  descri ption="OLE  DB Destin ation"
  206                  name=" OLE DB Des tination"
  207                  usesDi spositions ="true"
  208                  versio n="4">
  209                  <prope rties>
  210                    <pro perty
  211                      da taType="Sy stem.Int32 "
  212                      de scription= "The numbe r of secon ds before  a command  times out.   A value  of 0 indic ates an in finite tim e-out."
  213                      na me="Comman dTimeout"> 0</propert y>
  214                    <pro perty
  215                      da taType="Sy stem.Strin g"
  216                      de scription= "Specifies  the name  of the dat abase obje ct used to  open a ro wset."
  217                      na me="OpenRo wset">[zra w].[_spati entSConsul tActivityC ommentspv] </property >
  218                    <pro perty
  219                      da taType="Sy stem.Strin g"
  220                      de scription= "Specifies  the varia ble that c ontains th e name of  the databa se object  used to op en a rowse t."
  221                      na me="OpenRo wsetVariab le"></prop erty>
  222                    <pro perty
  223                      da taType="Sy stem.Strin g"
  224                      de scription= "The SQL c ommand to  be execute d."
  225                      na me="SqlCom mand"
  226                      UI TypeEditor ="Microsof t.DataTran sformation Services.C ontrols.Mo dalMultili neStringEd itor, Micr osoft.Data Transforma tionServic es.Control s, Version =14.0.0.0,  Culture=n eutral, Pu blicKeyTok en=89845dc d8080cc91" ></propert y>
  227                    <pro perty
  228                      da taType="Sy stem.Int32 "
  229                      de scription= "Specifies  the colum n code pag e to use w hen code p age inform ation is u navailable  from the  data sourc e."
  230                      na me="Defaul tCodePage" >1252</pro perty>
  231                    <pro perty
  232                      da taType="Sy stem.Boole an"
  233                      de scription= "Forces th e use of t he Default CodePage p roperty va lue when d escribing  character  data."
  234                      na me="Always UseDefault CodePage"> false</pro perty>
  235                    <pro perty
  236                      da taType="Sy stem.Int32 "
  237                      de scription= "Specifies  the mode  used to ac cess the d atabase."
  238                      na me="Access Mode"
  239                      ty peConverte r="AccessM ode">3</pr operty>
  240                    <pro perty
  241                      da taType="Sy stem.Boole an"
  242                      de scription= "Indicates  whether t he values  supplied f or identit y columns  will be co pied to th e destinat ion. If fa lse, value s for iden tity colum ns will be  auto-gene rated at t he destina tion. Appl ies only i f fast loa d is turne d on."
  243                      na me="FastLo adKeepIden tity">fals e</propert y>
  244                    <pro perty
  245                      da taType="Sy stem.Boole an"
  246                      de scription= "Indicates  whether t he columns  containin g null wil l have nul l inserted  in the de stination.  If false,  columns c ontaining  null will  have their  default v alues inse rted at th e destinat ion. Appli es only if  fast load  is turned  on."
  247                      na me="FastLo adKeepNull s">false</ property>
  248                    <pro perty
  249                      da taType="Sy stem.Strin g"
  250                      de scription= "Specifies  options t o be used  with fast  load.  App lies only  if fast lo ad is turn ed on."
  251                      na me="FastLo adOptions" >TABLOCK,C HECK_CONST RAINTS</pr operty>
  252                    <pro perty
  253                      da taType="Sy stem.Int32 "
  254                      de scription= "Specifies  when comm its are is sued durin g data ins ertion.  A  value of  0 specifie s that one  commit wi ll be issu ed at the  end of dat a insertio n.  Applie s only if  fast load  is turned  on."
  255                      na me="FastLo adMaxInser tCommitSiz e">2147483 647</prope rty>
  256                  </prop erties>
  257                  <conne ctions>
  258                    <con nection
  259                      re fId="Packa ge\Data Fl ow Task\OL E DB Desti nation.Con nections[O leDbConnec tion]"
  260                        connection ManagerID= "Package.C onnectionM anagers[ DNS             . DNS             .EPRS_Shad ow]"
  261                        connection ManagerRef Id="Packag e.Connecti onManagers [ DNS             . DNS             .EPRS_Shad ow]"
  262                      de scription= "The OLE D B runtime  connection  used to a ccess the  database."
  263                      na me="OleDbC onnection"  />
  264                  </conn ections>
  265                  <input s>
  266                    <inp ut
  267                      re fId="Packa ge\Data Fl ow Task\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]"
  268                      er rorOrTrunc ationOpera tion="Inse rt"
  269                      er rorRowDisp osition="F ailCompone nt"
  270                      ha sSideEffec ts="true"
  271                      na me="OLE DB  Destinati on Input">
  272                      <i nputColumn s>
  273                         <inputColu mn
  274                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[ConsultA ctivitySID ]"
  275                           cachedDa taType="i8 "
  276                           cachedNa me="Consul tActivityS ID"
  277                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[C onsultActi vitySID]"
  278                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Co nsultActiv itySID]" / >
  279                         <inputColu mn
  280                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[ConsultA ctivityIEN ]"
  281                           cachedCo depage="12 52"
  282                           cachedDa taType="st r"
  283                           cachedLe ngth="50"
  284                           cachedNa me="Consul tActivityI EN"
  285                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[C onsultActi vityIEN]"
  286                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Co nsultActiv ityIEN]" / >
  287                         <inputColu mn
  288                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[ConsultS ID]"
  289                           cachedDa taType="i8 "
  290                           cachedNa me="Consul tSID"
  291                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[C onsultSID] "
  292                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Co nsultSID]"  />
  293                         <inputColu mn
  294                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[Sta3n]"
  295                           cachedDa taType="i2 "
  296                           cachedNa me="Sta3n"
  297                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[S ta3n]"
  298                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[St a3n]" />
  299                         <inputColu mn
  300                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[RequestD ateTime]"
  301                           cachedDa taType="db TimeStamp2 "
  302                           cachedNa me="Reques tDateTime"
  303                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[R equestDate Time]"
  304                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Re questDateT ime]" />
  305                         <inputColu mn
  306                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[RequestV istaErrorD ate]"
  307                           cachedCo depage="12 52"
  308                           cachedDa taType="st r"
  309                           cachedLe ngth="50"
  310                           cachedNa me="Reques tVistaErro rDate"
  311                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[R equestVist aErrorDate ]"
  312                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Re questVista ErrorDate] " />
  313                         <inputColu mn
  314                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[RequestD ateTimeTra nsformSID] "
  315                           cachedDa taType="i8 "
  316                           cachedNa me="Reques tDateTimeT ransformSI D"
  317                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[R equestDate TimeTransf ormSID]"
  318                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Re questDateT imeTransfo rmSID]" />
  319                         <inputColu mn
  320                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[ConsultI EN]"
  321                           cachedCo depage="12 52"
  322                           cachedDa taType="st r"
  323                           cachedLe ngth="50"
  324                           cachedNa me="Consul tIEN"
  325                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[C onsultIEN] "
  326                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Co nsultIEN]"  />
  327                         <inputColu mn
  328                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[OpCode]"
  329                           cachedCo depage="12 52"
  330                           cachedDa taType="st r"
  331                           cachedLe ngth="1"
  332                           cachedNa me="OpCode "
  333                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[O pCode]"
  334                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Op Code]" />
  335                         <inputColu mn
  336                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[VistaCre ateDate]"
  337                           cachedDa taType="db TimeStamp"
  338                           cachedNa me="VistaC reateDate"
  339                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[V istaCreate Date]"
  340                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Vi staCreateD ate]" />
  341                         <inputColu mn
  342                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[VistaEdi tDate]"
  343                           cachedDa taType="db TimeStamp"
  344                           cachedNa me="VistaE ditDate"
  345                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[V istaEditDa te]"
  346                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Vi staEditDat e]" />
  347                         <inputColu mn
  348                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[ETLBatch ID]"
  349                           cachedDa taType="i8 "
  350                           cachedNa me="ETLBat chID"
  351                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[E TLBatchID] "
  352                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[ET LBatchID]"  />
  353                         <inputColu mn
  354                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[ETLBatch LoadedDate Time]"
  355                           cachedDa taType="db TimeStamp2 "
  356                           cachedNa me="ETLBat chLoadedDa teTime"
  357                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[E TLBatchLoa dedDateTim e]"
  358                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[ET LBatchLoad edDateTime ]" />
  359                         <inputColu mn
  360                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[ExtractB atchLoaded DateTime]"
  361                           cachedDa taType="db TimeStamp2 "
  362                           cachedNa me="Extrac tBatchLoad edDateTime "
  363                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[E xtractBatc hLoadedDat eTime]"
  364                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Ex tractBatch LoadedDate Time]" />
  365                         <inputColu mn
  366                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[DWViewSc hema]"
  367                           cachedCo depage="12 52"
  368                           cachedDa taType="st r"
  369                           cachedLe ngth="50"
  370                           cachedNa me="DWView Schema"
  371                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[D WViewSchem a]"
  372                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[DW ViewSchema ]" />
  373                         <inputColu mn
  374                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[DWViewNa me]"
  375                           cachedCo depage="12 52"
  376                           cachedDa taType="st r"
  377                           cachedLe ngth="50"
  378                           cachedNa me="DWView Name"
  379                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[D WViewName] "
  380                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[DW ViewName]"  />
  381                         <inputColu mn
  382                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[BatchLog ID]"
  383                           cachedDa taType="i8 "
  384                           cachedNa me="BatchL ogID"
  385                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[B atchLogID] "
  386                           lineageI d="Package \Data Flow  Task\Deri ved Column .Outputs[D erived Col umn Output ].Columns[ BatchLogID ]" />
  387                         <inputColu mn
  388                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[ConsultA ctivityCom ment]"
  389                           cachedCo depage="12 52"
  390                           cachedDa taType="st r"
  391                           cachedLe ngth="8000 "
  392                           cachedNa me="Consul tActivityC omment"
  393                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[C onsultActi vityCommen t]"
  394                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Co nsultActiv ityComment ]" />
  395                         <inputColu mn
  396                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[SConsult ActivityCo mmentSID]"
  397                           cachedDa taType="i8 "
  398                           cachedNa me="SConsu ltActivity CommentSID "
  399                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[S ConsultAct ivityComme ntSID]"
  400                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[SC onsultActi vityCommen tSID]" />
  401                      </ inputColum ns>
  402                      <e xternalMet adataColum ns
  403                         isUsed="Tr ue">
  404                         <externalM etadataCol umn
  405                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ ConsultAct ivitySID]"
  406                           dataType ="i8"
  407                           name="Co nsultActiv itySID" />
  408                         <externalM etadataCol umn
  409                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ ConsultAct ivityIEN]"
  410                           codePage ="1252"
  411                           dataType ="str"
  412                           length=" 50"
  413                           name="Co nsultActiv ityIEN" />
  414                         <externalM etadataCol umn
  415                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ ConsultSID ]"
  416                           dataType ="i8"
  417                           name="Co nsultSID"  />
  418                         <externalM etadataCol umn
  419                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ Sta3n]"
  420                           dataType ="i2"
  421                           name="St a3n" />
  422                         <externalM etadataCol umn
  423                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ RequestDat eTime]"
  424                           dataType ="dbTimeSt amp2"
  425                           name="Re questDateT ime"
  426                           scale="7 " />
  427                         <externalM etadataCol umn
  428                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ RequestVis taErrorDat e]"
  429                           codePage ="1252"
  430                           dataType ="str"
  431                           length=" 50"
  432                           name="Re questVista ErrorDate"  />
  433                         <externalM etadataCol umn
  434                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ RequestDat eTimeTrans formSID]"
  435                           dataType ="i8"
  436                           name="Re questDateT imeTransfo rmSID" />
  437                         <externalM etadataCol umn
  438                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ ConsultIEN ]"
  439                           codePage ="1252"
  440                           dataType ="str"
  441                           length=" 50"
  442                           name="Co nsultIEN"  />
  443                         <externalM etadataCol umn
  444                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ OpCode]"
  445                           codePage ="1252"
  446                           dataType ="str"
  447                           length=" 1"
  448                           name="Op Code" />
  449                         <externalM etadataCol umn
  450                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ VistaCreat eDate]"
  451                           dataType ="dbTimeSt amp"
  452                           name="Vi staCreateD ate" />
  453                         <externalM etadataCol umn
  454                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ VistaEditD ate]"
  455                           dataType ="dbTimeSt amp"
  456                           name="Vi staEditDat e" />
  457                         <externalM etadataCol umn
  458                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ ETLBatchID ]"
  459                           dataType ="i4"
  460                           name="ET LBatchID"  />
  461                         <externalM etadataCol umn
  462                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ BatchLogID ]"
  463                           dataType ="i8"
  464                           name="Ba tchLogID"  />
  465                         <externalM etadataCol umn
  466                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ ETLBatchLo adedDateTi me]"
  467                           dataType ="dbTimeSt amp2"
  468                           name="ET LBatchLoad edDateTime "
  469                           scale="7 " />
  470                         <externalM etadataCol umn
  471                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ ExtractBat chLoadedDa teTime]"
  472                           dataType ="dbTimeSt amp2"
  473                           name="Ex tractBatch LoadedDate Time"
  474                           scale="7 " />
  475                         <externalM etadataCol umn
  476                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ DWViewSche ma]"
  477                           codePage ="1252"
  478                           dataType ="str"
  479                           length=" 50"
  480                           name="DW ViewSchema " />
  481                         <externalM etadataCol umn
  482                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ DWViewName ]"
  483                           codePage ="1252"
  484                           dataType ="str"
  485                           length=" 50"
  486                           name="DW ViewName"  />
  487                         <externalM etadataCol umn
  488                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ SConsultAc tivityComm entSID]"
  489                           dataType ="i8"
  490                           name="SC onsultActi vityCommen tSID" />
  491                         <externalM etadataCol umn
  492                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ ConsultAct ivityComme nt]"
  493                           codePage ="1252"
  494                           dataType ="str"
  495                           length=" 8000"
  496                           name="Co nsultActiv ityComment " />
  497                      </ externalMe tadataColu mns>
  498                    </in put>
  499                  </inpu ts>
  500                  <outpu ts>
  501                    <out put
  502                      re fId="Packa ge\Data Fl ow Task\OL E DB Desti nation.Out puts[OLE D B Destinat ion Error  Output]"
  503                      ex clusionGro up="1"
  504                      is ErrorOut=" true"
  505                      na me="OLE DB  Destinati on Error O utput"
  506                      sy nchronousI nputId="Pa ckage\Data  Flow Task \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t]">
  507                      <o utputColum ns>
  508                         <outputCol umn
  509                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Outputs[O LE DB Dest ination Er ror Output ].Columns[ ErrorCode] "
  510                           dataType ="i4"
  511                           lineageI d="Package \Data Flow  Task\OLE  DB Destina tion.Outpu ts[OLE DB  Destinatio n Error Ou tput].Colu mns[ErrorC ode]"
  512                           name="Er rorCode"
  513                           specialF lags="1" / >
  514                         <outputCol umn
  515                           refId="P ackage\Dat a Flow Tas k\OLE DB D estination .Outputs[O LE DB Dest ination Er ror Output ].Columns[ ErrorColum n]"
  516                           dataType ="i4"
  517                           lineageI d="Package \Data Flow  Task\OLE  DB Destina tion.Outpu ts[OLE DB  Destinatio n Error Ou tput].Colu mns[ErrorC olumn]"
  518                           name="Er rorColumn"
  519                           specialF lags="2" / >
  520                      </ outputColu mns>
  521                      <e xternalMet adataColum ns />
  522                    </ou tput>
  523                  </outp uts>
  524                </compon ent>
  525                <compone nt
  526                  refId= "Package\D ata Flow T ask\OLE DB  Source"
  527                  compon entClassID ="Microsof t.OLEDBSou rce"
  528                  contac tInfo="OLE  DB Source ;Microsoft  Corporati on; Micros oft SQL Se rver; (C)  Microsoft  Corporatio n; All Rig hts Reserv ed; http:/ /www.micro soft.com/s ql/support ;7"
  529                  descri ption="OLE  DB Source "
  530                  name=" OLE DB Sou rce"
  531                  usesDi spositions ="true"
  532                  versio n="7">
  533                  <prope rties>
  534                    <pro perty
  535                      da taType="Sy stem.Int32 "
  536                      de scription= "The numbe r of secon ds before  a command  times out.   A value  of 0 indic ates an in finite tim e-out."
  537                      na me="Comman dTimeout"> 0</propert y>
  538                    <pro perty
  539                      da taType="Sy stem.Strin g"
  540                      de scription= "Specifies  the name  of the dat abase obje ct used to  open a ro wset."
  541                      na me="OpenRo wset"></pr operty>
  542                    <pro perty
  543                      da taType="Sy stem.Strin g"
  544                      de scription= "Specifies  the varia ble that c ontains th e name of  the databa se object  used to op en a rowse t."
  545                      na me="OpenRo wsetVariab le"></prop erty>
  546                    <pro perty
  547                      da taType="Sy stem.Strin g"
  548                      de scription= "The SQL c ommand to  be execute d."
  549                      na me="SqlCom mand"
  550                      UI TypeEditor ="Microsof t.DataTran sformation Services.C ontrols.Mo dalMultili neStringEd itor, Micr osoft.Data Transforma tionServic es.Control s, Version =14.0.0.0,  Culture=n eutral, Pu blicKeyTok en=89845dc d8080cc91" >Declare @ PriorSourc eBatchNumb er int
  551  
  552   SELECT  [S ConsultAct ivityComme ntSID]
  553         ,[Co nsultSID]
  554         ,[Co nsultIEN]
  555         ,[Co nsultActiv itySID]
  556         ,[Co nsultActiv ityIEN]
  557         ,[St a3n]
  558         ,[Re questDateT ime]
  559         ,[Re questVista ErrorDate]
  560         ,[Re questDateT imeTransfo rmSID]
  561         ,[Co nsultActiv ityComment ]
  562         --,a .[ETLBatch ID]
  563         ,[Op Code]
  564         ,[Vi staCreateD ate]
  565         ,[Vi staEditDat e]
  566  
  567              ,[ExtractB atchID] as  [ETLBatch ID] ---- t emp for no w since Ex tractBatch Id is uniq ue as oppo sed ETLBat chID
  568              ,[ETLBatch LoadedDate Time]
  569         ,[Ex tractBatch LoadedDate Time]
  570         ,[DW ViewSchema ]
  571         ,[DW ViewName]
  572         ,[Vi ewNameConc at]
  573  
  574  
  575     FROM [SP V].[SPatie nt].[SCons ultActivit yComment]   a
  576  
  577       inner  join [SPV] .[EB].[Ext ractBatch]  b
  578     on a.ETL BatchID =  b.ETLBatch ID
  579  
  580     Where b. DWViewName  = 'SConsu ltActivity Comment'
  581   -- started  from FY15  then will  run the l ast 3 year s from run ning time
  582   -- HOWEVER  DOING ONL Y FY17 AND  VALIDATIN G CHANGES  IN THE LAS T YEAR TO  DATE
  583   -- OR DO W E NEED ANY  RECORD CH ANGED REAG RDLESS OF  TIME?
  584   --AND  a.R equestDate Time &gt;  '10-01-201 6'
  585    and a.Req uestDateTi me  &gt; c onvert (da te,Dateadd (day, -365 , GETDATE( )))
  586   --   and a .RequestDa teTime &gt ; '10-25-2 015' and a .RequestDa teTime &lt ; '10-27-2 015'
  587   and [Extra ctBatchID]   &gt; ?
  588   -- testing  &gt; (whi ch is the  original p lan)  vs & gt;= 
  589   -- and [Ex tractBatch ID]  &gt;=  ?
  590   --3903557< /property>
  591                    <pro perty
  592                      da taType="Sy stem.Strin g"
  593                      de scription= "The varia ble that c ontains th e SQL comm and to be  executed."
  594                      na me="SqlCom mandVariab le"></prop erty>
  595                    <pro perty
  596                      da taType="Sy stem.Int32 "
  597                      de scription= "Specifies  the colum n code pag e to use w hen code p age inform ation is u navailable  from the  data sourc e."
  598                      na me="Defaul tCodePage" >1252</pro perty>
  599                    <pro perty
  600                      da taType="Sy stem.Boole an"
  601                      de scription= "Forces th e use of t he Default CodePage p roperty va lue when d escribing  character  data."
  602                      na me="Always UseDefault CodePage"> false</pro perty>
  603                    <pro perty
  604                      da taType="Sy stem.Int32 "
  605                      de scription= "Specifies  the mode  used to ac cess the d atabase."
  606                      na me="Access Mode"
  607                      ty peConverte r="AccessM ode">2</pr operty>
  608                    <pro perty
  609                      da taType="Sy stem.Strin g"
  610                      de scription= "The mappi ngs betwee n the para meters in  the SQL co mmand and  variables. "
  611                      na me="Parame terMapping ">"Paramet er0:Input" ,{BE00FA74 -A989-47B7 -A9AB-A7EC FA07280B}; </property >
  612                  </prop erties>
  613                  <conne ctions>
  614                    <con nection
  615                      re fId="Packa ge\Data Fl ow Task\OL E DB Sourc e.Connecti ons[OleDbC onnection] "
  616                      co nnectionMa nagerID="{ 830EDAD9-3 24D-4D2B-A 575-C32BAC 8260E9}:ex ternal"
  617                        connection ManagerRef Id="Projec t.Connecti onManagers [ DNS     a01 vha me d va gov S PVOLEDB]"
  618                      de scription= "The OLE D B runtime  connection  used to a ccess the  database."
  619                      na me="OleDbC onnection"  />
  620                  </conn ections>
  621                  <outpu ts>
  622                    <out put
  623                      re fId="Packa ge\Data Fl ow Task\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ]"
  624                      na me="OLE DB  Source Ou tput">
  625                      <o utputColum ns>
  626                         <outputCol umn
  627                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Consul tActivityS ID]"
  628                           dataType ="i8"
  629                           errorOrT runcationO peration=" Conversion "
  630                           errorRow Dispositio n="FailCom ponent"
  631                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [ConsultAc tivitySID] "
  632                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Co nsultActiv itySID]"
  633                           name="Co nsultActiv itySID"
  634                           truncati onRowDispo sition="Fa ilComponen t" />
  635                         <outputCol umn
  636                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Consul tActivityI EN]"
  637                           codePage ="1252"
  638                           dataType ="str"
  639                           errorOrT runcationO peration=" Conversion "
  640                           errorRow Dispositio n="FailCom ponent"
  641                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [ConsultAc tivityIEN] "
  642                           length=" 50"
  643                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Co nsultActiv ityIEN]"
  644                           name="Co nsultActiv ityIEN"
  645                           truncati onRowDispo sition="Fa ilComponen t" />
  646                         <outputCol umn
  647                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Consul tSID]"
  648                           dataType ="i8"
  649                           errorOrT runcationO peration=" Conversion "
  650                           errorRow Dispositio n="FailCom ponent"
  651                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [ConsultSI D]"
  652                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Co nsultSID]"
  653                           name="Co nsultSID"
  654                           truncati onRowDispo sition="Fa ilComponen t" />
  655                         <outputCol umn
  656                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Sta3n] "
  657                           dataType ="i2"
  658                           errorOrT runcationO peration=" Conversion "
  659                           errorRow Dispositio n="FailCom ponent"
  660                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [Sta3n]"
  661                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[St a3n]"
  662                           name="St a3n"
  663                           truncati onRowDispo sition="Fa ilComponen t" />
  664                         <outputCol umn
  665                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Reques tDateTime] "
  666                           dataType ="dbTimeSt amp2"
  667                           errorOrT runcationO peration=" Conversion "
  668                           errorRow Dispositio n="FailCom ponent"
  669                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [RequestDa teTime]"
  670                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Re questDateT ime]"
  671                           name="Re questDateT ime"
  672                           truncati onRowDispo sition="Fa ilComponen t" />
  673                         <outputCol umn
  674                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Reques tVistaErro rDate]"
  675                           codePage ="1252"
  676                           dataType ="str"
  677                           errorOrT runcationO peration=" Conversion "
  678                           errorRow Dispositio n="FailCom ponent"
  679                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [RequestVi staErrorDa te]"
  680                           length=" 50"
  681                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Re questVista ErrorDate] "
  682                           name="Re questVista ErrorDate"
  683                           truncati onRowDispo sition="Fa ilComponen t" />
  684                         <outputCol umn
  685                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Reques tDateTimeT ransformSI D]"
  686                           dataType ="i8"
  687                           errorOrT runcationO peration=" Conversion "
  688                           errorRow Dispositio n="FailCom ponent"
  689                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [RequestDa teTimeTran sformSID]"
  690                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Re questDateT imeTransfo rmSID]"
  691                           name="Re questDateT imeTransfo rmSID"
  692                           truncati onRowDispo sition="Fa ilComponen t" />
  693                         <outputCol umn
  694                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Consul tIEN]"
  695                           codePage ="1252"
  696                           dataType ="str"
  697                           errorOrT runcationO peration=" Conversion "
  698                           errorRow Dispositio n="FailCom ponent"
  699                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [ConsultIE N]"
  700                           length=" 50"
  701                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Co nsultIEN]"
  702                           name="Co nsultIEN"
  703                           truncati onRowDispo sition="Fa ilComponen t" />
  704                         <outputCol umn
  705                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[OpCode ]"
  706                           codePage ="1252"
  707                           dataType ="str"
  708                           errorOrT runcationO peration=" Conversion "
  709                           errorRow Dispositio n="FailCom ponent"
  710                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [OpCode]"
  711                           length=" 1"
  712                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Op Code]"
  713                           name="Op Code"
  714                           truncati onRowDispo sition="Fa ilComponen t" />
  715                         <outputCol umn
  716                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[VistaC reateDate] "
  717                           dataType ="dbTimeSt amp"
  718                           errorOrT runcationO peration=" Conversion "
  719                           errorRow Dispositio n="FailCom ponent"
  720                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [VistaCrea teDate]"
  721                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Vi staCreateD ate]"
  722                           name="Vi staCreateD ate"
  723                           truncati onRowDispo sition="Fa ilComponen t" />
  724                         <outputCol umn
  725                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[VistaE ditDate]"
  726                           dataType ="dbTimeSt amp"
  727                           errorOrT runcationO peration=" Conversion "
  728                           errorRow Dispositio n="FailCom ponent"
  729                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [VistaEdit Date]"
  730                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Vi staEditDat e]"
  731                           name="Vi staEditDat e"
  732                           truncati onRowDispo sition="Fa ilComponen t" />
  733                         <outputCol umn
  734                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[ETLBat chID]"
  735                           dataType ="i8"
  736                           errorOrT runcationO peration=" Conversion "
  737                           errorRow Dispositio n="FailCom ponent"
  738                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [ETLBatchI D]"
  739                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[ET LBatchID]"
  740                           name="ET LBatchID"
  741                           truncati onRowDispo sition="Fa ilComponen t" />
  742                         <outputCol umn
  743                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[ETLBat chLoadedDa teTime]"
  744                           dataType ="dbTimeSt amp2"
  745                           errorOrT runcationO peration=" Conversion "
  746                           errorRow Dispositio n="FailCom ponent"
  747                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [ETLBatchL oadedDateT ime]"
  748                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[ET LBatchLoad edDateTime ]"
  749                           name="ET LBatchLoad edDateTime "
  750                           truncati onRowDispo sition="Fa ilComponen t" />
  751                         <outputCol umn
  752                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Extrac tBatchLoad edDateTime ]"
  753                           dataType ="dbTimeSt amp2"
  754                           errorOrT runcationO peration=" Conversion "
  755                           errorRow Dispositio n="FailCom ponent"
  756                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [ExtractBa tchLoadedD ateTime]"
  757                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Ex tractBatch LoadedDate Time]"
  758                           name="Ex tractBatch LoadedDate Time"
  759                           truncati onRowDispo sition="Fa ilComponen t" />
  760                         <outputCol umn
  761                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[DWView Schema]"
  762                           codePage ="1252"
  763                           dataType ="str"
  764                           errorOrT runcationO peration=" Conversion "
  765                           errorRow Dispositio n="FailCom ponent"
  766                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [DWViewSch ema]"
  767                           length=" 50"
  768                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[DW ViewSchema ]"
  769                           name="DW ViewSchema "
  770                           truncati onRowDispo sition="Fa ilComponen t" />
  771                         <outputCol umn
  772                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[DWView Name]"
  773                           codePage ="1252"
  774                           dataType ="str"
  775                           errorOrT runcationO peration=" Conversion "
  776                           errorRow Dispositio n="FailCom ponent"
  777                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [DWViewNam e]"
  778                           length=" 50"
  779                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[DW ViewName]"
  780                           name="DW ViewName"
  781                           truncati onRowDispo sition="Fa ilComponen t" />
  782                         <outputCol umn
  783                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[ViewNa meConcat]"
  784                           codePage ="1252"
  785                           dataType ="str"
  786                           errorOrT runcationO peration=" Conversion "
  787                           errorRow Dispositio n="FailCom ponent"
  788                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [ViewNameC oncat]"
  789                           length=" 101"
  790                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Vi ewNameConc at]"
  791                           name="Vi ewNameConc at"
  792                           truncati onRowDispo sition="Fa ilComponen t" />
  793                         <outputCol umn
  794                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[SConsu ltActivity CommentSID ]"
  795                           dataType ="i8"
  796                           errorOrT runcationO peration=" Conversion "
  797                           errorRow Dispositio n="FailCom ponent"
  798                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [SConsultA ctivityCom mentSID]"
  799                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[SC onsultActi vityCommen tSID]"
  800                           name="SC onsultActi vityCommen tSID"
  801                           truncati onRowDispo sition="Fa ilComponen t" />
  802                         <outputCol umn
  803                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Consul tActivityC omment]"
  804                           codePage ="1252"
  805                           dataType ="str"
  806                           errorOrT runcationO peration=" Conversion "
  807                           errorRow Dispositio n="FailCom ponent"
  808                           external MetadataCo lumnId="Pa ckage\Data  Flow Task \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [ConsultAc tivityComm ent]"
  809                           length=" 8000"
  810                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Co nsultActiv ityComment ]"
  811                           name="Co nsultActiv ityComment "
  812                           truncati onRowDispo sition="Fa ilComponen t" />
  813                      </ outputColu mns>
  814                      <e xternalMet adataColum ns
  815                         isUsed="Tr ue">
  816                         <externalM etadataCol umn
  817                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[ConsultA ctivitySID ]"
  818                           dataType ="i8"
  819                           name="Co nsultActiv itySID" />
  820                         <externalM etadataCol umn
  821                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[ConsultA ctivityIEN ]"
  822                           codePage ="1252"
  823                           dataType ="str"
  824                           length=" 50"
  825                           name="Co nsultActiv ityIEN" />
  826                         <externalM etadataCol umn
  827                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[ConsultS ID]"
  828                           dataType ="i8"
  829                           name="Co nsultSID"  />
  830                         <externalM etadataCol umn
  831                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[Sta3n]"
  832                           dataType ="i2"
  833                           name="St a3n" />
  834                         <externalM etadataCol umn
  835                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[RequestD ateTime]"
  836                           dataType ="dbTimeSt amp2"
  837                           name="Re questDateT ime" />
  838                         <externalM etadataCol umn
  839                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[RequestV istaErrorD ate]"
  840                           codePage ="1252"
  841                           dataType ="str"
  842                           length=" 50"
  843                           name="Re questVista ErrorDate"  />
  844                         <externalM etadataCol umn
  845                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[RequestD ateTimeTra nsformSID] "
  846                           dataType ="i8"
  847                           name="Re questDateT imeTransfo rmSID" />
  848                         <externalM etadataCol umn
  849                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[ConsultI EN]"
  850                           codePage ="1252"
  851                           dataType ="str"
  852                           length=" 50"
  853                           name="Co nsultIEN"  />
  854                         <externalM etadataCol umn
  855                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[OpCode]"
  856                           codePage ="1252"
  857                           dataType ="str"
  858                           length=" 1"
  859                           name="Op Code" />
  860                         <externalM etadataCol umn
  861                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[VistaCre ateDate]"
  862                           dataType ="dbTimeSt amp"
  863                           name="Vi staCreateD ate" />
  864                         <externalM etadataCol umn
  865                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[VistaEdi tDate]"
  866                           dataType ="dbTimeSt amp"
  867                           name="Vi staEditDat e" />
  868                         <externalM etadataCol umn
  869                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[ETLBatch ID]"
  870                           dataType ="i8"
  871                           name="ET LBatchID"  />
  872                         <externalM etadataCol umn
  873                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[ETLBatch LoadedDate Time]"
  874                           dataType ="dbTimeSt amp2"
  875                           name="ET LBatchLoad edDateTime " />
  876                         <externalM etadataCol umn
  877                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[ExtractB atchLoaded DateTime]"
  878                           dataType ="dbTimeSt amp2"
  879                           name="Ex tractBatch LoadedDate Time" />
  880                         <externalM etadataCol umn
  881                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[DWViewSc hema]"
  882                           codePage ="1252"
  883                           dataType ="str"
  884                           length=" 50"
  885                           name="DW ViewSchema " />
  886                         <externalM etadataCol umn
  887                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[DWViewNa me]"
  888                           codePage ="1252"
  889                           dataType ="str"
  890                           length=" 50"
  891                           name="DW ViewName"  />
  892                         <externalM etadataCol umn
  893                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[ViewName Concat]"
  894                           codePage ="1252"
  895                           dataType ="str"
  896                           length=" 101"
  897                           name="Vi ewNameConc at" />
  898                         <externalM etadataCol umn
  899                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[SConsult ActivityCo mmentSID]"
  900                           dataType ="i8"
  901                           name="SC onsultActi vityCommen tSID" />
  902                         <externalM etadataCol umn
  903                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[ConsultA ctivityCom ment]"
  904                           codePage ="1252"
  905                           dataType ="str"
  906                           length=" 8000"
  907                           name="Co nsultActiv ityComment " />
  908                      </ externalMe tadataColu mns>
  909                    </ou tput>
  910                    <out put
  911                      re fId="Packa ge\Data Fl ow Task\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output]"
  912                      is ErrorOut=" true"
  913                      na me="OLE DB  Source Er ror Output ">
  914                      <o utputColum ns>
  915                         <outputCol umn
  916                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ SConsultAc tivityComm entSID]"
  917                           dataType ="i8"
  918                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[SConsu ltActivity CommentSID ]"
  919                           name="SC onsultActi vityCommen tSID" />
  920                         <outputCol umn
  921                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ConsultAct ivitySID]"
  922                           dataType ="i8"
  923                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Consul tActivityS ID]"
  924                           name="Co nsultActiv itySID" />
  925                         <outputCol umn
  926                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ConsultAct ivityIEN]"
  927                           codePage ="1252"
  928                           dataType ="str"
  929                           length=" 50"
  930                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Consul tActivityI EN]"
  931                           name="Co nsultActiv ityIEN" />
  932                         <outputCol umn
  933                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ConsultSID ]"
  934                           dataType ="i8"
  935                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Consul tSID]"
  936                           name="Co nsultSID"  />
  937                         <outputCol umn
  938                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ Sta3n]"
  939                           dataType ="i2"
  940                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Sta3n] "
  941                           name="St a3n" />
  942                         <outputCol umn
  943                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ RequestDat eTime]"
  944                           dataType ="dbTimeSt amp2"
  945                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Reques tDateTime] "
  946                           name="Re questDateT ime" />
  947                         <outputCol umn
  948                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ RequestVis taErrorDat e]"
  949                           codePage ="1252"
  950                           dataType ="str"
  951                           length=" 50"
  952                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Reques tVistaErro rDate]"
  953                           name="Re questVista ErrorDate"  />
  954                         <outputCol umn
  955                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ RequestDat eTimeTrans formSID]"
  956                           dataType ="i8"
  957                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Reques tDateTimeT ransformSI D]"
  958                           name="Re questDateT imeTransfo rmSID" />
  959                         <outputCol umn
  960                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ConsultIEN ]"
  961                           codePage ="1252"
  962                           dataType ="str"
  963                           length=" 50"
  964                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Consul tIEN]"
  965                           name="Co nsultIEN"  />
  966                         <outputCol umn
  967                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ConsultAct ivityComme nt]"
  968                           codePage ="1252"
  969                           dataType ="str"
  970                           length=" 8000"
  971                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Consul tActivityC omment]"
  972                           name="Co nsultActiv ityComment " />
  973                         <outputCol umn
  974                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ OpCode]"
  975                           codePage ="1252"
  976                           dataType ="str"
  977                           length=" 1"
  978                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[OpCode ]"
  979                           name="Op Code" />
  980                         <outputCol umn
  981                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ VistaCreat eDate]"
  982                           dataType ="dbTimeSt amp"
  983                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[VistaC reateDate] "
  984                           name="Vi staCreateD ate" />
  985                         <outputCol umn
  986                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ VistaEditD ate]"
  987                           dataType ="dbTimeSt amp"
  988                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[VistaE ditDate]"
  989                           name="Vi staEditDat e" />
  990                         <outputCol umn
  991                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ETLBatchID ]"
  992                           dataType ="i8"
  993                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[ETLBat chID]"
  994                           name="ET LBatchID"  />
  995                         <outputCol umn
  996                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ETLBatchLo adedDateTi me]"
  997                           dataType ="dbTimeSt amp2"
  998                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[ETLBat chLoadedDa teTime]"
  999                           name="ET LBatchLoad edDateTime " />
  1000                         <outputCol umn
  1001                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ExtractBat chLoadedDa teTime]"
  1002                           dataType ="dbTimeSt amp2"
  1003                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Extrac tBatchLoad edDateTime ]"
  1004                           name="Ex tractBatch LoadedDate Time" />
  1005                         <outputCol umn
  1006                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ DWViewSche ma]"
  1007                           codePage ="1252"
  1008                           dataType ="str"
  1009                           length=" 50"
  1010                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[DWView Schema]"
  1011                           name="DW ViewSchema " />
  1012                         <outputCol umn
  1013                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ DWViewName ]"
  1014                           codePage ="1252"
  1015                           dataType ="str"
  1016                           length=" 50"
  1017                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[DWView Name]"
  1018                           name="DW ViewName"  />
  1019                         <outputCol umn
  1020                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ViewNameCo ncat]"
  1021                           codePage ="1252"
  1022                           dataType ="str"
  1023                           length=" 101"
  1024                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[ViewNa meConcat]"
  1025                           name="Vi ewNameConc at" />
  1026                         <outputCol umn
  1027                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ErrorCode] "
  1028                           dataType ="i4"
  1029                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[ErrorC ode]"
  1030                           name="Er rorCode"
  1031                           specialF lags="1" / >
  1032                         <outputCol umn
  1033                           refId="P ackage\Dat a Flow Tas k\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ErrorColum n]"
  1034                           dataType ="i4"
  1035                           lineageI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[ErrorC olumn]"
  1036                           name="Er rorColumn"
  1037                           specialF lags="2" / >
  1038                      </ outputColu mns>
  1039                      <e xternalMet adataColum ns />
  1040                    </ou tput>
  1041                  </outp uts>
  1042                </compon ent>
  1043              </componen ts>
  1044              <paths>
  1045                <path
  1046                  refId= "Package\D ata Flow T ask.Paths[ Derived Co lumn Outpu t]"
  1047                  endId= "Package\D ata Flow T ask\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput]"
  1048                  name=" Derived Co lumn Outpu t"
  1049                  startI d="Package \Data Flow  Task\Deri ved Column .Outputs[D erived Col umn Output ]" />
  1050                <path
  1051                  refId= "Package\D ata Flow T ask.Paths[ OLE DB Sou rce Output ]"
  1052                  endId= "Package\D ata Flow T ask\Derive d Column.I nputs[Deri ved Column  Input]"
  1053                  name=" OLE DB Sou rce Output "
  1054                  startI d="Package \Data Flow  Task\OLE  DB Source. Outputs[OL E DB Sourc e Output]"  />
  1055              </paths>
  1056           </ pipeline>
  1057         </DT S:ObjectDa ta>
  1058       </DTS: Executable >
  1059       <DTS:E xecutable
  1060         DTS: refId="Pac kage\Do De lete Raw f or BatchLo gID in cas e of exist ing recs f or that ba tch"
  1061         DTS: CreationNa me="Micros oft.Execut eSQLTask"
  1062         DTS: Descriptio n="Execute  SQL Task"
  1063         DTS: DTSID="{C6 88E2E6-C3B B-43C5-A52 6-C1277945 10A9}"
  1064         DTS: Executable Type="Micr osoft.Exec uteSQLTask "
  1065         DTS: LocaleID=" -1"
  1066         DTS: ObjectName ="Do Delet e Raw for  BatchLogID  in case o f existing  recs for  that batch "
  1067         DTS: TaskContac t="Execute  SQL Task;  Microsoft  Corporati on; SQL Se rver 2016;  Â© 2015 M icrosoft C orporation ; All Righ ts Reserve d;http://w ww.microso ft.com/sql /support/d efault.asp ;1"
  1068         DTS: ThreadHint ="0">
  1069         <DTS :Variables  />
  1070         <DTS :ObjectDat a>
  1071           <S QLTask:Sql TaskData
  1072              SQLTask:Co nnection=" {357B8BF8- C32A-44A8- B818-929F6 8D4ED41}"
  1073              SQLTask:Sq lStatement Source="&# x9;&#x9;EX EC uspDoDe leteRaw @b atchLogId,  @rawTable Name, @res ultOK OUTP UT;"
  1074              SQLTask:Re sultType=" ResultSetT ype_Single Row" xmlns :SQLTask=" www.micros oft.com/sq lserver/dt s/tasks/sq ltask">
  1075              <SQLTask:R esultBindi ng
  1076                SQLTask: ResultName ="0"
  1077                SQLTask: DtsVariabl eName="Use r::resultO K" />
  1078              <SQLTask:P arameterBi nding
  1079                SQLTask: ParameterN ame="@batc hLogId"
  1080                SQLTask: DtsVariabl eName="Use r::batchLo gId"
  1081                SQLTask: ParameterD irection=" Input"
  1082                SQLTask: DataType=" 12"
  1083                SQLTask: ParameterS ize="-1" / >
  1084              <SQLTask:P arameterBi nding
  1085                SQLTask: ParameterN ame="@rawT ableName"
  1086                SQLTask: DtsVariabl eName="Use r::rawTabl eName"
  1087                SQLTask: ParameterD irection=" Input"
  1088                SQLTask: DataType=" 16"
  1089                SQLTask: ParameterS ize="-1" / >
  1090              <SQLTask:P arameterBi nding
  1091                SQLTask: ParameterN ame="@resu ltOK"
  1092                SQLTask: DtsVariabl eName="Use r::resultO K"
  1093                SQLTask: ParameterD irection=" Output"
  1094                SQLTask: DataType=" 11"
  1095                SQLTask: ParameterS ize="-1" / >
  1096           </ SQLTask:Sq lTaskData>
  1097         </DT S:ObjectDa ta>
  1098       </DTS: Executable >
  1099       <DTS:E xecutable
  1100         DTS: refId="Pac kage\Get M ax Source  Batch ID a nd Batch C ount"
  1101         DTS: CreationNa me="Micros oft.Execut eSQLTask"
  1102         DTS: Descriptio n="Execute  SQL Task"
  1103         DTS: DTSID="{C5 1B6589-0B1 2-48F1-A1E D-49D019AE F3D7}"
  1104         DTS: Executable Type="Micr osoft.Exec uteSQLTask "
  1105         DTS: LocaleID=" -1"
  1106         DTS: ObjectName ="Get Max  Source Bat ch ID and  Batch Coun t"
  1107         DTS: TaskContac t="Execute  SQL Task;  Microsoft  Corporati on; SQL Se rver 2016;  Â© 2015 M icrosoft C orporation ; All Righ ts Reserve d;http://w ww.microso ft.com/sql /support/d efault.asp ;1"
  1108         DTS: ThreadHint ="0">
  1109         <DTS :Variables  />
  1110         <DTS :ObjectDat a>
  1111           <S QLTask:Sql TaskData
  1112              SQLTask:Co nnection=" {0CE1C688- 8AD1-4320- BB0B-F4C62 C565E2E}"
  1113              SQLTask:Sq lStatement Source="SE LECT COUNT (1) AS Bat chRecordCo unt, &#xA; IsNull(Max (ETLBatchI D), 0) AS  MaxSourceB atchNumber &#xA;FROM  zraw._spat ientSConsu ltActivity Commentspv &#xA;WHERE  BatchLogI D = ?"
  1114              SQLTask:Re sultType=" ResultSetT ype_Single Row" xmlns :SQLTask=" www.micros oft.com/sq lserver/dt s/tasks/sq ltask">
  1115              <SQLTask:R esultBindi ng
  1116                SQLTask: ResultName ="MaxSourc eBatchNumb er"
  1117                SQLTask: DtsVariabl eName="Use r::maxSour ceBatchNum ber" />
  1118              <SQLTask:R esultBindi ng
  1119                SQLTask: ResultName ="BatchRec ordCount"
  1120                SQLTask: DtsVariabl eName="Use r::batchRe cordCount"  />
  1121              <SQLTask:P arameterBi nding
  1122                SQLTask: ParameterN ame="@batc hLogId"
  1123                SQLTask: DtsVariabl eName="Use r::batchLo gId"
  1124                SQLTask: ParameterD irection=" Input"
  1125                SQLTask: DataType=" 3"
  1126                SQLTask: ParameterS ize="-1" / >
  1127           </ SQLTask:Sq lTaskData>
  1128         </DT S:ObjectDa ta>
  1129       </DTS: Executable >
  1130       <DTS:E xecutable
  1131         DTS: refId="Pac kage\Seque nce Contai ner"
  1132         DTS: CreationNa me="STOCK: SEQUENCE"
  1133         DTS: Descriptio n="Sequenc e Containe r"
  1134         DTS: DTSID="{1E 12B4D4-555 E-4CE1-A7D 4-69FEF832 A92D}"
  1135         DTS: Executable Type="STOC K:SEQUENCE "
  1136         DTS: LocaleID=" -1"
  1137         DTS: ObjectName ="Sequence  Container ">
  1138         <DTS :Variables  />
  1139         <DTS :Executabl es>
  1140           <D TS:Executa ble
  1141              DTS:refId= "Package\S equence Co ntainer\Ge t Batch Lo g ID"
  1142              DTS:Creati onName="Mi crosoft.Ex ecuteSQLTa sk"
  1143              DTS:Descri ption="Exe cute SQL T ask"
  1144              DTS:DTSID= "{B809596C -2EF0-4997 -9453-B175 0F196C33}"
  1145              DTS:Execut ableType=" Microsoft. ExecuteSQL Task"
  1146              DTS:Locale ID="-1"
  1147              DTS:Object Name="Get  Batch Log  ID"
  1148              DTS:TaskCo ntact="Exe cute SQL T ask; Micro soft Corpo ration; SQ L Server 2 016; Â© 20 15 Microso ft Corpora tion; All  Rights Res erved;http ://www.mic rosoft.com /sql/suppo rt/default .asp;1"
  1149              DTS:Thread Hint="0">
  1150              <DTS:Varia bles />
  1151              <DTS:Objec tData>
  1152                <SQLTask :SqlTaskDa ta
  1153                  SQLTas k:Connecti on="{357B8 BF8-C32A-4 4A8-B818-9 29F68D4ED4 1}"
  1154                  SQLTas k:SqlState mentSource ="EXEC usp SetBatchLo gsReadyfor BatchYD @r awTableNam e, @batchL ogId OUTPU T" xmlns:S QLTask="ww w.microsof t.com/sqls erver/dts/ tasks/sqlt ask">
  1155                  <SQLTa sk:Paramet erBinding
  1156                    SQLT ask:Parame terName="@ batchLogId "
  1157                    SQLT ask:DtsVar iableName= "User::bat chLogId"
  1158                    SQLT ask:Parame terDirecti on="Output "
  1159                    SQLT ask:DataTy pe="12"
  1160                    SQLT ask:Parame terSize="- 1" />
  1161                  <SQLTa sk:Paramet erBinding
  1162                    SQLT ask:Parame terName="@ rawTableNa me"
  1163                    SQLT ask:DtsVar iableName= "User::raw TableName"
  1164                    SQLT ask:Parame terDirecti on="Input"
  1165                    SQLT ask:DataTy pe="16"
  1166                    SQLT ask:Parame terSize="- 1" />
  1167                </SQLTas k:SqlTaskD ata>
  1168              </DTS:Obje ctData>
  1169           </ DTS:Execut able>
  1170           <D TS:Executa ble
  1171              DTS:refId= "Package\S equence Co ntainer\Ge t Prior Ma x Source B atch ID"
  1172              DTS:Creati onName="Mi crosoft.Ex ecuteSQLTa sk"
  1173              DTS:Descri ption="Exe cute SQL T ask"
  1174              DTS:DTSID= "{DF01E94D -E247-48B9 -A583-2F0E 8629A76F}"
  1175              DTS:Execut ableType=" Microsoft. ExecuteSQL Task"
  1176              DTS:Locale ID="-1"
  1177              DTS:Object Name="Get  Prior Max  Source Bat ch ID"
  1178              DTS:TaskCo ntact="Exe cute SQL T ask; Micro soft Corpo ration; SQ L Server 2 016; Â© 20 15 Microso ft Corpora tion; All  Rights Res erved;http ://www.mic rosoft.com /sql/suppo rt/default .asp;1"
  1179              DTS:Thread Hint="1">
  1180              <DTS:Varia bles />
  1181              <DTS:Objec tData>
  1182                <SQLTask :SqlTaskDa ta
  1183                  SQLTas k:Connecti on="{357B8 BF8-C32A-4 4A8-B818-9 29F68D4ED4 1}"
  1184                  SQLTas k:SqlState mentSource ="SELECT M AX(SourceB atchNumber ) AS Prior SourceBatc hNumber&#x A;FROM dbo .BatchLogs &#xA;WHERE  TableName  = @rawTab leName&#xA ;AND LoadS tatus In(' EXTCOMPLET E','INTCOM PLETE','IN TPROCESSIN G')"
  1185                  SQLTas k:ResultTy pe="Result SetType_Si ngleRow" x mlns:SQLTa sk="www.mi crosoft.co m/sqlserve r/dts/task s/sqltask" >
  1186                  <SQLTa sk:ResultB inding
  1187                    SQLT ask:Result Name="0"
  1188                    SQLT ask:DtsVar iableName= "User::pri orSourceBa tchNumber"  />
  1189                  <SQLTa sk:Paramet erBinding
  1190                    SQLT ask:Parame terName="@ rawTableNa me"
  1191                    SQLT ask:DtsVar iableName= "User::raw TableName"
  1192                    SQLT ask:Parame terDirecti on="Input"
  1193                    SQLT ask:DataTy pe="16"
  1194                    SQLT ask:Parame terSize="- 1" />
  1195                </SQLTas k:SqlTaskD ata>
  1196              </DTS:Obje ctData>
  1197           </ DTS:Execut able>
  1198         </DT S:Executab les>
  1199       </DTS: Executable >
  1200       <DTS:E xecutable
  1201         DTS: refId="Pac kage\Set B atch Log S tatus"
  1202         DTS: CreationNa me="Micros oft.Execut eSQLTask"
  1203         DTS: Descriptio n="Execute  SQL Task"
  1204         DTS: DTSID="{09 AE63DD-5F0 6-47D4-ABB 0-59F097CE 7BD8}"
  1205         DTS: Executable Type="Micr osoft.Exec uteSQLTask "
  1206         DTS: LocaleID=" -1"
  1207         DTS: ObjectName ="Set Batc h Log Stat us"
  1208         DTS: TaskContac t="Execute  SQL Task;  Microsoft  Corporati on; SQL Se rver 2016;  Â© 2015 M icrosoft C orporation ; All Righ ts Reserve d;http://w ww.microso ft.com/sql /support/d efault.asp ;1"
  1209         DTS: ThreadHint ="0">
  1210         <DTS :Variables  />
  1211         <DTS :ObjectDat a>
  1212           <S QLTask:Sql TaskData
  1213              SQLTask:Co nnection=" {357B8BF8- C32A-44A8- B818-929F6 8D4ED41}"
  1214              SQLTask:Sq lStatement Source="EX EC uspSetB atchLogSta tus @batch LogId, @ba tchRecordC ount, @max SourceBatc hNumber, @ loadStatus ;" xmlns:S QLTask="ww w.microsof t.com/sqls erver/dts/ tasks/sqlt ask">
  1215              <SQLTask:P arameterBi nding
  1216                SQLTask: ParameterN ame="@batc hLogId"
  1217                SQLTask: DtsVariabl eName="Use r::batchLo gId"
  1218                SQLTask: ParameterD irection=" Input"
  1219                SQLTask: DataType=" 12"
  1220                SQLTask: ParameterS ize="-1" / >
  1221              <SQLTask:P arameterBi nding
  1222                SQLTask: ParameterN ame="@batc hRecordCou nt"
  1223                SQLTask: DtsVariabl eName="Use r::batchRe cordCount"
  1224                SQLTask: ParameterD irection=" Input"
  1225                SQLTask: DataType=" 12"
  1226                SQLTask: ParameterS ize="-1" / >
  1227              <SQLTask:P arameterBi nding
  1228                SQLTask: ParameterN ame="@maxS ourceBatch Number"
  1229                SQLTask: DtsVariabl eName="Use r::maxSour ceBatchNum ber"
  1230                SQLTask: ParameterD irection=" Input"
  1231                SQLTask: DataType=" 12"
  1232                SQLTask: ParameterS ize="-1" / >
  1233              <SQLTask:P arameterBi nding
  1234                SQLTask: ParameterN ame="@load Status"
  1235                SQLTask: DtsVariabl eName="Use r::loadSta tusComplet e"
  1236                SQLTask: ParameterD irection=" Input"
  1237                SQLTask: DataType=" 16"
  1238                SQLTask: ParameterS ize="-1" / >
  1239           </ SQLTask:Sq lTaskData>
  1240         </DT S:ObjectDa ta>
  1241       </DTS: Executable >
  1242       <DTS:E xecutable
  1243         DTS: refId="Pac kage\Set B atchLogs E XTERROR"
  1244         DTS: CreationNa me="Micros oft.Execut eSQLTask"
  1245         DTS: Descriptio n="Execute  SQL Task"
  1246         DTS: DTSID="{3C 74A22D-90C 9-4937-8EA B-2C1E0F7E 93FB}"
  1247         DTS: Executable Type="Micr osoft.Exec uteSQLTask "
  1248         DTS: LocaleID=" -1"
  1249         DTS: ObjectName ="Set Batc hLogs EXTE RROR"
  1250         DTS: TaskContac t="Execute  SQL Task;  Microsoft  Corporati on; SQL Se rver 2016;  Â© 2015 M icrosoft C orporation ; All Righ ts Reserve d;http://w ww.microso ft.com/sql /support/d efault.asp ;1"
  1251         DTS: ThreadHint ="1">
  1252         <DTS :Variables  />
  1253         <DTS :ObjectDat a>
  1254           <S QLTask:Sql TaskData
  1255              SQLTask:Co nnection=" {357B8BF8- C32A-44A8- B818-929F6 8D4ED41}"
  1256              SQLTask:Sq lStatement Source="EX EC uspSetB atchLogSta tus @batch LogId, @ba tchRecordC ount, @max SourceBatc hNumber, @ loadStatus ;" xmlns:S QLTask="ww w.microsof t.com/sqls erver/dts/ tasks/sqlt ask">
  1257              <SQLTask:P arameterBi nding
  1258                SQLTask: ParameterN ame="@batc hLogId"
  1259                SQLTask: DtsVariabl eName="Use r::batchLo gId"
  1260                SQLTask: ParameterD irection=" Input"
  1261                SQLTask: DataType=" 12"
  1262                SQLTask: ParameterS ize="-1" / >
  1263              <SQLTask:P arameterBi nding
  1264                SQLTask: ParameterN ame="@batc hRecordCou nt"
  1265                SQLTask: DtsVariabl eName="Use r::batchRe cordCount"
  1266                SQLTask: ParameterD irection=" Input"
  1267                SQLTask: DataType=" 12"
  1268                SQLTask: ParameterS ize="-1" / >
  1269              <SQLTask:P arameterBi nding
  1270                SQLTask: ParameterN ame="@maxS ourceBatch Number"
  1271                SQLTask: DtsVariabl eName="Use r::maxSour ceBatchNum ber"
  1272                SQLTask: ParameterD irection=" Input"
  1273                SQLTask: DataType=" 12"
  1274                SQLTask: ParameterS ize="-1" / >
  1275              <SQLTask:P arameterBi nding
  1276                SQLTask: ParameterN ame="@load Status"
  1277                SQLTask: DtsVariabl eName="Use r::loadSta tusError"
  1278                SQLTask: ParameterD irection=" Input"
  1279                SQLTask: DataType=" 16"
  1280                SQLTask: ParameterS ize="-1" / >
  1281           </ SQLTask:Sq lTaskData>
  1282         </DT S:ObjectDa ta>
  1283       </DTS: Executable >
  1284     </DTS:Ex ecutables>
  1285     <DTS:Pre cedenceCon straints>
  1286       <DTS:P recedenceC onstraint
  1287         DTS: refId="Pac kage.Prece denceConst raints[Con straint]"
  1288         DTS: CreationNa me=""
  1289         DTS: DTSID="{D2 F164FE-BD9 6-4FAE-966 2-EDD83DBC 873F}"
  1290         DTS: EvalOp="1"
  1291         DTS: Expression ="@[User:: batchLogId ] &gt; 0"
  1292         DTS: From="Pack age\Sequen ce Contain er"
  1293         DTS: LogicalAnd ="True"
  1294         DTS: ObjectName ="Constrai nt"
  1295         DTS: To="Packag e\Do Delet e Raw for  BatchLogID  in case o f existing  recs for  that batch " />
  1296       <DTS:P recedenceC onstraint
  1297         DTS: refId="Pac kage.Prece denceConst raints[Con straint 1] "
  1298         DTS: CreationNa me=""
  1299         DTS: DTSID="{3D 0DA5C1-851 8-4BCA-93B 8-B89F08FC 1CC9}"
  1300         DTS: From="Pack age\Data F low Task"
  1301         DTS: LogicalAnd ="True"
  1302         DTS: ObjectName ="Constrai nt 1"
  1303         DTS: To="Packag e\Get Max  Source Bat ch ID and  Batch Coun t" />
  1304       <DTS:P recedenceC onstraint
  1305         DTS: refId="Pac kage.Prece denceConst raints[Con straint 2] "
  1306         DTS: CreationNa me=""
  1307         DTS: DTSID="{21 873E8F-DEE 6-41F2-BA8 C-C8DCACBA E30F}"
  1308         DTS: From="Pack age\Get Ma x Source B atch ID an d Batch Co unt"
  1309         DTS: LogicalAnd ="True"
  1310         DTS: ObjectName ="Constrai nt 2"
  1311         DTS: To="Packag e\Set Batc h Log Stat us" />
  1312       <DTS:P recedenceC onstraint
  1313         DTS: refId="Pac kage.Prece denceConst raints[Con straint 3] "
  1314         DTS: CreationNa me=""
  1315         DTS: DTSID="{22 9F2CFB-6C2 A-440D-A33 8-28279172 5BC5}"
  1316         DTS: From="Pack age\Data F low Task"
  1317         DTS: LogicalAnd ="True"
  1318         DTS: ObjectName ="Constrai nt 3"
  1319         DTS: To="Packag e\Set Batc hLogs EXTE RROR"
  1320         DTS: Value="1"  />
  1321       <DTS:P recedenceC onstraint
  1322         DTS: refId="Pac kage.Prece denceConst raints[Con straint 4] "
  1323         DTS: CreationNa me=""
  1324         DTS: DTSID="{24 C6477E-616 0-4424-AEE 3-C2C8BD2F 1A97}"
  1325         DTS: From="Pack age\Do Del ete Raw fo r BatchLog ID in case  of existi ng recs fo r that bat ch"
  1326         DTS: LogicalAnd ="True"
  1327         DTS: ObjectName ="Constrai nt 4"
  1328         DTS: To="Packag e\Data Flo w Task" />
  1329       <DTS:P recedenceC onstraint
  1330         DTS: refId="Pac kage.Prece denceConst raints[Con straint 5] "
  1331         DTS: CreationNa me=""
  1332         DTS: DTSID="{F7 409247-683 A-4DEB-97F 3-4FC82A3B AC31}"
  1333         DTS: From="Pack age\Do Del ete Raw fo r BatchLog ID in case  of existi ng recs fo r that bat ch"
  1334         DTS: LogicalAnd ="True"
  1335         DTS: ObjectName ="Constrai nt 5"
  1336         DTS: To="Packag e\Set Batc hLogs EXTE RROR"
  1337         DTS: Value="1"  />
  1338     </DTS:Pr ecedenceCo nstraints>
  1339     <DTS:Des ignTimePro perties><! [CDATA[<?x ml version ="1.0"?>
  1340   <!--This C DATA secti on contain s the layo ut informa tion of th e package.  The secti on include s informat ion such a s (x,y) co ordinates,  width, an d height.- ->
  1341   <!--If you  manually  edit this  section an d make a m istake, yo u can dele te it. -->
  1342   <!--The pa ckage will  still be  able to lo ad normall y but the  previous l ayout info rmation wi ll be lost  and the d esigner wi ll automat ically re- arrange th e elements  on the de sign surfa ce.-->
  1343   <Objects
  1344     Version= "8">
  1345     <!--Each  node belo w will con tain prope rties that  do not af fect runti me behavio r.-->
  1346     <Package
  1347       design -time-name ="Package" >
  1348       <Layou tInfo>
  1349         <Gra phLayout
  1350           Ca pacity="16 " xmlns="c lr-namespa ce:Microso ft.SqlServ er.Integra tionServic es.Designe r.Model.Se rializatio n;assembly =Microsoft .SqlServer .Integrati onServices .Graph" xm lns:mssgle ="clr-name space:Micr osoft.SqlS erver.Grap h.LayoutEn gine;assem bly=Micros oft.SqlSer ver.Graph"  xmlns:ass embly="htt p://schema s.microsof t.com/winf x/2006/xam l" xmlns:m ssgm="clr- namespace: Microsoft. SqlServer. Graph.Mode l;assembly =Microsoft .SqlServer .Graph">
  1351           <N odeLayout
  1352              Size="151, 42"
  1353              Id="Packag e\Data Flo w Task"
  1354              TopLeft="7 06,225" />
  1355           <N odeLayout
  1356              Size="220, 73"
  1357              Id="Packag e\Do Delet e Raw for  BatchLogID  in case o f existing  recs for  that batch "
  1358              TopLeft="7 23,57" />
  1359           <N odeLayout
  1360              Size="281, 42"
  1361              Id="Packag e\Get Max  Source Bat ch ID and  Batch Coun t"
  1362              TopLeft="7 12,308" />
  1363           <N odeLayout
  1364              Size="162, 42"
  1365              Id="Packag e\Sequence  Container \Get Batch  Log ID"
  1366              TopLeft="5 2,23" />
  1367           <N odeLayout
  1368              Size="224, 42"
  1369              Id="Packag e\Sequence  Container \Get Prior  Max Sourc e Batch ID "
  1370              TopLeft="3 5,92" />
  1371           <C ontainerLa yout
  1372              HeaderHeig ht="43"
  1373              IsExpanded ="True"
  1374              PanelSize= "269,189"
  1375              Size="269, 232"
  1376              Id="Packag e\Sequence  Container "
  1377              TopLeft="3 85,41" />
  1378           <N odeLayout
  1379              Size="179, 42"
  1380              Id="Packag e\Set Batc h Log Stat us"
  1381              TopLeft="6 69,397" />
  1382           <N odeLayout
  1383              Size="203, 42"
  1384              Id="Packag e\Set Batc hLogs EXTE RROR"
  1385              TopLeft="8 84,239" />
  1386           <E dgeLayout
  1387              Id="Packag e.Preceden ceConstrai nts[Constr aint]"
  1388              TopLeft="6 54,152.5">
  1389              <EdgeLayou t.Curve>
  1390                <mssgle: Curve
  1391                  StartC onnector=" {assembly: Null}"
  1392                  EndCon nector="69 ,-59"
  1393                  Start= "0,0"
  1394                  End="6 1.5,-59">
  1395                  <mssgl e:Curve.Se gments>
  1396                    <mss gle:Segmen tCollectio n
  1397                      Ca pacity="5" >
  1398                      <m ssgle:Line Segment
  1399                         End="30.5, 0" />
  1400                      <m ssgle:Cubi cBezierSeg ment
  1401                         Point1="30 .5,0"
  1402                         Point2="34 .5,0"
  1403                         Point3="34 .5,-4" />
  1404                      <m ssgle:Line Segment
  1405                         End="34.5, -55" />
  1406                      <m ssgle:Cubi cBezierSeg ment
  1407                         Point1="34 .5,-55"
  1408                         Point2="34 .5,-59"
  1409                         Point3="38 .5,-59" />
  1410                      <m ssgle:Line Segment
  1411                         End="61.5, -59" />
  1412                    </ms sgle:Segme ntCollecti on>
  1413                  </mssg le:Curve.S egments>
  1414                </mssgle :Curve>
  1415              </EdgeLayo ut.Curve>
  1416              <EdgeLayou t.Labels>
  1417                <mssgm:E dgeLabel
  1418                  Boundi ngBox="26. 5,1,16,16"
  1419                  Relati vePosition ="Any" />
  1420              </EdgeLayo ut.Labels>
  1421           </ EdgeLayout >
  1422           <E dgeLayout
  1423              Id="Packag e.Preceden ceConstrai nts[Constr aint 1]"
  1424              TopLeft="7 81.5,267">
  1425              <EdgeLayou t.Curve>
  1426                <mssgle: Curve
  1427                  StartC onnector=" {assembly: Null}"
  1428                  EndCon nector="71 ,41"
  1429                  Start= "0,0"
  1430                  End="7 1,33.5">
  1431                  <mssgl e:Curve.Se gments>
  1432                    <mss gle:Segmen tCollectio n
  1433                      Ca pacity="5" >
  1434                      <m ssgle:Line Segment
  1435                         End="0,16. 5" />
  1436                      <m ssgle:Cubi cBezierSeg ment
  1437                         Point1="0, 16.5"
  1438                         Point2="0, 20.5"
  1439                         Point3="4, 20.5" />
  1440                      <m ssgle:Line Segment
  1441                         End="67,20 .5" />
  1442                      <m ssgle:Cubi cBezierSeg ment
  1443                         Point1="67 ,20.5"
  1444                         Point2="71 ,20.5"
  1445                         Point3="71 ,24.5" />
  1446                      <m ssgle:Line Segment
  1447                         End="71,33 .5" />
  1448                    </ms sgle:Segme ntCollecti on>
  1449                  </mssg le:Curve.S egments>
  1450                </mssgle :Curve>
  1451              </EdgeLayo ut.Curve>
  1452              <EdgeLayou t.Labels>
  1453                <EdgeLab elCollecti on />
  1454              </EdgeLayo ut.Labels>
  1455           </ EdgeLayout >
  1456           <E dgeLayout
  1457              Id="Packag e.Preceden ceConstrai nts[Constr aint 2]"
  1458              TopLeft="8 52.5,350">
  1459              <EdgeLayou t.Curve>
  1460                <mssgle: Curve
  1461                  StartC onnector=" {assembly: Null}"
  1462                  EndCon nector="-9 4,47"
  1463                  Start= "0,0"
  1464                  End="- 94,39.5">
  1465                  <mssgl e:Curve.Se gments>
  1466                    <mss gle:Segmen tCollectio n
  1467                      Ca pacity="5" >
  1468                      <m ssgle:Line Segment
  1469                         End="0,19. 5" />
  1470                      <m ssgle:Cubi cBezierSeg ment
  1471                         Point1="0, 19.5"
  1472                         Point2="0, 23.5"
  1473                         Point3="-4 ,23.5" />
  1474                      <m ssgle:Line Segment
  1475                         End="-90,2 3.5" />
  1476                      <m ssgle:Cubi cBezierSeg ment
  1477                         Point1="-9 0,23.5"
  1478                         Point2="-9 4,23.5"
  1479                         Point3="-9 4,27.5" />
  1480                      <m ssgle:Line Segment
  1481                         End="-94,3 9.5" />
  1482                    </ms sgle:Segme ntCollecti on>
  1483                  </mssg le:Curve.S egments>
  1484                </mssgle :Curve>
  1485              </EdgeLayo ut.Curve>
  1486              <EdgeLayou t.Labels>
  1487                <EdgeLab elCollecti on />
  1488              </EdgeLayo ut.Labels>
  1489           </ EdgeLayout >
  1490           <E dgeLayout
  1491              Id="Packag e.Preceden ceConstrai nts[Constr aint 3]"
  1492              TopLeft="8 57,246">
  1493              <EdgeLayou t.Curve>
  1494                <mssgle: Curve
  1495                  StartC onnector=" {assembly: Null}"
  1496                  EndCon nector="27 ,14"
  1497                  Start= "0,0"
  1498                  End="1 9.5,14">
  1499                  <mssgl e:Curve.Se gments>
  1500                    <mss gle:Segmen tCollectio n
  1501                      Ca pacity="5" >
  1502                      <m ssgle:Line Segment
  1503                         End="9.5,0 " />
  1504                      <m ssgle:Cubi cBezierSeg ment
  1505                         Point1="9. 5,0"
  1506                         Point2="13 .5,0"
  1507                         Point3="13 .5,4" />
  1508                      <m ssgle:Line Segment
  1509                         End="13.5, 10" />
  1510                      <m ssgle:Cubi cBezierSeg ment
  1511                         Point1="13 .5,10"
  1512                         Point2="13 .5,14"
  1513                         Point3="17 .5,14" />
  1514                      <m ssgle:Line Segment
  1515                         End="19.5, 14" />
  1516                    </ms sgle:Segme ntCollecti on>
  1517                  </mssg le:Curve.S egments>
  1518                </mssgle :Curve>
  1519              </EdgeLayo ut.Curve>
  1520              <EdgeLayou t.Labels>
  1521                <mssgm:E dgeLabel
  1522                  Boundi ngBox="-1. 7413476562 5,-15.7490 234375,30. 4826953125 ,9.7490234 375"
  1523                  Relati vePosition ="Any" />
  1524              </EdgeLayo ut.Labels>
  1525           </ EdgeLayout >
  1526           <E dgeLayout
  1527              Id="Packag e.Preceden ceConstrai nts[Constr aint 4]"
  1528              TopLeft="7 97.6666666 66667,130" >
  1529              <EdgeLayou t.Curve>
  1530                <mssgle: Curve
  1531                  StartC onnector=" {assembly: Null}"
  1532                  EndCon nector="-1 6.16666666 66666,95"
  1533                  Start= "0,0"
  1534                  End="- 16.1666666 666666,87. 5">
  1535                  <mssgl e:Curve.Se gments>
  1536                    <mss gle:Segmen tCollectio n
  1537                      Ca pacity="5" >
  1538                      <m ssgle:Line Segment
  1539                         End="0,34. 4115523465 704" />
  1540                      <m ssgle:Cubi cBezierSeg ment
  1541                         Point1="0, 34.4115523 465704"
  1542                         Point2="0, 38.4115523 465704"
  1543                         Point3="-4 ,38.411552 3465704" / >
  1544                      <m ssgle:Line Segment
  1545                         End="-12.1 6666666666 66,38.4115 523465704"  />
  1546                      <m ssgle:Cubi cBezierSeg ment
  1547                         Point1="-1 2.16666666 66666,38.4 1155234657 04"
  1548                         Point2="-1 6.16666666 66666,38.4 1155234657 04"
  1549                         Point3="-1 6.16666666 66666,42.4 1155234657 04" />
  1550                      <m ssgle:Line Segment
  1551                         End="-16.1 6666666666 66,87.5" / >
  1552                    </ms sgle:Segme ntCollecti on>
  1553                  </mssg le:Curve.S egments>
  1554                </mssgle :Curve>
  1555              </EdgeLayo ut.Curve>
  1556              <EdgeLayou t.Labels>
  1557                <EdgeLab elCollecti on />
  1558              </EdgeLayo ut.Labels>
  1559           </ EdgeLayout >
  1560           <E dgeLayout
  1561              Id="Packag e.Preceden ceConstrai nts[Constr aint 5]"
  1562              TopLeft="8 68.3333333 33333,130" >
  1563              <EdgeLayou t.Curve>
  1564                <mssgle: Curve
  1565                  StartC onnector=" {assembly: Null}"
  1566                  EndCon nector="11 7.16666666 6667,109"
  1567                  Start= "0,0"
  1568                  End="1 17.1666666 66667,101. 5">
  1569                  <mssgl e:Curve.Se gments>
  1570                    <mss gle:Segmen tCollectio n
  1571                      Ca pacity="5" >
  1572                      <m ssgle:Line Segment
  1573                         End="0,40. 0722021660 65" />
  1574                      <m ssgle:Cubi cBezierSeg ment
  1575                         Point1="0, 40.0722021 66065"
  1576                         Point2="0, 44.0722021 66065"
  1577                         Point3="4, 44.0722021 66065" />
  1578                      <m ssgle:Line Segment
  1579                         End="113.1 6666666666 7,44.07220 2166065" / >
  1580                      <m ssgle:Cubi cBezierSeg ment
  1581                         Point1="11 3.16666666 6667,44.07 2202166065 "
  1582                         Point2="11 7.16666666 6667,44.07 2202166065 "
  1583                         Point3="11 7.16666666 6667,48.07 2202166065 " />
  1584                      <m ssgle:Line Segment
  1585                         End="117.1 6666666666 7,101.5" / >
  1586                    </ms sgle:Segme ntCollecti on>
  1587                  </mssg le:Curve.S egments>
  1588                </mssgle :Curve>
  1589              </EdgeLayo ut.Curve>
  1590              <EdgeLayou t.Labels>
  1591                <mssgm:E dgeLabel
  1592                  Boundi ngBox="43. 3419856770 835,49.072 202166065, 30.4826953 125,9.7490 234375"
  1593                  Relati vePosition ="Any" />
  1594              </EdgeLayo ut.Labels>
  1595           </ EdgeLayout >
  1596           <A nnotationL ayout
  1597              Text="Ther e is still  probably  room for i mprovement  on the er ror handli ng."
  1598              ParentId=" Package"
  1599              FontInfo=" {assembly: Null}"
  1600              Size="387, 40"
  1601              Id="93b442 5d-3980-4d 2a-a138-cd 2143f374e8 "
  1602              TopLeft="6 87,16" />
  1603           <A nnotationL ayout
  1604              Text="Get  PriorMax S ource Batc h ID task  will fail  for every  new raw ta ble &#xA;d uring the  initial ru n, because  of some n ull values  "
  1605              ParentId=" Package"
  1606              FontInfo=" {assembly: Null}"
  1607              Size="380, 56"
  1608              Id="a965ba ec-451a-46 ee-adbf-0d f55f2c09d5 "
  1609              TopLeft="3 43,282" />
  1610         </Gr aphLayout>
  1611       </Layo utInfo>
  1612     </Packag e>
  1613     <TaskHos t
  1614       design -time-name ="Package\ Data Flow  Task">
  1615       <Layou tInfo>
  1616         <Gra phLayout
  1617           Ca pacity="8"  xmlns="cl r-namespac e:Microsof t.SqlServe r.Integrat ionService s.Designer .Model.Ser ialization ;assembly= Microsoft. SqlServer. Integratio nServices. Graph" xml ns:mssgle= "clr-names pace:Micro soft.SqlSe rver.Graph .LayoutEng ine;assemb ly=Microso ft.SqlServ er.Graph"  xmlns:asse mbly="http ://schemas .microsoft .com/winfx /2006/xaml ">
  1618           <N odeLayout
  1619              Size="171, 42"
  1620              Id="Packag e\Data Flo w Task\OLE  DB Destin ation"
  1621              TopLeft="6 01,219" />
  1622           <N odeLayout
  1623              Size="150, 42"
  1624              Id="Packag e\Data Flo w Task\OLE  DB Source "
  1625              TopLeft="1 36,86" />
  1626           <N odeLayout
  1627              Size="154, 42"
  1628              Id="Packag e\Data Flo w Task\Der ived Colum n"
  1629              TopLeft="3 40,119" />
  1630           <E dgeLayout
  1631              Id="Packag e\Data Flo w Task.Pat hs[OLE DB  Source Out put]"
  1632              TopLeft="2 86,107">
  1633              <EdgeLayou t.Curve>
  1634                <mssgle: Curve
  1635                  StartC onnector=" {assembly: Null}"
  1636                  EndCon nector="54 ,33"
  1637                  Start= "0,0"
  1638                  End="4 6.5,33">
  1639                  <mssgl e:Curve.Se gments>
  1640                    <mss gle:Segmen tCollectio n
  1641                      Ca pacity="5" >
  1642                      <m ssgle:Line Segment
  1643                         End="23,0"  />
  1644                      <m ssgle:Cubi cBezierSeg ment
  1645                         Point1="23 ,0"
  1646                         Point2="27 ,0"
  1647                         Point3="27 ,4" />
  1648                      <m ssgle:Line Segment
  1649                         End="27,29 " />
  1650                      <m ssgle:Cubi cBezierSeg ment
  1651                         Point1="27 ,29"
  1652                         Point2="27 ,33"
  1653                         Point3="31 ,33" />
  1654                      <m ssgle:Line Segment
  1655                         End="46.5, 33" />
  1656                    </ms sgle:Segme ntCollecti on>
  1657                  </mssg le:Curve.S egments>
  1658                </mssgle :Curve>
  1659              </EdgeLayo ut.Curve>
  1660              <EdgeLayou t.Labels>
  1661                <EdgeLab elCollecti on />
  1662              </EdgeLayo ut.Labels>
  1663           </ EdgeLayout >
  1664           <E dgeLayout
  1665              Id="Packag e\Data Flo w Task.Pat hs[Derived  Column Ou tput]"
  1666              TopLeft="4 17,161">
  1667              <EdgeLayou t.Curve>
  1668                <mssgle: Curve
  1669                  StartC onnector=" {assembly: Null}"
  1670                  EndCon nector="26 9.5,58"
  1671                  Start= "0,0"
  1672                  End="2 69.5,50.5" >
  1673                  <mssgl e:Curve.Se gments>
  1674                    <mss gle:Segmen tCollectio n
  1675                      Ca pacity="5" >
  1676                      <m ssgle:Line Segment
  1677                         End="0,25"  />
  1678                      <m ssgle:Cubi cBezierSeg ment
  1679                         Point1="0, 25"
  1680                         Point2="0, 29"
  1681                         Point3="4, 29" />
  1682                      <m ssgle:Line Segment
  1683                         End="265.5 ,29" />
  1684                      <m ssgle:Cubi cBezierSeg ment
  1685                         Point1="26 5.5,29"
  1686                         Point2="26 9.5,29"
  1687                         Point3="26 9.5,33" />
  1688                      <m ssgle:Line Segment
  1689                         End="269.5 ,50.5" />
  1690                    </ms sgle:Segme ntCollecti on>
  1691                  </mssg le:Curve.S egments>
  1692                </mssgle :Curve>
  1693              </EdgeLayo ut.Curve>
  1694              <EdgeLayou t.Labels>
  1695                <EdgeLab elCollecti on />
  1696              </EdgeLayo ut.Labels>
  1697           </ EdgeLayout >
  1698         </Gr aphLayout>
  1699       </Layo utInfo>
  1700     </TaskHo st>
  1701     <Pipelin eComponent Metadata
  1702       design -time-name ="Package\ Data Flow  Task\OLE D B Destinat ion">
  1703       <Prope rties>
  1704         <Pro perty>
  1705           <N ame>DataSo urceViewID </Name>
  1706         </Pr operty>
  1707         <Pro perty>
  1708           <N ame>TableI nfoObjectT ype</Name>
  1709           <V alue
  1710              type="q2:s tring">Tab le</Value>
  1711         </Pr operty>
  1712       </Prop erties>
  1713     </Pipeli neComponen tMetadata>
  1714     <Pipelin eComponent Metadata
  1715       design -time-name ="Package\ Data Flow  Task\OLE D B Source">
  1716       <Prope rties>
  1717         <Pro perty>
  1718           <N ame>DataSo urceViewID </Name>
  1719         </Pr operty>
  1720       </Prop erties>
  1721     </Pipeli neComponen tMetadata>
  1722   </Objects> ]]></DTS:D esignTimeP roperties>
  1723   </DTS:Exec utable>