Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Ts Ps Bi Acct Entry Mapping

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 14

Project Name

Accelerate the Close


PeopleSoft A/R

Technical Specifications

Subject Area: PeopleSoft A/R


Table: PS_BI_ACCT_ENTRY
Author: Greg Jones
Creation Date: 8/2/2005
Revision Date:

TABLE OF CONTENTS

Process Overview................................................................................................................................................................................................................ 1

Sources............................................................................................................................................................................................................................... 2

Targets................................................................................................................................................................................................................................ 3

Lookups.............................................................................................................................................................................................................................. 4

Stored Procedures............................................................................................................................................................................................................. 5

Detailed ETL Processes..................................................................................................................................................................................................... 6

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.

SRC_ps_tablename SEQ_Trans HST_ps_tablename


SQ_tablename

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

Lookup Name LKP_Policy_Exclusions (Make Reusable)


DWEXT_PS_POLICY_EXCLUSION,
Table/File HST_PS_BI_LINE
Location
UNION
$Source
DWEXT_PS_POLICY_EXCLUSION,
HST_PS_ITEM

Match HST_PS_BI_LINE.INVOICE = INPUT.INVOICE


Condition(s)
Filter/SQL WHERE HST_PS_BI_LINE.CONTRACT_NUM = DWEXT_PS_POLICY_EXCLUSION.POLICY_NUMBER
Override AND HST_PS_BI_LINE. ACCOUNTING_PERIOD = $$ACCTNG_MONTH
AND HST_PS_BI_LINE. FISCAL_YEAR = $$ACCTNG_YEAR

UNION

WHERE HST_PS_ITEM.CONTRACT_NUM = DWEXT_PS_POLICY_EXCLUSION.POLICY_NUMBER


AND HST_PS_ITEM. ACCOUNTING_PERIOD = $$ACCTNG_MONTH
AND HST_PS_ITEM. FISCAL_YEAR = $$ACCTNG_YEAR

Page 4
26674108.doc

Stored Procedures
List the name, owner and the execution order for any unconnected stored procedures required for this process:

Procedure Name Schema Execution Procedure Type: Input Arguments


Order Normal, Target
Pre-Load, Target
Post-Load,
Source Pre-Load,
Source Post-Load
N/A

Page 5
26674108.doc

Detailed ETL Processes

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.

Referential Integrity Processing


Create PK constraint for each table.

Page 6
26674108.doc

Initial Load Process


Load all rows from the source table.

Pre-Processing
None

Transformation Processing

Target table: HST_PS_BI_ACCT_ENTRY


Null
Target Column Name Datatype Source Table Source Column Mapping Logic Default
BI_ACCT_ENTRY_KEY current value from informatica sequence
all other columns SRC_PS_BI_ACCT_ENTRY all other columns straight move

Target table: DWEXT_PS_BI_ACCT_ENTRY


Null
Target Column Name Datatype Source Table Source Column Mapping Logic Default
BI_ACCT_ENTRY_KEY current value from informatica sequence. Same
sequence number as used in HST target row.
BUSINESS_UNIT SRC_PS_BI_ACCT_ENTRY BUSINESS_UNIT straight move
INVOICE SRC_PS_BI_ACCT_ENTRY INVOICE straight move
LINE_SEQ_NUM SRC_PS_BI_ACCT_ENTRY LINE_SEQ_NUM straight move
ACCOUNTING_DT SRC_PS_BI_ACCT_ENTRY ACCOUNTING_DT straight move
ACCT_ENTRY_TYPE SRC_PS_BI_ACCT_ENTRY ACCT_ENTRY_TYPE straight move
DISC_SUR_LVL SRC_PS_BI_ACCT_ENTRY DISC_SUR_LVL straight move
DISC_SUR_ID SRC_PS_BI_ACCT_ENTRY DISC_SUR_ID straight move
LINE_DST_SEQ_NUM SRC_PS_BI_ACCT_ENTRY LINE_DST_SEQ_NUM straight move
TAX_AUTHORITY_CD SRC_PS_BI_ACCT_ENTRY TAX_AUTHORITY_CD straight move
DISC_SUR_INDICATOR SRC_PS_BI_ACCT_ENTRY DISC_SUR_INDICATOR straight move
BUSINESS_UNIT_GL SRC_PS_BI_ACCT_ENTRY BUSINESS_UNIT_GL straight move
LEDGER_GROUP SRC_PS_BI_ACCT_ENTRY LEDGER_GROUP straight move
LEDGER SRC_PS_BI_ACCT_ENTRY LEDGER straight move
ACCOUNTING_PERIOD SRC_PS_BI_ACCT_ENTRY ACCOUNTING_PERIOD straight move
FISCAL_YEAR SRC_PS_BI_ACCT_ENTRY FISCAL_YEAR straight move
ACCOUNT SRC_PS_BI_ACCT_ENTRY ACCOUNT straight move
PORTFOLIO SRC_PS_BI_ACCT_ENTRY PORTFOLIO straight move
MJR_LINE SRC_PS_BI_ACCT_ENTRY MJR_LINE straight move
PRDCT_TYPE SRC_PS_BI_ACCT_ENTRY PRDCT_TYPE straight move
AFFILIATE SRC_PS_BI_ACCT_ENTRY AFFILIATE straight move

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

Incremental Load Process


Incremental and initial load use the same process.

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

Revisor Company Approved By


Date Description of Change
Name Name
8/2/2005 Initial version Greg Jones

Page 11

You might also like