FactGlTransactionsLoad
 FactGlTransactionsLoad (Integration Services Package)
  Workflow Screenshot
  Properties
Property Value
Name FactGlTransactionsLoad
Description This package will extract the GL transaction Data. One row per journal Line will be created.
Checkpoint File Name
Checkpoint Usage Never
Check Signature On Load True
Creation Date Tuesday, May 08, 2012 4:11 PM
Creator Computer Name SCOWAN
Creator Name SCOWAN\hetgroup
Debug Mode False
Delay Validation False
Disable False
Disable Event Handlers False
Enable Configurations True
Encrypt Checkpoints False
Fail Package On Failure False
Fail Parent On Failure False
Forced Execution Value 0
Force Execution Value None
Description False
ID f3529633-689d-46aa-baa3-a9a44e2f1838
Interactive Mode False
Is Default Locale ID False
Isolation Level Serializable
Locale ID 1033
Logging Mode Enabled
Max Concurrent Executables -1
Maximum Error Count 1
Offline Mode False
Package Type DTSDesigner100
Protection Level EncryptSensitiveWithUserKey
Save Checkpoints False
Suppress Configuration Warnings False
Suspend Required False
Transaction Option Supported
Update Objects False
Version Build 247
Version Comments
Version Guid 99122e1b-6e07-422b-97ba-f0cb16821444
Version Major 1
Version Minor 0
  Executables
Name Type Description
Data Flow Task
Data Flow Task
Task
Execute SQL Task
Task
Execute SQL Task
  Connection Managers
Name Description
  Log Providers
Name Description
  User Defined Variables
Name Value Expression Description
EnterpriseDW
Configuration setting in SSIS_Configurations that specifies the name of the Enterprise Data Warehouse.
N/A
If the Enterprise Data Warehouse resides on a different server from the DWStaging and DWoperations databases, a linked server must be defined and the name populated into the Var_EDWLinkedServername. If it resides on the same server, this setting must be set to ?N/A?. This is a configuration setting from SSIS_Configurations.
DECLARE @IncrementalBeginDtTm datetime = 'Jan 1 1900 12:00AM' /* Date and Time to validate against RowUpdatedOn in Source Tables */ DECLARE @IncrementalEndDtTm datetime = 'Mar 4 2016 10:33AM' DECLARE @StartCalendarPeriodLoad varchar(6) = '200607' SELECT CAST(SUBSTRING(GlTrans.CALENDAR_PERIOD,1,4) + SUBSTRING(GlTrans.CALENDAR_PERIOD,5,2) + '01' AS INT) AS CalendarPeriodDate ,CAST(ISNULL(GlTrans.POSTED_DATE, '19000101') AS int) AS PostedDate , CASE WHEN SUBSTRING(GlTrans.CALENDAR_PERIOD,5,2) > '06' THEN CAST(CAST(CAST(SUBSTRING(GlTrans.CALENDAR_PERIOD,1,4) AS INT) + 1 AS VARCHAR(4)) + GlTrans.GL_ACCT_NO AS varchar(29)) ELSE CAST(SUBSTRING(GlTrans.CALENDAR_PERIOD,1,4) + GlTrans.GL_ACCT_NO AS varchar(29)) END AS YearGlAccountNumberAK ,CAST(CAST(GlTrans.CALENDAR_PERIOD as varchar) + GlTrans.JOURNAL_TYPE + REPLICATE('0',5-LEN(GlTrans.JOURNAL_NO))+CONVERT(VARCHAR,GlTrans.JOURNAL_NO) + REPLICATE('0',5-LEN(GlTrans.LINE_NO))+CONVERT(VARCHAR,GlTrans.LINE_NO) as Varchar(18)) as GlDetailAK ,CAST(SUBSTRING(GlTrans.GL_ACCT_NO,1,16) as varchar(16)) as OrgUnitAK ,CAST(SUBSTRING(GlTrans.GL_ACCT_NO,17,9) as varchar(9)) as GlCodeAK ,GlTrans.AMOUNT as JournalAmount ,CASE WHEN GlTrans.JOURNAL_TYPE = 'BT' THEN AMOUNT ELSE 0 END as BudgetAmount ,CASE WHEN GlTrans.JOURNAL_TYPE = 'CO' THEN AMOUNT ELSE 0 END as CommitmentAmount ,CASE WHEN GlTrans.JOURNAL_TYPE = 'EN' THEN AMOUNT ELSE 0 END as EncumbranceAmount ,CASE WHEN GlTrans.JOURNAL_TYPE = 'AP' THEN AMOUNT WHEN GlTrans.JOURNAL_TYPE = 'CC' THEN AMOUNT WHEN GlTrans.JOURNAL_TYPE = 'JE' THEN AMOUNT WHEN GlTrans.JOURNAL_TYPE = 'PR' THEN AMOUNT ELSE 0 END as ActualsAmount FROM GL_TRANS_FILE GlTrans WHERE (GlTrans.ISN_GL_TRANS_FILE) IN ( /* Select changed records from GL Trans File */ SELECT ISN_GL_TRANS_FILE FROM GL_TRANS_FILE WHERE ( GL_TRANS_FILE.RowUpdatedOn >= @IncrementalBeginDtTm AND GL_TRANS_FILE.RowUpdatedOn <= @IncrementalEndDtTm AND GL_TRANS_FILE.CALENDAR_PERIOD >= @StartCalendarPeriodLoad ) ) ORDER BY GlDetailAK
"DECLARE @IncrementalBeginDtTm datetime = '" + @[User::IncrementalBeginDtTm] + "' /* Date and Time to validate against RowUpdatedOn in Source Tables */ DECLARE @IncrementalEndDtTm datetime = '" + @[User::IncrementalEndDtTm] + "' DECLARE @StartCalendarPeriodLoad varchar(6) = '" + @[User::StartCalendarPeriodLoad] + "' SELECT CAST(SUBSTRING(GlTrans.CALENDAR_PERIOD,1,4) + SUBSTRING(GlTrans.CALENDAR_PERIOD,5,2) + '01' AS INT) AS CalendarPeriodDate ,CAST(ISNULL(GlTrans.POSTED_DATE, '19000101') AS int) AS PostedDate , CASE WHEN SUBSTRING(GlTrans.CALENDAR_PERIOD,5,2) > '06' THEN CAST(CAST(CAST(SUBSTRING(GlTrans.CALENDAR_PERIOD,1,4) AS INT) + 1 AS VARCHAR(4)) + GlTrans.GL_ACCT_NO AS varchar(29)) ELSE CAST(SUBSTRING(GlTrans.CALENDAR_PERIOD,1,4) + GlTrans.GL_ACCT_NO AS varchar(29)) END AS YearGlAccountNumberAK ,CAST(CAST(GlTrans.CALENDAR_PERIOD as varchar) + GlTrans.JOURNAL_TYPE + REPLICATE('0',5-LEN(GlTrans.JOURNAL_NO))+CONVERT(VARCHAR,GlTra
This is the SQL statement to extract all the GL Transaction Data from the Source System.
Jan 1 1900 12:00AM
The IncrementalBeginDtTm setting will contain the start date and time for which updates will be extracted. This is a configuration setting from SSIS_Configurations that are set in the Control Package.
Mar 4 2016 10:33AM
The IncrementalEndDtTm setting will contain the End Date and Time for which updates will be extracted. These values will be compared against the RowUpdatedOn column on the tables in the DWStaging database to determine which rows to extract and load into the Enterprise Data Warehouse.
Y
This SSIS_Configuration Setting will determine if a Full Load will be done or not.
200607
  System Variables
Name Value Expression Description
Powered by BI Documenter