From 9afdd288b0f636049a9f8c044d0b93feac2418ff Mon Sep 17 00:00:00 2001 From: devinleighsmith Date: Wed, 5 Jul 2023 11:47:57 -0700 Subject: [PATCH] financial activity code instead of id, concurrency control and update corrections. --- .../PAIMS_PIMS_CODES/PAIMS_PIMS_CODES.dtproj | 14 +- .../PAIMS_PIMS_CODES/PAIMS_PIMS_CODES.dtsx | 8319 +++++++++++------ .../PAIMS_PIMS_LEASE/PAIMS_PIMS_LEASE.dtproj | 23 +- .../PAIMS_PIMS_LEASE/PAIMS_PIMS_LOAD.dtsx | 2521 +++-- 4 files changed, 6904 insertions(+), 3973 deletions(-) diff --git a/etl/PAIMS_PIMS_CODES/PAIMS_PIMS_CODES/PAIMS_PIMS_CODES.dtproj b/etl/PAIMS_PIMS_CODES/PAIMS_PIMS_CODES/PAIMS_PIMS_CODES.dtproj index 8c74fb6e85..d3f621a342 100644 --- a/etl/PAIMS_PIMS_CODES/PAIMS_PIMS_CODES/PAIMS_PIMS_CODES.dtproj +++ b/etl/PAIMS_PIMS_CODES/PAIMS_PIMS_CODES/PAIMS_PIMS_CODES.dtproj @@ -1,12 +1,12 @@  Project - 15.0.2000.180 + 16.0.948.0 9.0.1.0 $base64$PFNvdXJjZUNvbnRyb2xJbmZvIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zOmRkbDI9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDAzL2VuZ2luZS8yIiB4bWxuczpkZGwyXzI9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDAzL2VuZ2luZS8yLzIiIHhtbG5zOmRkbDEwMF8xMDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDA4L2VuZ2luZS8xMDAvMTAwIiB4bWxuczpkZGwyMDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEwL2VuZ2luZS8yMDAiIHhtbG5zOmRkbDIwMF8yMDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEwL2VuZ2luZS8yMDAvMjAwIiB4bWxuczpkZGwzMDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDExL2VuZ2luZS8zMDAiIHhtbG5zOmRkbDMwMF8zMDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDExL2VuZ2luZS8zMDAvMzAwIiB4bWxuczpkZGw0MDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEyL2VuZ2luZS80MDAiIHhtbG5zOmRkbDQwMF80MDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEyL2VuZ2luZS80MDAvNDAwIiB4bWxuczpkZGw1MDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEzL2VuZ2luZS81MDAiIHhtbG5zOmRkbDUwMF81MDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEzL2VuZ2luZS81MDAvNTAwIiB4bWxuczpkd2Q9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vRGF0YVdhcmVob3VzZS9EZXNpZ25lci8xLjAiPg0KICA8RW5hYmxlZD5mYWxzZTwvRW5hYmxlZD4NCiAgPFByb2plY3ROYW1lPjwvUHJvamVjdE5hbWU+DQogIDxBdXhQYXRoPjwvQXV4UGF0aD4NCiAgPExvY2FsUGF0aD48L0xvY2FsUGF0aD4NCiAgPFByb3ZpZGVyPjwvUHJvdmlkZXI+DQo8L1NvdXJjZUNvbnRyb2xJbmZvPg== - PAIMS_PIMS_CODES.database - PAIMS_PIMS_CODES.database + PAIMS_PIMS_CODES 2.database + PAIMS_PIMS_CODES 2.database @@ -41,10 +41,10 @@ PAIMS_PIMS_CODES 1 0 - 1319 + 1406 - {0141AA3C-2A3A-4B5C-A83F-6D6B327771D0} + {5BB42B30-09D9-4E62-9A8E-E77E1E840BDB} 8 @@ -77,7 +77,7 @@ 0 0 0 - Data Source=lizzard.th.gov.bc.ca:20208/dev03;User ID=prisharm;Provider=OraOLEDB.Oracle.1;Persist Security Info=True; + Data Source=lizzard.th.gov.bc.ca:20208/dev03;User ID=desmith;Provider=OraOLEDB.Oracle.1;Persist Security Info=True; 18 @@ -195,7 +195,7 @@ 0 0 0 - prisharm + desmith 18 diff --git a/etl/PAIMS_PIMS_CODES/PAIMS_PIMS_CODES/PAIMS_PIMS_CODES.dtsx b/etl/PAIMS_PIMS_CODES/PAIMS_PIMS_CODES/PAIMS_PIMS_CODES.dtsx index 105188e6f1..47ff2b47e8 100644 --- a/etl/PAIMS_PIMS_CODES/PAIMS_PIMS_CODES/PAIMS_PIMS_CODES.dtsx +++ b/etl/PAIMS_PIMS_CODES/PAIMS_PIMS_CODES/PAIMS_PIMS_CODES.dtsx @@ -8,14 +8,14 @@ DTS:DelayValidation="True" DTS:DTSID="{30A9D70A-4FD0-4190-9F75-5E50103B4F43}" DTS:ExecutableType="Microsoft.Package" - DTS:LastModifiedProductVersion="15.0.2000.180" + DTS:LastModifiedProductVersion="16.0.948.0" DTS:LocaleID="4105" DTS:ObjectName="PAIMS_PIMS_CODES" DTS:PackageType="5" DTS:ProtectionLevel="0" DTS:TransactionOption="0" - DTS:VersionBuild="1319" - DTS:VersionGUID="{0141AA3C-2A3A-4B5C-A83F-6D6B327771D0}"> + DTS:VersionBuild="1406" + DTS:VersionGUID="{5BB42B30-09D9-4E62-9A8E-E77E1E840BDB}"> 8 @@ -28,11 +28,7 @@ - - + DTS:ConnectionString="Data Source=lizzard.th.gov.bc.ca:20208/dev03;User ID=desmith;Provider=OraOLEDB.Oracle.1;Persist Security Info=True;" /> - - + DTS:ConnectionString="Data Source=localhost,5433;User ID=admin;Initial Catalog=pims;Provider=SQLNCLI11.1;Persist Security Info=True;Auto Translate=False;Application Name=SSIS-Package2-{397DB851-677E-4A08-84AE-EE76A4654BC7}PIMS;" /> @@ -387,7 +379,8 @@ lineageId="Package\Load Account Codes\HWY_GL_Account.Outputs[OLE DB Source Output].Columns[NO]" /> @@ -727,12 +720,12 @@ refId="Package\Load Account Codes\Derived Column 1.Inputs[Derived Column Input].Columns[ErrorCode]" cachedDataType="i4" cachedName="ErrorCode" - lineageId="Package\Load Account Codes\Update PIMS_Chart_of_Accounts_Codes.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> + lineageId="Package\Load Account Codes\UPDATE PIMS.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> + lineageId="Package\Load Account Codes\UPDATE PIMS.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]" /> #{Package\Load Account Codes\Update PIMS_Chart_of_Accounts_Codes.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} + name="Expression">#{Package\Load Account Codes\UPDATE PIMS.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} #{Package\Load Account Codes\Update PIMS_Chart_of_Accounts_Codes.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} + name="Expression">#{Package\Load Account Codes\UPDATE PIMS.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> select * from [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] select * from (select * from [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE]) [refTable] -where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[CODE] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[APP_CREATE_USERID] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE]) [refTable] +where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[CODE] = ? #{Package\Load Account Codes\HWY_GL_Account.Outputs[OLE DB Source Output].Columns[EFFECTIVE_DATE]};#{Package\Load Account Codes\HWY_GL_Account.Outputs[OLE DB Source Output].Columns[EXPIRY_DATE]};#{Package\Load Account Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of NO]};#{Package\Load Account Codes\Data Conversion.Outputs[Data Conversion Output].Columns[DESCRIPTION_unicode]};#{Package\Load Account Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]}; + name="ParameterMap">#{Package\Load Account Codes\HWY_GL_Account.Outputs[OLE DB Source Output].Columns[EFFECTIVE_DATE]};#{Package\Load Account Codes\HWY_GL_Account.Outputs[OLE DB Source Output].Columns[EXPIRY_DATE]};#{Package\Load Account Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of NO]}; - - - DESCRIPTION - - - - - - APP_CREATE_USERID - - - @@ -1530,7 +1489,7 @@ where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refT dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT NO + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT NO , cast(DESCRIPTION as varchar(100)) , EFFECTIVE_DATE , EXPIRY_DATE @@ -1600,7 +1559,8 @@ FROM APP_HWY.HWY_GL_ACCOUNT truncationRowDisposition="FailComponent" /> name="EXPIRY_DATE" /> @@ -1644,7 +1605,8 @@ FROM APP_HWY.HWY_GL_ACCOUNT precision="5" /> @@ -1700,7 +1662,7 @@ FROM APP_HWY.HWY_GL_ACCOUNT dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE] select * from (select * from [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_CHART_OF_ACCOUNTS_CODE]) [refTable] where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[CODE] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[APP_CREATE_USERID] = ? - - - DESCRIPTION - - - + + + DESCRIPTION + + + @@ -2163,11 +2125,11 @@ where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refT @@ -2180,12 +2142,24 @@ where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refT description="The SQL command to be executed." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update dbo.PIMS_CHART_OF_ACCOUNTS_CODE -set code=?, -DESCRIPTION=?, -EFFECTIVE_DATE=?, -EXPIRY_DATE=? -where APP_LAST_UPDATE_USERID=? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">DECLARE @CODE as nvarchar(20) +DECLARE @DESCRIPTION as nvarchar(200) +DECLARE @EFFECTIVE_DATE as datetime +DECLARE @EXPIRY_DATE as datetime + +SET @CODE = ? +SET @DESCRIPTION = ? +SET @EFFECTIVE_DATE = ? +SET @EXPIRY_DATE = ? + +UPDATE PIMS_CHART_OF_ACCOUNTS_CODE SET +CODE = @CODE , +DESCRIPTION = @DESCRIPTION , +EFFECTIVE_DATE = @EFFECTIVE_DATE , +EXPIRY_DATE = @EXPIRY_DATE , +APP_LAST_UPDATE_TIMESTAMP = ?, +CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 +WHERE CODE = @CODE AND EFFECTIVE_DATE = @EFFECTIVE_DATE AND (EXPIRY_DATE = @EXPIRY_DATE OR (EXPIRY_DATE IS NULL AND @EXPIRY_DATE IS NULL)) AND APP_LAST_UPDATE_USERID = ? + @@ -2256,7 +2236,7 @@ where APP_LAST_UPDATE_USERID=? @@ -2268,7 +2248,7 @@ where APP_LAST_UPDATE_USERID=? @@ -2279,7 +2259,7 @@ where APP_LAST_UPDATE_USERID=? @@ -2290,10 +2270,21 @@ where APP_LAST_UPDATE_USERID=? + + 65 + + + + name="Param_5"> + synchronousInputId="Package\Load Account Codes\UPDATE PIMS.Inputs[OLE DB Command Input]"> + synchronousInputId="Package\Load Account Codes\UPDATE PIMS.Inputs[OLE DB Command Input]"> @@ -2365,19 +2356,19 @@ where APP_LAST_UPDATE_USERID=? startId="Package\Load Account Codes\Existing PIMS_Chart_of_Accounts_Code records.Outputs[Lookup Match Output]" /> + startId="Package\Load Account Codes\Existing PIMS_Chart_of_Accounts_Code records.Outputs[Lookup No Match Output]" /> + startId="Package\Load Account Codes\PIMS_Chart_of_Accounts_Code records to be updated.Outputs[Lookup No Match Output]" /> + startId="Package\Load Account Codes\UPDATE PIMS.Outputs[OLE DB Command Error Output]" /> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT BUSINESS_FUNCTION_CODE + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT BUSINESS_FUNCTION_CODE , DESCRIPTION , SORT_ORDER , CREATE_DATETIME @@ -2773,7 +2764,8 @@ FROM APP_CPS.CPS_BUSINESS_FUNCTIONS truncationRowDisposition="FailComponent" /> isUsed="True"> @@ -2911,13 +2908,15 @@ FROM APP_CPS.CPS_BUSINESS_FUNCTIONS @@ -3281,12 +3280,12 @@ FROM APP_CPS.CPS_BUSINESS_FUNCTIONS refId="Package\Load Business Function Codes\Derived Column 1.Inputs[Derived Column Input].Columns[ErrorCode]" cachedDataType="i4" cachedName="ErrorCode" - lineageId="Package\Load Business Function Codes\Update PIMS_Business_Function_Code.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> + lineageId="Package\Load Business Function Codes\UPDATE PIMS.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> + lineageId="Package\Load Business Function Codes\UPDATE PIMS.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]" /> containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">#{Package\Load Business Function Codes\Update PIMS_Business_Function_Code.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} + name="Expression">#{Package\Load Business Function Codes\UPDATE PIMS.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">#{Package\Load Business Function Codes\Update PIMS_Business_Function_Code.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} + name="Expression">#{Package\Load Business Function Codes\UPDATE PIMS.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_BUSINESS_FUNCTION_CODE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_BUSINESS_FUNCTION_CODE] select * from (select * from [dbo].[PIMS_BUSINESS_FUNCTION_CODE]) [refTable] -where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[CODE] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[DISPLAY_ORDER] = ? and [refTable].[APP_CREATE_USERID] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_BUSINESS_FUNCTION_CODE]) [refTable] +where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[CODE] = ? #{Package\Load Business Function Codes\CPS_Business_Functions.Outputs[OLE DB Source Output].Columns[CREATE_DATETIME]};#{Package\Load Business Function Codes\CPS_Business_Functions.Outputs[OLE DB Source Output].Columns[INACTIVE_DATE]};#{Package\Load Business Function Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of BUSINESS_FUNCTION_CODE]};#{Package\Load Business Function Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of DESCRIPTION]};#{Package\Load Business Function Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Display_ORDER]};#{Package\Load Business Function Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]}; + name="ParameterMap">#{Package\Load Business Function Codes\CPS_Business_Functions.Outputs[OLE DB Source Output].Columns[CREATE_DATETIME]};#{Package\Load Business Function Codes\CPS_Business_Functions.Outputs[OLE DB Source Output].Columns[INACTIVE_DATE]};#{Package\Load Business Function Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of BUSINESS_FUNCTION_CODE]}; - - - DESCRIPTION - - - - - - DISPLAY_ORDER - - - - - - APP_CREATE_USERID - - - @@ -4110,7 +4059,7 @@ where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refT dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> - - + + @@ -4390,13 +4339,13 @@ where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refT description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_BUSINESS_FUNCTION_CODE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_BUSINESS_FUNCTION_CODE] select * from (select * from [dbo].[PIMS_BUSINESS_FUNCTION_CODE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_BUSINESS_FUNCTION_CODE]) [refTable] where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[CODE] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[DISPLAY_ORDER] = ? and [refTable].[APP_CREATE_USERID] = ? + cachedLength="16" + cachedName="APP_CREATE_USERID" + lineageId="Package\Load Business Function Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]"> DESCRIPTION + name="JoinToReferenceColumn">APP_CREATE_USERID + refId="Package\Load Business Function Codes\PIMS_Business_Function_Code records to be updated.Inputs[Lookup Input].Columns[Copy of DESCRIPTION]" + cachedDataType="wstr" + cachedLength="30" + cachedName="Copy of DESCRIPTION" + lineageId="Package\Load Business Function Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of DESCRIPTION]"> DISPLAY_ORDER + name="JoinToReferenceColumn">DESCRIPTION + refId="Package\Load Business Function Codes\PIMS_Business_Function_Code records to be updated.Inputs[Lookup Input].Columns[Display_ORDER]" + cachedDataType="i4" + cachedName="Display_ORDER" + lineageId="Package\Load Business Function Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Display_ORDER]"> APP_CREATE_USERID + name="JoinToReferenceColumn">DISPLAY_ORDER @@ -4618,13 +4567,28 @@ where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refT description="The SQL command to be executed." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update dbo.PIMS_BUSINESS_FUNCTION_CODE -set CODE=?, -DESCRIPTION=?, -DISPLAY_ORDER=?, -EFFECTIVE_DATE=?, -EXPIRY_DATE=? -where APP_LAST_UPDATE_USERID=? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">DECLARE @CODE as nvarchar(20) +DECLARE @DESCRIPTION as nvarchar(200) +DECLARE @EFFECTIVE_DATE as datetime +DECLARE @EXPIRY_DATE as datetime +DECLARE @DISPLAY_ORDER as int + +SET @CODE = ? +SET @DESCRIPTION = ? +SET @EFFECTIVE_DATE = ? +SET @EXPIRY_DATE = ? +SET @DISPLAY_ORDER = ? + +UPDATE PIMS_BUSINESS_FUNCTION_CODE + SET +CODE = @CODE, +DESCRIPTION = @DESCRIPTION , +EFFECTIVE_DATE = @EFFECTIVE_DATE , +EXPIRY_DATE = @EXPIRY_DATE , +DISPLAY_ORDER = @DISPLAY_ORDER , +APP_LAST_UPDATE_TIMESTAMP = ?, +CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 +WHERE CODE = @CODE AND EFFECTIVE_DATE = @EFFECTIVE_DATE AND (EXPIRY_DATE = @EXPIRY_DATE OR (EXPIRY_DATE IS NULL AND @EXPIRY_DATE IS NULL)) AND APP_LAST_UPDATE_USERID = ? + + - @@ -4702,7 +4671,7 @@ where APP_LAST_UPDATE_USERID=? @@ -4714,18 +4683,18 @@ where APP_LAST_UPDATE_USERID=? 81 + name="DBParamInfoFlags">65 @@ -4736,9 +4705,20 @@ where APP_LAST_UPDATE_USERID=? + + 81 + + + + name="Param_6"> + synchronousInputId="Package\Load Business Function Codes\UPDATE PIMS.Inputs[OLE DB Command Input]"> + synchronousInputId="Package\Load Business Function Codes\UPDATE PIMS.Inputs[OLE DB Command Input]"> @@ -4827,14 +4807,14 @@ where APP_LAST_UPDATE_USERID=? startId="Package\Load Business Function Codes\Existing PIMS_Business_Function_Code records.Outputs[Lookup No Match Output]" /> + startId="Package\Load Business Function Codes\UPDATE PIMS.Outputs[OLE DB Command Error Output]" /> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT COST_TYPE_CODE + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT COST_TYPE_CODE , DESCRIPTION , SORT_ORDER , CREATE_DATETIME @@ -5230,7 +5210,8 @@ FROM APP_CPS.CPS_COST_TYPES truncationRowDisposition="FailComponent" /> isUsed="True"> @@ -5368,13 +5354,15 @@ FROM APP_CPS.CPS_COST_TYPES @@ -5746,12 +5734,12 @@ FROM APP_CPS.CPS_COST_TYPES refId="Package\Load Cost Type Codes\Derived Column 1.Inputs[Derived Column Input].Columns[ErrorCode]" cachedDataType="i4" cachedName="ErrorCode" - lineageId="Package\Load Cost Type Codes\Update PIMS_Cost_Type_Code.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> + lineageId="Package\Load Cost Type Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> + lineageId="Package\Load Cost Type Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]" /> @@ -5868,7 +5856,7 @@ FROM APP_CPS.CPS_COST_TYPES containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">#{Package\Load Cost Type Codes\Update PIMS_Cost_Type_Code.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} + name="Expression">#{Package\Load Cost Type Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">#{Package\Load Cost Type Codes\Update PIMS_Cost_Type_Code.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} + name="Expression">#{Package\Load Cost Type Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_COST_TYPE_CODE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_COST_TYPE_CODE] select * from (select * from [dbo].[PIMS_COST_TYPE_CODE]) [refTable] -where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[CODE] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[DISPLAY_ORDER] = ? and [refTable].[APP_CREATE_USERID] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_COST_TYPE_CODE]) [refTable] +where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[CODE] = ? #{Package\Load Cost Type Codes\CPS_Cost_Types.Outputs[OLE DB Source Output].Columns[CREATE_DATETIME]};#{Package\Load Cost Type Codes\CPS_Cost_Types.Outputs[OLE DB Source Output].Columns[INACTIVE_DATE]};#{Package\Load Cost Type Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of COST_TYPE_CODE]};#{Package\Load Cost Type Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of DESCRIPTION]};#{Package\Load Cost Type Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of SORT_ORDER]};#{Package\Load Cost Type Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]}; + name="ParameterMap">#{Package\Load Cost Type Codes\CPS_Cost_Types.Outputs[OLE DB Source Output].Columns[CREATE_DATETIME]};#{Package\Load Cost Type Codes\CPS_Cost_Types.Outputs[OLE DB Source Output].Columns[INACTIVE_DATE]};#{Package\Load Cost Type Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of COST_TYPE_CODE]}; - - DESCRIPTION - - - - + refId="Package\Load Cost Type Codes\Existing PIMS_Cost_Type_Code records.Inputs[Lookup Input].Columns[CREATE_DATETIME]" + cachedDataType="dbTimeStamp" + cachedName="CREATE_DATETIME" + lineageId="Package\Load Cost Type Codes\CPS_Cost_Types.Outputs[OLE DB Source Output].Columns[CREATE_DATETIME]"> - - - DISPLAY_ORDER - - - - - - APP_CREATE_USERID - - - @@ -6559,7 +6497,7 @@ where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refT dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + + + 0 + DECLARE @CODE as nvarchar(20) +DECLARE @DESCRIPTION as nvarchar(200) +DECLARE @EFFECTIVE_DATE as datetime +DECLARE @EXPIRY_DATE as datetime +DECLARE @DISPLAY_ORDER as int + +SET @CODE = ? +SET @DESCRIPTION = ? +SET @EFFECTIVE_DATE = ? +SET @EXPIRY_DATE = ? +SET @DISPLAY_ORDER = ? + +UPDATE PIMS_COST_TYPE_CODE SET +CODE =@CODE , +DESCRIPTION = @DESCRIPTION , +EFFECTIVE_DATE = @EFFECTIVE_DATE , +EXPIRY_DATE = @EXPIRY_DATE , +DISPLAY_ORDER = @DISPLAY_ORDER , +APP_LAST_UPDATE_TIMESTAMP = ?, +CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 +WHERE CODE = @CODE AND EFFECTIVE_DATE = @EFFECTIVE_DATE AND (EXPIRY_DATE = @EXPIRY_DATE OR (EXPIRY_DATE IS NULL AND @EXPIRY_DATE IS NULL)) AND APP_LAST_UPDATE_USERID = ? + 1252 + + + + + + + + + + + + + + + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 81 + + + + + 65 + + + + + 65 + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_COST_TYPE_CODE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_COST_TYPE_CODE] select * from (select * from [dbo].[PIMS_COST_TYPE_CODE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_COST_TYPE_CODE]) [refTable] where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[CODE] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[DISPLAY_ORDER] = ? and [refTable].[APP_CREATE_USERID] = ? - - - DESCRIPTION - - - - - - DISPLAY_ORDER - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - update [dbo].PIMS_COST_TYPE_CODE -set code=?, -DESCRIPTION=?, -DISPLAY_ORDER=?, -EFFECTIVE_DATE=?, -EXPIRY_DATE=? -where APP_LAST_UPDATE_USERID=? - 1252 - - - - - - - - - - - - - - - - - 65 - - - - - 65 - - - + lineageId="Package\Load Cost Type Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of DESCRIPTION]"> 65 - - - - + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">DESCRIPTION 65 + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - - + + 65 - - - - + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">DISPLAY_ORDER 65 + dataType="System.Null" + description="Specifies the column in the reference table from which a column is copied." + name="CopyFromReferenceColumn" /> - - + + + + name="Lookup Match Output" + synchronousInputId="Package\Load Cost Type Codes\PIMS_Cost_Type_Code records to be updated.Inputs[Lookup Input]"> + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Cost Type Codes\PIMS_Cost_Type_Code records to be updated.Inputs[Lookup Input]"> @@ -7264,19 +7233,19 @@ where APP_LAST_UPDATE_USERID=? startId="Package\Load Cost Type Codes\Existing PIMS_Cost_Type_Code records.Outputs[Lookup Match Output]" /> + startId="Package\Load Cost Type Codes\Existing PIMS_Cost_Type_Code records.Outputs[Lookup No Match Output]" /> + startId="Package\Load Cost Type Codes\PIMS_Cost_Type_Code records to be updated.Outputs[Lookup No Match Output]" /> + startId="Package\Load Cost Type Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output]" /> @@ -7970,12 +7940,12 @@ where APP_LAST_UPDATE_USERID=? refId="Package\Load Financial Activity Codes\Derived Column 1.Inputs[Derived Column Input].Columns[ErrorCode]" cachedDataType="i4" cachedName="ErrorCode" - lineageId="Package\Load Financial Activity Codes\Update PIMS_Financial_Activity_Code.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> + lineageId="Package\Load Financial Activity Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> + lineageId="Package\Load Financial Activity Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]" /> @@ -8092,7 +8062,7 @@ where APP_LAST_UPDATE_USERID=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">#{Package\Load Financial Activity Codes\Update PIMS_Financial_Activity_Code.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} + name="Expression">#{Package\Load Financial Activity Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">#{Package\Load Financial Activity Codes\Update PIMS_Financial_Activity_Code.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} + name="Expression">#{Package\Load Financial Activity Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] select * from (select * from [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE]) [refTable] -where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[CODE] = ? and [refTable].[APP_CREATE_USERID] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE]) [refTable] +where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[CODE] = ? #{Package\Load Financial Activity Codes\PAM_Financial_Activity.Outputs[OLE DB Source Output].Columns[LAST_UPDATE_DATETIME]};#{Package\Load Financial Activity Codes\PAM_Financial_Activity.Outputs[OLE DB Source Output].Columns[OBSOLETE_DATE]};#{Package\Load Financial Activity Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of DESCRIPTION]};#{Package\Load Financial Activity Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of ACTIVITY_CODE]};#{Package\Load Financial Activity Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]}; + name="ParameterMap">#{Package\Load Financial Activity Codes\PAM_Financial_Activity.Outputs[OLE DB Source Output].Columns[LAST_UPDATE_DATETIME]};#{Package\Load Financial Activity Codes\PAM_Financial_Activity.Outputs[OLE DB Source Output].Columns[OBSOLETE_DATE]};#{Package\Load Financial Activity Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of ACTIVITY_CODE]}; - - - DESCRIPTION - - - - - - APP_CREATE_USERID - - - @@ -8767,7 +8703,7 @@ where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refT dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> - + @@ -9046,7 +8982,7 @@ where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refT dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT ACTIVITY_CODE + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT ACTIVITY_CODE , DESCRIPTION , LAST_UPDATE_DATETIME , OBSOLETE_DATE @@ -9088,7 +9024,8 @@ FROM APP_PAM.PAM_FINANCIAL_ACTIVITY isUsed="True"> precision="4" /> @@ -9192,9 +9131,212 @@ FROM APP_PAM.PAM_FINANCIAL_ACTIVITY + + 0 + DECLARE @CODE as nvarchar(20) +DECLARE @DESCRIPTION as nvarchar(200) +DECLARE @EFFECTIVE_DATE as datetime +DECLARE @EXPIRY_DATE as datetime + +SET @CODE = ? +SET @DESCRIPTION = ? +SET @EFFECTIVE_DATE = ? +SET @EXPIRY_DATE = ? + +UPDATE PIMS_FINANCIAL_ACTIVITY_CODE SET +CODE = @CODE , +DESCRIPTION = @DESCRIPTION , +EFFECTIVE_DATE = @EFFECTIVE_DATE , +EXPIRY_DATE = @EXPIRY_DATE , +APP_LAST_UPDATE_TIMESTAMP = ?, +CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 +WHERE CODE = @CODE AND EFFECTIVE_DATE = @EFFECTIVE_DATE AND (EXPIRY_DATE = @EXPIRY_DATE OR (EXPIRY_DATE IS NULL AND @EXPIRY_DATE IS NULL)) AND APP_LAST_UPDATE_USERID = ? + 1252 + + + + + + + + + + + + + + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + + + + + + + + + + + + + + + description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] select * from (select * from [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE]) [refTable] where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[CODE] = ? and [refTable].[APP_CREATE_USERID] = ? + cachedLength="20" + cachedName="Copy of ACTIVITY_CODE" + lineageId="Package\Load Financial Activity Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of ACTIVITY_CODE]"> DESCRIPTION + name="JoinToReferenceColumn">CODE + cachedLength="16" + cachedName="APP_CREATE_USERID" + lineageId="Package\Load Financial Activity Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]"> CODE + name="JoinToReferenceColumn">APP_CREATE_USERID + cachedLength="60" + cachedName="Copy of DESCRIPTION" + lineageId="Package\Load Financial Activity Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of DESCRIPTION]"> APP_CREATE_USERID + name="JoinToReferenceColumn">DESCRIPTION - - - 0 - update [dbo].PIMS_FINANCIAL_ACTIVITY_CODE -set code=?, -DESCRIPTION=?, -EFFECTIVE_DATE=?, -EXPIRY_DATE=? -where APP_LAST_UPDATE_USERID=? - 1252 - - - - - - - - - - - - - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + refId="Package\Load Financial Codes\Data Conversion.Inputs[Data Conversion Input]" name="Data Conversion Input"> + + - + lineageId="Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[YEARLY_FINANCIAL_CODES_ID]" /> @@ -9978,20 +9954,20 @@ where APP_LAST_UPDATE_USERID=? synchronousInputId="Package\Load Financial Codes\Data Conversion.Inputs[Data Conversion Input]"> #{Package\Load Financial Codes\PAM_Yearly_Financial_Codes.Outputs[OLE DB Source Output].Columns[YEARLY_FINANCIAL_CODES_ID]} + name="SourceInputColumnLineageID">#{Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[VOTE_DESCRIPTION]} + + #{Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[STOB_CODE]} + false + + + #{Package\Load Financial Codes\PAM_Yearly_Financial_Codes.Outputs[OLE DB Source Output].Columns[VOTE_DESCRIPTION]} + name="SourceInputColumnLineageID">#{Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[YEARLY_FINANCIAL_CODES_ID]} description="Input to the Derived Column Transformation" name="Derived Column Input"> - cachedDataType="i4" cachedName="ErrorColumn" lineageId="Package\Load Financial Codes\Insert PIMS_Yearly_Financial_Codes.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]" /> + @@ -10242,13 +10239,13 @@ where APP_LAST_UPDATE_USERID=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"Financial_Code:" + (DT_WSTR,5)#{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of YEARLY_FINANCIAL_CODES_ID]} + " Description: " + #{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of VOTE_DESCRIPTION]} + name="Expression">"Financial_Code:" + (DT_WSTR,5)#{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of STOB_CODE]} + " Description: " + #{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of VOTE_DESCRIPTION]} "Financial_Code:" + (DT_WSTR,5)[Copy of YEARLY_FINANCIAL_CODES_ID] + " Description: " + [Copy of VOTE_DESCRIPTION] + name="FriendlyExpression">"Financial_Code:" + (DT_WSTR,5)[Copy of STOB_CODE] + " Description: " + [Copy of VOTE_DESCRIPTION] @@ -10292,28 +10289,32 @@ where APP_LAST_UPDATE_USERID=? description="Input to the Derived Column Transformation" name="Derived Column Input"> - - + lineageId="Package\Load Financial Codes\PIMS Destination.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> + lineageId="Package\Load Financial Codes\PIMS Destination.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]" /> + + + @@ -10353,7 +10354,7 @@ where APP_LAST_UPDATE_USERID=? dataType="wstr" errorOrTruncationOperation="Computation" errorRowDisposition="FailComponent" - length="27" + length="28" lineageId="Package\Load Financial Codes\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_OPERATION_NAME]" name="ERROR_OPERATION_NAME" truncationRowDisposition="FailComponent"> @@ -10362,13 +10363,13 @@ where APP_LAST_UPDATE_USERID=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"Load Yearly Financial Codes" + name="Expression">"Load Business Function Codes" "Load Yearly Financial Codes" + name="FriendlyExpression">"Load Business Function Codes" dataType="wstr" errorOrTruncationOperation="Computation" errorRowDisposition="FailComponent" - length="26" + length="28" lineageId="Package\Load Financial Codes\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_TASK_NAME]" name="ERROR_TASK_NAME" truncationRowDisposition="FailComponent"> @@ -10385,13 +10386,13 @@ where APP_LAST_UPDATE_USERID=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"PIMS_Yearly_Financial_Code" + name="Expression">"PIMS_Business_Function_Codes" "PIMS_Yearly_Financial_Code" + name="FriendlyExpression">"PIMS_Business_Function_Codes" containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">#{Package\Load Financial Codes\Update PIMS_Yearly_Financial_Codes.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} + name="Expression">#{Package\Load Financial Codes\PIMS Destination.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">#{Package\Load Financial Codes\Update PIMS_Yearly_Financial_Codes.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} + name="Expression">#{Package\Load Financial Codes\PIMS Destination.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} dataType="wstr" errorOrTruncationOperation="Computation" errorRowDisposition="FailComponent" - length="59" + length="83" lineageId="Package\Load Financial Codes\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_ROW]" name="ERROR_ROW" truncationRowDisposition="FailComponent"> @@ -10475,13 +10476,13 @@ where APP_LAST_UPDATE_USERID=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">"Financial_Code:" + (DT_WSTR,5)#{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of YEARLY_FINANCIAL_CODES_ID]} + " Description: " + #{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of VOTE_DESCRIPTION]} + name="Expression">"Yearly_Financial_Code: " + (DT_WSTR,10)#{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[Copy of STOB_CODE]} + " EXPIRY_DATE: " + (DT_WSTR,10)#{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[EXPIRY_DATE]} + " EFFECTIVE_DATE " + (DT_WSTR,10)#{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[EFFECTIVE_DATE]} "Financial_Code:" + (DT_WSTR,5)[Copy of YEARLY_FINANCIAL_CODES_ID] + " Description: " + [Copy of VOTE_DESCRIPTION] + name="FriendlyExpression">"Yearly_Financial_Code: " + (DT_WSTR,10)[Copy of STOB_CODE] + " EXPIRY_DATE: " + (DT_WSTR,10)EXPIRY_DATE + " EFFECTIVE_DATE " + (DT_WSTR,10)EFFECTIVE_DATE @@ -10537,7 +10538,7 @@ where APP_LAST_UPDATE_USERID=? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> @@ -10791,6 +10792,13 @@ where APP_LAST_UPDATE_USERID=? cachedName="ERROR_ETL_NAME" externalMetadataColumnId="Package\Load Financial Codes\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_ETL_NAME]" lineageId="Package\Load Financial Codes\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_ETL_NAME]" /> + cachedName="ERROR_COLUMN" externalMetadataColumnId="Package\Load Financial Codes\ETL ERROR LOG 1.Inputs[OLE DB Destination Input].ExternalColumns[ERROR_COLUMN]" lineageId="Package\Load Financial Codes\Derived Column 1.Outputs[Derived Column Output].Columns[ERROR_COLUMN]" /> - @@ -10886,14 +10887,14 @@ where APP_LAST_UPDATE_USERID=? description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_YEARLY_FINANCIAL_CODE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_YEARLY_FINANCIAL_CODE] select * from (select * from [dbo].[PIMS_YEARLY_FINANCIAL_CODE]) [refTable] -where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[CODE] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[APP_CREATE_USERID] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_YEARLY_FINANCIAL_CODE]) [refTable] +where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[CODE] = ? and [refTable].[APP_CREATE_USERID] = ? #{Package\Load Financial Codes\PAM_Yearly_Financial_Codes.Outputs[OLE DB Source Output].Columns[EFFECTIVE_DATE]};#{Package\Load Financial Codes\PAM_Yearly_Financial_Codes.Outputs[OLE DB Source Output].Columns[EXPIRY_DATE]};#{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of YEARLY_FINANCIAL_CODES_ID]};#{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of VOTE_DESCRIPTION]};#{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]}; + name="ParameterMap">#{Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[EFFECTIVE_DATE]};#{Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[EXPIRY_DATE]};#{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of STOB_CODE]};#{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]}; + lineageId="Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[EXPIRY_DATE]"> + lineageId="Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[EFFECTIVE_DATE]"> + cachedLength="16" + cachedName="APP_CREATE_USERID" + lineageId="Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]"> + + APP_CREATE_USERID + + + + + + + + + + + + + + + + + + + + + + + + + + + select * from [dbo].[PIMS_YEARLY_FINANCIAL_CODE] + select * from (select * from [dbo].[PIMS_YEARLY_FINANCIAL_CODE]) [refTable] +where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[CODE] = ? + 0 + 1 + 1 + 0 + 25 + 25 + <referenceMetadata><referenceColumns><referenceColumn name="ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="DISPLAY_ORDER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="EFFECTIVE_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="EXPIRY_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[EFFECTIVE_DATE]};#{Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[EXPIRY_DATE]};#{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of VOTE_DESCRIPTION]};#{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of YEARLY_FINANCIAL_CODES_ID]}; + 1252 + false + + + + + + + + + + EXPIRY_DATE + + + + + + EFFECTIVE_DATE + + + + cachedLength="50" + cachedName="Copy of YEARLY_FINANCIAL_CODES_ID" + lineageId="Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of YEARLY_FINANCIAL_CODES_ID]"> APP_CREATE_USERID + name="JoinToReferenceColumn">CODE + synchronousInputId="Package\Load Financial Codes\Existing PIMS_Yearly_Financial_Code records 1.Inputs[Lookup Input]"> + synchronousInputId="Package\Load Financial Codes\Existing PIMS_Yearly_Financial_Code records 1.Inputs[Lookup Input]"> + synchronousInputId="Package\Load Financial Codes\Existing PIMS_Yearly_Financial_Code records 1.Inputs[Lookup Input]"> @@ -11105,7 +11280,7 @@ where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refT dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + lineageId="Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[EXPIRY_DATE]" /> - + lineageId="Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[EFFECTIVE_DATE]" /> + @@ -11360,396 +11535,2323 @@ where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refT - - 0 - - + + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[STOB_CODE]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[VOTE_DESCRIPTION]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[EFFECTIVE_DATE]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[EXPIRY_DATE]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[YEARLY_FINANCIAL_CODES_ID]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[Copy of VOTE_DESCRIPTION]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[Copy of STOB_CODE]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[Copy of YEARLY_FINANCIAL_CODES_ID]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[APP_CREATE_USERID]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[APP_CREATE_USER_DIRECTORY]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[APP_LAST_UPDATE_USERID]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[APP_CREATE_TIMESTAMP]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[APP_LAST_UPDATE_TIMESTAMP]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[DB_CREATE_TIMESTAMP]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[DB_CREATE_USERID]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[DB_LAST_UPDATE_TIMESTAMP]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[DB_LAST_UPDATE_USERID]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[CONCURRENCY_CONTROL_NUMBER]} + + + + + + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[STOB_CODE]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[VOTE_DESCRIPTION]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[EFFECTIVE_DATE]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[EXPIRY_DATE]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[YEARLY_FINANCIAL_CODES_ID]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[Copy of VOTE_DESCRIPTION]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[Copy of STOB_CODE]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[Copy of YEARLY_FINANCIAL_CODES_ID]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[APP_CREATE_USERID]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[APP_CREATE_USER_DIRECTORY]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[APP_LAST_UPDATE_USERID]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[APP_CREATE_TIMESTAMP]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[APP_LAST_UPDATE_TIMESTAMP]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[DB_CREATE_TIMESTAMP]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[DB_CREATE_USERID]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[DB_LAST_UPDATE_TIMESTAMP]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[DB_LAST_UPDATE_USERID]} + + + + + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[CONCURRENCY_CONTROL_NUMBER]} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + SELECT STOB_CODE + , YEARLY_FINANCIAL_CODES_ID + , VOTE_DESCRIPTION + , CASE + WHEN FISCAL_YEAR = '1994/95' THEN TO_DATE('1994-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '1995/96' THEN TO_DATE('1995-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '1996/97' THEN TO_DATE('1996-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '1997/98' THEN TO_DATE('1997-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '1998/99' THEN TO_DATE('1998-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '1999/00' THEN TO_DATE('1999-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2000/01' THEN TO_DATE('2000-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2001/02' THEN TO_DATE('2001-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2002/03' THEN TO_DATE('2002-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2003/04' THEN TO_DATE('2003-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2004/05' THEN TO_DATE('2004-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2005/06' THEN TO_DATE('2005-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2006/07' THEN TO_DATE('2006-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2007/08' THEN TO_DATE('2007-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2008/09' THEN TO_DATE('2008-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2009/10' THEN TO_DATE('2009-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2010/11' THEN TO_DATE('2010-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2011/12' THEN TO_DATE('2011-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2012/13' THEN TO_DATE('2012-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2013/14' THEN TO_DATE('2013-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2014/15' THEN TO_DATE('2014-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2015/16' THEN TO_DATE('2015-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2016/17' THEN TO_DATE('2016-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2017/18' THEN TO_DATE('2017-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2018/19' THEN TO_DATE('2018-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2019/20' THEN TO_DATE('2019-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2020/21' THEN TO_DATE('2020-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2021/22' THEN TO_DATE('2021-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2022/23' THEN TO_DATE('2022-04-01', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2023/24' THEN TO_DATE('2023-04-01', 'YYYY-MM-DD') + END AS EFFECTIVE_DATE + , CASE + WHEN FISCAL_YEAR = '1994/95' THEN TO_DATE('1995-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '1995/96' THEN TO_DATE('1996-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '1996/97' THEN TO_DATE('1997-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '1997/98' THEN TO_DATE('1998-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '1998/99' THEN TO_DATE('1999-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '1999/00' THEN TO_DATE('2000-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2000/01' THEN TO_DATE('2001-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2001/02' THEN TO_DATE('2002-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2002/03' THEN TO_DATE('2003-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2003/04' THEN TO_DATE('2004-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2004/05' THEN TO_DATE('2005-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2005/06' THEN TO_DATE('2006-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2006/07' THEN TO_DATE('2007-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2007/08' THEN TO_DATE('2008-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2008/09' THEN TO_DATE('2009-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2009/10' THEN TO_DATE('2010-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2010/11' THEN TO_DATE('2011-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2011/12' THEN TO_DATE('2012-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2012/13' THEN TO_DATE('2013-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2013/14' THEN TO_DATE('2014-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2014/15' THEN TO_DATE('2015-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2015/16' THEN TO_DATE('2016-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2016/17' THEN TO_DATE('2017-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2017/18' THEN TO_DATE('2018-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2018/19' THEN TO_DATE('2019-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2019/20' THEN TO_DATE('2020-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2020/21' THEN TO_DATE('2021-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2021/22' THEN TO_DATE('2022-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2022/23' THEN TO_DATE('2023-03-31', 'YYYY-MM-DD') + WHEN FISCAL_YEAR = '2023/24' THEN TO_DATE('2024-03-31', 'YYYY-MM-DD') + END AS EXPIRY_DATE +FROM APP_PAM.PAM_YEARLY_FINANCIAL_CODES +GO + + 1252 + false + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + DECLARE @CODE as nvarchar(20) +DECLARE @OLD_CODE as nvarchar(20) +DECLARE @DESCRIPTION as nvarchar(200) +DECLARE @EFFECTIVE_DATE as datetime +DECLARE @EXPIRY_DATE as datetime + +SET @CODE = ? +SET @OLD_CODE = ? +SET @DESCRIPTION = ? +SET @EFFECTIVE_DATE = ? +SET @EXPIRY_DATE = ? + +UPDATE PIMS_YEARLY_FINANCIAL_CODE SET +CODE = @CODE , +DESCRIPTION = @DESCRIPTION , +EFFECTIVE_DATE = @EFFECTIVE_DATE , +EXPIRY_DATE = @EXPIRY_DATE , +APP_LAST_UPDATE_TIMESTAMP = ?, +CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 +WHERE (CODE = @CODE OR CODE = @OLD_CODE) AND EFFECTIVE_DATE = @EFFECTIVE_DATE AND (EXPIRY_DATE = @EXPIRY_DATE OR (EXPIRY_DATE IS NULL AND @EXPIRY_DATE IS NULL)) and APP_LAST_UPDATE_USERID = ? + 1252 + + + + + + + + + + + + + + + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + + + + + + + + + + + + + + + + + SELECT YEARLY_FINANCIAL_CODES_ID - , VOTE_DESCRIPTION - , CASE - WHEN FISCAL_YEAR = '1994/95' THEN TO_DATE('1994-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '1995/96' THEN TO_DATE('1995-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '1996/97' THEN TO_DATE('1996-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '1997/98' THEN TO_DATE('1997-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '1998/99' THEN TO_DATE('1998-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '1999/00' THEN TO_DATE('1999-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2000/01' THEN TO_DATE('2000-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2001/02' THEN TO_DATE('2001-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2002/03' THEN TO_DATE('2002-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2003/04' THEN TO_DATE('2003-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2004/05' THEN TO_DATE('2004-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2005/06' THEN TO_DATE('2005-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2006/07' THEN TO_DATE('2006-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2007/08' THEN TO_DATE('2007-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2008/09' THEN TO_DATE('2008-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2009/10' THEN TO_DATE('2009-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2010/11' THEN TO_DATE('2010-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2011/12' THEN TO_DATE('2011-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2012/13' THEN TO_DATE('2012-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2013/14' THEN TO_DATE('2013-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2014/15' THEN TO_DATE('2014-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2015/16' THEN TO_DATE('2015-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2016/17' THEN TO_DATE('2016-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2017/18' THEN TO_DATE('2017-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2018/19' THEN TO_DATE('2018-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2019/20' THEN TO_DATE('2019-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2020/21' THEN TO_DATE('2020-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2021/22' THEN TO_DATE('2021-04-01', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2022/23' THEN TO_DATE('2022-04-01', 'YYYY-MM-DD') - END AS EFFECTIVE_DATE - , CASE - WHEN FISCAL_YEAR = '1994/95' THEN TO_DATE('1995-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '1995/96' THEN TO_DATE('1996-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '1996/97' THEN TO_DATE('1997-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '1997/98' THEN TO_DATE('1998-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '1998/99' THEN TO_DATE('1999-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '1999/00' THEN TO_DATE('2000-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2000/01' THEN TO_DATE('2001-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2001/02' THEN TO_DATE('2002-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2002/03' THEN TO_DATE('2003-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2003/04' THEN TO_DATE('2004-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2004/05' THEN TO_DATE('2005-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2005/06' THEN TO_DATE('2006-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2006/07' THEN TO_DATE('2007-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2007/08' THEN TO_DATE('2008-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2008/09' THEN TO_DATE('2009-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2009/10' THEN TO_DATE('2010-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2010/11' THEN TO_DATE('2011-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2011/12' THEN TO_DATE('2012-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2012/13' THEN TO_DATE('2013-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2013/14' THEN TO_DATE('2014-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2014/15' THEN TO_DATE('2015-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2015/16' THEN TO_DATE('2016-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2016/17' THEN TO_DATE('2017-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2017/18' THEN TO_DATE('2018-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2018/19' THEN TO_DATE('2019-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2019/20' THEN TO_DATE('2020-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2020/21' THEN TO_DATE('2021-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2021/22' THEN TO_DATE('2022-03-31', 'YYYY-MM-DD') - WHEN FISCAL_YEAR = '2022/23' THEN TO_DATE('2023-03-31', 'YYYY-MM-DD') - END AS EXPIRY_DATE -FROM APP_PAM.PAM_YEARLY_FINANCIAL_CODES + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_YEARLY_FINANCIAL_CODE] + description="Specifies a SQL statement that uses parameters to generate the lookup table." + expressionType="Notify" + name="SqlCommandParam" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_YEARLY_FINANCIAL_CODE]) [refTable] +where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[CODE] = ? and [refTable].[APP_CREATE_USERID] = ? 1252 + description="Specifies the type of connection used to access the reference dataset." + name="ConnectionType" + typeConverter="LookupConnectionType">0 false + dataType="System.Int32" + description="Specifies the cache type of the lookup table." + name="CacheType" + typeConverter="CacheType">0 2 + description="Specifies how the Lookup transformation handles rows without matching entries in the reference data set." + name="NoMatchBehavior" + typeConverter="LookupNoMatchBehavior">1 + 0 + 25 + 25 + description="Indicates whether to reference metadata in an XML format." + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="DISPLAY_ORDER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="EFFECTIVE_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="EXPIRY_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + #{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[EFFECTIVE_DATE]};#{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[EXPIRY_DATE]};#{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[Copy of VOTE_DESCRIPTION]};#{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[Copy of STOB_CODE]};#{Package\Load Financial Codes\Merge.Outputs[Merge Output 1].Columns[APP_CREATE_USERID]}; + 1252 + false + + + + + + CODE + + + + + + EFFECTIVE_DATE + + + + + + EXPIRY_DATE + + + + + + APP_CREATE_USERID + + + + + + DESCRIPTION + + + + + + + + + + + + + + + + + + + + + + + + + + false + -1 + + + + + + + 0 + 1 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + + + refId="Package\Load Financial Codes\Sort.Outputs[Sort Output]" + isSorted="true" + name="Sort Output"> + + #{Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[STOB_CODE]} + + + + + #{Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[VOTE_DESCRIPTION]} + + + + lineageId="Package\Load Financial Codes\Sort.Outputs[Sort Output].Columns[EFFECTIVE_DATE]" + name="EFFECTIVE_DATE"> + + #{Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[EFFECTIVE_DATE]} + + + lineageId="Package\Load Financial Codes\Sort.Outputs[Sort Output].Columns[EXPIRY_DATE]" + name="EXPIRY_DATE"> + + #{Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[EXPIRY_DATE]} + + + precision="10"> + + #{Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[YEARLY_FINANCIAL_CODES_ID]} + + - - - - - - + + #{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of VOTE_DESCRIPTION]} + + + - - - - + length="4" + lineageId="Package\Load Financial Codes\Sort.Outputs[Sort Output].Columns[Copy of STOB_CODE]" + name="Copy of STOB_CODE"> + + #{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of STOB_CODE]} + + + refId="Package\Load Financial Codes\Sort.Outputs[Sort Output].Columns[Copy of YEARLY_FINANCIAL_CODES_ID]" + dataType="wstr" + length="50" + lineageId="Package\Load Financial Codes\Sort.Outputs[Sort Output].Columns[Copy of YEARLY_FINANCIAL_CODES_ID]" + name="Copy of YEARLY_FINANCIAL_CODES_ID"> + + #{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of YEARLY_FINANCIAL_CODES_ID]} + + + length="16" + lineageId="Package\Load Financial Codes\Sort.Outputs[Sort Output].Columns[APP_CREATE_USERID]" + name="APP_CREATE_USERID"> + + #{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} + + + + + #{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + + + + + #{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]} + + + + + #{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} + + + lineageId="Package\Load Financial Codes\Sort.Outputs[Sort Output].Columns[APP_CREATE_TIMESTAMP]" + name="APP_CREATE_TIMESTAMP"> + + #{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_TIMESTAMP]} + + + lineageId="Package\Load Financial Codes\Sort.Outputs[Sort Output].Columns[APP_LAST_UPDATE_TIMESTAMP]" + name="APP_LAST_UPDATE_TIMESTAMP"> + + #{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_TIMESTAMP]} + + + + + #{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[DB_CREATE_TIMESTAMP]} + + + + + #{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[DB_CREATE_USERID]} + + + + + #{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_TIMESTAMP]} + + + refId="Package\Load Financial Codes\Sort.Outputs[Sort Output].Columns[DB_LAST_UPDATE_USERID]" + dataType="wstr" + length="16" + lineageId="Package\Load Financial Codes\Sort.Outputs[Sort Output].Columns[DB_LAST_UPDATE_USERID]" + name="DB_LAST_UPDATE_USERID"> + + #{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_USERID]} + + + lineageId="Package\Load Financial Codes\Sort.Outputs[Sort Output].Columns[CONCURRENCY_CONTROL_NUMBER]" + name="CONCURRENCY_CONTROL_NUMBER"> + + #{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[CONCURRENCY_CONTROL_NUMBER]} + + + refId="Package\Load Financial Codes\Sort 1" + componentClassID="Microsoft.Sort" + contactInfo="Sort;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;1" + description="Sorts input data in ascending or descending order when it cannot be sorted at its source. For example, sort sales data by 'customer id' before it is written to a flat file and delivered to another department. Note: We do not recommend this transformation for large data flows." + name="Sort 1" + version="1"> select * from [dbo].[PIMS_YEARLY_FINANCIAL_CODE] - select * from (select * from [dbo].[PIMS_YEARLY_FINANCIAL_CODE]) [refTable] -where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[CODE] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[APP_CREATE_USERID] = ? - 0 - 0 - 1 - 0 - 25 - 25 - <referenceMetadata><referenceColumns><referenceColumn name="ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="DESCRIPTION" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="DISPLAY_ORDER" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="EFFECTIVE_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="EXPIRY_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> - #{Package\Load Financial Codes\PAM_Yearly_Financial_Codes.Outputs[OLE DB Source Output].Columns[EFFECTIVE_DATE]};#{Package\Load Financial Codes\PAM_Yearly_Financial_Codes.Outputs[OLE DB Source Output].Columns[EXPIRY_DATE]};#{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of YEARLY_FINANCIAL_CODES_ID]};#{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of VOTE_DESCRIPTION]};#{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]}; + dataType="System.Boolean" + description="Indicates whether the Sort transformation removes rows with duplicate sort values." + name="EliminateDuplicates">false 1252 - false + description="Specifies the maximum number of threads to use for sorting." + expressionType="Notify" + name="MaximumThreads">-1 - - - + refId="Package\Load Financial Codes\Sort 1.Inputs[Sort Input]" + name="Sort Input"> + + 0 + 1 + + + + + 0 + 0 + + + + lineageId="Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[EFFECTIVE_DATE]"> EFFECTIVE_DATE + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 + lineageId="Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[EXPIRY_DATE]"> EXPIRY_DATE + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + refId="Package\Load Financial Codes\Sort 1.Inputs[Sort Input].Columns[DB_LAST_UPDATE_TIMESTAMP]" + cachedDataType="dbTimeStamp" + cachedName="DB_LAST_UPDATE_TIMESTAMP" + lineageId="Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_TIMESTAMP]"> CODE + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 + cachedLength="16" + cachedName="DB_LAST_UPDATE_USERID" + lineageId="Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_USERID]"> DESCRIPTION + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 + refId="Package\Load Financial Codes\Sort 1.Inputs[Sort Input].Columns[CONCURRENCY_CONTROL_NUMBER]" + cachedDataType="i4" + cachedName="CONCURRENCY_CONTROL_NUMBER" + lineageId="Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[CONCURRENCY_CONTROL_NUMBER]"> APP_CREATE_USERID + dataType="System.Int32" + description="Specifies the comparison options for character data." + name="NewComparisonFlags">0 + dataType="System.Int32" + description="Specifies the sort order of the column." + name="NewSortKeyPosition">0 @@ -11758,215 +13860,272 @@ where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refT - - - - - - + refId="Package\Load Financial Codes\Sort 1.Outputs[Sort Output]" + isSorted="true" + name="Sort Output"> + refId="Package\Load Financial Codes\Sort 1.Outputs[Sort Output].Columns[STOB_CODE]" + codePage="1252" + dataType="str" + length="4" + lineageId="Package\Load Financial Codes\Sort 1.Outputs[Sort Output].Columns[STOB_CODE]" + name="STOB_CODE" + sortKeyPosition="1"> + + #{Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[STOB_CODE]} + + - - - - - - - - 0 - update [dbo].PIMS_YEARLY_FINANCIAL_CODE -set code=?, -DESCRIPTION=?, -EFFECTIVE_DATE=?, -EXPIRY_DATE=? -where APP_LAST_UPDATE_USERID=? - - 1252 - - - - - - - - - - - - - - - + + #{Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[VOTE_DESCRIPTION]} + + + + + #{Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[EFFECTIVE_DATE]} + + + + + #{Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[EXPIRY_DATE]} + + + + + #{Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output].Columns[YEARLY_FINANCIAL_CODES_ID]} + + + + length="25" + lineageId="Package\Load Financial Codes\Sort 1.Outputs[Sort Output].Columns[Copy of VOTE_DESCRIPTION]" + name="Copy of VOTE_DESCRIPTION"> 65 + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of VOTE_DESCRIPTION]} - - + + length="4" + lineageId="Package\Load Financial Codes\Sort 1.Outputs[Sort Output].Columns[Copy of STOB_CODE]" + name="Copy of STOB_CODE"> + + #{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of STOB_CODE]} + + + + + #{Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of YEARLY_FINANCIAL_CODES_ID]} + + + + + #{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]} + + + + + #{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]} + + + + + #{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USERID]} + + + + + #{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_USER_DIRECTORY]} + + + + + #{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_TIMESTAMP]} + + + + + #{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_LAST_UPDATE_TIMESTAMP]} + + + 65 + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[DB_CREATE_TIMESTAMP]} - - + + 65 + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[DB_CREATE_USERID]} - - + + lineageId="Package\Load Financial Codes\Sort 1.Outputs[Sort Output].Columns[DB_LAST_UPDATE_TIMESTAMP]" + name="DB_LAST_UPDATE_TIMESTAMP"> 65 + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_TIMESTAMP]} - - + + length="16" + lineageId="Package\Load Financial Codes\Sort 1.Outputs[Sort Output].Columns[DB_LAST_UPDATE_USERID]" + name="DB_LAST_UPDATE_USERID"> 65 + description="Specifies the lineage identifier of the input column that is associated with this output column." + name="SortColumnId">#{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[DB_LAST_UPDATE_USERID]} - - - - - - - - - - - + + lineageId="Package\Load Financial Codes\Sort 1.Outputs[Sort Output].Columns[CONCURRENCY_CONTROL_NUMBER]" + name="CONCURRENCY_CONTROL_NUMBER"> + + #{Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output].Columns[CONCURRENCY_CONTROL_NUMBER]} + + @@ -11981,39 +14140,54 @@ where APP_LAST_UPDATE_USERID=? startId="Package\Load Financial Codes\Data Conversion.Outputs[Data Conversion Output]" /> + startId="Package\Load Financial Codes\Derived Column.Outputs[Derived Column Output]" /> + startId="Package\Load Financial Codes\Audit Trail.Outputs[Derived Column Output]" /> + startId="Package\Load Financial Codes\Derived Column 1.Outputs[Derived Column Output]" /> + + startId="Package\Load Financial Codes\Existing PIMS_Yearly_Financial_Code records.Outputs[Lookup No Match Output]" /> + startId="Package\Load Financial Codes\Existing PIMS_Yearly_Financial_Code records 1.Outputs[Lookup No Match Output]" /> + + + startId="Package\Load Financial Codes\PIMS Destination.Outputs[OLE DB Command Error Output]" /> + startId="Package\Load Financial Codes\PAIMS.Outputs[OLE DB Source Output]" /> + + @@ -12355,13 +14539,15 @@ where APP_LAST_UPDATE_USERID=? @@ -12707,12 +14893,12 @@ where APP_LAST_UPDATE_USERID=? refId="Package\Load Responsibility Codes\Derived Column 1.Inputs[Derived Column Input].Columns[ErrorCode]" cachedDataType="i4" cachedName="ErrorCode" - lineageId="Package\Load Responsibility Codes\Update PIMS_Responsibility_Code.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> + lineageId="Package\Load Responsibility Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> + lineageId="Package\Load Responsibility Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]" /> @@ -12829,7 +15015,7 @@ where APP_LAST_UPDATE_USERID=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">#{Package\Load Responsibility Codes\Update PIMS_Responsibility_Code.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} + name="Expression">#{Package\Load Responsibility Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} #{Package\Load Responsibility Codes\Update PIMS_Responsibility_Code.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} + name="Expression">#{Package\Load Responsibility Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> select * from [dbo].[PIMS_RESPONSIBILITY_CODE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_RESPONSIBILITY_CODE] select * from (select * from [dbo].[PIMS_RESPONSIBILITY_CODE]) [refTable] -where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[CODE] = ? and [refTable].[APP_CREATE_USERID] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_RESPONSIBILITY_CODE]) [refTable] +where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[CODE] = ? #{Package\Load Responsibility Codes\HWY_Responsibility_Centre.Outputs[OLE DB Source Output].Columns[EFFECTIVE_DATE]};#{Package\Load Responsibility Codes\HWY_Responsibility_Centre.Outputs[OLE DB Source Output].Columns[EXPIRY_DATE]};#{Package\Load Responsibility Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of DESCRIPTION]};#{Package\Load Responsibility Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of CODE]};#{Package\Load Responsibility Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]}; + name="ParameterMap">#{Package\Load Responsibility Codes\HWY_Responsibility_Centre.Outputs[OLE DB Source Output].Columns[EFFECTIVE_DATE]};#{Package\Load Responsibility Codes\HWY_Responsibility_Centre.Outputs[OLE DB Source Output].Columns[EXPIRY_DATE]};#{Package\Load Responsibility Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of CODE]}; - - - APP_CREATE_USERID - - - - - - DESCRIPTION - - - @@ -13504,7 +15656,7 @@ where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refT dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT CODE + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT CODE , cast(DESCRIPTION as varchar(200)) DESCRIPTION , EFFECTIVE_DATE , EXPIRY_DATE @@ -13546,7 +15698,8 @@ FROM APP_HWY.HWY_RESPONSIBILITY_CENTRE truncationRowDisposition="FailComponent" /> isUsed="True"> @@ -13674,7 +15832,7 @@ FROM APP_HWY.HWY_RESPONSIBILITY_CENTRE dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="dbTimeStamp" name="APP_LAST_UPDATE_TIMESTAMP" /> + + + + + + + + + + + + + + + + + + + + + + 0 + DECLARE @CODE as nvarchar(20) +DECLARE @DESCRIPTION as nvarchar(200) +DECLARE @EFFECTIVE_DATE as datetime +DECLARE @EXPIRY_DATE as datetime + +SET @CODE = ? +SET @DESCRIPTION = ? +SET @EFFECTIVE_DATE = ? +SET @EXPIRY_DATE = ? + +UPDATE PIMS_RESPONSIBILITY_CODE SET +CODE = @CODE , +DESCRIPTION = @DESCRIPTION , +EFFECTIVE_DATE =@EFFECTIVE_DATE , +EXPIRY_DATE = @EXPIRY_DATE , +APP_LAST_UPDATE_TIMESTAMP = ?, +CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 +WHERE CODE = @CODE AND EFFECTIVE_DATE = @EFFECTIVE_DATE AND (EXPIRY_DATE = @EXPIRY_DATE OR (EXPIRY_DATE IS NULL AND @EXPIRY_DATE IS NULL)) AND APP_LAST_UPDATE_USERID = ? + 1252 + + + + + + + + + + + + + + + + - + length="20" + name="Param_0"> + + 65 + + + length="200" + name="Param_1"> + + 65 + + + name="Param_2"> + + 65 + + + refId="Package\Load Responsibility Codes\PIMS UPDATE.Inputs[OLE DB Command Input].ExternalColumns[Param_3]" + dataType="dbTimeStamp" + name="Param_3"> + + 65 + + + name="Param_4"> + + 65 + + + name="Param_5"> + + 65 + + + + + + name="OLE DB Command Error Output" + synchronousInputId="Package\Load Responsibility Codes\PIMS UPDATE.Inputs[OLE DB Command Input]"> @@ -13942,13 +16303,13 @@ FROM APP_HWY.HWY_RESPONSIBILITY_CENTRE description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_RESPONSIBILITY_CODE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_RESPONSIBILITY_CODE] select * from (select * from [dbo].[PIMS_RESPONSIBILITY_CODE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_RESPONSIBILITY_CODE]) [refTable] where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[CODE] = ? and [refTable].[APP_CREATE_USERID] = ? + cachedLength="3" + cachedName="Copy of CODE" + lineageId="Package\Load Responsibility Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of CODE]"> DESCRIPTION + name="JoinToReferenceColumn">CODE + cachedLength="16" + cachedName="APP_CREATE_USERID" + lineageId="Package\Load Responsibility Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]"> CODE + name="JoinToReferenceColumn">APP_CREATE_USERID + cachedLength="200" + cachedName="Copy of DESCRIPTION" + lineageId="Package\Load Responsibility Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of DESCRIPTION]"> APP_CREATE_USERID + name="JoinToReferenceColumn">DESCRIPTION - - - - - - - - 0 - update [dbo].PIMS_responsibility_CODE -set code=?, -DESCRIPTION=?, -EFFECTIVE_DATE=?, -EXPIRY_DATE=? -where APP_LAST_UPDATE_USERID=? - 1252 - - - - - - - - - - - - - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - - - - - - - - - - - @@ -14339,19 +16526,19 @@ where APP_LAST_UPDATE_USERID=? startId="Package\Load Responsibility Codes\Existing PIMS_Responsibility_Code records.Outputs[Lookup Match Output]" /> + startId="Package\Load Responsibility Codes\Existing PIMS_Responsibility_Code records.Outputs[Lookup No Match Output]" /> + startId="Package\Load Responsibility Codes\PIMS_Responsibility_Code records to be updated.Outputs[Lookup No Match Output]" /> + startId="Package\Load Responsibility Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output]" /> @@ -15065,15 +17254,16 @@ where APP_LAST_UPDATE_USERID=? refId="Package\Load Work Activity Codes\Derived Column 1.Inputs[Derived Column Input].Columns[ErrorCode]" cachedDataType="i4" cachedName="ErrorCode" - lineageId="Package\Load Work Activity Codes\Update PIMS_Work_Activity_Code.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> + lineageId="Package\Load Work Activity Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output].Columns[ErrorCode]" /> + lineageId="Package\Load Work Activity Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]" /> @@ -15193,7 +17383,7 @@ where APP_LAST_UPDATE_USERID=? containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">#{Package\Load Work Activity Codes\Update PIMS_Work_Activity_Code.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} + name="Expression">#{Package\Load Work Activity Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output].Columns[ErrorCode]} containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">#{Package\Load Work Activity Codes\Update PIMS_Work_Activity_Code.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} + name="Expression">#{Package\Load Work Activity Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output].Columns[ErrorColumn]} dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_WORK_ACTIVITY_CODE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_WORK_ACTIVITY_CODE] select * from (select * from [dbo].[PIMS_WORK_ACTIVITY_CODE]) [refTable] -where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[CODE] = ? and [refTable].[DISPLAY_ORDER] = ? and [refTable].[APP_CREATE_USERID] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_WORK_ACTIVITY_CODE]) [refTable] +where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[CODE] = ? #{Package\Load Work Activity Codes\PAM_Work_Activity.Outputs[OLE DB Source Output].Columns[CREATE_DATETIME]};#{Package\Load Work Activity Codes\PAM_Work_Activity.Outputs[OLE DB Source Output].Columns[INACTIVE_DATE]};#{Package\Load Work Activity Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of DESCRIPTION]};#{Package\Load Work Activity Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of WORK_ACTIVITY_CODE]};#{Package\Load Work Activity Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of SORT_ORDER]};#{Package\Load Work Activity Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]}; + name="ParameterMap">#{Package\Load Work Activity Codes\PAM_Work_Activity.Outputs[OLE DB Source Output].Columns[CREATE_DATETIME]};#{Package\Load Work Activity Codes\PAM_Work_Activity.Outputs[OLE DB Source Output].Columns[INACTIVE_DATE]};#{Package\Load Work Activity Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of WORK_ACTIVITY_CODE]}; - - - DESCRIPTION - - - - - - DISPLAY_ORDER - - - - - - APP_CREATE_USERID - - - @@ -15884,7 +18024,7 @@ where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refT dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> - + @@ -16169,7 +18309,7 @@ where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refT dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT WORK_ACTIVITY_CODE + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT WORK_ACTIVITY_CODE , DESCRIPTION , SORT_ORDER , CREATE_DATETIME @@ -16212,7 +18352,8 @@ FROM APP_CPS.CPS_WORK_ACTIVITIES truncationRowDisposition="FailComponent" /> isUsed="True"> dataType="dbTimeStamp" name="CREATE_DATETIME" /> + refId="Package\Load Work Activity Codes\PAM_Work_Activity.Outputs[OLE DB Source Output].ExternalColumns[INACTIVE_DATE]" + dataType="dbTimeStamp" + name="INACTIVE_DATE" /> + + + + + + + + + + + + + + + + + + + 0 + DECLARE @CODE as nvarchar(20) +DECLARE @DESCRIPTION as nvarchar(200) +DECLARE @EFFECTIVE_DATE as datetime +DECLARE @EXPIRY_DATE as datetime +DECLARE @DISPLAY_ORDER as int + +SET @CODE = ? +SET @DESCRIPTION = ? +SET @EFFECTIVE_DATE = ? +SET @EXPIRY_DATE = ? +SET @DISPLAY_ORDER = ? + +UPDATE PIMS_WORK_ACTIVITY_CODE SET +CODE = @CODE , +DESCRIPTION = @DESCRIPTION , +EFFECTIVE_DATE = @EFFECTIVE_DATE , +EXPIRY_DATE = @EXPIRY_DATE , +DISPLAY_ORDER = @DISPLAY_ORDER , +APP_LAST_UPDATE_TIMESTAMP = ?, +CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 +WHERE CODE = @CODE AND EFFECTIVE_DATE = @EFFECTIVE_DATE AND (EXPIRY_DATE = @EXPIRY_DATE OR (EXPIRY_DATE IS NULL AND @EXPIRY_DATE IS NULL)) AND APP_LAST_UPDATE_USERID = ? + 1252 + + + + + + + + + + + + + + + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 65 + + + + + 81 + + + + + 65 + + + + + 65 + + + + + + + + name="OLE DB Command Error Output" + synchronousInputId="Package\Load Work Activity Codes\PIMS UPDATE.Inputs[OLE DB Command Input]"> - - - - - @@ -16350,14 +18719,14 @@ FROM APP_CPS.CPS_WORK_ACTIVITIES description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_WORK_ACTIVITY_CODE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_WORK_ACTIVITY_CODE] select * from (select * from [dbo].[PIMS_WORK_ACTIVITY_CODE]) [refTable] -where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[CODE] = ? and [refTable].[DISPLAY_ORDER] = ? and [refTable].[APP_CREATE_USERID] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_WORK_ACTIVITY_CODE]) [refTable] +where [refTable].[EFFECTIVE_DATE] = ? and [refTable].[EXPIRY_DATE] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[CODE] = ? and [refTable].[APP_CREATE_USERID] = ? #{Package\Load Work Activity Codes\PAM_Work_Activity.Outputs[OLE DB Source Output].Columns[CREATE_DATETIME]};#{Package\Load Work Activity Codes\PAM_Work_Activity.Outputs[OLE DB Source Output].Columns[INACTIVE_DATE]};#{Package\Load Work Activity Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of DESCRIPTION]};#{Package\Load Work Activity Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of WORK_ACTIVITY_CODE]};#{Package\Load Work Activity Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of SORT_ORDER]};#{Package\Load Work Activity Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]}; + name="ParameterMap">#{Package\Load Work Activity Codes\PAM_Work_Activity.Outputs[OLE DB Source Output].Columns[CREATE_DATETIME]};#{Package\Load Work Activity Codes\PAM_Work_Activity.Outputs[OLE DB Source Output].Columns[INACTIVE_DATE]};#{Package\Load Work Activity Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of DESCRIPTION]};#{Package\Load Work Activity Codes\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of WORK_ACTIVITY_CODE]};#{Package\Load Work Activity Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]}; - - - DESCRIPTION - - - - - - DISPLAY_ORDER - - - - - APP_CREATE_USERID - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - update [dbo].PIMS_WORK_ACTIVITY_CODE -set code=?, -DESCRIPTION=?, -DISPLAY_ORDER=?, -EFFECTIVE_DATE=?, -EXPIRY_DATE=? -where APP_LAST_UPDATE_USERID=? - 1252 - - - - - - - - - - - - - - - - - - 65 - - - - - 65 - - - - - 65 - - - - - 65 - - - + cachedName="APP_CREATE_USERID" + lineageId="Package\Load Work Activity Codes\Audit Trail.Outputs[Derived Column Output].Columns[APP_CREATE_USERID]"> 65 + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">APP_CREATE_USERID + - - + + 65 + dataType="System.String" + description="Specifies the column in the reference table that a column joins." + name="JoinToReferenceColumn">DESCRIPTION + - - + + + + name="Lookup Match Output" + synchronousInputId="Package\Load Work Activity Codes\PIMS_Work_Activity_Code records to eb updated.Inputs[Lookup Input]"> + + + + name="Lookup Error Output" + synchronousInputId="Package\Load Work Activity Codes\PIMS_Work_Activity_Code records to eb updated.Inputs[Lookup Input]"> @@ -16781,19 +18942,19 @@ where APP_LAST_UPDATE_USERID=? startId="Package\Load Work Activity Codes\Existing PIMS_Work_Activity_Code records.Outputs[Lookup Match Output]" /> + startId="Package\Load Work Activity Codes\Existing PIMS_Work_Activity_Code records.Outputs[Lookup No Match Output]" /> + startId="Package\Load Work Activity Codes\PIMS_Work_Activity_Code records to eb updated.Outputs[Lookup No Match Output]" /> + startId="Package\Load Work Activity Codes\PIMS UPDATE.Outputs[OLE DB Command Error Output]" /> + + + + Id="Package.PrecedenceConstraints[Constraint]" + TopLeft="373.988471406734,1961.31612619406"> + End="0,35.3064518773717"> + End="0,35.3064518773717" /> @@ -16910,19 +19083,19 @@ where APP_LAST_UPDATE_USERID=? + Id="Package.PrecedenceConstraints[Constraint 1]" + TopLeft="373.342317419504,2045.72257807143"> + End="0,37.0419297042658"> + End="0,37.0419297042658" /> @@ -16932,19 +19105,19 @@ where APP_LAST_UPDATE_USERID=? + Id="Package.PrecedenceConstraints[Constraint 10]" + TopLeft="374.630779656292,1806.19354232367"> + End="0,30.383878205148"> + End="0,30.383878205148" /> @@ -16953,24 +19126,20 @@ where APP_LAST_UPDATE_USERID=? - + Id="Package.PrecedenceConstraints[Constraint 11]" + TopLeft="375.500010362039,1885.67742052882"> + End="0,26.5387056652414"> + End="0,26.5387056652414" /> @@ -16979,24 +19148,20 @@ where APP_LAST_UPDATE_USERID=? - + Id="Package.PrecedenceConstraints[Constraint 2]" + TopLeft="375.076933093325,2131.8645077757"> + End="0,39.751614619046"> + End="0,39.751614619046" /> @@ -17005,24 +19170,20 @@ where APP_LAST_UPDATE_USERID=? - + Id="Package.PrecedenceConstraints[Constraint 9]" + TopLeft="370.119240517588,1726.64837818225"> + End="0,30.4451641414221"> + End="0,30.4451641414221" /> @@ -17040,205 +19201,197 @@ where APP_LAST_UPDATE_USERID=? - + Id="Package\Load Account Codes.Paths[OLE DB Destination Error Output]" + TopLeft="418.957697986005,360.6"> + End="0,26.0451545431507"> + End="0,26.0451545431507" /> - + + Id="Package\Load Account Codes.Paths[Lookup No Match Output]" + TopLeft="415.000002567585,274.92257747154"> + End="0,36.57742252846"> + End="0,36.57742252846" /> + Id="Package\Load Account Codes.Paths[Lookup Match Output]" + TopLeft="568.40000513517,253.888706965005"> + End="69.9846280532479,0"> + End="69.9846280532479,0" /> + Id="Package\Load Account Codes.Paths[Derived Column Output2]" + TopLeft="420.86988316266,435.745154543151"> + End="0,27.4580659631801"> + End="0,27.4580659631801" /> - + + Id="Package\Load Account Codes.Paths[Derived Column Output1]" + TopLeft="813.81220296635,432.209674983235"> + End="0,28.1032273051051"> + End="0,28.1032273051051" /> - + + Id="Package\Load Account Codes.Paths[Derived Column Output]" + TopLeft="407.99616242358,201.535480826355"> + End="0,24.2870966451851"> + End="0,24.2870966451851" /> - + + Id="Package\Load Account Codes.Paths[Data Conversion Output]" + TopLeft="404.196159855995,130.6"> + End="0,21.8354808263549"> + End="0,21.8354808263549" /> @@ -17248,19 +19401,19 @@ where APP_LAST_UPDATE_USERID=? + Id="Package\Load Account Codes.Paths[OLE DB Source Output]" + TopLeft="403.865389828146,61.3580642968137"> + End="0,20.1419357031863"> + End="0,20.1419357031863" /> @@ -17269,60 +19422,81 @@ where APP_LAST_UPDATE_USERID=? + + Id="Package\Load Account Codes.Paths[Lookup No Match Output1]" + TopLeft="817.192316594209,274.85483645847"> + End="0,30.64516354153"> + End="0,30.64516354153" /> - + + Id="Package\Load Account Codes.Paths[OLE DB Command Error Output]" + TopLeft="815.25001173753,355"> + End="0,28.109674983235"> + End="0,28.109674983235" /> - + + + + + DataSourceViewID + + + TableInfoObjectType + Table + + + OverwriteParamsSQLProp false + type="q2:string">false @@ -17332,21 +19506,16 @@ where APP_LAST_UPDATE_USERID=? OverwriteParamsSQLProp false + type="q2:string">false + design-time-name="Package\Load Account Codes\HWY_GL_Account"> DataSourceViewID - - TableInfoObjectType - Table - - + Id="Package\Load Business Function Codes.Paths[Lookup No Match Output]" + TopLeft="388.361544457272,343.42257747154"> + End="0,40.4161271938796"> + End="0,40.4161271938796" /> + Id="Package\Load Business Function Codes.Paths[Lookup Match Output]" + TopLeft="549.10000513517,322.638706965005"> + End="84.2846280532481,0"> + End="84.2846280532481,0" /> + Id="Package\Load Business Function Codes.Paths[Derived Column Output2]" + TopLeft="815.812202966349,502.709674983235"> + End="0,26.6032273051057"> + End="0,26.6032273051057" /> - + + Id="Package\Load Business Function Codes.Paths[Derived Column Output1]" + TopLeft="390.11988316266,508.245154543151"> + End="0,29.95806596318"> + End="0,29.95806596318" /> - + + Id="Package\Load Business Function Codes.Paths[Derived Column Output]" + TopLeft="391.79616242358,239.535480826355"> + End="0,54.7870966451846"> + End="0,54.7870966451846" /> - + + Id="Package\Load Business Function Codes.Paths[Data Conversion Output]" + TopLeft="394.157703487972,156.777418129253"> + End="0,33.658062697102"> + End="0,33.658062697102" /> @@ -17541,19 +19700,19 @@ where APP_LAST_UPDATE_USERID=? + Id="Package\Load Business Function Codes.Paths[OLE DB Source Output]" + TopLeft="394.176933460123,61.3580642968137"> + End="0,46.3193538324394"> + End="0,46.3193538324394" /> @@ -17563,94 +19722,91 @@ where APP_LAST_UPDATE_USERID=? + Id="Package\Load Business Function Codes.Paths[OLE DB Destination Error Output]" + TopLeft="386.019239875692,432.938704665419"> + End="0,26.2064498777318"> + End="0,26.2064498777318" /> - + + + Id="Package\Load Business Function Codes.Paths[Lookup No Match Output1]" + TopLeft="809.692316594209,343.85483645847"> + End="0,26.64516354153"> + End="0,26.64516354153" /> - + + Id="Package\Load Business Function Codes.Paths[OLE DB Command Error Output]" + TopLeft="810.50001173753,420"> + End="0,33.609674983235"> + End="0,33.609674983235" /> - + - - - DataSourceViewID - - - TableInfoObjectType - Table - - - - + design-time-name="Package\Load Business Function Codes\PIMS_Business_Function_Code records to be updated"> OverwriteParamsSQLProp false + type="q2:string">false UsedTableName @@ -17668,12 +19824,12 @@ where APP_LAST_UPDATE_USERID=? + design-time-name="Package\Load Business Function Codes\Existing PIMS_Business_Function_Code records"> OverwriteParamsSQLProp false + type="q2:string">false UsedTableName @@ -17698,6 +19854,19 @@ where APP_LAST_UPDATE_USERID=? + + + + DataSourceViewID + + + TableInfoObjectType + Table + + + @@ -17717,205 +19886,197 @@ where APP_LAST_UPDATE_USERID=? - + Id="Package\Load Cost Type Codes.Paths[OLE DB Destination Error Output]" + TopLeft="408.357697986005,360.6"> + End="0,26.045154543151"> + End="0,26.045154543151" /> - + + Id="Package\Load Cost Type Codes.Paths[Lookup No Match Output]" + TopLeft="407.600002567585,276.12257747154"> + End="0,35.37742252846"> + End="0,35.37742252846" /> + Id="Package\Load Cost Type Codes.Paths[Lookup Match Output]" + TopLeft="542.80000513517,254.488706965005"> + End="95.5846280532479,0"> + End="95.5846280532479,0" /> + Id="Package\Load Cost Type Codes.Paths[Derived Column Output2]" + TopLeft="409.06988316266,435.745154543151"> + End="0,27.4580659631799"> + End="0,27.4580659631799" /> - + + Id="Package\Load Cost Type Codes.Paths[Derived Column Output1]" + TopLeft="794.412202966349,433.409674983235"> + End="0,26.903227305105"> + End="0,26.903227305105" /> - + + Id="Package\Load Cost Type Codes.Paths[Derived Column Output]" + TopLeft="405.19616242358,201.535480826355"> + End="0,25.487096645185"> + End="0,25.487096645185" /> - + + Id="Package\Load Cost Type Codes.Paths[Data Conversion Output]" + TopLeft="404.196159855995,130.6"> + End="0,21.8354808263549"> + End="0,21.8354808263549" /> @@ -17925,19 +20086,19 @@ where APP_LAST_UPDATE_USERID=? + Id="Package\Load Cost Type Codes.Paths[OLE DB Source Output]" + TopLeft="402.715389828146,61.0580642968137"> + End="0,20.4419357031863"> + End="0,20.4419357031863" /> @@ -17946,48 +20107,68 @@ where APP_LAST_UPDATE_USERID=? + + Id="Package\Load Cost Type Codes.Paths[Lookup No Match Output1]" + TopLeft="796.884633188418,274.85483645847"> + End="-10.384633188418,27.64516354153"> + End="0,13.572581770765" /> + + + + - + + Id="Package\Load Cost Type Codes.Paths[OLE DB Command Error Output]" + TopLeft="790.350011737531,352"> + End="0,32.309674983235"> + End="0,32.309674983235" /> - + @@ -18007,7 +20188,7 @@ where APP_LAST_UPDATE_USERID=? + design-time-name="Package\Load Cost Type Codes\Insert PIMS_Cost_Type_Code"> DataSourceViewID @@ -18020,7 +20201,7 @@ where APP_LAST_UPDATE_USERID=? + design-time-name="Package\Load Cost Type Codes\ETL ERROR LOG 1"> DataSourceViewID @@ -18038,7 +20219,7 @@ where APP_LAST_UPDATE_USERID=? OverwriteParamsSQLProp false + type="q2:string">false UsedTableName @@ -18069,7 +20250,7 @@ where APP_LAST_UPDATE_USERID=? OverwriteParamsSQLProp false + type="q2:string">false UsedTableName @@ -18087,210 +20268,202 @@ where APP_LAST_UPDATE_USERID=? + design-time-name="Package\Load Financial Activity Codes"> - + Size="192,42" + Id="Package\Load Financial Activity Codes\PAM_Financial_Activity" + TopLeft="303.292317511203,19.8774191290729" /> + Size="166,42" + Id="Package\Load Financial Activity Codes\ETL ERROR LOG" + TopLeft="328.22437035331,470.703220506331" /> + Size="166,42" + Id="Package\Load Financial Activity Codes\ETL ERROR LOG 1" + TopLeft="723.516690798896,562.81290228834" /> + Size="311,42" + Id="Package\Load Financial Activity Codes\Existing PIMS_Financial_Activity_Code records" + TopLeft="256.86154317348,233.264512974762" /> + Size="256,42" + Id="Package\Load Financial Activity Codes\Insert PIMS_Financial_Activity_Code" + TopLeft="281.81538405108,321.096774161296" /> + Size="156,42" + Id="Package\Load Financial Activity Codes\Derived Column" + TopLeft="329.11539597201,394.145154543151" /> + Size="156,42" + Id="Package\Load Financial Activity Codes\Derived Column 1" + TopLeft="725.200024025258,487.229029815494" /> + Id="Package\Load Financial Activity Codes.Paths[OLE DB Destination Error Output]" + TopLeft="408.465390011545,362.696774161296"> + End="0,23.9483803818549"> + End="0,23.9483803818549" /> - + + Id="Package\Load Financial Activity Codes.Paths[Lookup No Match Output]" + TopLeft="411.08846361228,275.264512974762"> + End="0,38.332261186534"> + End="0,38.332261186534" /> + Id="Package\Load Financial Activity Codes.Paths[Lookup Match Output]" + TopLeft="567.86154317348,254.059674716616"> + End="70.523090014938,0"> + End="70.523090014938,0" /> + Id="Package\Load Financial Activity Codes.Paths[Derived Column Output2]" + TopLeft="409.06988316266,435.745154543151"> + End="0,27.4580659631799"> + End="0,27.4580659631799" /> - + + Id="Package\Load Financial Activity Codes.Paths[Derived Column Output1]" + TopLeft="804.758357412077,528.829029815494"> + End="0,26.4838724728457"> + End="0,26.4838724728457" /> - + + Id="Package\Load Financial Activity Codes.Paths[Derived Column Output]" + TopLeft="408.526931442735,201.935480826355"> + End="0,23.829032148407"> + End="0,23.829032148407" /> - + + Id="Package\Load Financial Activity Codes.Paths[Data Conversion Output]" + TopLeft="404.196159855995,130.6"> + End="0,21.8354808263549"> + End="0,21.8354808263549" /> @@ -18300,19 +20473,19 @@ where APP_LAST_UPDATE_USERID=? + Id="Package\Load Financial Activity Codes.Paths[OLE DB Source Output]" + TopLeft="401.446158755602,61.4774191290729"> + End="0,20.0225808709271"> + End="0,20.0225808709271" /> @@ -18321,63 +20494,88 @@ where APP_LAST_UPDATE_USERID=? + + Id="Package\Load Financial Activity Codes.Paths[Lookup No Match Output1]" + TopLeft="812.884633188418,274.85483645847"> + End="-15.384633188418,72.64516354153"> + End="0,36.072581770765" /> + + + + - + + Id="Package\Load Financial Activity Codes.Paths[OLE DB Command Error Output]" + TopLeft="800.350012012629,397"> + End="0,82.729029815494"> + End="0,82.729029815494" /> - + + design-time-name="Package\Load Financial Activity Codes\ETL ERROR LOG"> DataSourceViewID + + TableInfoObjectType + Table + + design-time-name="Package\Load Financial Activity Codes\ETL ERROR LOG 1"> DataSourceViewID @@ -18390,30 +20588,40 @@ where APP_LAST_UPDATE_USERID=? + design-time-name="Package\Load Financial Activity Codes\Existing PIMS_Financial_Activity_Code records"> - DataSourceViewID + OverwriteParamsSQLProp + false + + + UsedTableName + [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] TableInfoObjectType Table + type="q4:string">0 + + + DataSourceViewID + design-time-name="Package\Load Financial Activity Codes\PIMS_Financial_Activity_Code records to be updated"> OverwriteParamsSQLProp false + type="q2:string">false UsedTableName [dbo].[PIMS_YEARLY_FINANCIAL_CODE] + type="q3:string">[dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] TableInfoObjectType @@ -18426,7 +20634,7 @@ where APP_LAST_UPDATE_USERID=? + design-time-name="Package\Load Financial Activity Codes\Insert PIMS_Financial_Activity_Code"> DataSourceViewID @@ -18439,233 +20647,342 @@ where APP_LAST_UPDATE_USERID=? + design-time-name="Package\Load Financial Activity Codes\PAM_Financial_Activity"> - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_YEARLY_FINANCIAL_CODE] - - - TableInfoObjectType - 0 - DataSourceViewID + design-time-name="Package\Load Financial Codes"> + Size="166,42" + Id="Package\Load Financial Codes\ETL ERROR LOG" + TopLeft="330.82437035331,569.703220506331" /> + Size="335,42" + Id="Package\Load Financial Codes\PIMS_Yearly_Financial_Code records to be updated" + TopLeft="911.884633188418,242.85483645847" /> + Size="99,42" + Id="Package\Load Financial Codes\Sort" + TopLeft="634,239" /> + Size="113,42" + Id="Package\Load Financial Codes\PAIMS" + TopLeft="328,13" /> + Size="110,42" + Id="Package\Load Financial Codes\Merge" + TopLeft="795,290" /> + Size="108,42" + Id="Package\Load Financial Codes\Sort 1" + TopLeft="618,326" /> + Size="307,42" + Id="Package\Load Financial Codes\Existing PIMS_Yearly_Financial_Code records" + TopLeft="254.00000513517,233.32257747154" /> + Size="316,42" + Id="Package\Load Financial Codes\Existing PIMS_Yearly_Financial_Code records 1" + TopLeft="255,323" /> + Size="156,42" + Id="Package\Load Financial Codes\Derived Column" + TopLeft="332.11539597201,493.145154543151" /> + Size="161,42" + Id="Package\Load Financial Codes\Data Conversion" + TopLeft="324,89" /> + Size="258,42" + Id="Package\Load Financial Codes\Insert PIMS_Yearly_Financial_Codes" + TopLeft="275,418" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Id="Package\Load Financial Codes.Paths[OLE DB Destination Error Output]" + TopLeft="407.157697986005,459.6"> + End="0,26.045154543151"> + End="0,26.045154543151" /> - + + Id="Package\Load Financial Codes.Paths[Merge Output 1]" + TopLeft="850,290"> + End="54.3846331884179,-26.14516354153"> + End="0,-22.14516354153" /> + + - + + Id="Package\Load Financial Codes.Paths[Lookup No Match Output1]" + TopLeft="413,365"> + End="-9,45.5"> + End="0,22.5" /> + + + + + Id="Package\Load Financial Codes.Paths[Lookup No Match Output]" + TopLeft="410.250002567585,275.32257747154"> + End="0,40.17742252846"> + End="0,40.17742252846" /> + Id="Package\Load Financial Codes.Paths[Lookup Match Output1]" + TopLeft="571,345.5"> + End="39.5,0"> + End="39.5,0" /> + Id="Package\Load Financial Codes.Paths[Lookup Match Output]" + TopLeft="561.00000513517,257.16128873577"> + End="65.49999486483,0"> + End="65.49999486483,0" /> + Id="Package\Load Financial Codes.Paths[Derived Column Output1]" + TopLeft="406.09616242358,201.935480826355"> + End="0,23.887096645185"> + End="0,23.887096645185" /> @@ -18675,19 +20992,19 @@ where APP_LAST_UPDATE_USERID=? + Id="Package\Load Financial Codes.Paths[Derived Column Output]" + TopLeft="411.86988316266,534.745154543151"> + End="0,27.45806596318"> + End="0,27.45806596318" /> @@ -18697,19 +21014,19 @@ where APP_LAST_UPDATE_USERID=? + Id="Package\Load Financial Codes.Paths[Data Conversion Output]" + TopLeft="404.596159855995,131"> + End="0,21.435480826355"> + End="0,21.435480826355" /> @@ -18718,20 +21035,28 @@ where APP_LAST_UPDATE_USERID=? + + + Id="Package\Load Financial Codes.Paths[Derived Column Output2]" + TopLeft="1078.33782564388,483.703220506331"> + End="0,26.203227305105"> + End="0,26.203227305105" /> @@ -18740,37 +21065,141 @@ where APP_LAST_UPDATE_USERID=? + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + design-time-name="Package\Load Financial Codes\Existing PIMS_Yearly_Financial_Code records"> - DataSourceViewID + OverwriteParamsSQLProp + false + + + UsedTableName + [dbo].[PIMS_YEARLY_FINANCIAL_CODE] TableInfoObjectType Table + type="q4:string">0 + + + DataSourceViewID + design-time-name="Package\Load Financial Codes\Existing PIMS_Yearly_Financial_Code records 1"> - DataSourceViewID + OverwriteParamsSQLProp + false + + + UsedTableName + [dbo].[PIMS_YEARLY_FINANCIAL_CODE] TableInfoObjectType Table + type="q4:string">0 + + + DataSourceViewID + design-time-name="Package\Load Financial Codes\PAIMS"> + + + DataSourceViewID + + + + DataSourceViewID @@ -18783,22 +21212,22 @@ where APP_LAST_UPDATE_USERID=? + design-time-name="Package\Load Financial Codes\PIMS_Yearly_Financial_Code records to be updated"> OverwriteParamsSQLProp false + type="q2:string">false UsedTableName [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] + type="q3:string">[dbo].[PIMS_YEARLY_FINANCIAL_CODE] TableInfoObjectType 0 + type="q4:string">0 DataSourceViewID @@ -18806,241 +21235,215 @@ where APP_LAST_UPDATE_USERID=? + design-time-name="Package\Load Financial Codes\ETL ERROR LOG"> DataSourceViewID - - - - - - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_FINANCIAL_ACTIVITY_CODE] - TableInfoObjectType 0 - - - DataSourceViewID + type="q2:string">Table + design-time-name="Package\Load Responsibility Codes"> + - - + Size="159,42" + Id="Package\Load Responsibility Codes\Data Conversion" + TopLeft="324,89" /> + Size="215,42" + Id="Package\Load Responsibility Codes\HWY_Responsibility_Centre" + TopLeft="296.092317511203,20.2774191290729" /> + Size="156,42" + Id="Package\Load Responsibility Codes\Derived Column" + TopLeft="329.11539597201,394.145154543151" /> + Size="239,42" + Id="Package\Load Responsibility Codes\Insert PIMS_Responsibility_Code" + TopLeft="279.81538405108,312.696774161296" /> + Id="Package\Load Responsibility Codes.Paths[OLE DB Destination Error Output]" + TopLeft="403.265390011545,354.296774161296"> + End="0,32.3483803818551"> + End="0,32.3483803818551" /> - + + Id="Package\Load Responsibility Codes.Paths[Lookup No Match Output]" + TopLeft="401.58846361228,275.264512974762"> + End="0,29.932261186534"> + End="0,29.932261186534" /> + Id="Package\Load Responsibility Codes.Paths[Lookup Match Output]" + TopLeft="550.86154317348,254.059674716616"> + End="87.523090014938,0"> + End="87.523090014938,0" /> + Id="Package\Load Responsibility Codes.Paths[Derived Column Output2]" + TopLeft="409.06988316266,435.745154543151"> + End="0,27.4580659631799"> + End="0,27.4580659631799" /> - + + Id="Package\Load Responsibility Codes.Paths[Derived Column Output1]" + TopLeft="810.758357412077,433.829029815494"> + End="0,26.4838724728457"> + End="0,26.4838724728457" /> - + + Id="Package\Load Responsibility Codes.Paths[Derived Column Output]" + TopLeft="404.276931442735,201.935480826355"> + End="0,23.829032148407"> + End="0,23.829032148407" /> - + - + + End="0,21.8354808263549"> + End="0,21.8354808263549" /> @@ -19050,19 +21453,19 @@ where APP_LAST_UPDATE_USERID=? + Id="Package\Load Responsibility Codes.Paths[OLE DB Source Output]" + TopLeft="403.646158755602,61.8774191290729"> + End="0,19.6225808709271"> + End="0,19.6225808709271" /> @@ -19071,55 +21474,63 @@ where APP_LAST_UPDATE_USERID=? + + Id="Package\Load Responsibility Codes.Paths[OLE DB Command Error Output]" + TopLeft="805.850012012629,346"> + End="0,38.729029815494"> + End="0,38.729029815494" /> - + + Id="Package\Load Responsibility Codes.Paths[Lookup No Match Output1]" + TopLeft="803.442316594209,274.85483645847"> + End="0,21.64516354153"> + End="0,21.64516354153" /> - + + design-time-name="Package\Load Responsibility Codes\ETL ERROR LOG"> DataSourceViewID @@ -19132,7 +21543,7 @@ where APP_LAST_UPDATE_USERID=? + design-time-name="Package\Load Responsibility Codes\Insert PIMS_Responsibility_Code"> DataSourceViewID @@ -19145,7 +21556,7 @@ where APP_LAST_UPDATE_USERID=? + design-time-name="Package\Load Responsibility Codes\ETL ERROR LOG 1"> DataSourceViewID @@ -19158,264 +21569,256 @@ where APP_LAST_UPDATE_USERID=? + design-time-name="Package\Load Responsibility Codes\Existing PIMS_Responsibility_Code records"> OverwriteParamsSQLProp false + type="q2:string">false UsedTableName [dbo].[PIMS_WORK_ACTIVITY_CODE] + type="q3:string">[dbo].[PIMS_RESPONSIBILITY_CODE] TableInfoObjectType 0 - - - DataSourceViewID + type="q4:string">0 - - - - DataSourceViewID + design-time-name="Package\Load Responsibility Codes\PIMS_Responsibility_Code records to be updated"> OverwriteParamsSQLProp false + type="q2:string">false UsedTableName [dbo].[PIMS_WORK_ACTIVITY_CODE] + type="q3:string">[dbo].[PIMS_RESPONSIBILITY_CODE] TableInfoObjectType 0 + type="q4:string">0 + + + DataSourceViewID + + + + DataSourceViewID + design-time-name="Package\Load Work Activity Codes"> - - + Size="238,42" + Id="Package\Load Work Activity Codes\Insert PIMS_Work_Activity_Code" + TopLeft="283.41538405108,322.296774161296" /> + Size="127,42" + Id="Package\Load Work Activity Codes\Audit Trail" + TopLeft="341.19231971199,159.935480826355" /> + Size="321,42" + Id="Package\Load Work Activity Codes\PIMS_Work_Activity_Code records to eb updated" + TopLeft="645.884633188418,232.85483645847" /> - + Size="166,42" + Id="Package\Load Work Activity Codes\ETL ERROR LOG" + TopLeft="328.22437035331,470.703220506331" /> + + + Id="Package\Load Work Activity Codes.Paths[OLE DB Destination Error Output]" + TopLeft="404.865390011545,363.896774161296"> + End="0,22.748380381855"> + End="0,22.748380381855" /> - + + Id="Package\Load Work Activity Codes.Paths[Lookup No Match Output]" + TopLeft="401.73846361228,274.864512974762"> + End="0,39.9322611865339"> + End="0,39.9322611865339" /> + Id="Package\Load Work Activity Codes.Paths[Lookup Match Output]" + TopLeft="544.86154317348,254.059674716616"> + End="93.523090014938,0"> + End="93.523090014938,0" /> + Id="Package\Load Work Activity Codes.Paths[Derived Column Output2]" + TopLeft="409.06988316266,435.745154543151"> + End="0,27.4580659631799"> + End="0,27.4580659631799" /> - + + Id="Package\Load Work Activity Codes.Paths[Derived Column Output1]" + TopLeft="810.758357412077,433.829029815494"> + End="0,26.4838724728457"> + End="0,26.4838724728457" /> - + + Id="Package\Load Work Activity Codes.Paths[Derived Column Output]" + TopLeft="402.826931442735,201.535480826355"> + End="0,24.229032148407"> + End="0,24.229032148407" /> - + + Id="Package\Load Work Activity Codes.Paths[Data Conversion Output]" + TopLeft="404.196159855995,130.6"> + End="0,21.8354808263549"> + End="0,21.8354808263549" /> @@ -19425,19 +21828,19 @@ where APP_LAST_UPDATE_USERID=? + Id="Package\Load Work Activity Codes.Paths[OLE DB Source Output]" + TopLeft="400.246158755602,61.8774191290729"> + End="0,19.6225808709271"> + End="0,19.6225808709271" /> @@ -19446,55 +21849,87 @@ where APP_LAST_UPDATE_USERID=? + + Id="Package\Load Work Activity Codes.Paths[Lookup No Match Output1]" + TopLeft="806.384633188418,274.85483645847"> + End="-8.88463318841798,30.64516354153"> + End="0,15.072581770765" /> + + + + - + + Id="Package\Load Work Activity Codes.Paths[OLE DB Command Error Output]" + TopLeft="797.5,355"> + End="11.700024025258,29.729029815494"> + End="0,14.614514907747" /> + + + + - + + design-time-name="Package\Load Work Activity Codes\ETL ERROR LOG 1"> DataSourceViewID @@ -19507,79 +21942,79 @@ where APP_LAST_UPDATE_USERID=? + design-time-name="Package\Load Work Activity Codes\PAM_Work_Activity"> DataSourceViewID - - TableInfoObjectType - Table - + design-time-name="Package\Load Work Activity Codes\PIMS_Work_Activity_Code records to eb updated"> - DataSourceViewID + OverwriteParamsSQLProp + false + + + UsedTableName + [dbo].[PIMS_WORK_ACTIVITY_CODE] TableInfoObjectType Table + type="q4:string">0 + + + DataSourceViewID + design-time-name="Package\Load Work Activity Codes\ETL ERROR LOG"> - OverwriteParamsSQLProp - false - - - UsedTableName - [dbo].[PIMS_RESPONSIBILITY_CODE] + DataSourceViewID TableInfoObjectType 0 - - - DataSourceViewID + type="q2:string">Table + design-time-name="Package\Load Work Activity Codes\Insert PIMS_Work_Activity_Code"> DataSourceViewID + + TableInfoObjectType + Table + + design-time-name="Package\Load Work Activity Codes\Existing PIMS_Work_Activity_Code records"> OverwriteParamsSQLProp false + type="q2:string">false UsedTableName [dbo].[PIMS_RESPONSIBILITY_CODE] + type="q3:string">[dbo].[PIMS_WORK_ACTIVITY_CODE] TableInfoObjectType 0 + type="q4:string">0 DataSourceViewID diff --git a/etl/PAIMS_PIMS_LEASE/PAIMS_PIMS_LEASE/PAIMS_PIMS_LEASE.dtproj b/etl/PAIMS_PIMS_LEASE/PAIMS_PIMS_LEASE/PAIMS_PIMS_LEASE.dtproj index 7c60e3ebcb..af945e0c40 100644 --- a/etl/PAIMS_PIMS_LEASE/PAIMS_PIMS_LEASE/PAIMS_PIMS_LEASE.dtproj +++ b/etl/PAIMS_PIMS_LEASE/PAIMS_PIMS_LEASE/PAIMS_PIMS_LEASE.dtproj @@ -1,12 +1,12 @@  Project - 15.0.2000.180 + 16.0.948.0 9.0.1.0 $base64$PFNvdXJjZUNvbnRyb2xJbmZvIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zOmRkbDI9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDAzL2VuZ2luZS8yIiB4bWxuczpkZGwyXzI9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDAzL2VuZ2luZS8yLzIiIHhtbG5zOmRkbDEwMF8xMDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDA4L2VuZ2luZS8xMDAvMTAwIiB4bWxuczpkZGwyMDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEwL2VuZ2luZS8yMDAiIHhtbG5zOmRkbDIwMF8yMDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEwL2VuZ2luZS8yMDAvMjAwIiB4bWxuczpkZGwzMDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDExL2VuZ2luZS8zMDAiIHhtbG5zOmRkbDMwMF8zMDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDExL2VuZ2luZS8zMDAvMzAwIiB4bWxuczpkZGw0MDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEyL2VuZ2luZS80MDAiIHhtbG5zOmRkbDQwMF80MDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEyL2VuZ2luZS80MDAvNDAwIiB4bWxuczpkZGw1MDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEzL2VuZ2luZS81MDAiIHhtbG5zOmRkbDUwMF81MDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEzL2VuZ2luZS81MDAvNTAwIiB4bWxuczpkd2Q9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vRGF0YVdhcmVob3VzZS9EZXNpZ25lci8xLjAiPg0KICA8RW5hYmxlZD5mYWxzZTwvRW5hYmxlZD4NCiAgPFByb2plY3ROYW1lPjwvUHJvamVjdE5hbWU+DQogIDxBdXhQYXRoPjwvQXV4UGF0aD4NCiAgPExvY2FsUGF0aD48L0xvY2FsUGF0aD4NCiAgPFByb3ZpZGVyPjwvUHJvdmlkZXI+DQo8L1NvdXJjZUNvbnRyb2xJbmZvPg== - PAIMS_PIMS_LEASE 11.database - PAIMS_PIMS_LEASE 11.database + PAIMS_PIMS_LEASE 1.database + PAIMS_PIMS_LEASE 1.database @@ -41,10 +41,10 @@ PAIMS_PIMS_LOAD 1 0 - 311 + 330 - {EED1199B-C22B-4FF8-80B9-A564E7497B99} + {061F8F1E-9765-4C7A-B400-AFC3A7836E94} 8 @@ -77,7 +77,7 @@ 0 0 0 - Data Source=lizzard.th.gov.bc.ca:20208/tst11;User ID=prisharm;Provider=OraOLEDB.Oracle.1;Persist Security Info=True; + Data Source=lizzard.th.gov.bc.ca:20208/dev03;User ID=desmith;Provider=OraOLEDB.Oracle.1;Persist Security Info=True; 18 @@ -180,7 +180,7 @@ 0 0 0 - lizzard.th.gov.bc.ca:20208/tst11 + lizzard.th.gov.bc.ca:20208/dev03 18 @@ -195,7 +195,7 @@ 0 0 0 - prisharm + desmith 18 @@ -225,7 +225,7 @@ 0 0 0 - Data Source=sqldevtst.th.gov.bc.ca;Initial Catalog=PIMS_TST;Provider=SQLNCLI11.1;Integrated Security=SSPI;Auto Translate=False;Application Name=SSIS-PAIMS_PIMS_LOAD-{CE1F900B-68A0-4E29-BA20-8323E3E20BAC}PIMS; + Data Source=localhost,5433;User ID=admin;Initial Catalog=pims;Provider=SQLNCLI11.1;Auto Translate=False;Application Name=SSIS-PAIMS_PIMS_LOAD-{CE1F900B-68A0-4E29-BA20-8323E3E20BAC}PIMS; 18 @@ -285,7 +285,7 @@ 0 0 0 - PIMS_TST + pims 18 @@ -329,7 +329,7 @@ 0 0 0 - sqldevtst.th.gov.bc.ca + localhost,5433 18 @@ -344,6 +344,7 @@ 0 0 0 + admin 18 diff --git a/etl/PAIMS_PIMS_LEASE/PAIMS_PIMS_LEASE/PAIMS_PIMS_LOAD.dtsx b/etl/PAIMS_PIMS_LEASE/PAIMS_PIMS_LEASE/PAIMS_PIMS_LOAD.dtsx index 6536fcfcff..a9fd385916 100644 --- a/etl/PAIMS_PIMS_LEASE/PAIMS_PIMS_LEASE/PAIMS_PIMS_LOAD.dtsx +++ b/etl/PAIMS_PIMS_LEASE/PAIMS_PIMS_LEASE/PAIMS_PIMS_LOAD.dtsx @@ -7,13 +7,13 @@ DTS:CreatorName="Xerces\Devin Smith" DTS:DTSID="{907C7453-17F6-4DC3-A950-55E7C4F5D886}" DTS:ExecutableType="Microsoft.Package" - DTS:LastModifiedProductVersion="15.0.2000.180" + DTS:LastModifiedProductVersion="16.0.948.0" DTS:LocaleID="1033" DTS:ObjectName="PAIMS_PIMS_LOAD" DTS:PackageType="5" DTS:ProtectionLevel="0" - DTS:VersionBuild="311" - DTS:VersionGUID="{EED1199B-C22B-4FF8-80B9-A564E7497B99}"> + DTS:VersionBuild="330" + DTS:VersionGUID="{061F8F1E-9765-4C7A-B400-AFC3A7836E94}"> 8 @@ -26,7 +26,7 @@ + DTS:ConnectionString="Data Source=lizzard.th.gov.bc.ca:20208/dev03;User ID=desmith;Provider=OraOLEDB.Oracle.1;Persist Security Info=True;"> @@ -42,7 +42,11 @@ + DTS:ConnectionString="Data Source=localhost,5433;User ID=admin;Initial Catalog=pims;Provider=SQLNCLI11.1;Auto Translate=False;Application Name=SSIS-PAIMS_PIMS_LOAD-{CE1F900B-68A0-4E29-BA20-8323E3E20BAC}PIMS;"> + + @@ -361,14 +365,14 @@ description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_CONTACT_METHOD] select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] +where [refTable].[CONTACT_METHOD_VALUE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[IS_PREFERRED_METHOD] = ? <referenceMetadata><referenceColumns><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRNT_ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DISTRICT_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORG_IDENTIFIER_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_IDENTIFIER" dataType="DT_WSTR" length="100" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_NAME" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ALIAS" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="INCORPORATION_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="WEBSITE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="COMMENT" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_DISABLED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="CONTACT_METHOD_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONTACT_METHOD_VALUE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_PREFERRED_METHOD" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> #{Package\PIMS_CONTACT_METHOD\Audit fields.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]}; + name="ParameterMap">#{Package\PIMS_CONTACT_METHOD\PAM_PROPERTY_CONTRACT.Outputs[OLE DB Source Output].Columns[CONTACT_PHONE]};#{Package\PIMS_CONTACT_METHOD\Audit fields.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\PIMS_CONTACT_METHOD\CONTACT_METHOD defaults.Outputs[Derived Column Output].Columns[CONTACT_METHOD_TYPE_CODE]};#{Package\PIMS_CONTACT_METHOD\CONTACT_METHOD defaults.Outputs[Derived Column Output].Columns[IS_PREFERRED_METHOD]}; name="CopyFromReferenceColumn" /> + + + CONTACT_METHOD_TYPE_CODE + + + + + + IS_PREFERRED_METHOD + + + + + + CONTACT_METHOD_VALUE + + + @@ -503,14 +557,14 @@ where [refTable].[APP_CREATE_USER_DIRECTORY] = ? description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_CONTACT_METHOD] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_CONTACT_METHOD] select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] +where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[CONTACT_METHOD_TYPE_CODE] = ? and [refTable].[CONTACT_METHOD_VALUE] = ? containsID="true" dataType="System.String" description="Specifies the list of lineage identifiers that map to the parameters that the SQL statement in the SQLCommand property uses. Entries in the list are separated by semicolons." - name="ParameterMap">#{Package\PIMS_CONTACT_METHOD\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]}; + name="ParameterMap">#{Package\PIMS_CONTACT_METHOD\Sort 1.Outputs[Sort Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\PIMS_CONTACT_METHOD\Sort 1.Outputs[Sort Output].Columns[CONTACT_METHOD_TYPE_CODE]};#{Package\PIMS_CONTACT_METHOD\Sort 1.Outputs[Sort Output].Columns[CONTACT_PHONE]}; name="CopyFromReferenceColumn" /> + + + CONTACT_METHOD_VALUE + + + + + + CONTACT_METHOD_TYPE_CODE + + + @@ -1586,7 +1674,7 @@ where [refTable].[APP_CREATE_USER_DIRECTORY] = ? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_CONTACT_METHOD] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_CONTACT_METHOD] select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_CONTACT_METHOD] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_CONTACT_METHOD] select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_CONTACT_METHOD]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION] select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] where [refTable].[ORGANIZATION_NAME] = ? description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [etl].[ETL_PAIMS_PERSON_NAMES] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [etl].[ETL_PAIMS_PERSON_NAMES] select * from (select * from [etl].[ETL_PAIMS_PERSON_NAMES]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [etl].[ETL_PAIMS_PERSON_NAMES]) [refTable] where [refTable].[PERSON_NAME] = ? containsID="true" dataType="System.String" description="Specifies the list of lineage identifiers that map to the parameters that the SQL statement in the SQLCommand property uses. Entries in the list are separated by semicolons." - name="ParameterMap">#{Package\PIMS_CONTACT_METHOD\1726:invalid}; + name="ParameterMap">#{Package\PIMS_CONTACT_METHOD\PAM_PROPERTY_CONTRACT.Outputs[OLE DB Source Output].Columns[RENT_NAME]}; description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PERSON] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PERSON] select * from (select * from [dbo].[PIMS_PERSON]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_PERSON]) [refTable] where [refTable].[FIRST_NAME] = ? and [refTable].[MIDDLE_NAMES] = ? and [refTable].[SURNAME] = ? SELECT RENT_NAME, CONTACT_NAME, PROPERTY_CONTRACT_ID, CONTACT_PHONE FROM app_pam.PAM_PROPERTY_CONTRACT WHERE CONTACT_PHONE IS NOT NULL AND (CONTACT_NAME IS NOT NULL OR RENT_NAME IS NOT NULL) + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT RENT_NAME, CONTACT_NAME, PROPERTY_CONTRACT_ID, CONTACT_PHONE FROM app_pam.PAM_PROPERTY_CONTRACT WHERE CONTACT_PHONE IS NOT NULL AND (CONTACT_NAME IS NOT NULL OR RENT_NAME IS NOT NULL) update PIMS_CONTACT_METHOD + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_CONTACT_METHOD set CONTACT_METHOD_TYPE_CODE=?, CONTACT_METHOD_VALUE=?, -IS_PREFERRED_METHOD=? +IS_PREFERRED_METHOD=?, +CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? description="The SQL command to be executed." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_CONTACT_METHOD + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_CONTACT_METHOD set CONTACT_METHOD_TYPE_CODE=?, PERSON_ID=?, -CONTACT_METHOD_VALUE=? +CONTACT_METHOD_VALUE=?, +CONCURRENCY_CONTROL_NUMBER = +CONCURRENCY_CONTROL_NUMBER + 1 where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? startId="Package\PIMS_CONTACT_METHOD\Trimmed name.Outputs[Derived Column Output]" /> + startId="Package\PIMS_CONTACT_METHOD\Lookup Organization.Outputs[Lookup Match Output]" /> - + + startId="Package\PIMS_CONTACT_METHOD\Filter existing Contact Method.Outputs[Lookup Match Output]" /> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_INSURANCE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_INSURANCE] select * from (select * from [dbo].[PIMS_INSURANCE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_INSURANCE]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE] select * from (select * from [dbo].[PIMS_LEASE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_LEASE]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select DISTINCT prcntrct.PID_NO + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select DISTINCT prcntrct.PID_NO , cnprpose.DESCRIPTION as "Contract Purpose Type" , tenurety.DESCRIPTION as "Property Tenure Type" , prcntrct.PROPERTY_FILE_NUMBER @@ -9983,14 +10074,14 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_INSURANCE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_INSURANCE] select * from (select * from [dbo].[PIMS_INSURANCE]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_INSURANCE]) [refTable] +where [refTable].[IS_INSURANCE_IN_PLACE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[INSURANCE_TYPE_CODE] = ? and [refTable].[OTHER_INSURANCE_TYPE] = ? containsID="true" dataType="System.String" description="Specifies the list of lineage identifiers that map to the parameters that the SQL statement in the SQLCommand property uses. Entries in the list are separated by semicolons." - name="ParameterMap">#{Package\PIMS_INSURANCE\Union All.Outputs[Union All Output 1].Columns[APP_CREATE_USER_DIRECTORY]}; + name="ParameterMap">#{Package\PIMS_INSURANCE\Union All.Outputs[Union All Output 1].Columns[IS_INSURANCE_IN_PLACE]};#{Package\PIMS_INSURANCE\Union All.Outputs[Union All Output 1].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\PIMS_INSURANCE\Union All.Outputs[Union All Output 1].Columns[INSURANCE_TYPE_CODE]};#{Package\PIMS_INSURANCE\Union All.Outputs[Union All Output 1].Columns[OTHER_INSURANCE_TYPE]}; name="CopyFromReferenceColumn" /> + + + IS_INSURANCE_IN_PLACE + + + + + + OTHER_INSURANCE_TYPE + + + + + + INSURANCE_TYPE_CODE + + + @@ -11350,13 +11491,14 @@ where [refTable].[APP_CREATE_USER_DIRECTORY] = ? description="The SQL command to be executed." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_INSURANCE + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_INSURANCE set LEASE_ID=?, INSURANCE_TYPE_CODE=?, OTHER_INSURANCE_TYPE=?, COVERAGE_LIMIT=?, IS_INSURANCE_IN_PLACE=?, -EXPIRY_DATE=? +EXPIRY_DATE=?, +CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? startId="Package\PIMS_INSURANCE\Liability Defaults.Outputs[Derived Column Output]" /> + startId="Package\PIMS_INSURANCE\Existing PIMS_INSURANCE records.Outputs[Lookup Match Output]" /> + startId="Package\PIMS_INSURANCE\Get LEASE_ID.Outputs[Lookup Match Output]" /> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE] select * from (select * from [dbo].[PIMS_LEASE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_LEASE]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select DISTINCT prcntrct.PID_NO + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select DISTINCT prcntrct.PID_NO , cnprpose.PROPERTY_CONT_PURPOSE_TYP_CODE as "Contract Purpose Type" , tenurety.PROPERTY_TENURE_TYPE_CODE as "Property Tenure Type" , prcntrct.PROPERTY_FILE_NUMBER @@ -15292,14 +15434,14 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE] select * from (select * from [dbo].[PIMS_LEASE]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_LEASE]) [refTable] +where [refTable].[RESPONSIBILITY_EFFECTIVE_DATE] = ? and [refTable].[ORIG_EXPIRY_DATE] = ? and [refTable].[LEASE_LICENSE_TYPE_CODE] = ? and [refTable].[LEASE_PROGRAM_TYPE_CODE] = ? and [refTable].[LEASE_INITIATOR_TYPE_CODE] = ? and [refTable].[PS_FILE_NO] = ? and [refTable].[ORIG_START_DATE] = ? and [refTable].[IS_EXPIRED] = ? and [refTable].[LEASE_PURPOSE_TYPE_CODE] = ? and [refTable].[REGION_CODE] = ? and [refTable].[LEASE_STATUS_TYPE_CODE] = ? and [refTable].[LEASE_PAY_RVBL_TYPE_CODE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? <referenceMetadata><referenceColumns><referenceColumn name="LEASE_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_PAY_RVBL_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_LICENSE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_CATEGORY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_PURPOSE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_PROGRAM_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_INITIATOR_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_RESPONSIBILITY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="L_FILE_NO" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="TFA_FILE_NO" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PS_FILE_NO" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_DESCRIPTION" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_CATEGORY_OTHER_DESC" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_PURPOSE_OTHER_DESC" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_NOTES" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MOTI_CONTACT" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="DOCUMENTATION_REFERENCE" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="RETURN_NOTES" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_LEASE_PROGRAM_TYPE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_LEASE_LICENSE_TYPE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_LEASE_PURPOSE_TYPE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORIG_START_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORIG_EXPIRY_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_AMOUNT" dataType="DT_CY" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="RESPONSIBILITY_EFFECTIVE_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="INSPECTION_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="INSPECTION_NOTES" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_SUBJECT_TO_RTA" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_COMM_BLDG" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_OTHER_IMPROVEMENT" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_EXPIRED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="HAS_PHYSICAL_FILE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="HAS_DIGITAL_FILE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="HAS_PHYSICIAL_LICENSE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="HAS_DIGITAL_LICENSE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="TFA_FILE_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="LEASE_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_PAY_RVBL_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_LICENSE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_CATEGORY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_PURPOSE_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_PROGRAM_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_INITIATOR_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_RESPONSIBILITY_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_STATUS_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="REGION_CODE" dataType="DT_I2" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PROJECT_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="L_FILE_NO" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="TFA_FILE_NO" dataType="DT_I4" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="TFA_FILE_NUMBER" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="PS_FILE_NO" dataType="DT_WSTR" length="50" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_DESCRIPTION" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_CATEGORY_OTHER_DESC" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_PURPOSE_OTHER_DESC" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_NOTES" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="MOTI_CONTACT" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="DOCUMENTATION_REFERENCE" dataType="DT_WSTR" length="500" precision="0" scale="0" codePage="0"/><referenceColumn name="RETURN_NOTES" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_LEASE_PROGRAM_TYPE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_LEASE_LICENSE_TYPE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="OTHER_LEASE_PURPOSE_TYPE" dataType="DT_WSTR" length="200" precision="0" scale="0" codePage="0"/><referenceColumn name="ORIG_START_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORIG_EXPIRY_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_AMOUNT" dataType="DT_CY" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="RESPONSIBILITY_EFFECTIVE_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="INSPECTION_DATE" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="INSPECTION_NOTES" dataType="DT_NTEXT" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_SUBJECT_TO_RTA" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_COMM_BLDG" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_OTHER_IMPROVEMENT" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="IS_EXPIRED" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="HAS_PHYSICAL_FILE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="HAS_DIGITAL_FILE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="HAS_PHYSICIAL_LICENSE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="HAS_DIGITAL_LICENSE" dataType="DT_BOOL" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> #{Package\PIMS_LEASE\Add defaults.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]}; + name="ParameterMap">#{Package\PIMS_LEASE\Group rows by contract id.Outputs[Sort Output].Columns[COMMENCEMENT_DATE]};#{Package\PIMS_LEASE\Group rows by contract id.Outputs[Sort Output].Columns[EXPECTED_EXPIRATION_DATE]};#{Package\PIMS_LEASE\Add defaults.Outputs[Derived Column Output].Columns[LEASE_LICENSE_TYPE_CODE]};#{Package\PIMS_LEASE\Add defaults.Outputs[Derived Column Output].Columns[LEASE_PROGRAM_TYPE_CODE]};#{Package\PIMS_LEASE\Add defaults.Outputs[Derived Column Output].Columns[LEASE_INITIATOR_TYPE_CODE]};#{Package\PIMS_LEASE\Add defaults.Outputs[Derived Column Output].Columns[PS_FILE_NO]};#{Package\PIMS_LEASE\Add defaults.Outputs[Derived Column Output].Columns[ORIG_START_DATE]};#{Package\PIMS_LEASE\Add defaults.Outputs[Derived Column Output].Columns[IS_EXPIRED]};#{Package\PIMS_LEASE\Add defaults.Outputs[Derived Column Output].Columns[LEASE_PURPOSE_TYPE_CODE]};#{Package\PIMS_LEASE\Add defaults.Outputs[Derived Column Output].Columns[REGION_CODE]};#{Package\PIMS_LEASE\Add defaults.Outputs[Derived Column Output].Columns[LEASE_STATUS_TYPE_CODE]};#{Package\PIMS_LEASE\Add defaults.Outputs[Derived Column Output].Columns[LEASE_PAY_RVBL_TYPE_CODE]};#{Package\PIMS_LEASE\Add defaults.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]}; name="CopyFromReferenceColumn" /> + + + LEASE_PAY_RVBL_TYPE_CODE + + + + + + LEASE_LICENSE_TYPE_CODE + + + + + + LEASE_PURPOSE_TYPE_CODE + + + + + + LEASE_PROGRAM_TYPE_CODE + + + + + + LEASE_INITIATOR_TYPE_CODE + + + + + + LEASE_STATUS_TYPE_CODE + + + + + + REGION_CODE + + + + + + PS_FILE_NO + + + + + + ORIG_START_DATE + + + + + + IS_EXPIRED + + + + + + RESPONSIBILITY_EFFECTIVE_DATE + + + + + + ORIG_EXPIRY_DATE + + + @@ -15434,13 +15775,13 @@ where [refTable].[APP_CREATE_USER_DIRECTORY] = ? description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_REGION] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_REGION] select * from (select * from [dbo].[PIMS_REGION]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_REGION]) [refTable] where [refTable].[REGION_CODE] = ? description="The SQL command to be executed." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update pims_lease + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update pims_lease set LEASE_PAY_RVBL_TYPE_CODE=?, LEASE_LICENSE_TYPE_CODE=?, LEASE_PURPOSE_TYPE_CODE=?, @@ -15597,7 +15938,8 @@ ORIG_EXPIRY_DATE=?, RESPONSIBILITY_EFFECTIVE_DATE=?, IS_EXPIRED=?, LEASE_NOTES=?, -LEASE_AMOUNT=? +LEASE_AMOUNT=?, +CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE_NOTE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE_NOTE] select * from (select * from [dbo].[PIMS_LEASE_NOTE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_LEASE_NOTE]) [refTable] where [refTable].[APP_CREATE_USERID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> select * from [dbo].[PIMS_LEASE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE] select * from (select * from [dbo].[PIMS_LEASE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_LEASE]) [refTable] where [refTable].[APP_CREATE_USERID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? select * from [dbo].[PIMS_NOTE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_NOTE] select * from (select * from [dbo].[PIMS_NOTE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_NOTE]) [refTable] where [refTable].[APP_CREATE_USERID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? select DISTINCT prcntrct.PID_NO + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select DISTINCT prcntrct.PID_NO , cnprpose.PROPERTY_CONT_PURPOSE_TYP_CODE as "Contract Purpose Type" , tenurety.PROPERTY_TENURE_TYPE_CODE as "Property Tenure Type" , prcntrct.PROPERTY_FILE_NUMBER @@ -19538,13 +19880,13 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE_NOTE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE_NOTE] select * from (select * from [dbo].[PIMS_LEASE_NOTE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_LEASE_NOTE]) [refTable] where [refTable].[APP_CREATE_USERID] = ? and [refTable].[APP_LAST_UPDATE_USERID] = ? and [refTable].[APP_LAST_UPDATE_USER_DIRECTORY] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[LEASE_ID] = ? and [refTable].[NOTE_ID] = ? update pims_LEASE_NOTE + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update pims_LEASE_NOTE set LEASE_ID=?, NOTE_ID=?, CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1, @@ -20757,7 +21099,7 @@ set LEASE_ID=?, dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> select * from [dbo].[PIMS_LEASE_PAYMENT] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE_PAYMENT] select * from (select * from [dbo].[PIMS_LEASE_PAYMENT]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_LEASE_PAYMENT]) [refTable] where [refTable].[NOTE] = ? and [refTable].[PAYMENT_RECEIVED_DATE] = ? #{Package\PIMS_LEASE_PAYMENT\Union All.Outputs[Union All Output 1].Columns[NOTE]};#{Package\PIMS_LEASE_PAYMENT\Payment defaults.Outputs[Derived Column Output].Columns[PAYMENT_RECEIVED_DATE]}; + name="ParameterMap">#{Package\PIMS_LEASE_PAYMENT\519:invalid};#{Package\PIMS_LEASE_PAYMENT\Payment defaults.Outputs[Derived Column Output].Columns[PAYMENT_RECEIVED_DATE]}; + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> select * from [dbo].[PIMS_LEASE_PAYMENT] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE_PAYMENT] select * from (select * from [dbo].[PIMS_LEASE_PAYMENT]) [refTable] -where [refTable].[NOTE] = ? and [refTable].[PAYMENT_RECEIVED_DATE] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_LEASE_PAYMENT]) [refTable] +where [refTable].[PAYMENT_AMOUNT_GST] = ? and [refTable].[PAYMENT_AMOUNT_PRE_TAX] = ? and [refTable].[NOTE] = ? and [refTable].[PAYMENT_RECEIVED_DATE] = ? and [refTable].[LEASE_PAYMENT_METHOD_TYPE_CODE] = ? #{Package\PIMS_LEASE_PAYMENT\Union All.Outputs[Union All Output 1].Columns[NOTE]};#{Package\PIMS_LEASE_PAYMENT\Payment defaults.Outputs[Derived Column Output].Columns[PAYMENT_RECEIVED_DATE]}; + name="ParameterMap">#{Package\PIMS_LEASE_PAYMENT\Union All.Outputs[Union All Output 1].Columns[PAYMENT_AMOUNT_GST]};#{Package\PIMS_LEASE_PAYMENT\Union All.Outputs[Union All Output 1].Columns[PAYMENT_AMOUNT_PRE_TAX]};#{Package\PIMS_LEASE_PAYMENT\Union All.Outputs[Union All Output 1].Columns[NOTE]};#{Package\PIMS_LEASE_PAYMENT\Payment defaults.Outputs[Derived Column Output].Columns[PAYMENT_RECEIVED_DATE]};#{Package\PIMS_LEASE_PAYMENT\Payment defaults.Outputs[Derived Column Output].Columns[LEASE_PAYMENT_METHOD_TYPE_CODE]}; + + + PAYMENT_RECEIVED_DATE + + + + + + PAYMENT_AMOUNT_GST + + + + + + PAYMENT_AMOUNT_PRE_TAX + + + + refId="Package\PIMS_LEASE_PAYMENT\LEASE PAYMENT records to be updated.Inputs[Lookup Input].Columns[LEASE_PAYMENT_METHOD_TYPE_CODE]" + cachedDataType="wstr" + cachedLength="4" + cachedName="LEASE_PAYMENT_METHOD_TYPE_CODE" + lineageId="Package\PIMS_LEASE_PAYMENT\Payment defaults.Outputs[Derived Column Output].Columns[LEASE_PAYMENT_METHOD_TYPE_CODE]"> PAYMENT_RECEIVED_DATE + name="JoinToReferenceColumn">LEASE_PAYMENT_METHOD_TYPE_CODE select * from [dbo].[PIMS_LEASE_TERM] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE_TERM] select * from (select * from [dbo].[PIMS_LEASE_TERM]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_LEASE_TERM]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select payment.* + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select payment.* from app_pam.PAM_PROPERTY property join app_pam.PAM_PROPERTY_CONT_PROPERTY prcntrct on prcntrct.PROPERTY_ID = property.PROPERTY_ID join app_pam.PAM_PROPERTY_CONTRACT contract on contract.PROPERTY_CONTRACT_ID = prcntrct.PROPERTY_CONTRACT_ID join @@ -22201,7 +22586,7 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select payment.* + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select payment.* from app_pam.PAM_PROPERTY property join app_pam.PAM_PROPERTY_CONT_PROPERTY prcntrct on prcntrct.PROPERTY_ID = property.PROPERTY_ID join app_pam.PAM_PROPERTY_CONTRACT contract on contract.PROPERTY_CONTRACT_ID = prcntrct.PROPERTY_CONTRACT_ID join @@ -22570,17 +22955,13 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') lineageId="Package\PIMS_LEASE_PAYMENT\Union All.Outputs[Union All Output 1].Columns[PROPERTY_CONTRACT_ID]" /> @@ -22664,26 +23045,24 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') ([ISNULL](#{Package\PIMS_LEASE_PAYMENT\Union All.Outputs[Union All Output 1].Columns[PAYMENT_AMOUNT_GST]}) ? 0 : #{Package\PIMS_LEASE_PAYMENT\Union All.Outputs[Union All Output 1].Columns[PAYMENT_AMOUNT_GST]}) + ([ISNULL](#{Package\PIMS_LEASE_PAYMENT\Union All.Outputs[Union All Output 1].Columns[PAYMENT_AMOUNT_PRE_TAX]}) ? 0 : #{Package\PIMS_LEASE_PAYMENT\Union All.Outputs[Union All Output 1].Columns[PAYMENT_AMOUNT_PRE_TAX]}) + name="Expression">([ISNULL](#{Package\PIMS_LEASE_PAYMENT\Union All.Outputs[Union All Output 1].Columns[PAYMENT_AMOUNT_GST]}) ? (DT_CY)0 : (DT_CY)#{Package\PIMS_LEASE_PAYMENT\Union All.Outputs[Union All Output 1].Columns[PAYMENT_AMOUNT_GST]}) + (DT_CY)([ISNULL](#{Package\PIMS_LEASE_PAYMENT\Union All.Outputs[Union All Output 1].Columns[PAYMENT_AMOUNT_PRE_TAX]}) ? 0 : (DT_CY)#{Package\PIMS_LEASE_PAYMENT\Union All.Outputs[Union All Output 1].Columns[PAYMENT_AMOUNT_PRE_TAX]}) (ISNULL(PAYMENT_AMOUNT_GST) ? 0 : PAYMENT_AMOUNT_GST) + (ISNULL(PAYMENT_AMOUNT_PRE_TAX) ? 0 : PAYMENT_AMOUNT_PRE_TAX) + name="FriendlyExpression">(ISNULL(PAYMENT_AMOUNT_GST) ? (DT_CY)0 : (DT_CY)PAYMENT_AMOUNT_GST) + (DT_CY)(ISNULL(PAYMENT_AMOUNT_PRE_TAX) ? 0 : (DT_CY)PAYMENT_AMOUNT_PRE_TAX) @@ -22766,31 +23145,29 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') #{Package\PIMS_LEASE_PAYMENT\PAIMS_PYBL_PAYMENTS.Outputs[OLE DB Source Output].Columns[AMOUNT]} + name="Expression">(DT_CY)#{Package\PIMS_LEASE_PAYMENT\PAIMS_PYBL_PAYMENTS.Outputs[OLE DB Source Output].Columns[AMOUNT]} AMOUNT + name="FriendlyExpression">(DT_CY)AMOUNT containsID="true" dataType="System.String" description="Derived Column Expression" - name="Expression">0 + name="Expression">(DT_CY)0 0 + name="FriendlyExpression">(DT_CY)0 #{Package\PIMS_LEASE_PAYMENT\PAIMS_RCVBL_PAYMENTS.Outputs[OLE DB Source Output].Columns[RCVBL_TRX_TYPE_CODE]} == "G" ? #{Package\PIMS_LEASE_PAYMENT\PAIMS_RCVBL_PAYMENTS.Outputs[OLE DB Source Output].Columns[AMOUNT]} : 0 + name="Expression">#{Package\PIMS_LEASE_PAYMENT\PAIMS_RCVBL_PAYMENTS.Outputs[OLE DB Source Output].Columns[RCVBL_TRX_TYPE_CODE]} == "G" ? (DT_CY)#{Package\PIMS_LEASE_PAYMENT\PAIMS_RCVBL_PAYMENTS.Outputs[OLE DB Source Output].Columns[AMOUNT]} : (DT_CY)0 RCVBL_TRX_TYPE_CODE == "G" ? AMOUNT : 0 + name="FriendlyExpression">RCVBL_TRX_TYPE_CODE == "G" ? (DT_CY)AMOUNT : (DT_CY)0 #{Package\PIMS_LEASE_PAYMENT\PAIMS_RCVBL_PAYMENTS.Outputs[OLE DB Source Output].Columns[RCVBL_TRX_TYPE_CODE]} == "G" ? 0 : #{Package\PIMS_LEASE_PAYMENT\PAIMS_RCVBL_PAYMENTS.Outputs[OLE DB Source Output].Columns[AMOUNT]} + name="Expression">#{Package\PIMS_LEASE_PAYMENT\PAIMS_RCVBL_PAYMENTS.Outputs[OLE DB Source Output].Columns[RCVBL_TRX_TYPE_CODE]} == "G" ? (DT_CY)0 : (DT_CY)#{Package\PIMS_LEASE_PAYMENT\PAIMS_RCVBL_PAYMENTS.Outputs[OLE DB Source Output].Columns[AMOUNT]} RCVBL_TRX_TYPE_CODE == "G" ? 0 : AMOUNT + name="FriendlyExpression">RCVBL_TRX_TYPE_CODE == "G" ? (DT_CY)0 : (DT_CY)AMOUNT name="LAST_UPDATE_USERID" /> + name="PAYMENT_AMOUNT_GST" /> + name="PAYMENT_AMOUNT_PRE_TAX" /> description="The SQL command to be executed." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_LEASE_PAYMENT + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_LEASE_PAYMENT set LEASE_TERM_ID=?, LEASE_PAYMENT_METHOD_TYPE_CODE=?, PAYMENT_RECEIVED_DATE=?, PAYMENT_AMOUNT_PRE_TAX=?, PAYMENT_AMOUNT_GST=?, PAYMENT_AMOUNT_TOTAL=?, -NOTE=? +NOTE=?, +CONCURRENCY_CONTROL_NUMBER = +CONCURRENCY_CONTROL_NUMBER + 1 where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? lineageId="Package\PIMS_LEASE_PAYMENT\Payment defaults.Outputs[Derived Column Output].Columns[PAYMENT_RECEIVED_DATE]" /> - - + + dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE_TENANT] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE_TENANT] select * from (select * from [dbo].[PIMS_LEASE_TENANT]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_LEASE_TENANT]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION] select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] where [refTable].[ORGANIZATION_NAME] = ? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="wstr" length="2000" name="NOTE" /> + @@ -26670,13 +27034,13 @@ where [refTable].[ORGANIZATION_NAME] = ? description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PERSON] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PERSON] select * from (select * from [dbo].[PIMS_PERSON]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_PERSON]) [refTable] where [refTable].[FIRST_NAME] = ? and [refTable].[MIDDLE_NAMES] = ? and [refTable].[SURNAME] = ? select * from [dbo].[PIMS_LEASE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE] select * from (select * from [dbo].[PIMS_LEASE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_LEASE]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION] select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] where [refTable].[ORGANIZATION_NAME] = ? description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PERSON] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PERSON] select * from (select * from [dbo].[PIMS_PERSON]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_PERSON]) [refTable] where [refTable].[FIRST_NAME] = ? and [refTable].[MIDDLE_NAMES] = ? and [refTable].[SURNAME] = ? select * from [etl].[ETL_PAIMS_PERSON_NAMES] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [etl].[ETL_PAIMS_PERSON_NAMES] select * from (select * from [etl].[ETL_PAIMS_PERSON_NAMES]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [etl].[ETL_PAIMS_PERSON_NAMES]) [refTable] where [refTable].[PERSON_NAME] IS NOT NULL AND [refTable].[PERSON_NAME] = ? select DISTINCT prcntrct.PID_NO + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select DISTINCT prcntrct.PID_NO , cnprpose.DESCRIPTION as "Contract Purpose Type" , tenurety.DESCRIPTION as "Property Tenure Type" , prcntrct.PROPERTY_FILE_NUMBER @@ -28678,14 +29042,14 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE_TENANT] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE_TENANT] select * from (select * from [dbo].[PIMS_LEASE_TENANT]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_LEASE_TENANT]) [refTable] +where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[LESSOR_TYPE_CODE] = ? <referenceMetadata><referenceColumns><referenceColumn name="LEASE_TENANT_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LESSOR_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="PRIMARY_CONTACT_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="NOTE" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> + name="ReferenceMetadataXml"><referenceMetadata><referenceColumns><referenceColumn name="LEASE_TENANT_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LEASE_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PERSON_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="ORGANIZATION_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="PRIMARY_CONTACT_ID" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="LESSOR_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="TENANT_TYPE_CODE" dataType="DT_WSTR" length="20" precision="0" scale="0" codePage="0"/><referenceColumn name="NOTE" dataType="DT_WSTR" length="2000" precision="0" scale="0" codePage="0"/><referenceColumn name="CONCURRENCY_CONTROL_NUMBER" dataType="DT_I8" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_CREATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_GUID" dataType="DT_GUID" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="APP_LAST_UPDATE_USER_DIRECTORY" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_CREATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_TIMESTAMP" dataType="DT_DBTIMESTAMP" length="0" precision="0" scale="0" codePage="0"/><referenceColumn name="DB_LAST_UPDATE_USERID" dataType="DT_WSTR" length="30" precision="0" scale="0" codePage="0"/></referenceColumns></referenceMetadata> #{Package\PIMS_LEASE_TENANT\Union All.Outputs[Union All Output 1].Columns[APP_CREATE_USER_DIRECTORY]}; + name="ParameterMap">#{Package\PIMS_LEASE_TENANT\Union All.Outputs[Union All Output 1].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\PIMS_LEASE_TENANT\Union All.Outputs[Union All Output 1].Columns[LESSOR_TYPE_CODE]}; name="CopyFromReferenceColumn" /> + + + LESSOR_TYPE_CODE + + + @@ -33233,11 +33614,12 @@ where [refTable].[APP_CREATE_USER_DIRECTORY] = ? description="The SQL command to be executed." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_LEASE_TENANT + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_LEASE_TENANT set LEASE_ID=?, PERSON_ID=?, LESSOR_TYPE_CODE=?, -PRIMARY_CONTACT_ID=? +PRIMARY_CONTACT_ID=?, +CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? startId="Package\PIMS_LEASE_TENANT\Trimmed contact name.Outputs[Derived Column Output]" /> + startId="Package\PIMS_LEASE_TENANT\Lookup valid persons.Outputs[Lookup Match Output]" /> + startId="Package\PIMS_LEASE_TENANT\Lookup ORGANIZATION_ID.Outputs[Lookup Match Output]" /> - + + startId="Package\PIMS_LEASE_TENANT\Lookup lease.Outputs[Lookup Match Output]" /> + startId="Package\PIMS_LEASE_TENANT\Lookup PERSON_NAME.Outputs[Lookup Match Output]" /> startId="Package\PIMS_LEASE_TENANT\Rent name null?.Outputs[RENT_NAME is not null]" /> + startId="Package\PIMS_LEASE_TENANT\Sort.Outputs[Sort Output]" /> + startId="Package\PIMS_LEASE_TENANT\Group rows by contract id.Outputs[Sort Output]" /> + startId="Package\PIMS_LEASE_TENANT\Sort 1.Outputs[Sort Output]" /> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE_TERM] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE_TERM] select * from (select * from [dbo].[PIMS_LEASE_TERM]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_LEASE_TERM]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE_TERM] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE_TERM] select * from (select * from [dbo].[PIMS_LEASE_TERM]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_LEASE_TERM]) [refTable] +where [refTable].[LEASE_PMT_FREQ_TYPE_CODE] = ? and [refTable].[TERM_START_DATE] = ? and [refTable].[TERM_EXPIRY_DATE] = ? and [refTable].[IS_GST_ELIGIBLE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[PAYMENT AMOUNT] = ? containsID="true" dataType="System.String" description="Specifies the list of lineage identifiers that map to the parameters that the SQL statement in the SQLCommand property uses. Entries in the list are separated by semicolons." - name="ParameterMap">#{Package\PIMS_LEASE_TERM\Term defaults.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]}; + name="ParameterMap">#{Package\PIMS_LEASE_TERM\Term defaults.Outputs[Derived Column Output].Columns[LEASE_PMT_FREQ_TYPE_CODE]};#{Package\PIMS_LEASE_TERM\Term defaults.Outputs[Derived Column Output].Columns[TERM_START_DATE]};#{Package\PIMS_LEASE_TERM\Term defaults.Outputs[Derived Column Output].Columns[TERM_EXPIRY_DATE]};#{Package\PIMS_LEASE_TERM\Term defaults.Outputs[Derived Column Output].Columns[IS_GST_ELIGIBLE]};#{Package\PIMS_LEASE_TERM\Term defaults.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\PIMS_LEASE_TERM\Term defaults.Outputs[Derived Column Output].Columns[PAYMENT_AMOUNT]}; name="CopyFromReferenceColumn" /> + + + TERM_START_DATE + + + + + + TERM_EXPIRY_DATE + + + + + + IS_GST_ELIGIBLE + + + + + + PAYMENT AMOUNT + + + + + + LEASE_PMT_FREQ_TYPE_CODE + + + @@ -36184,13 +36647,13 @@ where [refTable].[APP_CREATE_USER_DIRECTORY] = ? description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE] select * from (select * from [dbo].[PIMS_LEASE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_LEASE]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select DISTINCT prcntrct.PID_NO + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select DISTINCT prcntrct.PID_NO , cnprpose.DESCRIPTION as "Contract Purpose Type" , tenurety.DESCRIPTION as "Property Tenure Type" , prcntrct.PROPERTY_FILE_NUMBER @@ -37187,6 +37650,13 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') cachedPrecision="10" cachedSortKeyPosition="1" lineageId="Package\PIMS_LEASE_TERM\Group rows by contract id.Outputs[Sort Output].Columns[PROPERTY_CONTRACT_ID]" /> + @@ -37311,6 +37781,28 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') name="FriendlyExpression">(DT_WSTR,30)PROPERTY_CONTRACT_ID + + + (DT_CY)#{Package\PIMS_LEASE_TERM\Group rows by contract id.Outputs[Sort Output].Columns[RENT_AMT]} + (DT_CY)RENT_AMT + + @@ -37357,13 +37849,14 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') description="The SQL command to be executed." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_LEASE_TERM + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_LEASE_TERM set LEASE_ID=?, LEASE_PMT_FREQ_TYPE_CODE=?, TERM_START_DATE=?, TERM_EXPIRY_DATE=?, [PAYMENT AMOUNT]=?, -IS_GST_ELIGIBLE=? +IS_GST_ELIGIBLE=?, +CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_NOTE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_NOTE] select * from (select * from [dbo].[PIMS_NOTE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_NOTE]) [refTable] where [refTable].[APP_CREATE_USERID] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> select DISTINCT prcntrct.PID_NO + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select DISTINCT prcntrct.PID_NO , cnprpose.PROPERTY_CONT_PURPOSE_TYP_CODE as "Contract Purpose Type" , tenurety.PROPERTY_TENURE_TYPE_CODE as "Property Tenure Type" , prcntrct.PROPERTY_FILE_NUMBER @@ -40770,13 +41263,13 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_NOTE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_NOTE] select * from (select * from [dbo].[PIMS_NOTE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_NOTE]) [refTable] where [refTable].[APP_CREATE_USERID] = ? and [refTable].[APP_LAST_UPDATE_USERID] = ? and [refTable].[APP_LAST_UPDATE_USER_DIRECTORY] = ? and [refTable].[NOTE_TXT] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? update pims_note + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update pims_note set NOTE_TXT=?, CONCURRENCY_CONTROL_NUMBER=CONCURRENCY_CONTROL_NUMBER+1 where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? AND NOTE_ID=? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PERSON] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PERSON] select * from (select * from [dbo].[PIMS_PERSON]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_PERSON]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION] select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PERSON] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PERSON] select * from (select * from [dbo].[PIMS_PERSON]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_PERSON]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PERSON] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PERSON] select * from (select * from [dbo].[PIMS_PERSON]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_PERSON]) [refTable] where [refTable].[FIRST_NAME] = ? and [refTable].[MIDDLE_NAMES] = ? and [refTable].[SURNAME] = ? select * from [dbo].[PIMS_ORGANIZATION] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION] select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] where [refTable].[ORGANIZATION_NAME] = ? containsID="true" dataType="System.String" description="Specifies the list of lineage identifiers that map to the parameters that the SQL statement in the SQLCommand property uses. Entries in the list are separated by semicolons." - name="ParameterMap">#{Package\PIMS_ORGANIZATION and PIMS_PERSON\1727:invalid}; + name="ParameterMap">#{Package\PIMS_ORGANIZATION and PIMS_PERSON\1483:invalid}; dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [etl].[ETL_PAIMS_PERSON_NAMES] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [etl].[ETL_PAIMS_PERSON_NAMES] select * from (select * from [etl].[ETL_PAIMS_PERSON_NAMES]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [etl].[ETL_PAIMS_PERSON_NAMES]) [refTable] where [refTable].[PERSON_NAME] IS NOT NULL AND [refTable].[PERSON_NAME] = ? select * from [dbo].[PIMS_ORGANIZATION] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION] select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT RENT_NAME, CONTACT_NAME, PROPERTY_CONTRACT_ID FROM app_pam.PAM_PROPERTY_CONTRACT WHERE RENT_NAME IS NOT NULL OR CONTACT_NAME IS NOT NULL + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">SELECT RENT_NAME, CONTACT_NAME, PROPERTY_CONTRACT_ID FROM app_pam.PAM_PROPERTY_CONTRACT WHERE RENT_NAME IS NOT NULL OR CONTACT_NAME IS NOT NULL description="The SQL command to be executed." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_PERSON + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_PERSON set SURNAME=?, FIRST_NAME=?, MIDDLE_NAMES=?, COMMENT=?, -IS_DISABLED=? +IS_DISABLED=?, +CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? description="The SQL command to be executed." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_ORGANIZATION + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_ORGANIZATION set ORGANIZATION_NAME=?, -IS_DISABLED=? +IS_DISABLED=?, +CONCURRENCY_CONTROL_NUMBER = +CONCURRENCY_CONTROL_NUMBER + 1 where APP_CREATE_USER_DIRECTORY=? startId="Package\PIMS_ORGANIZATION and PIMS_PERSON\FIlter existing org.Outputs[Lookup Match Output]" /> + startId="Package\PIMS_ORGANIZATION and PIMS_PERSON\Lookup Person Name.Outputs[Lookup No Match Output]" /> + startId="Package\PIMS_ORGANIZATION and PIMS_PERSON\Filter exisiting records.Outputs[Lookup No Match Output]" /> + startId="Package\PIMS_ORGANIZATION and PIMS_PERSON\Ignore duplicate persons.Outputs[Lookup No Match Output]" /> + startId="Package\PIMS_ORGANIZATION and PIMS_PERSON\Filter records that needs updation.Outputs[Lookup No Match Output]" /> + startId="Package\PIMS_ORGANIZATION and PIMS_PERSON\Org Records to update.Outputs[Lookup No Match Output]" /> + startId="Package\PIMS_ORGANIZATION and PIMS_PERSON\FIlter existing org.Outputs[Lookup No Match Output]" /> + startId="Package\PIMS_ORGANIZATION and PIMS_PERSON\Ignore Duplicates.Outputs[Lookup No Match Output]" /> startId="Package\PIMS_ORGANIZATION and PIMS_PERSON\Rent name null?.Outputs[RENT_NAME is not null]" /> + startId="Package\PIMS_ORGANIZATION and PIMS_PERSON\Sort.Outputs[Sort Output]" /> + startId="Package\PIMS_ORGANIZATION and PIMS_PERSON\Sort 1.Outputs[Sort Output]" /> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PROPERTY_LEASE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PROPERTY_LEASE] select * from (select * from [dbo].[PIMS_PROPERTY_LEASE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_PROPERTY_LEASE]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE] select * from (select * from [dbo].[PIMS_LEASE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_LEASE]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PROPERTY] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PROPERTY] select * from (select * from [dbo].[PIMS_PROPERTY]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_PROPERTY]) [refTable] where [refTable].[PID] = ? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select regexp_replace(TO_CHAR(prcntrct.PID_NO, '000000000'), '([0-9]{3})([0-9]{3})([0-9]{3})', '\1-\2-\3') as "Formatted PID" + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select regexp_replace(TO_CHAR(prcntrct.PID_NO, '000000000'), '([0-9]{3})([0-9]{3})([0-9]{3})', '\1-\2-\3') as "Formatted PID" , prcntrct.PID_NO , cnprpose.DESCRIPTION as "Contract Purpose Type" , tenurety.PROPERTY_TENURE_TYPE_CODE as "Property Tenure Type" @@ -51469,13 +51965,13 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') ORDER BY p description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PROPERTY_LEASE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_PROPERTY_LEASE] select * from (select * from [dbo].[PIMS_PROPERTY_LEASE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_PROPERTY_LEASE]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? description="The SQL command to be executed." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_PROPERTY_LEASE + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_PROPERTY_LEASE set LEASE_ID=?, -PROPERTY_ID=? +PROPERTY_ID=?, +CONCURRENCY_CONTROL_NUMBER = +CONCURRENCY_CONTROL_NUMBER + 1 where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_SECURITY_DEPOSIT] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_SECURITY_DEPOSIT] select * from (select * from [dbo].[PIMS_SECURITY_DEPOSIT]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_SECURITY_DEPOSIT]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? description="The SQL command to be executed." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">IF NOT EXISTS (SELECT 1 FROM PIMS_ORGANIZATION WHERE ORGANIZATION_NAME = 'PAIMS ETL') BEGIN + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">IF NOT EXISTS (SELECT 1 FROM PIMS_ORGANIZATION WHERE ORGANIZATION_NAME = 'PAIMS ETL') BEGIN INSERT INTO PIMS_ORGANIZATION (ORGANIZATION_NAME, APP_CREATE_USERID, APP_CREATE_USER_DIRECTORY, APP_LAST_UPDATE_USERID, APP_LAST_UPDATE_USER_DIRECTORY) VALUES ('PAIMS ETL', 'PAIMS_ETL_USER', '', 'PAIMS_ETL_USER', '') END dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_ORGANIZATION] select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_ORGANIZATION]) [refTable] where [refTable].[ORGANIZATION_NAME] = ? description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_LEASE] select * from (select * from [dbo].[PIMS_LEASE]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_LEASE]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select DISTINCT prcntrct.PID_NO + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select DISTINCT prcntrct.PID_NO , cnprpose.DESCRIPTION as "Contract Purpose Type" , tenurety.DESCRIPTION as "Property Tenure Type" , prcntrct.PROPERTY_FILE_NUMBER @@ -58684,28 +59182,18 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') cachedSortKeyPosition="1" lineageId="Package\PIMS_SECURITY_DEPOSIT\Group rows by contract id.Outputs[Sort Output].Columns[PROPERTY_CONTRACT_ID]" /> - - [ISNULL](#{Package\PIMS_SECURITY_DEPOSIT\Group rows by contract id.Outputs[Sort Output].Columns[SECURITY_DEPOSIT_DATE]}) ? (DT_DATE)"1900-01-01" : #{Package\PIMS_SECURITY_DEPOSIT\Group rows by contract id.Outputs[Sort Output].Columns[SECURITY_DEPOSIT_DATE]} - ISNULL(SECURITY_DEPOSIT_DATE) ? (DT_DATE)"1900-01-01" : SECURITY_DEPOSIT_DATE - - + name="Copy of SECURITY_DEPOSIT_DATE" /> + @@ -58810,6 +59298,50 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') name="FriendlyExpression">"Imported from PAIMS" + + + [ISNULL](#{Package\PIMS_SECURITY_DEPOSIT\Group rows by contract id.Outputs[Sort Output].Columns[SECURITY_DEPOSIT_DATE]}) ? (DT_DBDATE)"1900-01-01" : (DT_DBDATE)#{Package\PIMS_SECURITY_DEPOSIT\Group rows by contract id.Outputs[Sort Output].Columns[SECURITY_DEPOSIT_DATE]} + ISNULL([Copy of SECURITY_DEPOSIT_DATE]) ? (DT_DBDATE)"1900-01-01" : (DT_DBDATE)[Copy of SECURITY_DEPOSIT_DATE] + + + + + (DT_CY)#{Package\PIMS_SECURITY_DEPOSIT\Group rows by contract id.Outputs[Sort Output].Columns[SECURITY_DEPOSIT_AMT]} + (DT_CY)SECURITY_DEPOSIT_AMT + + @@ -58852,14 +59384,14 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_SECURITY_DEPOSIT] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_SECURITY_DEPOSIT] select * from (select * from [dbo].[PIMS_SECURITY_DEPOSIT]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_SECURITY_DEPOSIT]) [refTable] +where [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[SECURITY_DEPOSIT_TYPE_CODE] = ? and [refTable].[DESCRIPTION] = ? and [refTable].[DEPOSIT_DATE] = ? and [refTable].[AMOUNT_PAID] = ? containsID="true" dataType="System.String" description="Specifies the list of lineage identifiers that map to the parameters that the SQL statement in the SQLCommand property uses. Entries in the list are separated by semicolons." - name="ParameterMap">#{Package\PIMS_SECURITY_DEPOSIT\Security Deposit Defaults.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]}; + name="ParameterMap">#{Package\PIMS_SECURITY_DEPOSIT\Security Deposit Defaults.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\PIMS_SECURITY_DEPOSIT\Security Deposit Defaults.Outputs[Derived Column Output].Columns[SECURITY_DEPOSIT_TYPE_CODE]};#{Package\PIMS_SECURITY_DEPOSIT\Security Deposit Defaults.Outputs[Derived Column Output].Columns[DESCRIPTION]};#{Package\PIMS_SECURITY_DEPOSIT\Security Deposit Defaults.Outputs[Derived Column Output].Columns[SECURITY_DEPOSIT_DT]};#{Package\PIMS_SECURITY_DEPOSIT\Security Deposit Defaults.Outputs[Derived Column Output].Columns[SECURITY_DEPOSIT_AMOUNT]}; name="CopyFromReferenceColumn" /> + + + SECURITY_DEPOSIT_TYPE_CODE + + + + + + DESCRIPTION + + + + + + DEPOSIT_DATE + + + + + + AMOUNT_PAID + + + @@ -59089,12 +59687,13 @@ where [refTable].[APP_CREATE_USER_DIRECTORY] = ? description="The SQL command to be executed." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_SECURITY_DEPOSIT + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_SECURITY_DEPOSIT set LEASE_ID=?, SECURITY_DEPOSIT_TYPE_CODE=?, DESCRIPTION=?, AMOUNT_PAID=?, -DEPOSIT_DATE=? +DEPOSIT_DATE=?, +CONCURRENCY_CONTROL_NUMBER = CONCURRENCY_CONTROL_NUMBER + 1 where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] select * from (select * from [dbo].[PIMS_SECURITY_DEPOSIT_RETURN]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_SECURITY_DEPOSIT_RETURN]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"> description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_SECURITY_DEPOSIT] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_SECURITY_DEPOSIT] select * from (select * from [dbo].[PIMS_SECURITY_DEPOSIT]) [refTable] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_SECURITY_DEPOSIT]) [refTable] where [refTable].[APP_CREATE_USER_DIRECTORY] = ? dataType="System.String" description="The SQL command to be executed." name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select DISTINCT prcntrct.PID_NO + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select DISTINCT prcntrct.PID_NO , cnprpose.DESCRIPTION as "Contract Purpose Type" , tenurety.DESCRIPTION as "Property Tenure Type" , prcntrct.PROPERTY_FILE_NUMBER @@ -62770,28 +63369,12 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') cachedSortKeyPosition="1" lineageId="Package\PIMS_SECURITY_DEPOSIT_RETURN\Group rows by contract id.Outputs[Sort Output].Columns[PROPERTY_CONTRACT_ID]" /> - - [ISNULL](#{Package\PIMS_SECURITY_DEPOSIT_RETURN\Group rows by contract id.Outputs[Sort Output].Columns[SECURITY_DEPOSIT_RETURN_DATE]}) ? (DT_DATE)"1900-01-01" : #{Package\PIMS_SECURITY_DEPOSIT_RETURN\Group rows by contract id.Outputs[Sort Output].Columns[SECURITY_DEPOSIT_RETURN_DATE]} - ISNULL(SECURITY_DEPOSIT_RETURN_DATE) ? (DT_DATE)"1900-01-01" : SECURITY_DEPOSIT_RETURN_DATE - - + refId="Package\PIMS_SECURITY_DEPOSIT_RETURN\Security Deposit Defaults.Inputs[Derived Column Input].Columns[SECURITY_DEPOSIT_RETURN_AMT]" + cachedDataType="numeric" + cachedName="SECURITY_DEPOSIT_RETURN_AMT" + cachedPrecision="12" + cachedScale="2" + lineageId="Package\PIMS_SECURITY_DEPOSIT_RETURN\Group rows by contract id.Outputs[Sort Output].Columns[SECURITY_DEPOSIT_RETURN_AMT]" /> @@ -62827,6 +63410,28 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') name="FriendlyExpression">(DT_WSTR,30)PROPERTY_CONTRACT_ID + + + (DT_CY)#{Package\PIMS_SECURITY_DEPOSIT_RETURN\Group rows by contract id.Outputs[Sort Output].Columns[SECURITY_DEPOSIT_RETURN_AMT]} + (DT_CY)SECURITY_DEPOSIT_RETURN_AMT + + @@ -62869,14 +63474,14 @@ where tenurety.PROPERTY_TENURE_TYPE_CODE IN ('TM', 'TT', 'RW', 'PL') description="Specifies the SQL statement that generates the lookup table." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from [dbo].[PIMS_SECURITY_DEPOSIT_RETURN] select * from (select * from [dbo].[PIMS_SECURITY_DEPOSIT_RETURN]) [refTable] -where [refTable].[APP_CREATE_USER_DIRECTORY] = ? + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">select * from (select * from [dbo].[PIMS_SECURITY_DEPOSIT_RETURN]) [refTable] +where [refTable].[TERMINATION_DATE] = ? and [refTable].[RETURN_DATE] = ? and [refTable].[APP_CREATE_USER_DIRECTORY] = ? and [refTable].[RETURN_AMOUNT] = ? containsID="true" dataType="System.String" description="Specifies the list of lineage identifiers that map to the parameters that the SQL statement in the SQLCommand property uses. Entries in the list are separated by semicolons." - name="ParameterMap">#{Package\PIMS_SECURITY_DEPOSIT_RETURN\Security Deposit Defaults.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]}; + name="ParameterMap">#{Package\PIMS_SECURITY_DEPOSIT_RETURN\Group rows by contract id.Outputs[Sort Output].Columns[TERMINATION_DATE]};#{Package\PIMS_SECURITY_DEPOSIT_RETURN\Group rows by contract id.Outputs[Sort Output].Columns[SECURITY_DEPOSIT_RETURN_DATE]};#{Package\PIMS_SECURITY_DEPOSIT_RETURN\Security Deposit Defaults.Outputs[Derived Column Output].Columns[APP_CREATE_USER_DIRECTORY]};#{Package\PIMS_SECURITY_DEPOSIT_RETURN\Security Deposit Defaults.Outputs[Derived Column Output].Columns[SECURITY_DEPOSIT_RETURN_AMOUNT]}; name="CopyFromReferenceColumn" /> + + + RETURN_DATE + + + + + + RETURN_AMOUNT + + + + + + TERMINATION_DATE + + + @@ -63106,11 +63759,13 @@ where [refTable].[APP_CREATE_USER_DIRECTORY] = ? description="The SQL command to be executed." expressionType="Notify" name="SqlCommand" - UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_SECURITY_DEPOSIT_RETURN + UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=16.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">update PIMS_SECURITY_DEPOSIT_RETURN set SECURITY_DEPOSIT_ID=?, TERMINATION_DATE=?, RETURN_AMOUNT=?, -RETURN_DATE=? +RETURN_DATE=?, +CONCURRENCY_CONTROL_NUMBER = +CONCURRENCY_CONTROL_NUMBER + 1 where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? + TopLeft="164.288463428881,52.3064546768673"> + End="0,46.0645229729607"> + End="0,46.0645229729607" /> @@ -63991,9 +64646,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? - + - + - + + TopLeft="195.65,657.9"> + End="0,47.0359861591691"> - - - - + End="0,47.0359861591691" /> + TopLeft="648.866666666667,353.5"> + End="202.333333333333,250.6"> + End="0,124.370073761854" /> + + + + + TopLeft="740.6,1128"> + End="-31.7000000000003,0"> + End="-31.7000000000003,0" /> + TopLeft="309,731.085986159169"> + End="76.8000000000001,0"> + End="76.8000000000001,0" /> + TopLeft="846.3,1076.3"> + End="14.3000000000002,23.7"> + End="0,11.6" /> + Point1="0,11.6" + Point2="0,15.6" + Point3="4,15.6" /> + End="10.3000000000002,15.6" /> + Point1="10.3000000000002,15.6" + Point2="14.3000000000002,15.6" + Point3="14.3000000000002,19.6" /> + End="14.3000000000002,23.7" /> @@ -64519,9 +65168,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? - + - + - + - + - + - + - + - + - + OverwriteParamsSQLProp false + type="q2:boolean">false UsedTableName @@ -64895,23 +65526,33 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? + + + + OverwriteParamsSQLProp + false + + + OverwriteParamsSQLProp false + type="q2:boolean">false UsedTableName [dbo].[PIMS_ORGANIZATION] + type="q3:string">[dbo].[PIMS_CONTACT_METHOD] TableInfoObjectType 0 + type="q4:int">0 DataSourceViewID @@ -64980,7 +65621,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? Id="Package\PIMS_INSURANCE\General Defaults" TopLeft="206.9,520.3" /> Id="Package\PIMS_INSURANCE\ETL Error Log" TopLeft="56.626929929694,1047.67096325242" /> Id="Package\PIMS_INSURANCE\Existing PIMS_INSURANCE records" TopLeft="0.299999999999997,804.3" /> Id="Package\PIMS_INSURANCE\PAIMS All properties with contracts" TopLeft="13.9,5.5" /> - + - + - + - + - + @@ -65341,49 +65972,49 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? + TopLeft="254.7,824.787087087087"> + End="50.5,0"> + End="50.5,0" /> + TopLeft="129.9,285.5"> + End="0,30.9"> + End="0,30.9" /> @@ -65406,9 +66037,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? - + - + - + - + @@ -65527,7 +66150,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? OverwriteParamsSQLProp false + type="q2:boolean">false UsedTableName @@ -65594,7 +66217,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? Id="Package\PIMS_LEASE\ETL Error Log" TopLeft="62.9115473458051,660.951600821532" /> Id="Package\PIMS_LEASE\Existing records in pims_lease" TopLeft="14.7307695693519,405.983864807562" /> + TopLeft="475.223088456047,441.919310040331"> + End="0,57.583869806661"> + End="0,57.583869806661" /> @@ -65743,7 +66366,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? + TopLeft="238.730769569352,423.951587423947"> @@ -65808,9 +66431,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? - + - + - + - + - + - + @@ -65942,7 +66553,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? OverwriteParamsSQLProp false + type="q2:boolean">false UsedTableName @@ -66049,11 +66660,11 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? Id="Package\PIMS_LEASE_NOTE\Derived Column 1" TopLeft="393.884614665127,546.973107745985" /> Id="Package\PIMS_LEASE_NOTE\ETL Error Log" TopLeft="58.6807779598522,630.94084955891" /> Id="Package\PIMS_LEASE_NOTE\PAIMS All properties with contracts" TopLeft="13.3333333333333,0.5" /> Id="Package\PIMS_LEASE_NOTE\Group rows by contract id" TopLeft="36.7179487320563,82.467743812565" /> Id="Package\PIMS_LEASE_PAYMENT\INSERT PIMS_LEASE_PAYMENT" TopLeft="263.2,776.9" /> Id="Package\PIMS_LEASE_PAYMENT\PAIMS_PYBL_PAYMENTS" TopLeft="5.5,5.5" /> Id="Package\PIMS_LEASE_PAYMENT\Payment defaults" TopLeft="309.5,515.5" /> - Id="Package\PIMS_LEASE_PAYMENT\Derived Column" TopLeft="306.5,856.5" /> - - - - - - - - - - - - - - @@ -66610,9 +67193,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? - + - + + TopLeft="746.35,815.1"> + End="0,32.770963252421"> + End="0,32.770963252421" /> + TopLeft="749.85,735.6"> + End="0,30"> + End="0,30" /> @@ -66737,7 +67316,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? + TopLeft="499.7,715"> - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + End="204.833333333333,49"> + End="0,29.4646869983949" /> + Point1="0,29.4646869983949" + Point2="0,33.4646869983949" + Point3="4,33.4646869983949" /> + End="200.833333333333,33.4646869983949" /> + Point1="200.833333333333,33.4646869983949" + Point2="204.833333333333,33.4646869983949" + Point3="204.833333333333,37.4646869983949" /> + End="204.833333333333,49" /> - + + Id="Package\PIMS_LEASE_PAYMENT.Paths[Union All Output 1]" + TopLeft="401.5,248"> + End="-10,56"> + End="0,27.75" /> + Point1="0,27.75" + Point2="0,31.75" + Point3="-4,31.75" /> + End="-6,31.75" /> + Point1="-6,31.75" + Point2="-10,31.75" + Point3="-10,35.75" /> + End="-10,56" /> - + @@ -67036,7 +67639,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? OverwriteParamsSQLProp false + type="q2:boolean">false UsedTableName @@ -67208,74 +67811,68 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? - + + TopLeft="223,863.5"> + End="-94,52.5"> + End="0,26" /> + + + + - + + TopLeft="376,1169.5"> + End="0,52.5"> - - - - + End="0,52.5" /> - + + TopLeft="376,251.5"> - + - + @@ -67503,31 +68096,43 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? + TopLeft="405.166666666667,455.5"> + End="-29.1666666666666,460.5"> + End="0,185.633802816901" /> + + + + + TopLeft="129,965.5"> + TopLeft="110,1271.5"> + End="246.833333333333,52.5"> + End="0,31.53772070626" /> + + + + + TopLeft="486.3,1632.36298342541"> + End="70.0999999999999,0"> - - - - + End="70.0999999999999,0" /> + TopLeft="376,1271.5"> + End="19.1666666666667,52.5"> + End="0,31.53772070626" /> + Point1="0,31.53772070626" + Point2="0,35.53772070626" + Point3="4,35.53772070626" /> + End="15.1666666666667,35.53772070626" /> + Point1="15.1666666666667,35.53772070626" + Point2="19.1666666666667,35.53772070626" + Point3="19.1666666666667,39.53772070626" /> + End="19.1666666666667,52.5" /> + TopLeft="223,761.5"> + End="0,52.5"> - - - - + End="0,52.5" /> + TopLeft="375.55,1475.5"> - + - + - + - + - + - + - + - + - + @@ -68052,7 +68627,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? OverwriteParamsSQLProp false + type="q2:boolean">false UsedTableName @@ -68148,15 +68723,15 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? Id="Package\PIMS_LEASE_TERM\ETL Error Log" TopLeft="68.7269299296941,836.070963252421" /> - + - + @@ -68323,7 +68894,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? @@ -68370,9 +68941,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? - + - + - + - + @@ -68487,7 +69050,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? OverwriteParamsSQLProp false + type="q2:boolean">false UsedTableName @@ -68558,15 +69121,15 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? Id="Package\PIMS_NOTE\Group rows by contract id" TopLeft="31.384615398723,156.467743812565" /> Id="Package\PIMS_NOTE\ETL Error Log" TopLeft="58.6807779598522,568.274182892243" /> Id="Package\PIMS_NOTE\ETL Error Log 1" TopLeft="379.811556332352,568.258052099011" /> Id="Package\PIMS_ORGANIZATION and PIMS_PERSON\ETL Error Log 1" TopLeft="303.726929929694,1026.77096325242" /> Id="Package\PIMS_ORGANIZATION and PIMS_PERSON\Derived Column 1" TopLeft="301.5,949.2" /> Id="Package\PIMS_ORGANIZATION and PIMS_PERSON\ETL Error Log 3" TopLeft="847.226929929694,1405.44192650484" /> Id="Package\PIMS_ORGANIZATION and PIMS_PERSON\Derived Column" TopLeft="38.5000000000001,953" /> Id="Package\PIMS_ORGANIZATION and PIMS_PERSON\Derived Column 3" TopLeft="846,1328.87096325242" /> Id="Package\PIMS_ORGANIZATION and PIMS_PERSON\ETL Error Log 2" TopLeft="561.726929929694,1403.77096325242" /> Id="Package\PIMS_ORGANIZATION and PIMS_PERSON\FIlter existing org" TopLeft="35.5,792.510745569475" /> Id="Package\PIMS_ORGANIZATION and PIMS_PERSON\Sort 1" TopLeft="583,991.5" /> Id="Package\PIMS_ORGANIZATION and PIMS_PERSON\Derived Column 2" TopLeft="551.5,1327.2" /> TopLeft="538,1166.01074556947" /> + TopLeft="509.433333333333,251.5"> + End="-75.8333333333332,55.5"> + End="0,21.5244635193133" /> + + + + + TopLeft="629.1,1207.61074556947"> + End="0,36.0892544305252"> + End="0,36.0892544305252" /> + TopLeft="630.8,1121.5"> + End="0,37.0107455694747"> + End="0,37.0107455694747" /> + TopLeft="110,659.5"> + End="0,52.5"> - - - - + End="0,52.5" /> + TopLeft="925.6,1203.61074556947"> + End="0,36.3999999999999"> + End="0,36.3999999999999" /> + TopLeft="369.6,838.110745569475"> + End="0,26.9"> + End="0,26.9" /> + TopLeft="113.95,834.110745569475"> + End="0,32.3892544305251"> + End="0,32.3892544305251" /> @@ -69297,9 +69860,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? - + - + - + - + - + - + - + - + - + - + + TopLeft="113.2,761.5"> + End="0,23.5107455694749"> + End="0,23.5107455694749" /> - + + TopLeft="634.3,1033.5"> + End="0,38.4999999999995"> + End="0,38.4999999999995" /> - + - + - + - + @@ -70120,9 +70653,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? - + - + @@ -70336,9 +70865,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? - + - + - + - + @@ -70594,9 +71115,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? - + - + - + @@ -70739,7 +71254,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? @@ -70763,7 +71278,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? @@ -70858,9 +71373,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? - + - + - + - + @@ -70967,7 +71474,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? OverwriteParamsSQLProp false + type="q2:boolean">false UsedTableName @@ -71131,9 +71638,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? - + - + - + - + - + - + @@ -71477,7 +71972,7 @@ where APP_CREATE_USER_DIRECTORY=? AND APP_LAST_UPDATE_USERID = ? OverwriteParamsSQLProp false + type="q2:boolean">false UsedTableName