Ts Ps Bi Acct Entry Mapping
Ts Ps Bi Acct Entry Mapping
Ts Ps Bi Acct Entry Mapping
Technical Specifications
TABLE OF CONTENTS
Process Overview................................................................................................................................................................................................................ 1
Sources............................................................................................................................................................................................................................... 2
Targets................................................................................................................................................................................................................................ 3
Lookups.............................................................................................................................................................................................................................. 4
Stored Procedures............................................................................................................................................................................................................. 5
Schedule.......................................................................................................................................................................................................................... 6
Predecessors................................................................................................................................................................................................................... 6
Dependencies.................................................................................................................................................................................................................. 6
Selection/Exclusion Criteria.............................................................................................................................................................................................. 6
Exception Handling.......................................................................................................................................................................................................... 6
Restart Procedure............................................................................................................................................................................................................ 6
Referential Integrity Processing....................................................................................................................................................................................... 6
Initial Load Process.......................................................................................................................................................................................................... 6
Pre-Processing............................................................................................................................................................................................................. 7
Transformation Processing........................................................................................................................................................................................... 7
Post-Processing............................................................................................................................................................................................................ 8
Incremental Load Process................................................................................................................................................................................................ 8
Pre-Processing............................................................................................................................................................................................................. 8
Transformation Processing........................................................................................................................................................................................... 8
Post-Processing............................................................................................................................................................................................................ 8
Validation Criteria............................................................................................................................................................................................................. 9
Revision Control.............................................................................................................................................................................................................. 10
26674108.doc
Process Overview
This process brings the transaction data from PeopleSoft into Warehouse tables. For each source there are 2 target tables; a table that contains all
history and looks exactly like the source table, a table with just the current month transactions and all business rules applied for scrubbing and filtering
the data.
An audit table is used to generate a parameter file which contains the accounting month and year used to select the PeopleSoft transaction data. The
audit table is updated in a separate session after the transaction load completes successfully.
FLT_apply_buiness_rules
EXP_Trans DWEXT_ps_tablename
Select or ignore rows based
on business rules for policy,
customer id, etc.
This table is truncated
Apply scrubbing and
before each run.
cleanup rules.
Page 1
26674108.doc
Sources
Tables
Table Name Schema/Owner Database Server Selection/Filter
Type
SRC_PS_BI_ACCT_ENTRY PREMIUM ORACLE ACCOUNTING_PERIOD = $$ACCTNG_MONTH
FISCAL_YEAR = $$ACCTNG_YEAR
BUSINESS_UNIT = 'HLA'
GL_DISTRIB_STATUS = 'D'
Files
File Name File Location Fixed/Delimited Additional File Info
dwext_ps_audit.par $PMRootDir/ParameterFiles/dwext_ps_audit_f This is a parameter file that must be specified in the session properties.
ile.par
Page 2
26674108.doc
Targets
Tables
Table Name Schema/Owner Database Server Selection/Filter
Type
HST_PS_BI_ACCT_ENTRY PREMIUM ORACLE none
DWEXT_PS_BI_ACCT_ENTRY PREMIUM ORACLE exclude from target if any of these conditions are TRUE:
PRDCT_TYPE = ‘071085’ – Special Risk ADD
or
MJR_LINE = ‘899’ –GRP Billing for Special risk
or
(MJR_LINE = ‘811’ AND PRDCT_TYPE = ‘053012’) – Little League
or
LKP_Policy_Exclusions returns TRUE
Files
File Name File Location Fixed/Delimited Additional File Info
N/A
Page 3
26674108.doc
Lookups
UNION
Page 4
26674108.doc
Stored Procedures
List the name, owner and the execution order for any unconnected stored procedures required for this process:
Page 5
26674108.doc
Schedule
Monthly after PeopleSoft monthly batch completes – typically one day following the last business day of the month.
Predecessors
Month end batch completed for PeopleSoft application.
m_create_audit_param_file
m_ps_bi_line
m_ps_item
Dependencies
none
Selection/Exclusion Criteria
Notes: Set up parameters for the two $$ values below. Both should be defined as Integer.
SELECT (all columns)
FROM SRC_PS_BI_ACCT_ENTRY
WHERE ACCOUNTING_PERIOD = $$ACCTNG_MONTH
AND FISCAL_YEAR = $$ACCTNG_YEAR
AND BUSINESS_UNIT='HLA'
AND GL_DISTRIB_STATUS='D'
Exception Handling
None
Restart Procedure
Backout any committed data from HST table.
Delete and Update DWEXT_PS_AUDIT rows for the mapping if this is a rerun.
Restart failed session.
Page 6
26674108.doc
Pre-Processing
None
Transformation Processing
Page 7
26674108.doc
Null
Target Column Name Datatype Source Table Source Column Mapping Logic Default
PRCSS_TYPE SRC_PS_BI_ACCT_ENTRY PRCSS_TYPE straight move
STTTRY_LN_OF_BSNSS SRC_PS_BI_ACCT_ENTRY STTTRY_LN_OF_BSNSS straight move
STT_CODE SRC_PS_BI_ACCT_ENTRY STT_CODE straight move
IRS_CODE SRC_PS_BI_ACCT_ENTRY IRS_CODE straight move
STATISTICS_CODE SRC_PS_BI_ACCT_ENTRY STATISTICS_CODE straight move
MONETARY_AMOUNT SRC_PS_BI_ACCT_ENTRY MONETARY_AMOUNT straight move
STATISTIC_AMOUNT SRC_PS_BI_ACCT_ENTRY STATISTIC_AMOUNT straight move
JRNL_LN_REF SRC_PS_BI_ACCT_ENTRY JRNL_LN_REF straight move
LINE_DESCR SRC_PS_BI_ACCT_ENTRY LINE_DESCR straight move
USER1 SRC_PS_BI_ACCT_ENTRY USER1 straight move
USER2 SRC_PS_BI_ACCT_ENTRY USER2 straight move
USER3 SRC_PS_BI_ACCT_ENTRY USER3 straight move
USER4 SRC_PS_BI_ACCT_ENTRY USER4 straight move
USER5 SRC_PS_BI_ACCT_ENTRY USER5 straight move
JOURNAL_ID SRC_PS_BI_ACCT_ENTRY JOURNAL_ID straight move
JOURNAL_DATE SRC_PS_BI_ACCT_ENTRY JOURNAL_DATE straight move
GL_DISTRIB_STATUS SRC_PS_BI_ACCT_ENTRY GL_DISTRIB_STATUS straight move
PROCESS_INSTANCE SRC_PS_BI_ACCT_ENTRY PROCESS_INSTANCE straight move
APPL_JRNL_ID SRC_PS_BI_ACCT_ENTRY APPL_JRNL_ID straight move
CURRENCY_CD SRC_PS_BI_ACCT_ENTRY CURRENCY_CD straight move
FOREIGN_CURRENCY SRC_PS_BI_ACCT_ENTRY FOREIGN_CURRENCY straight move
FOREIGN_AMOUNT SRC_PS_BI_ACCT_ENTRY FOREIGN_AMOUNT straight move
CUR_RT_TYPE SRC_PS_BI_ACCT_ENTRY CUR_RT_TYPE straight move
CUR_EXCHNG_RT SRC_PS_BI_ACCT_ENTRY CUR_EXCHNG_RT straight move
Post-Processing
None
Pre-Processing
None
Transformation Processing
Same as Initial load
Page 8
26674108.doc
Post-Processing
Describe any post processing that needs to occur.
Page 9
26674108.doc
Validation Criteria
None
Page 10
26674108.doc
Revision Control
Page 11