FactGlRollOverBalancesLoad
 FactGlRollOverBalancesLoad (Integration Services Package)
  Workflow Screenshot
  Properties
Property Value
Name FactGlRollOverBalancesLoad
Description This package will extract the RollOver Balance for all the Accounts. One row per Org Unit per year 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 3c3cbef4-1565-4580-bf91-8205797fd50d
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 216
Version Comments
Version Guid e3b1fe77-899c-4a4e-be84-61e19284673b
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' SELECT CAST(CAST((CAST(Ledger.FISCAL_YEAR as Int) - 1) as varchar(4)) + '07' + '01' AS int) AS DateSK ,SUBSTRING(Ledger.GL_ACCT_NO,1,16) AS OrgUnitAK ,SUBSTRING(Ledger.GL_ACCT_NO,17,9) AS GlCodeAK ,CAST(Ledger.FISCAL_YEAR + Ledger.GL_ACCT_NO AS varchar(29)) AS YearGlAccountNumberAK ,ISNULL(Monthly.AMOUNT, 0) AS Amount FROM GENERAL_LEDGER_FILE Ledger INNER JOIN GENERAL_LEDGER_FILE_MONTHLY_ACCUMS Monthly ON ( Ledger.ISN_GENERAL_LEDGER_FILE = Monthly.ISN_GENERAL_LEDGER_FILE AND Monthly.cnxarraycolumn = 0 AND Monthly.AMOUNT IS NOT NULL ) WHERE (Ledger.ISN_GENERAL_LEDGER_FILE) IN ( SELECT GENERAL_LEDGER_FILE.ISN_GENERAL_LEDGER_FILE FROM GENERAL_LEDGER_FILE WHERE ( GENERAL_LEDGER_FILE.RowUpdatedOn >= @IncrementalBeginDtTm AND GENERAL_LEDGER_FILE.RowUpdatedOn <= @IncrementalEndDtTm ) )
"DECLARE @IncrementalBeginDtTm datetime = '" + @[User::IncrementalBeginDtTm] + "' /* Date and Time to validate against RowUpdatedOn in Source Tables */ DECLARE @IncrementalEndDtTm datetime = '" + @[User::IncrementalEndDtTm] + "' SELECT CAST(CAST((CAST(Ledger.FISCAL_YEAR as Int) - 1) as varchar(4)) + '07' + '01' AS int) AS DateSK ,SUBSTRING(Ledger.GL_ACCT_NO,1,16) AS OrgUnitAK ,SUBSTRING(Ledger.GL_ACCT_NO,17,9) AS GlCodeAK ,CAST(Ledger.FISCAL_YEAR + Ledger.GL_ACCT_NO AS varchar(29)) AS YearGlAccountNumberAK ,ISNULL(Monthly.AMOUNT, 0) AS Amount FROM GENERAL_LEDGER_FILE Ledger INNER JOIN GENERAL_LEDGER_FILE_MONTHLY_ACCUMS Monthly ON ( Ledger.ISN_GENERAL_LEDGER_FILE = Monthly.ISN_GENERAL_LEDGER_FILE AND Monthly.cnxarraycolumn = 0 AND Monthly.AMOUNT IS NOT NULL ) WHERE (Ledger.ISN_GENERAL_LEDGER_FILE) IN ( SELECT GENERAL_LEDGER_FILE.ISN_GENERAL_LEDGER_FILE FROM GENERAL_LEDGER_FILE WHERE ( GENERAL_LEDGER_FILE.RowUpdatedOn >= @IncrementalBegi
This is the SQL statement to retrieve the RollOverBalances from the GENERAL_LEDGER_FILE on 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.
/* Sample Update Type1 to Dim */ UPDATE [EnterpriseDW].[dbo].[FactGlRollOverBalances] SET DateSK = UPD1.DateSK ,OrgUnitSK = UPD1.OrgUnitSK ,GlCodeSK = UPD1.GlCodeSK ,GlAccountSK = UPD1.GlAccountSK ,Amount = UPD1.Amount FROM [EnterpriseDW].[dbo].[FactGlRollOverBalances] AS [FACT] INNER JOIN [dbo].[Staged_dbo_FactGlRollOverBalances__Update] AS UPD1 ON (FACT.GlAccountSK = UPD1.GlAccountSK AND FACT.DateSK = UPD1.DateSK AND FACT.GlCodeSK = UPD1.GlCodeSK AND FACT.OrgUnitSK = UPD1.OrgUnitSK)
" /* Sample Update Type1 to Dim */ UPDATE " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[FactGlRollOverBalances] SET DateSK = UPD1.DateSK ,OrgUnitSK = UPD1.OrgUnitSK ,GlCodeSK = UPD1.GlCodeSK ,GlAccountSK = UPD1.GlAccountSK ,Amount = UPD1.Amount FROM [EnterpriseDW].[dbo].[FactGlRollOverBalances] AS [FACT] INNER JOIN [dbo].[Staged_dbo_FactGlRollOverBalances__Update] AS UPD1 ON (FACT.GlAccountSK = UPD1.GlAccountSK AND FACT.DateSK = UPD1.DateSK AND FACT.GlCodeSK = UPD1.GlCodeSK AND FACT.OrgUnitSK = UPD1.OrgUnitSK) "
  System Variables
Name Value Expression Description
Powered by BI Documenter