FactUserSecurityBridgeLoad
 OLE_SRC Get Org Unit Security Data from Staging (Component)
  Properties
Property Value
Name OLE_SRC Get Org Unit Security Data from Staging
Description OLE DB Source
Up Stream Components none
Down Stream Components
ID 1
Component Class ID {BCEFE59B-6819-47F7-A125-63753B33ABB7}
Contact Info OLE DB Source;Microsoft Corporation; Microsoft SqlServer v10; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;7
Identification String component "OLE_SRC Get Org Unit Security Data from Staging" (1)
Is Default Locale True
Pipeline Version 0
Uses Dispositions True
Validate External Metadata True
Version 7
  Connections
Name Connection Manager Description
OleDbConnection
  Custom Properties
Name Value
AccessMode
2
AlwaysUseDefaultCodePage
False
CommandTimeout
0
DefaultCodePage
1252
OpenRowset
OpenRowsetVariable
ParameterMapping
SqlCommand
SELECT
   Users.USER_ID as ApplicationUserId
  ,ORG_UNIT as OrgUnit
FROM COA_ORG_UNIT_FILE Coa
LEFT OUTER JOIN dbo.USER_FINANCIAL_PROFILE_A_GROUP_DESIGNATIONS FinGroups
ON (
      Coa.USER_GROUP_ID = FinGroups.USER_GROUP_ID
    )
LEFT OUTER JOIN dbo.USER_FINANCIAL_PROFILE_A Users
ON (
       Users.ISN_USER_FINANCIAL_PROFILE_A = FinGroups.ISN_USER_FINANCIAL_PROFILE_A
    )
WHERE ORG_IND = 'Y'
UNION
SELECT 
       USER_ID as ApplicationId
       , Coa.ORG_UNIT as OrgUnit
  FROM [DWStaging].[dbo].[USER_FINANCIAL_PROFILE_A]
  INNER JOIN COA_ORG_UNIT_FILE Coa
  on ( ORG_IND = 'Y'
  )
  WHERE ACCESS_ALL_GROUPS_IND = 'M' or ACCESS_ALL_GROUPS_IND = 'D' 
UNION
 
SELECT 
    SUBSTRING(BUDGET_MANAGER,1,8) as ApplicationId
   ,ORG_UNIT as OrgUnit
from COA_ORG_UNIT_FILE
WHERE ORG_IND = 'Y' and BUDGET_MANAGER IS NOT NULL
SqlCommandVariable
User::GetStudentTermMods
  Input Columns
Name ID LineageID
  Output Columns
Name ID LineageID
ApplicationUserId
1993
1993
ErrorCode
13
13
ErrorColumn
14
14
OrgUnit
1832
1832
ApplicationUserId
1992
1992
OrgUnit
1831
1831
Powered by BI Documenter