Documente Academic
Documente Profesional
Documente Cultură
Source System Initial Rows Short Description Load Frequency Preprocessing Post Processing Error Strategy Reload Strategy Notification Details
TBD N/A N/A Re-run workflow Re-run workflow On Failure: DAC notification emails On Success: DAC notification emails
Sources
Tables Table Name/File Name W_ALIGNMT_DH W_AFFL_CA_H W_PERSON_D W_ORG_D W_ORG_DH WC_PARTY_LOGIN Schema/Owner GCRMDW_D1 GDRMDW_D2 GCRMDW_D1 GDRMDW_D2 GCRMDW_D1 GDRMDW_D2 GCRMDW_D1 GDRMDW_D2 GCRMDW_D1 GDRMDW_D2 GCRMDW_D1 ODBC Connection D_GCRMDW_D D_GCRMDW_D D_GCRMDW_D D_GCRMDW_D D_GCRMDW_D D_GCRMDW_D Selection/Filter Informatica Connection DataWarehouse DataWarehouse DataWarehouse DataWarehouse DataWarehouse DataWarehouse
Page 1 of 5
10/7/12
GDRMDW_D2 S_RESP S_PER_RESP S_USER SIEBEL SIEBEL SIEBEL P_NCM P_NCM P_NCM OLTP OLTP OLTP
Targets
Tables Table Name/File Name WC_POSTN_ORG_HS Insert X Schema Owner: Update Delete GCRMDW_D1 / GCRMDW_D2 Unique Key Informatica Connection DataWarehouse
Target Connection Information (For Development Environment) Database Name D_GCRMDW_D Schema/Owner GCRMDW_D1 GCRMDW_D2 Host String D_GCRMDW_ D
Pre-Processing Description
N/A
Processing Description
Source Qualifier:
Page 2 of 5
10/7/12
---select positions and accounts SELECT t1.LVL1ANC_POSTN_ID POSTN_ID, t2.ACCNT_ID FROM ---get positions and aligned contact ids (SELECT a.LVL1ANC_POSTN_ID, a.ALIGN_ITEM FROM W_ALIGNMT_DH a WHERE A.ALIGN_ITEM_TYPE = 'Contact Id')t1, ---get affiliation for contacts (SELECT c.INTEGRATION_ID CONTACT_ID, d.INTEGRATION_ID ACCNT_ID FROM W_AFFL_CA_H b, W_PERSON_D c, W_ORG_D d, W_ORG_DH e WHERE b.FROM_CON_WID = c.ROW_WID AND b.TO_ACCNT_WID = d.ROW_WID AND d.ROW_WID = e.ROW_WID AND e.FIXED_HIER_LEVEL = 7) t2 ---join alignments to affiliations WHERE t1.ALIGN_ITEM = t2.CONTACT_ID
After the data has been retrieved from the source qualifier, a lookup will be needed. The lookup properties are as follows: Lookup - LKP_WC_PARTY_LOGIN Lookup Table: WC_PARTY_LOGIN Input Column: POSTN_ID SQL Override:
SELECT U.LOGIN as LOGIN, U.ROW_ID as PARTY_ID FROM $$SIEBEL_SCHEMA.S_RESP R, $ $SIEBEL_SCHEMA.S_PER_RESP P, $$SIEBEL_SCHEMA.S_USER U WHERE U.ROW_ID=P.PER_ID AND P.RESP_ID=R.ROW_ID AND P.RESP_ID=R.ROW_ID AND R.NAME = 'MERCK REP'
Lookup Condition: IN_PARTY_ID = PARTY_ID Output Column: LOGIN Lookup policy on multiple match: Use First Value Pass all the ports forward including the new column, A filter will be needed to remove the records where PARTY_ID from the lookup is null. The filter properties are as follows:
Page 3 of 5
10/7/12
Filter FLT_EMPTY_POSTN Filter Condition: NOT(ISNULL(PARTY_ID)) After the filter, an expression will need to retrieve the value of the $$DATASOURCE_NUM_ID and $$POSITION_TYPE parameters for the DATASOURCE_NUM_ID and POSITION_TYPE ports. After the expression, the data can be loaded directly into the target.
Post-Processing Description
N/A
Source To Target Field Matrix Source to target metrics mentions columns required for the US Commercial Model Analytics Rel1.0 only.
Target Table
Target Column
Datatype
Source Table
Source Column
Datatype
Expressio n
Comments
WC_POSTN_ ORG_HS WC_POSTN_ ORG_HS WC_POSTN_ ORG_HS WC_POSTN_ ORG_HS WC_POSTN_ ORG_HS
Appendix 1:
SQL Code:
Page 4 of 5
10/7/12
Field Name
Start Position
End Position
Length
Type
References:
Page 5 of 5
10/7/12