UTC Spares Financials

You might also like

Download as xls, pdf, or txt
Download as xls, pdf, or txt
You are on page 1of 88

Project Financial Spares

Producer Diptinder Chhabra


Date 16-Aug-04
Program / Module m_PLCY_PLATFORM_OFA_ENGINE_HIER - Load Engine_Hier.csv to PLCY_ENGINE_HIER
Stage UT

Purpose of Test / Test Condition


Test case No. Test Procedure

1 To check the Source options in session.

2 To check the Target options in session.

3 Run the session.

To check whether a data is inserted from the source


4
file to the target.

5 Check if valid number of records are inserted


QC done by
Date
- Load Engine_Hier.csv to PLCY_ENGINE_HIER
Stage UT,IT,ST,AT,Others(Specify)

Test Description Input / Test Data

In source options check the names of the source files and


Session properties.
the source location.

Check the Target table name, instance , Insert and the


Session properties.
load type option.

Check if mapping has run successfully Session properties.

Run the following query :-


Select * from plcy_engine_hier where engine_family = I/p file with - engine_family = 'OTHER CFM '
'OTHER CFM ' and engine_model = 'OTHER CFM '
and engine_model = 'OTHER CFM '

Run the following query :-


Select count(*) from plcy_platform_ofa_spare where I/p file with - 5 new records
trunc(creation_date) = trunc(sysdate)
Arindam
17-Aug-04

Expected Results Actual Results Remarks (If Any)

The source file name will be Engine_Hier.csv


Source Type should be File.
Same as Expected
Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.

Target table name will be PLCY_ENGINE_HIER.


The Insert option should be checked. The load
Same as Expected
type should be bulk.And the target database
instance should be FMO_PLCY_PLCY_D1.

All the valid records should get inserted and the


Same as Expected
rest should fail.

All the fields in the target table must exactly


Same as Expected
match withl those in the source file.

Count obtained from the query must match with


the count as obtained from source file and the Same as Expected
log file
Project Financial Spares
Producer Diptinder Chhabra
Date 28-Jul-04
Program / Module m_PLCY_PLATFORM_OFA_CSA_GROSS_ACTUALS
Stage UT

Purpose of Test / Test Condition


Test case No. Test Procedure

1 To check the Source options in session.

2 To check the Target options in session.

3 Run the session.

4 Check if valid number of records are updated

5 To check whether the data obtained is in correct format

6 Check if valid number of records are updated

Patni GE Confidential
QC done by
Date
OSS_ACTUALS
Stage UT,IT,ST,AT,Others(Specify)

Test Description Input / Test Data

In source options check the names of the source files and


Session properties.
the source location.

Check the Target table name, instance , Insert and the load
Session properties.
type option.

Check if mapping has run successfully Session properties.

Run the following query :- Select count(*) from


plcy_platform_ofa_spare where op_gross_revenue is not Target Table plcy_platform_ofa_spare
null

GROSS:
Note gross value from the csv file for month of jan for each
model
Run the following query on the target table :- SELECT *
Target Table plcy_platform_ofa_spare
FROM plcy_platform_ofa_spare WHERE
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'C'

Step 5 should be repeated for all the models CF6-6,CF6-


50,CF6-80A,CF6-80C,CF6-80E,CF6 Others,CFM56- Target Table plcy_platform_ofa_spare
2,CFM56-3,CFM56-5A,CFM56-5B,CFM56-5C,CFM56-
7,CFM56 Others,CFM56 Part Elim,GE90,CF34-3,CF34-
8C,CF34-8D,CF34-8E,CT7,CFE,SC Others and Others

Patni GE Confidential
Expected Results Actual Results Remarks (If Any)

The source file name will be


SPARES_EXTRACT_V3_ACTUAL.csv
Source Type should be File.
Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.

Target table name will be


PLCY_PLATFORM_OFA_SPARE. The Insert
option should be checked. The load type should
be bulk.And the target database instance should
be FMO_PLCY_PLCY_D1.

All the valid records should get inserted and the


rest should fail.
Count obtained from the query must match with
the count as obtained from source file and the log
file

The value obtained in the calculation of the source


columns should match with the value obtained in
the column ACTUAL_GROSS_REVENUE in the
target table.

The values should match.

Patni GE Confidential
Project Financial Spares
Producer Diptinder Chhabra
Date 28-Jul-04
Program / Module m_PLCY_PLATFORM_OFA_CSA_GROSS_ACTUALS
Stage UT

Purpose of Test / Test Condition


Test case No. Test Procedure

1 To check the Source options in session.

2 To check the Target options in session.

3 Run the session.

4 Check if valid number of records are updated

5 To check whether the data obtained is in correct format

6 Check if valid number of records are updated

Patni GE Confidential
QC done by
Date
OSS_ACTUALS
Stage UT,IT,ST,AT,Others(Specify)

Test Description Input / Test Data

In source options check the names of the source files and


Session properties.
the source location.

Check the Target table name, instance , Insert and the load
Session properties.
type option.

Check if mapping has run successfully Session properties.

Run the following query :- Select count(*) from


Target Table plcy_platform_ofa_spare
plcy_platform_ofa_spare

GROSS:
Note gross value from the csv file for month of jan for each
model
Run the following query on the target table :- Target Table plcy_platform_ofa_spare
Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq

Step 5 should be repeated for all the models CF6-6,CF6-


50,CF6-80A,CF6-80C,CF6-80E,CF6 Others,CFM56- Target Table plcy_platform_ofa_spare
2,CFM56-3,CFM56-5A,CFM56-5B,CFM56-5C,CFM56-
7,CFM56 Others,CFM56 Part Elim,GE90,CF34-3,CF34-
8C,CF34-8D,CF34-8E,CT7,CFE,SC Others and Others

Patni GE Confidential
Expected Results Actual Results Remarks (If Any)

The source file name will be


SPARES_EXTRACT_V3_ACTUAL.csv
Source Type should be File.
Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.

Target table name will be


PLCY_PLATFORM_OFA_SPARE. The Insert
option should be checked. The load type should
be bulk.And the target database instance should
be FMO_PLCY_PLCY_D1.

All the valid records should get inserted and the


rest should fail.
Count obtained from the query must match with
the count as obtained from source file and the log
file

The value obtained in the calculation of the source


columns should match with the value obtained in
the column ACTUAL_GROSS_REVENUE in the
target table.

The values should match.

Patni GE Confidential
Project Financial Spares
Producer Diptinder Chhabra
Date 28-Jul-04
Program / Module m_PLCY_PLATFORM_OFA_CSA_ELIM_ACTUALS
Stage UT

Purpose of Test / Test Condition


Test case No. Test Procedure

1 To check the Source options in session.

2 To check the Target options in session.

3 Run the session.

To check whether a data is inserted from the source file


4
to the target.

5 Check if valid number of records are updated

6 Check if valid number of records are updated

Patni GE Confidential
QC done by
Date
M_ACTUALS
Stage UT,IT,ST,AT,Others(Specify)

Test Description Input / Test Data

In source options check the names of the source files and


Session properties.
the source location.

Check the Target table name, instance , Insert and the load
Session properties.
type option.

Check if mapping has run successfully Session properties.

Run the following query :- Select * from


PLCY_PLATFORM_OFA_CSA_ELIM where Target Table PLCY_PLATFORM_OFA_CSA_ELIM
ACTUAL_CSA_ELIMINATION IS NOT NULL

Run the following query :- Select * from


PLCY_PLATFORM_OFA_CSA_ELIM where
Target Table PLCY_PLATFORM_OFA_CSA_ELIM
ACTUAL_CSA_ELIMINATION IS NOT NULL and check
the same data with the .csv file for each platform level.

Step 5 should be repeated for all the models CF6-6,CF6-


50,CF6-80A,CF6-80C,CF6-80E,CF6 Others,CFM56- Target Table plcy_platform_ofa_spare
2,CFM56-3,CFM56-5A,CFM56-5B,CFM56-5C,CFM56-
7,CFM56 Others,CFM56 Part Elim,GE90,CF34-3,CF34-
8C,CF34-8D,CF34-8E,CT7,CFE,SC Others and Others

Patni GE Confidential
Expected Results Actual Results Remarks (If Any)

The source file name will be


SPARES_CFM_NON_CFM.csv
Source Type should be File.
Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.

Target table name will be


PLCY_PLATFORM_OFA_CSA_ELIM. The Insert
option should be checked. The load type should
be bulk.And the target database instance should
be FMO_PLCY_PLCY.

All the valid records should get inserted and the


rest should fail.

All the fields in the target table must exactly match


will those in the source file.

Count obtained from the query must match with


the count as obtained from source file and the log
file

The values should match.

Patni GE Confidential
Project Financial Spares
Producer Arindam Chakraborty
Date 28-Jul-04
Program / Module m_PLCY_PLATFORM_OFA_ELIM_OP
Stage UT

Purpose of Test / Test Condition


Test case No. Test Procedure

1 To check the Source options in session.

2 To check the Target options in session.

3 Run the session.

To check whether a data is inserted from the source file


4
to the target.

5 Check if valid number of records are updated

6 Check if valid number of records are updated

Patni GE Confidential
QC done by
Date

Stage UT,IT,ST,AT,Others(Specify)

Test Description Input / Test Data

In source options check the names of the source files and


Session properties.
the source location.

Check the Target table name, instance , Insert and the load
Session properties.
type option.

Check if mapping has run successfully Session properties.

Run the following query :- Select * from


PLCY_PLATFORM_OFA_CSA_ELIM where Target Table PLCY_PLATFORM_OFA_CSA_ELIM
OP_CSA_ELIMINATION IS NOT NULL

Run the following query :- Select * from


PLCY_PLATFORM_OFA_CSA_ELIM where
Target Table PLCY_PLATFORM_OFA_CSA_ELIM
OP_CSA_ELIMINATION IS NOT NULL and check the
same data with the .csv file for each platform level.

Step 5 should be repeated for all the models CF6-6,CF6-


50,CF6-80A,CF6-80C,CF6-80E,CF6 Others,CFM56- Target Table plcy_platform_ofa_spare
2,CFM56-3,CFM56-5A,CFM56-5B,CFM56-5C,CFM56-
7,CFM56 Others,CFM56 Part Elim,GE90,CF34-3,CF34-
8C,CF34-8D,CF34-8E,CT7,CFE,SC Others and Others

Patni GE Confidential
Expected Results Actual Results Remarks (If Any)

The source file name will be


SPARES_CFM_NON_CFM.csv
Source Type should be File.
Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.

Target table name will be


PLCY_PLATFORM_OFA_CSA_ELIM. The Insert
option should be checked. The load type should
be bulk.And the target database instance should
be FMO_PLCY_PLCY.

All the valid records should get inserted and the


rest should fail.

All the fields in the target table must exactly match


will those in the source file.

Count obtained from the query must match with


the count as obtained from source file and the log
file

The values should match.

Patni GE Confidential
Project Financial Spares
Producer Diptinder Chhabra
Date 24-Aug-04
Program / Module m_PLCY_PLATFORM_OFA_TM_ACTUAL
Stage UT

Purpose of Test / Test Condition


Test case No. Test Procedure

1 To check the Source options in session.

2 To check the Target options in session.

3 Run the session.

4 Check if valid number of records are updated

5 To check whether the data obtained is in correct format

6 Check if valid number of records are updated

Patni GE Confidential
QC done by
Date
AL
Stage UT,IT,ST,AT,Others(Specify)

Test Description Input / Test Data

In source options check the names of the source files and


Session properties.
the source location.

Check the Target table name, instance , Insert and the load
Session properties.
type option.

Check if mapping has run successfully Session properties.

Run the following query :-


Target Table plcy_platform_ofa_spare
Select count(*) from plcy_platform_ofa_spare

GROSS:
Note S1 = Sum of values of M00202 column for
Company_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Note, CSA_Gross = Select ACTUAL_GROSS_REVENUE
from plcy_platform_ofa_spare where plcy_calendar_seq_id
= 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type Target Table plcy_platform_ofa_spare
= 'C'
Calculate, TM_Gross = S1 - CSA_Gross

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'T'

Step 5 should be repeated for all the models CF6-6,CF6-


50,CF6-80A,CF6-80C,CF6-80E,CF6 Others,CFM56- Target Table plcy_platform_ofa_spare
2,CFM56-3,CFM56-5A,CFM56-5B,CFM56-5C,CFM56-
7,CFM56 Others,CFM56 Part Elim,GE90,CF34-3,CF34-
8C,CF34-8D,CF34-8E,CT7,CFE,SC Others and Others

Patni GE Confidential
Expected Results Actual Results Remarks (If Any)

The source file name will be


SPARES_EXTRACT_V3_ACTUAL.csv
Source Type should be File.
Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.

Target table name will be


PLCY_PLATFORM_OFA_SPARE. The Insert
option should be checked. The load type should
be bulk.And the target database instance should
be FMO_PLCY_PLCY_D1.

All the valid records should get inserted and the


rest should fail.
Count obtained from the query must match with
the count as obtained from source file and the log
file

The value obtained in the calculation of the source


columns should match with the value obtained in
the column ACTUAL_GROSS_REVENUE in the
target table.

The values should match.

Patni GE Confidential
Project Financial Spares
Producer Diptinder Chhabra
Date 24-Aug-04
Program / Module m_PLCY_PLATFORM_OFA_EXT_ACTUAL
Stage UT

Purpose of Test / Test Condition


Test case No. Test Procedure

1 To check the Source options in session.

2 To check the Target options in session.

3 Run the session.

4 Check if valid number of records are updated

5 To check whether the data obtained is in correct format

Patni GE Confidential
6 Check if valid number of records are updated

Patni GE Confidential
QC done by
Date
UAL
Stage UT,IT,ST,AT,Others(Specify)

Test Description Input / Test Data

In source options check the names of the source files and


Session properties.
the source location.

Check the Target table name, instance , Insert and the load
Session properties.
type option.

Check if mapping has run successfully Session properties.

Run the following query :-


Target Table plcy_platform_ofa_spare
Select count(*) from plcy_platform_ofa_spare

GROSS:
Take the sum of values of M00201 and M00203 columns
for Company_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Target Table plcy_platform_ofa_spare
Run the following query on the target table :-
Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'E'

Patni GE Confidential
EQUALIZATION_PAYMENTS:
Note Numerator = Sum of values of M00326 and M00327
columns for Company_Code = 'TT', Month_Year = 4-Jan
and Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Note External_Gross = Sum of values of M00201 and
M00203 columns for Company_Code = 'TA', Month_Year =
4-Jan and Product_Lines = Y10,Y20,Y40,Y50 in the
source file SPARES_EXTRACT_V3_ACTUAL.csv.
Note, Total_Gross = Sum of values of M01001 column for
Target Table plcy_platform_ofa_spare
Company_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Calculate Numerator * External_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'E'

DISCOUNT / ALLOWANCES:
Note Numerator = Sum of values of M00208 columns for
Company_Code = 'TT', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Note External_Gross = Sum of values of M00201 and
M00203 columns for Company_Code = 'TA', Month_Year =
4-Jan and Product_Lines = Y10,Y20,Y40,Y50 in the
source file SPARES_EXTRACT_V3_ACTUAL.csv.
Note TM_Gross = Select ACTUAL_GROSS_REVENUE
from plcy_platform_ofa_spare where plcy_calendar_seq_id
Target Table plcy_platform_ofa_spare
= 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'T'
Calculate Numerator * External_Gross / (External_Gross +
TM_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'E'

Patni GE Confidential
AESCD_COST:
Note Numerator = Sum of values of M01010-M00337-
R12300-M01051 columns for Company_Code = 'TT',
Month_Year = 4-Jan and Product_Lines =
Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Note External_Gross = Sum of values of M00201 and
M00203 columns for Company_Code = 'TA', Month_Year =
4-Jan and Product_Lines = Y10,Y20,Y40,Y50 in the
source file SPARES_EXTRACT_V3_ACTUAL.csv.
Note, Total_Gross = Sum of values of M01001 column for Target Table plcy_platform_ofa_spare
Company_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Calculate Numerator * External_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'E'

RSP_COST:
Note Numerator = Sum of values of M01051 columns for
Company_Code = 'TT', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Note External_Gross = Sum of values of M00201 and
M00203 columns for Company_Code = 'TA', Month_Year =
4-Jan and Product_Lines = Y10,Y20,Y40,Y50 in the
source file SPARES_EXTRACT_V3_ACTUAL.csv.
Note, Total_Gross = Sum of values of M01001 column for
Target Table plcy_platform_ofa_spare
Company_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Calculate Numerator * External_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'E'

Patni GE Confidential
ICP_COST:
Note Numerator = Sum of values of R12300 for
Company_Code = 'TT' and M00202 for Company_Code =
'TA' columns for Company_Code = 'TA', Month_Year = 4-
Jan and Product_Lines = Y10,Y20,Y40,Y50 in the source
file SPARES_EXTRACT_V3_ACTUAL.csv.
Note External_Gross = Sum of values of M00201 and
M00203 columns for Company_Code = 'TA', Month_Year =
4-Jan and Product_Lines = Y10,Y20,Y40,Y50 in the
source file SPARES_EXTRACT_V3_ACTUAL.csv.
Note, Total_Gross = Sum of values of M01001 column for Target Table plcy_platform_ofa_spare
Company_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Calculate Numerator * External_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'E'

Step 5 should be repeated for all the models CF6-6,CF6-


50,CF6-80A,CF6-80C,CF6-80E,CF6 Others,CFM56- Target Table plcy_platform_ofa_spare
2,CFM56-3,CFM56-5A,CFM56-5B,CFM56-5C,CFM56-
7,CFM56 Others,CFM56 Part Elim,GE90,CF34-3,CF34-
8C,CF34-8D,CF34-8E,CT7,CFE,SC Others and Others

Patni GE Confidential
Expected Results Actual Results Remarks (If Any)

The source file name will be


SPARES_EXTRACT_V3_ACTUAL.csv
Source Type should be File.
Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.

Target table name will be


PLCY_PLATFORM_OFA_SPARE. The Insert
option should be checked. The load type should
be bulk.And the target database instance should
be FMO_PLCY_PLCY_D1.

All the valid records should get inserted and the


rest should fail.
Count obtained from the query must match with
the count as obtained from source file and the log
file

The value obtained in the calculation of the source


columns should match with the value obtained in
the column ACTUAL_GROSS_REVENUE in the
target table.

Patni GE Confidential
The value obtained in the calculation should
match with the value obtained in the column
ACTUAL_EQUALIZATION_PAYMENTS in the
target table.

The value obtained in the calculation of the source


columns should match with the value obtained in
the column
ACTUAL_DISCOUNT_ALLOWANCES in the
target table.

Patni GE Confidential
The value obtained in the calculation of the source
columns should match with the value obtained in
the column ACTUAL_AESCD_COST in the target
table.

The value obtained in the calculation of the source


columns should match with the value obtained in
the column ACTUAL_RSP_COST in the target
table.

Patni GE Confidential
The value obtained in the calculation of the source
columns should match with the value obtained in
the column ACTUAL_ICP_COST in the target
table.

The values should match.

Patni GE Confidential
Project Financial Spares
Producer Diptinder Chhabra
Date 24-Aug-04
Program / Module m_PLCY_PLATFORM_OFA_TM_ACTUAL
Stage UT

Purpose of Test / Test Condition


Test case No. Test Procedure

1 To check the Source options in session.

2 To check the Target options in session.

3 Run the session.

4 Check if valid number of records are updated

5 To check whether the data obtained is in correct format

Patni GE Confidential
Patni GE Confidential
6 Check if valid number of records are updated

Patni GE Confidential
QC done by
Date
AL
Stage UT,IT,ST,AT,Others(Specify)

Test Description Input / Test Data

In source options check the names of the source files and


Session properties.
the source location.

Check the Target table name, instance , Insert and the load
Session properties.
type option.

Check if mapping has run successfully Session properties.

Run the following query :-


Target Table plcy_platform_ofa_spare
Select count(*) from plcy_platform_ofa_spare

EQUALIZATION_PAYMENTS:
Note Numerator = Sum of values of M00326 and M00327
columns for Company_Code = 'TT', Month_Year = 4-Jan
and Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Note TM_Gross = as given in the above case for GROSS
column.
Note, Total_Gross = Sum of values of M01001 column for
Company_Code = 'TA', Month_Year = 4-Jan and
Target Table plcy_platform_ofa_spare
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Calculate Numerator * TM_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'T'

Patni GE Confidential
DISCOUNT / ALLOWANCES:
Note Numerator = Sum of values of M00208 columns for
Company_Code = 'TT', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Note TM_Gross = as given in the above case for GROSS
column.
Note External_Gross = Select
ACTUAL_GROSS_REVENUE from
plcy_platform_ofa_spare where plcy_calendar_seq_id =
566 Target Table plcy_platform_ofa_spare
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'E'
Calculate Numerator * TM_Gross / (External_Gross +
TM_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'T'

AESCD_COST:
Note Numerator = Sum of values of M01010-M00337-
R12300-M01051 columns for Company_Code = 'TT',
Month_Year = 4-Jan and Product_Lines =
Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Note TM_Gross = as given in the above case for GROSS
column.
Note, Total_Gross = Sum of values of M01001 column for
Company_Code = 'TA', Month_Year = 4-Jan and Target Table plcy_platform_ofa_spare
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Calculate Numerator * TM_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'T'

Patni GE Confidential
RSP_COST:
Note Numerator = Sum of values of M01051 columns for
Company_Code = 'TT', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Note TM_Gross = as given in the above case for GROSS
column.
Note, Total_Gross = Sum of values of M01001 column for
Company_Code = 'TA', Month_Year = 4-Jan and
Target Table plcy_platform_ofa_spare
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Calculate Numerator * TM_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'T'

ICP_COST:
Note Numerator = Sum of values of R12300 for
Company_Code = 'TT' and M00202 for Company_Code =
'TA' columns for Company_Code = 'TA', Month_Year = 4-
Jan and Product_Lines = Y10,Y20,Y40,Y50 in the source
file SPARES_EXTRACT_V3_ACTUAL.csv.
Note TM_Gross = as given in the above case for GROSS
column.
Note, Total_Gross = Sum of values of M01001 column for
Company_Code = 'TA', Month_Year = 4-Jan and Target Table plcy_platform_ofa_spare
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Calculate Numerator * TM_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'T'

Step 5 should be repeated for all the models CF6-6,CF6-


50,CF6-80A,CF6-80C,CF6-80E,CF6 Others,CFM56- Target Table plcy_platform_ofa_spare
2,CFM56-3,CFM56-5A,CFM56-5B,CFM56-5C,CFM56-
7,CFM56 Others,CFM56 Part Elim,GE90,CF34-3,CF34-
8C,CF34-8D,CF34-8E,CT7,CFE,SC Others and Others

Patni GE Confidential
Expected Results Actual Results Remarks (If Any)

The source file name will be


SPARES_EXTRACT_V3_ACTUAL.csv
Source Type should be File.
Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.

Target table name will be


PLCY_PLATFORM_OFA_SPARE. The Insert
option should be checked. The load type should
be bulk.And the target database instance should
be FMO_PLCY_PLCY_D1.

All the valid records should get inserted and the


rest should fail.
Count obtained from the query must match with
the count as obtained from source file and the log
file

The value obtained in the calculation should


match with the value obtained in the column
ACTUAL_EQUALIZATION_PAYMENTS in the
target table.

Patni GE Confidential
The value obtained in the calculation of the source
columns should match with the value obtained in
the column
ACTUAL_DISCOUNT_ALLOWANCES in the
target table.

The value obtained in the calculation of the source


columns should match with the value obtained in
the column ACTUAL_AESCD_COST in the target
table.

Patni GE Confidential
The value obtained in the calculation of the source
columns should match with the value obtained in
the column ACTUAL_RSP_COST in the target
table.

The value obtained in the calculation of the source


columns should match with the value obtained in
the column ACTUAL_ICP_COST in the target
table.

The values should match.

Patni GE Confidential
Project Financial Spares
Producer Diptinder Chhabra
Date 24-Aug-04
Program / Module m_PLCY_PLATFORM_OFA_CSA_ACTUAL
Stage UT

Purpose of Test / Test Condition


Test case No. Test Procedure

1 To check the Source options in session.

2 To check the Target options in session.

3 Run the session.

4 Check if valid number of records are updated

5 To check whether the data obtained is in correct format

Patni GE Confidential
Patni GE Confidential
6 Check if valid number of records are updated

Patni GE Confidential
QC done by
Date
UAL
Stage UT,IT,ST,AT,Others(Specify)

Test Description Input / Test Data

In source options check the names of the source files and


Session properties.
the source location.

Check the Target table name, instance , Insert and the load
Session properties.
type option.

Check if mapping has run successfully Session properties.

Run the following query :-


Target Table plcy_platform_ofa_spare
Select count(*) from plcy_platform_ofa_spare

EQUALIZATION_PAYMENTS:
Note Numerator = Sum of values of M00326 and M00327
columns for Company_Code = 'TT', Month_Year = 4-Jan
and Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Note CSA_Gross = Select ACTUAL_GROSS_REVENUE
from plcy_platform_ofa_spare where plcy_calendar_seq_id
= 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'C'
Note, Total_Gross = Sum of values of M01001 column for Target Table plcy_platform_ofa_spare
Company_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Calculate Numerator * CSA_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'C'

Patni GE Confidential
AESCD_COST:
Note Numerator = Sum of values of M01010-M00337-
R12300-M01051 columns for Company_Code = 'TT',
Month_Year = 4-Jan and Product_Lines =
Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Note CSA_Gross = as given in the above case for GROSS
column.
Note, Total_Gross = Sum of values of M01001 column for
Company_Code = 'TA', Month_Year = 4-Jan and Target Table plcy_platform_ofa_spare
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Calculate Numerator * CSA_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'C'

RSP_COST:
Note Numerator = Sum of values of M01051 columns for
Company_Code = 'TT', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Note CSA_Gross = as given in the above case for GROSS
column.
Note, Total_Gross = Sum of values of M01001 column for
Company_Code = 'TA', Month_Year = 4-Jan and
Target Table plcy_platform_ofa_spare
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Calculate Numerator * CSA_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'C'

ICP_COST:
Note Numerator = Sum of values of R12300 for
Company_Code = 'TT' and M00202 for Company_Code =
'TA' columns for Company_Code = 'TA', Month_Year = 4-
Jan and Product_Lines = Y10,Y20,Y40,Y50 in the source
file SPARES_EXTRACT_V3_ACTUAL.csv.
Note CSA_Gross = as given in the above case for GROSS
column.
Note, Total_Gross = Sum of values of M01001 column for
Company_Code = 'TA', Month_Year = 4-Jan and Target Table plcy_platform_ofa_spare
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Calculate Numerator * CSA_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'C'

Patni GE Confidential
Step 5 should be repeated for all the models CF6-6,CF6-
50,CF6-80A,CF6-80C,CF6-80E,CF6 Others,CFM56- Target Table plcy_platform_ofa_spare
2,CFM56-3,CFM56-5A,CFM56-5B,CFM56-5C,CFM56-
7,CFM56 Others,CFM56 Part Elim,GE90,CF34-3,CF34-
8C,CF34-8D,CF34-8E,CT7,CFE,SC Others and Others

Patni GE Confidential
Expected Results Actual Results Remarks (If Any)

The source file name will be


SPARES_EXTRACT_V3_ACTUAL.csv
Source Type should be File.
Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.

Target table name will be


PLCY_PLATFORM_OFA_SPARE. The Insert
option should be checked. The load type should
be bulk.And the target database instance should
be FMO_PLCY_PLCY_D1.

All the valid records should get inserted and the


rest should fail.
Count obtained from the query must match with
the count as obtained from source file and the log
file

The value obtained in the calculation should


match with the value obtained in the column
ACTUAL_EQUALIZATION_PAYMENTS in the
target table.

Patni GE Confidential
The value obtained in the calculation of the source
columns should match with the value obtained in
the column ACTUAL_AESCD_COST in the target
table.

The value obtained in the calculation of the source


columns should match with the value obtained in
the column ACTUAL_RSP_COST in the target
table.

The value obtained in the calculation of the source


columns should match with the value obtained in
the column ACTUAL_ICP_COST in the target
table.

Patni GE Confidential
The values should match.

Patni GE Confidential
Project Financial Spares
Producer Arindam Chakraborty
Date 24-Aug-04
Program / Module m_PLCY_PLATFORM_OFA_GROSS_OP
Stage UT

Purpose of Test / Test Condition


Test case No. Test Procedure

1 To check the Source options in session.

2 To check the Target options in session.

3 Run the session.

4 Check if valid number of records are updated

5 To check whether the data obtained is in correct format

Patni GE Confidential
6 Check if valid number of records are updated

Patni GE Confidential
QC done by
Date
OP
Stage UT,IT,ST,AT,Others(Specify)

Test Description Input / Test Data

In source options check the names of the source files and


Session properties.
the source location.

Check the Target table name, instance , Insert and the load
Session properties.
type option.

Check if mapping has run successfully Session properties.

Run the following query :-


Target Table plcy_platform_ofa_spare
Select count(*) from plcy_platform_ofa_spare

GROSS:
Take the sum of values of M00201 and M00203 columns
for Company_Code = 'TA', Month_Year = 4-Jan and
Target Table plcy_platform_ofa_spare
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Run the following query on the target table :-

M00202_TA_YE0 - v_CSA_GROSS Target Table plcy_platform_ofa_spare

DISCOUNT / ALLOWANCES:
Note Numerator = Sum of values of M00208 columns for
Company_Code = 'TT', Month_Year = 4-Jan and
Target Table plcy_platform_ofa_spare
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Note External_Gross = Sum of values of M00201 and M0

AESCD_COST:
Note Numerator = Sum of values of M01010 column for
Company_Code = 'TT', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file Target Table plcy_platform_ofa_spare
SPARES_EXTRACT_V3_OP_PLAN.csv.
Note External_Gross = Sum of values of M00201 and
M00203 columns

Patni GE Confidential
RSP_COST:
Note Numerator = Sum of values of M01051 columns for
Company_Code = 'TT', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file Target Table plcy_platform_ofa_spare
SPARES_EXTRACT_V3_OP_PLAN.csv.
Note External_Gross = Sum of values of M00201 and
M00203 columns

ICP_COST:
Note Numerator = Sum of values of R12300 for
Company_Code = 'TT' and M00202 for Company_Code =
'TA' columns for Company_Code = 'TA', Month_Year = 4- Target Table plcy_platform_ofa_spare
Jan and Product_Lines = Y10,Y20,Y40,Y50 in the source
file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note E

Step 5 should be repeated for all the models CF6-6,CF6-


50,CF6-80A,CF6-80C,CF6-80E,CF6 Others,CFM56- Target Table plcy_platform_ofa_spare
2,CFM56-3,CFM56-5A,CFM56-5B,CFM56-5C,CFM56-
7,CFM56 Others,CFM56 Part Elim,GE90,CF34-3,CF34-
8C,CF34-8D,CF34-8E,CT7,CFE,SC Others and Others

Patni GE Confidential
Expected Results Actual Results Remarks (If Any)

The source file name will be


SPARES_EXTRACT_V3_OP_PLAN.csv
Source Type should be File.
Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.

Target table name will be


PLCY_PLATFORM_OFA_SPARE. The Insert
option should be checked. The load type should
be bulk.And the target database instance should
be FMO_PLCY_PLCY_D1.

All the valid records should get inserted and the


rest should fail.
Count obtained from the query must match with
the count as obtained from source file and the log
file

The value obtained in the calculation of the source


columns should match with the value obtained in
the column OP_GROSS_REVENUE in the target
table.

The value obtained in the calculation should


match with the value obtained in the column
OP_EQUALIZATION_PAYMENTS in the target
table.

The value obtained in the calculation of the source


columns should match with the value obtained in
the column OP_DISCOUNT_ALLOWANCES in
the target table.

The value obtained in the calculation of the source


columns should match with the value obtained in
the column OP_AESCD_COST in the target table.

Patni GE Confidential
The value obtained in the calculation of the source
columns should match with the value obtained in
the column OP_RSP_COST in the target table.

The value obtained in the calculation of the source


columns should match with the value obtained in
the column OP_ICP_COST in the target table.

The values should match.

Patni GE Confidential
Project Financial Spares
Producer Diptinder Chhabra
Date 24-Aug-04
Program / Module m_PLCY_PLATFORM_OFA_EXT_OP
Stage UT

Purpose of Test / Test Condition


Test case No. Test Procedure

1 To check the Source options in session.

2 To check the Target options in session.

3 Run the session.

4 Check if valid number of records are updated

5 To check whether the data obtained is in correct format

Patni GE Confidential
Patni GE Confidential
Patni GE Confidential
6 Check if valid number of records are updated

Patni GE Confidential
QC done by
Date

Stage UT,IT,ST,AT,Others(Specify)

Test Description Input / Test Data

In source options check the names of the source files and


Session properties.
the source location.

Check the Target table name, instance , Insert and the load
Session properties.
type option.

Check if mapping has run successfully Session properties.

Run the following query :-


Target Table plcy_platform_ofa_spare
Select count(*) from plcy_platform_ofa_spare

GROSS:
Take the sum of values of M00201 and M00203 columns
for Company_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Target Table plcy_platform_ofa_spare
Run the following query on the target table :-
Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'E'

Patni GE Confidential
EQUALIZATION_PAYMENTS:
Note Numerator = Sum of values of M00326 and M00327
columns for Company_Code = 'TT', Month_Year = 4-Jan
and Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Note External_Gross = Sum of values of M00201 and
M00203 columns for Company_Code = 'TA', Month_Year =
4-Jan and Product_Lines = Y10,Y20,Y40,Y50 in the
source file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note, Total_Gross = Sum of values of M01001 column for
Target Table plcy_platform_ofa_spare
Company_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Calculate Numerator * External_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'E'

DISCOUNT / ALLOWANCES:
Note Numerator = Sum of values of M00208 columns for
Company_Code = 'TT', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Note External_Gross = Sum of values of M00201 and
M00203 columns for Company_Code = 'TA', Month_Year =
4-Jan and Product_Lines = Y10,Y20,Y40,Y50 in the
source file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note TM_Gross = Select ACTUAL_GROSS_REVENUE
from plcy_platform_ofa_spare where plcy_calendar_seq_id
Target Table plcy_platform_ofa_spare
= 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'T'
Calculate Numerator * External_Gross / (External_Gross +
TM_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'E'

Patni GE Confidential
AESCD_COST:
Note Numerator = Sum of values of M01010 column for
Company_Code = 'TT', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Note External_Gross = Sum of values of M00201 and
M00203 columns for Company_Code = 'TA', Month_Year =
4-Jan and Product_Lines = Y10,Y20,Y40,Y50 in the
source file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note, Total_Gross = Sum of values of M01001 column for
Target Table plcy_platform_ofa_spare
Company_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Calculate Numerator * External_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'E'

RSP_COST:
Note Numerator = Sum of values of M01051 columns for
Company_Code = 'TT', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Note External_Gross = Sum of values of M00201 and
M00203 columns for Company_Code = 'TA', Month_Year =
4-Jan and Product_Lines = Y10,Y20,Y40,Y50 in the
source file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note, Total_Gross = Sum of values of M01001 column for
Target Table plcy_platform_ofa_spare
Company_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Calculate Numerator * External_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'E'

Patni GE Confidential
ICP_COST:
Note Numerator = Sum of values of R12300 for
Company_Code = 'TT' and M00202 for Company_Code =
'TA' columns for Company_Code = 'TA', Month_Year = 4-
Jan and Product_Lines = Y10,Y20,Y40,Y50 in the source
file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note External_Gross = Sum of values of M00201 and
M00203 columns for Company_Code = 'TA', Month_Year =
4-Jan and Product_Lines = Y10,Y20,Y40,Y50 in the
source file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note, Total_Gross = Sum of values of M01001 column for Target Table plcy_platform_ofa_spare
Company_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Calculate Numerator * External_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'E'

Step 5 should be repeated for all the models CF6-6,CF6-


50,CF6-80A,CF6-80C,CF6-80E,CF6 Others,CFM56- Target Table plcy_platform_ofa_spare
2,CFM56-3,CFM56-5A,CFM56-5B,CFM56-5C,CFM56-
7,CFM56 Others,CFM56 Part Elim,GE90,CF34-3,CF34-
8C,CF34-8D,CF34-8E,CT7,CFE,SC Others and Others

Patni GE Confidential
Expected Results Actual Results Remarks (If Any)

The source file name will be


SPARES_EXTRACT_V3_OP_PLAN.csv
Source Type should be File.
Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.

Target table name will be


PLCY_PLATFORM_OFA_SPARE. The Insert
option should be checked. The load type should
be bulk.And the target database instance should
be FMO_PLCY_PLCY_D1.

All the valid records should get inserted and the


rest should fail.
Count obtained from the query must match with
the count as obtained from source file and the log
file

The value obtained in the calculation of the source


columns should match with the value obtained in
the column OP_GROSS_REVENUE in the target
table.

Patni GE Confidential
The value obtained in the calculation should
match with the value obtained in the column
OP_EQUALIZATION_PAYMENTS in the target
table.

The value obtained in the calculation of the source


columns should match with the value obtained in
the column OP_DISCOUNT_ALLOWANCES in
the target table.

Patni GE Confidential
The value obtained in the calculation of the source
columns should match with the value obtained in
the column OP_AESCD_COST in the target table.

The value obtained in the calculation of the source


columns should match with the value obtained in
the column OP_RSP_COST in the target table.

Patni GE Confidential
The value obtained in the calculation of the source
columns should match with the value obtained in
the column OP_ICP_COST in the target table.

The values should match.

Patni GE Confidential
Project Financial Spares
Producer Diptinder Chhabra
Date 24-Aug-04
Program / Module m_PLCY_PLATFORM_OFA_TM_OP
Stage UT

Purpose of Test / Test Condition


Test case No. Test Procedure

1 To check the Source options in session.

2 To check the Target options in session.

3 Run the session.

4 Check if valid number of records are updated

5 To check whether the data obtained is in correct format

Patni GE Confidential
Patni GE Confidential
6 Check if valid number of records are updated

Patni GE Confidential
QC done by
Date

Stage UT,IT,ST,AT,Others(Specify)

Test Description Input / Test Data

In source options check the names of the source files and


Session properties.
the source location.

Check the Target table name, instance , Insert and the load
Session properties.
type option.

Check if mapping has run successfully Session properties.

Run the following query :-


Target Table plcy_platform_ofa_spare
Select count(*) from plcy_platform_ofa_spare

GROSS:
Note S1 = Sum of values of M00202 column for
Company_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Note, CSA_Gross = Select OP_GROSS_REVENUE from
plcy_platform_ofa_spare where plcy_calendar_seq_id =
566
and plcy_engine_hier_seq_id = 14736 and Customer_Type Target Table plcy_platform_ofa_spare
= 'C'
Calculate, TM_Gross = S1 - CSA_Gross

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'T'

Patni GE Confidential
EQUALIZATION_PAYMENTS:
Note Numerator = Sum of values of M00326 and M00327
columns for Company_Code = 'TT', Month_Year = 4-Jan
and Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Note TM_Gross = as given in the above case for GROSS
column.
Note, Total_Gross = Sum of values of M01001 column for
Company_Code = 'TA', Month_Year = 4-Jan and
Target Table plcy_platform_ofa_spare
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Calculate Numerator * TM_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'T'

DISCOUNT / ALLOWANCES:
Note Numerator = Sum of values of M00208 columns for
Company_Code = 'TT', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Note TM_Gross = as given in the above case for GROSS
column.
Note External_Gross = Select OP_GROSS_REVENUE
from plcy_platform_ofa_spare where plcy_calendar_seq_id
= 566
Target Table plcy_platform_ofa_spare
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'E'
Calculate Numerator * TM_Gross / (External_Gross +
TM_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'T'

AESCD_COST:
Note Numerator = Sum of values of M01010 column for
Company_Code = 'TT', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Note TM_Gross = as given in the above case for GROSS
column.
Note, Total_Gross = Sum of values of M01001 column for
Company_Code = 'TA', Month_Year = 4-Jan and
Target Table plcy_platform_ofa_spare
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Calculate Numerator * TM_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'T'

Patni GE Confidential
RSP_COST:
Note Numerator = Sum of values of M01051 columns for
Company_Code = 'TT', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Note TM_Gross = as given in the above case for GROSS
column.
Note, Total_Gross = Sum of values of M01001 column for
Company_Code = 'TA', Month_Year = 4-Jan and
Target Table plcy_platform_ofa_spare
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Calculate Numerator * TM_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'T'

ICP_COST:
Note Numerator = Sum of values of R12300 for
Company_Code = 'TT' and M00202 for Company_Code =
'TA' columns for Company_Code = 'TA', Month_Year = 4-
Jan and Product_Lines = Y10,Y20,Y40,Y50 in the source
file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note TM_Gross = as given in the above case for GROSS
column.
Note, Total_Gross = Sum of values of M01001 column for
Company_Code = 'TA', Month_Year = 4-Jan and Target Table plcy_platform_ofa_spare
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Calculate Numerator * TM_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'T'

Step 5 should be repeated for all the models CF6-6,CF6-


50,CF6-80A,CF6-80C,CF6-80E,CF6 Others,CFM56- Target Table plcy_platform_ofa_spare
2,CFM56-3,CFM56-5A,CFM56-5B,CFM56-5C,CFM56-
7,CFM56 Others,CFM56 Part Elim,GE90,CF34-3,CF34-
8C,CF34-8D,CF34-8E,CT7,CFE,SC Others and Others

Patni GE Confidential
Expected Results Actual Results Remarks (If Any)

The source file name will be


SPARES_EXTRACT_V3_OP_PLAN.csv
Source Type should be File.
Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.

Target table name will be


PLCY_PLATFORM_OFA_SPARE. The Insert
option should be checked. The load type should
be bulk.And the target database instance should
be FMO_PLCY_PLCY_D1.

All the valid records should get inserted and the


rest should fail.
Count obtained from the query must match with
the count as obtained from source file and the log
file

The value obtained in the calculation of the source


columns should match with the value obtained in
the column OP_GROSS_REVENUE in the target
table.

Patni GE Confidential
The value obtained in the calculation should
match with the value obtained in the column
OP_EQUALIZATION_PAYMENTS in the target
table.

The value obtained in the calculation of the source


columns should match with the value obtained in
the column OP_DISCOUNT_ALLOWANCES in
the target table.

The value obtained in the calculation of the source


columns should match with the value obtained in
the column OP_AESCD_COST in the target table.

Patni GE Confidential
The value obtained in the calculation of the source
columns should match with the value obtained in
the column OP_RSP_COST in the target table.

The value obtained in the calculation of the source


columns should match with the value obtained in
the column OP_ICP_COST in the target table.

The values should match.

Patni GE Confidential
Project Financial Spares
Producer Diptinder Chhabra
Date 23-Aug-04
Program / Module m_PLCY_PLATFORM_OFA_CSA_OP
Stage UT

Purpose of Test / Test Condition


Test case No. Test Procedure

1 To check the Source options in session.

2 To check the Target options in session.

3 Run the session.

To check whether a data is inserted from the source file


4
to the target.

5 Check if valid number of records are updated

Patni GE Confidential
Patni GE Confidential
Patni GE Confidential
6 Check if valid number of records are updated

Patni GE Confidential
QC done by
Date

Stage UT,IT,ST,AT,Others(Specify)

Test Description Input / Test Data

In source options check the names of the source files and


Session properties.
the source location.

Check the Target table name, instance , Insert and the load
Session properties.
type option.

Check if mapping has run successfully Session properties.

Run the following query :- SELECT * FROM


plcy_platform_ofa_spare AND customer_type = 'C' AND Target Table plcy_platform_ofa_spare
op_equalization_payments IS NOT NULL

GROSS:
Take the sum of values of M00201 and M00203 columns
for Company_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv. Target Table plcy_platform_ofa_spare
Run the following query on the target table :- Select * from
plcy_platform_ofa_spare where plcy_calendar_seq_id =
566 and plcy_engine_hier_seq_id = 14736 and
Customer_Type = 'E'

Patni GE Confidential
EQUALIZATION_PAYMENTS:
Note Numerator = Sum of values of M00326 and M00327
columns for Company_Code = 'TT', Month_Year = 4-Jan
and Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Note External_Gross = Sum of values of M00201 and
M00203 columns for Company_Code = 'TA', Month_Year =
4-Jan and Product_Lines = Y10,Y20,Y40,Y50 in the
source file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note, Total_Gross = Sum of values of M01001 column for
Company_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Calculate Numerator * External_Gross / (Total_Gross)
Run the following query on the target table :-Select * from
plcy_platform_ofa_spare where plcy_calendar_seq_id =
566 and plcy_engine_hier_seq_id = 14736 and
Customer_Type = 'E'

DISCOUNT / ALLOWANCES:
Note Numerator = Sum of values of M00208 columns for
Company_Code = 'TT', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Note External_Gross = Sum of values of M00201 and
M00203 columns for Company_Code = 'TA', Month_Year =
4-Jan and Product_Lines = Y10,Y20,Y40,Y50 in the
source file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note TM_Gross = Select ACTUAL_GROSS_REVENUE
from plcy_platform_ofa_spare where plcy_calendar_seq_id
= 566 and plcy_engine_hier_seq_id = 14736 and
Customer_Type = 'T'
Calculate Numerator * External_Gross / (External_Gross +
TM_Gross)

Run the following query on the target table :-Select * from


plcy_platform_ofa_spare where plcy_calendar_seq_id =
566 and plcy_engine_hier_seq_id = 14736 and
Customer_Type = 'E'

Patni GE Confidential
AESCD_COST:
Note Numerator = Sum of values of M01010 column for
Company_Code = 'TT', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Note External_Gross = Sum of values of M00201 and
M00203 columns for Company_Code = 'TA', Month_Year =
4-Jan and Product_Lines = Y10,Y20,Y40,Y50 in the
source file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note, Total_Gross = Sum of values of M01001 column for
Company_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Calculate Numerator * External_Gross / (Total_Gross)

Run the following query on the target table :-Select * from


plcy_platform_ofa_spare where plcy_calendar_seq_id =
566 and plcy_engine_hier_seq_id = 14736 and
Customer_Type = 'E'

RSP_COST:
Note Numerator = Sum of values of M01051 columns for
Company_Code = 'TT', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Note External_Gross = Sum of values of M00201 and
M00203 columns for Company_Code = 'TA', Month_Year =
4-Jan and Product_Lines = Y10,Y20,Y40,Y50 in the
source file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note, Total_Gross = Sum of values of M01001 column for
Company_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Calculate Numerator * External_Gross / (Total_Gross)

Run the following query on the target table :-Select * from


plcy_platform_ofa_spare where plcy_calendar_seq_id =
566 and plcy_engine_hier_seq_id = 14736 and
Customer_Type = 'E'

Patni GE Confidential
ICP_COST:
Note Numerator = Sum of values of R12300 for
Company_Code = 'TT' and M00202 for Company_Code =
'TA' columns for Company_Code = 'TA', Month_Year = 4-
Jan and Product_Lines = Y10,Y20,Y40,Y50 in the source
file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note External_Gross = Sum of values of M00201 and
M00203 columns for Company_Code = 'TA', Month_Year =
4-Jan and Product_Lines = Y10,Y20,Y40,Y50 in the
source file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note, Total_Gross = Sum of values of M01001 column for
Company_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.
Calculate Numerator * External_Gross / (Total_Gross)

Run the following query on the target table :-


Select * from plcy_platform_ofa_spare where
plcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 and Customer_Type
= 'E'

Step 5 should be repeated for all the models CF6-6,CF6-


50,CF6-80A,CF6-80C,CF6-80E,CF6 Others,CFM56- Target Table plcy_platform_ofa_spare
2,CFM56-3,CFM56-5A,CFM56-5B,CFM56-5C,CFM56-
7,CFM56 Others,CFM56 Part Elim,GE90,CF34-3,CF34-
8C,CF34-8D,CF34-8E,CT7,CFE,SC Others and Others

Patni GE Confidential
Expected Results Actual Results Remarks (If Any)

The source file name will be


SPARES_EXTRACT_V3_OP_PLAN.csv
Source Type should be File.
Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.

Target table name will be


PLCY_PLATFORM_OFA_SPARE. The Insert
option should be checked. The load type should
be bulk.And the target database instance should
be FMO_PLCY_PLCY.

All the valid records should get inserted and the


rest should fail.

All the fields in the target table must exactly match


will those in the source file.

Count obtained from the query must match with


the count as obtained from source file and the log
file

Patni GE Confidential
Patni GE Confidential
Patni GE Confidential
The values should match.

Patni GE Confidential
Project Financial Spares
Producer SIB
Date 23-Aug-10
Program / Module m_PLCY_PLATFORM_OFA_BUSINESS_DAYS
Stage UT

Purpose of Test / Test Condition


Test case No. Test Procedure

1 To check the Source options in session.

2 To check the Target options in session.

3 Run the session.

To check whether a data is inserted from the source file


4
to the target.

5 To check whether the data obtained is in correct.

6 Check if valid number of records are updated

Patni GE Confidential
QC done by
Date
S_DAYS
Stage UT,IT,ST,AT,Others(Specify)

Test Description Input / Test Data


In source options check the names of the source files and
Session properties.
the source location.

Check the Target table name, instance , Insert and the load
Session properties.
type option.

Check if mapping has run successfully Session properties.

Run the following query :- SELECT count(*) FROM


plcy_platform_ofa_spare and also run the query SELECT
Target Table PLCY_PLATFORM_OFA_SPARE
count(*) FROM plcy_platform_ofa_spare WHERE
business_days IS NULL

Run the following query :- SELECT


T1.MINSEQ,T1.M1,T2.CNT FROM (SELECT
MIN(PLCY_CALENDAR.PLCY_CALENDAR_SEQ_ID)
MINSEQ,PLCY_CALENDAR.FISCAL_YEAR_MONTH M1
FROM PLCY_CALENDAR
WHERE FISCAL_YEAR >= (SELECT
TO_CHAR(SYSDATE,'YYYY')-2 FROM DUAL) AND
FISCAL_YEAR <= (SELECT
TO_CHAR(SYSDATE,'YYYY') FROM DUAL) AND
SUBSTR(UPPER(TO_CHAR(CALENDAR_DATE,
'Day')),1,3) NOT IN ('SUN','SAT') GROUP BY
PLCY_CALENDAR.FISCAL_YEAR_MONTH) T1, Target Table PLCY_PLATFORM_OFA_SPARE
(SELECT COUNT(*) CNT,
PLCY_CALENDAR.FISCAL_YEAR_MONTH M2 FROM
PLCY_CALENDAR WHERE FISCAL_YEAR >= (SELECT
TO_CHAR(SYSDATE,'YYYY')-2 FROM DUAL) AND
FISCAL_YEAR <= (SELECT
TO_CHAR(SYSDATE,'YYYY') FROM DUAL) AND
SUBSTR(UPPER(TO_CHAR(CALENDAR_DATE,
'Day')),1,3) NOT IN ('SUN','SAT') GROUP BY
PLCY_CALENDAR.FISCAL_YEAR_MONTH) T2 WHERE
T1.M1 = T2.M2

SELECT DISTINCT plcy_calendar_seq_id,business_days


Target Table PLCY_PLATFORM_OFA_SPARE
FROM plcy_platform_ofa_spare

Step 5 should be repeated for all the models CF6-6,CF6-


50,CF6-80A,CF6-80C,CF6-80E,CF6 Others,CFM56- Target Table plcy_platform_ofa_spare
2,CFM56-3,CFM56-5A,CFM56-5B,CFM56-5C,CFM56-
7,CFM56 Others,CFM56 Part Elim,GE90,CF34-3,CF34-
8C,CF34-8D,CF34-8E,CT7,CFE,SC Others and Others

Patni GE Confidential
Expected Results Actual Results Remarks (If Any)
The source file should be PLCY_PLATFORM
oracle table.

Target table name will be


PLCY_PLATFORM_OFA_SPARE. The Insert
option should be checked. The load type should
be bulk.And the target database instance should
be FMO_PLCY_PLCY.

All the valid records should get inserted and the


rest should fail.

Both the count should match.

The results of the both the query should match.

The values should match.

Patni GE Confidential

You might also like