Upload
vamsee-dhar
View
223
Download
0
Embed Size (px)
Citation preview
8/6/2019 UTC Spares Financials
1/120
Project Financial Spares
Producer Diptinder Chhabra
Date 16-Aug-04
Program / Module m_PLCY_PLATFORM_OFA_ENGINE_HIER - Load Engine_
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
5 Check if valid number of records are inserted
To check whether a data is inserted from the sourcefile to the target.
8/6/2019 UTC Spares Financials
2/120
QC done by
Date
ier.csv to PLCY_ENGINE_HIER
Stage UT,IT,ST,AT,Others(Specify)
Test Description Input / Test Data
Session properties.
Session properties.
Check if mapping has run successfully Session properties.
I/p file with - 5 new records
In source options check the names of the source files andthe source location.
Check the Target table name, instance , Insert and theload type option.
Run the following query :- Select* from plcy_engine_hier where engine_family = 'OTHER
CFM 'and engine_model = 'OTHER CFM '
I/p file with - engine_family = 'OTHER CFM 'and engine_model = 'OTHER CFM '
Run the following query :-Select count(*) from plcy_platform_ofa_spare where
trunc(creation_date) = trunc(sysdate)
8/6/2019 UTC Spares Financials
3/120
Arindam
17-Aug-04
Expected Results Actual Results Remarks (If Any)
Same as Expected
Same as Expected
Same as Expected
Same as Expected
Same as Expected
The source file name will be Engine_Hier.csvSource Type should be File.
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 loadtype should be bulk.And the target databaseinstance should be FMO_PLCY_PLCY_D1.
All the valid records should get inserted and therest should fail.
All the fields in the target table must exactlymatch withl those in the source file.
Count obtained from the query must match withthe count as obtained from source file and the
log file
8/6/2019 UTC Spares Financials
4/120
8/6/2019 UTC Spares Financials
5/120
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
8/6/2019 UTC Spares Financials
6/120
Patni GE Confidential
QC done by
Date
Stage UT,IT,ST,AT,Others(Specify)
Test Description Input / Test Data
Session properties.
Session properties.
Check if mapping has run successfully Session properties.
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
In source options check the names of the source files andthe source location.
Check the Target table name, instance , Insert and theload type option.
Run the following query :- Select count(*) fromplcy_platform_ofa_spare where op_gross_revenue is not
null
GROSS:Note gross value from the csv file for month of jan for each
modelRun the following query on the target table :- SELECT *
FROM plcy_platform_ofa_spare WHEREplcy_calendar_seq_id = 566
and plcy_engine_hier_seq_id = 14736 andCustomer_Type = 'C'
Step 5 should be repeated for all the models CF6-6,CF6-50,CF6-80A,CF6-80C,CF6-80E,CF6 Others,CFM56-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
8/6/2019 UTC Spares Financials
7/120
8/6/2019 UTC Spares Financials
8/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
9/120
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
8/6/2019 UTC Spares Financials
10/120
8/6/2019 UTC Spares Financials
11/120
Patni GE Confidential
Expected Results Actual Results Remarks (If Any)
The values should match.
The source file name will beSPARES_EXTRACT_V3_ACTUAL.csv
Source Type should be File.Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.
Target table name will bePLCY_PLATFORM_OFA_SPARE. The Insertoption should be checked. The load type shouldbe bulk.And the target database instance shouldbe FMO_PLCY_PLCY_D1.
All the valid records should get inserted and therest should fail.
Count obtained from the query must match withthe count as obtained from source file and the log
file
The value obtained in the calculation of thesource columns should match with the value
obtained in the columnACTUAL_GROSS_REVENUE in the target table.
8/6/2019 UTC Spares Financials
12/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
13/120
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.
4
5 Check if valid number of records are updated
6 Check if valid number of records are updated
To check whether a data is inserted from the sourcefile to the target.
8/6/2019 UTC Spares Financials
14/120
Patni GE Confidential
QC done by
Date
Stage UT,IT,ST,AT,Others(Specify)
Test Description Input / Test Data
Session properties.
Session properties.
Check if mapping has run successfully Session properties.
Target Table PLCY_PLATFORM_OFA_CSA_ELIM
Target Table PLCY_PLATFORM_OFA_CSA_ELIM
Target Table plcy_platform_ofa_spare
In source options check the names of the source files andthe source location.
Check the Target table name, instance , Insert and theload type option.
Run the following query :- Select * fromPLCY_PLATFORM_OFA_CSA_ELIM whereACTUAL_CSA_ELIMINATION IS NOT NULL
Run the following query :- Select * fromPLCY_PLATFORM_OFA_CSA_ELIM where
ACTUAL_CSA_ELIMINATION IS NOT NULL and checkthe 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-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
8/6/2019 UTC Spares Financials
15/120
Patni GE Confidential
Expected Results Actual Results Remarks (If Any)
The values should match.
The source file name will beSPARES_CFM_NON_CFM.csv
Source Type should be File.Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.
Target table name will bePLCY_PLATFORM_OFA_CSA_ELIM. The Insertoption should be checked. The load type shouldbe bulk.And the target database instance shouldbe FMO_PLCY_PLCY.
All the valid records should get inserted and therest should fail.
All the fields in the target table must exactly matchwill those in the source file.
Count obtained from the query must match withthe count as obtained from source file and the log
file
8/6/2019 UTC Spares Financials
16/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
17/120
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.
4
5 Check if valid number of records are updated
6 Check if valid number of records are updated
To check whether a data is inserted from the sourcefile to the target.
8/6/2019 UTC Spares Financials
18/120
Patni GE Confidential
QC done by
Date
Stage UT,IT,ST,AT,Others(Specify)
Test Description Input / Test Data
Session properties.
Session properties.
Check if mapping has run successfully Session properties.
Target Table PLCY_PLATFORM_OFA_CSA_ELIM
Target Table PLCY_PLATFORM_OFA_CSA_ELIM
Target Table plcy_platform_ofa_spare
In source options check the names of the source files andthe source location.
Check the Target table name, instance , Insert and theload type option.
Run the following query :- Select * fromPLCY_PLATFORM_OFA_CSA_ELIM where
OP_CSA_ELIMINATION IS NOT NULL
Run the following query :- Select * fromPLCY_PLATFORM_OFA_CSA_ELIM where
OP_CSA_ELIMINATION IS NOT NULL and check thesame 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-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
8/6/2019 UTC Spares Financials
19/120
Patni GE Confidential
Expected Results Actual Results Remarks (If Any)
The values should match.
The source file name will beSPARES_CFM_NON_CFM.csv
Source Type should be File.Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.
Target table name will bePLCY_PLATFORM_OFA_CSA_ELIM. The Insertoption should be checked. The load type shouldbe bulk.And the target database instance shouldbe FMO_PLCY_PLCY.
All the valid records should get inserted and therest should fail.
All the fields in the target table must exactly matchwill those in the source file.
Count obtained from the query must match withthe count as obtained from source file and the log
file
8/6/2019 UTC Spares Financials
20/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
21/120
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
8/6/2019 UTC Spares Financials
22/120
Patni GE Confidential
QC done by
Date
Stage UT,IT,ST,AT,Others(Specify)
Test Description Input / Test Data
Session properties.
Session properties.
Check if mapping has run successfully Session properties.
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
In source options check the names of the source files andthe source location.
Check the Target table name, instance , Insert and theload type option.
Run the following query :-Select count(*) from plcy_platform_ofa_spare
GROSS:Note S1 = Sum of values of M00202 column for
Company_Code = 'TA', Month_Year = 4-Jan andProduct_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.
Note, CSA_Gross = Select ACTUAL_GROSS_REVENUEfrom plcy_platform_ofa_spare where plcy_calendar_seq_id
= 566and plcy_engine_hier_seq_id = 14736 and
Customer_Type = '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 = 566and 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-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
8/6/2019 UTC Spares Financials
23/120
Patni GE Confidential
Expected Results Actual Results Remarks (If Any)
The values should match.
The source file name will beSPARES_EXTRACT_V3_ACTUAL.csv
Source Type should be File.Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.
Target table name will bePLCY_PLATFORM_OFA_SPARE. The Insertoption should be checked. The load type shouldbe bulk.And the target database instance shouldbe FMO_PLCY_PLCY_D1.
All the valid records should get inserted and therest should fail.
Count obtained from the query must match withthe count as obtained from source file and the log
file
The value obtained in the calculation of thesource columns should match with the value
obtained in the columnACTUAL_GROSS_REVENUE in the target table.
8/6/2019 UTC Spares Financials
24/120
8/6/2019 UTC Spares Financials
25/120
8/6/2019 UTC Spares Financials
26/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
27/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
28/120
Patni GE Confidential
6 Check if valid number of records are updated
8/6/2019 UTC Spares Financials
29/120
Patni GE Confidential
QC done by
Date
Stage UT,IT,ST,AT,Others(Specify)
Test Description Input / Test Data
Session properties.
Session properties.
Check if mapping has run successfully Session properties.
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
In source options check the names of the source files andthe source location.
Check the Target table name, instance , Insert and theload type option.
Run the following query :-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 andProduct_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_ACTUAL.csv.Run the following query on the target table :-
Select * from plcy_platform_ofa_spare whereplcy_calendar_seq_id = 566and plcy_engine_hier_seq_id = 14736 and
Customer_Type = 'E'
8/6/2019 UTC Spares Financials
30/120
Patni GE Confidential
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
EQUALIZATION_PAYMENTS:Note Numerator = Sum of values of M00326 and M00327columns for Company_Code = 'TT', Month_Year = 4-Janand 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 thesource file SPARES_EXTRACT_V3_ACTUAL.csv.
Note, Total_Gross = Sum of values of M01001 column forCompany_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source fileSPARES_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 = 566and 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 andProduct_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 thesource file SPARES_EXTRACT_V3_ACTUAL.csv.
Note TM_Gross = Select ACTUAL_GROSS_REVENUEfrom plcy_platform_ofa_spare where plcy_calendar_seq_id
= 566and 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 = 566and plcy_engine_hier_seq_id = 14736 and
Customer_Type = 'E'
8/6/2019 UTC Spares Financials
31/120
Patni GE Confidential
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
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 fileSPARES_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 thesource file SPARES_EXTRACT_V3_ACTUAL.csv.
Note, Total_Gross = Sum of values of M01001 column forCompany_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source fileSPARES_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 = 566and 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 andProduct_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 thesource file SPARES_EXTRACT_V3_ACTUAL.csv.
Note, Total_Gross = Sum of values of M01001 column forCompany_Code = 'TA', Month_Year = 4-Jan andProduct_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 = 566and plcy_engine_hier_seq_id = 14736 and
Customer_Type = 'E'
8/6/2019 UTC Spares Financials
32/120
8/6/2019 UTC Spares Financials
33/120
Patni GE Confidential
Expected Results Actual Results Remarks (If Any)
The source file name will beSPARES_EXTRACT_V3_ACTUAL.csv
Source Type should be File.Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.
Target table name will bePLCY_PLATFORM_OFA_SPARE. The Insertoption should be checked. The load type shouldbe bulk.And the target database instance shouldbe FMO_PLCY_PLCY_D1.
All the valid records should get inserted and therest should fail.
Count obtained from the query must match withthe count as obtained from source file and the log
file
The value obtained in the calculation of thesource columns should match with the value
obtained in the columnACTUAL_GROSS_REVENUE in the target table.
8/6/2019 UTC Spares Financials
34/120
Patni GE Confidential
The value obtained in the calculation shouldmatch with the value obtained in the column
ACTUAL_EQUALIZATION_PAYMENTS in thetarget table.
The value obtained in the calculation of the
source columns should match with the valueobtained in the columnACTUAL_DISCOUNT_ALLOWANCES in the
target table.
8/6/2019 UTC Spares Financials
35/120
Patni GE Confidential
The value obtained in the calculation of thesource columns should match with the value
obtained in the column ACTUAL_AESCD_COSTin the target table.
The value obtained in the calculation of thesource columns should match with the value
obtained in the column ACTUAL_RSP_COST inthe target table.
8/6/2019 UTC Spares Financials
36/120
Patni GE Confidential
The values should match.
The value obtained in the calculation of thesource columns should match with the value
obtained in the column ACTUAL_ICP_COST inthe target table.
8/6/2019 UTC Spares Financials
37/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
38/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
39/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
40/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
41/120
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
8/6/2019 UTC Spares Financials
42/120
8/6/2019 UTC Spares Financials
43/120
Patni GE Confidential
6 Check if valid number of records are updated
8/6/2019 UTC Spares Financials
44/120
Patni GE Confidential
QC done by
Date
Stage UT,IT,ST,AT,Others(Specify)
Test Description Input / Test Data
Session properties.
Session properties.
Check if mapping has run successfully Session properties.
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
In source options check the names of the source files andthe source location.
Check the Target table name, instance , Insert and theload type option.
Run the following query :-Select count(*) from plcy_platform_ofa_spare
EQUALIZATION_PAYMENTS:Note Numerator = Sum of values of M00326 and M00327columns for Company_Code = 'TT', Month_Year = 4-Janand 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 andProduct_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 = 566and plcy_engine_hier_seq_id = 14736 and
Customer_Type = 'T'
8/6/2019 UTC Spares Financials
45/120
Patni GE Confidential
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
DISCOUNT / ALLOWANCES:Note Numerator = Sum of values of M00208 columns for
Company_Code = 'TT', Month_Year = 4-Jan andProduct_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 fromplcy_platform_ofa_spare where plcy_calendar_seq_id =
566and 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 = 566and 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 andProduct_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 = 566and plcy_engine_hier_seq_id = 14736 and
Customer_Type = 'T'
8/6/2019 UTC Spares Financials
46/120
Patni GE Confidential
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
RSP_COST:Note Numerator = Sum of values of M01051 columns for
Company_Code = 'TT', Month_Year = 4-Jan andProduct_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 andProduct_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 = 566and 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 andProduct_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 = 566and plcy_engine_hier_seq_id = 14736 andCustomer_Type = 'T'
Step 5 should be repeated for all the models CF6-6,CF6-50,CF6-80A,CF6-80C,CF6-80E,CF6 Others,CFM56-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
8/6/2019 UTC Spares Financials
47/120
Patni GE Confidential
Expected Results Actual Results Remarks (If Any)
The source file name will beSPARES_EXTRACT_V3_ACTUAL.csv
Source Type should be File.Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.
Target table name will bePLCY_PLATFORM_OFA_SPARE. The Insertoption should be checked. The load type shouldbe bulk.And the target database instance shouldbe FMO_PLCY_PLCY_D1.
All the valid records should get inserted and therest should fail.
Count obtained from the query must match withthe count as obtained from source file and the log
file
The value obtained in the calculation shouldmatch with the value obtained in the column
ACTUAL_EQUALIZATION_PAYMENTS in thetarget table.
8/6/2019 UTC Spares Financials
48/120
Patni GE Confidential
The value obtained in the calculation of thesource columns should match with the value
obtained in the columnACTUAL_DISCOUNT_ALLOWANCES in the
target table.
The value obtained in the calculation of thesource columns should match with the value
obtained in the column ACTUAL_AESCD_COSTin the target table.
8/6/2019 UTC Spares Financials
49/120
Patni GE Confidential
The values should match.
The value obtained in the calculation of thesource columns should match with the value
obtained in the column ACTUAL_RSP_COST inthe target table.
The value obtained in the calculation of thesource columns should match with the value
obtained in the column ACTUAL_ICP_COST inthe target table.
8/6/2019 UTC Spares Financials
50/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
51/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
52/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
53/120
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
8/6/2019 UTC Spares Financials
54/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
55/120
Patni GE Confidential
6 Check if valid number of records are updated
8/6/2019 UTC Spares Financials
56/120
Patni GE Confidential
QC done by
Date
Stage UT,IT,ST,AT,Others(Specify)
Test Description Input / Test Data
Session properties.
Session properties.
Check if mapping has run successfully Session properties.
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
In source options check the names of the source files andthe source location.
Check the Target table name, instance , Insert and theload type option.
Run the following query :-Select count(*) from plcy_platform_ofa_spare
EQUALIZATION_PAYMENTS:Note Numerator = Sum of values of M00326 and M00327columns for Company_Code = 'TT', Month_Year = 4-Janand 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 andCustomer_Type = 'C'
Note, Total_Gross = Sum of values of M01001 column forCompany_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source fileSPARES_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 = 566and plcy_engine_hier_seq_id = 14736 and
Customer_Type = 'C'
8/6/2019 UTC Spares Financials
57/120
Patni GE Confidential
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
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 GROSScolumn.
Note, Total_Gross = Sum of values of M01001 column forCompany_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source fileSPARES_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 = 566and 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 andProduct_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 andProduct_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 andCustomer_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 andProduct_Lines = Y10,Y20,Y40,Y50 in the source fileSPARES_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 = 566and plcy_engine_hier_seq_id = 14736 and
Customer_Type = 'C'
8/6/2019 UTC Spares Financials
58/120
Patni GE Confidential
Target Table plcy_platform_ofa_spareStep 5 should be repeated for all the models CF6-6,CF6-50,CF6-80A,CF6-80C,CF6-80E,CF6 Others,CFM56-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
8/6/2019 UTC Spares Financials
59/120
Patni GE Confidential
Expected Results Actual Results Remarks (If Any)
The source file name will beSPARES_EXTRACT_V3_ACTUAL.csv
Source Type should be File.Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.
Target table name will bePLCY_PLATFORM_OFA_SPARE. The Insertoption should be checked. The load type shouldbe bulk.And the target database instance shouldbe FMO_PLCY_PLCY_D1.
All the valid records should get inserted and therest should fail.
Count obtained from the query must match withthe count as obtained from source file and the log
file
The value obtained in the calculation shouldmatch with the value obtained in the column
ACTUAL_EQUALIZATION_PAYMENTS in thetarget table.
8/6/2019 UTC Spares Financials
60/120
Patni GE Confidential
The value obtained in the calculation of thesource columns should match with the value
obtained in the column ACTUAL_AESCD_COSTin the target table.
The value obtained in the calculation of thesource columns should match with the value
obtained in the column ACTUAL_RSP_COST inthe target table.
The value obtained in the calculation of thesource columns should match with the value
obtained in the column ACTUAL_ICP_COST inthe target table.
8/6/2019 UTC Spares Financials
61/120
Patni GE Confidential
The values should match.
8/6/2019 UTC Spares Financials
62/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
63/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
64/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
65/120
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
8/6/2019 UTC Spares Financials
66/120
Patni GE Confidential
6 Check if valid number of records are updated
8/6/2019 UTC Spares Financials
67/120
Patni GE Confidential
QC done by
Date
Stage UT,IT,ST,AT,Others(Specify)
Test Description Input / Test Data
Session properties.
Session properties.
Check if mapping has run successfully Session properties.
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
M00202_TA_YE0 - v_CSA_GROSS Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
In source options check the names of the source files andthe source location.
Check the Target table name, instance , Insert and theload type option.
Run the following query :-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 andProduct_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.Run the following query on the target table :-
DISCOUNT / ALLOWANCES:Note Numerator = Sum of values of M00208 columns for
Company_Code = 'TT', Month_Year = 4-Jan andProduct_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 andProduct_Lines = Y10,Y20,Y40,Y50 in the source fileSPARES_EXTRACT_V3_OP_PLAN.csv.
Note External_Gross = Sum of values of M00201 andM00203 columns
8/6/2019 UTC Spares Financials
68/120
Patni GE Confidential
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
RSP_COST:Note Numerator = Sum of values of M01051 columns for
Company_Code = 'TT', Month_Year = 4-Jan andProduct_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
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 E
Step 5 should be repeated for all the models CF6-6,CF6-50,CF6-80A,CF6-80C,CF6-80E,CF6 Others,CFM56-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
8/6/2019 UTC Spares Financials
69/120
Patni GE Confidential
Expected Results Actual Results Remarks (If Any)
The source file name will beSPARES_EXTRACT_V3_OP_PLAN.csv
Source Type should be File.Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.
Target table name will bePLCY_PLATFORM_OFA_SPARE. The Insertoption should be checked. The load type shouldbe bulk.And the target database instance shouldbe FMO_PLCY_PLCY_D1.
All the valid records should get inserted and therest should fail.
Count obtained from the query must match withthe count as obtained from source file and the log
file
The value obtained in the calculation of thesource columns should match with the value
obtained in the column OP_GROSS_REVENUEin the target table.
The value obtained in the calculation shouldmatch with the value obtained in the column
OP_EQUALIZATION_PAYMENTS in the targettable.
The value obtained in the calculation of thesource columns should match with the value
obtained in the columnOP_DISCOUNT_ALLOWANCES in the target
table.
The value obtained in the calculation of the
source columns should match with the valueobtained in the column OP_AESCD_COST in the
target table.
8/6/2019 UTC Spares Financials
70/120
Patni GE Confidential
The values should match.
The value obtained in the calculation of thesource columns should match with the value
obtained in the column OP_RSP_COST in thetarget table.
The value obtained in the calculation of thesource columns should match with the valueobtained in the column OP_ICP_COST in the
target table.
8/6/2019 UTC Spares Financials
71/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
72/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
73/120
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
8/6/2019 UTC Spares Financials
74/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
75/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
76/120
Patni GE Confidential
6 Check if valid number of records are updated
8/6/2019 UTC Spares Financials
77/120
Patni GE Confidential
QC done by
Date
Stage UT,IT,ST,AT,Others(Specify)
Test Description Input / Test Data
Session properties.
Session properties.
Check if mapping has run successfully Session properties.
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
In source options check the names of the source files andthe source location.
Check the Target table name, instance , Insert and theload type option.
Run the following query :-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 andProduct_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.Run the following query on the target table :-
Select * from plcy_platform_ofa_spare whereplcy_calendar_seq_id = 566and plcy_engine_hier_seq_id = 14736 and
Customer_Type = 'E'
8/6/2019 UTC Spares Financials
78/120
Patni GE Confidential
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
EQUALIZATION_PAYMENTS:Note Numerator = Sum of values of M00326 and M00327columns for Company_Code = 'TT', Month_Year = 4-Janand 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 thesource file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note, Total_Gross = Sum of values of M01001 column forCompany_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source fileSPARES_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 = 566and 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 andProduct_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 thesource file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note TM_Gross = Select ACTUAL_GROSS_REVENUEfrom plcy_platform_ofa_spare where plcy_calendar_seq_id
= 566and 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 = 566and plcy_engine_hier_seq_id = 14736 and
Customer_Type = 'E'
8/6/2019 UTC Spares Financials
79/120
Patni GE Confidential
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
AESCD_COST:Note Numerator = Sum of values of M01010 column for
Company_Code = 'TT', Month_Year = 4-Jan andProduct_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 thesource file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note, Total_Gross = Sum of values of M01001 column forCompany_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source fileSPARES_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 = 566and 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 andProduct_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 thesource file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note, Total_Gross = Sum of values of M01001 column forCompany_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source fileSPARES_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 = 566and plcy_engine_hier_seq_id = 14736 and
Customer_Type = 'E'
8/6/2019 UTC Spares Financials
80/120
Patni GE Confidential
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
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 sourcefile SPARES_EXTRACT_V3_OP_PLAN.csv.
Note External_Gross = Sum of values of M00201 andM00203 columns for Company_Code = 'TA', Month_Year =
4-Jan and Product_Lines = Y10,Y20,Y40,Y50 in thesource file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note, Total_Gross = Sum of values of M01001 column forCompany_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source fileSPARES_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 = 566and 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-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
8/6/2019 UTC Spares Financials
81/120
Patni GE Confidential
Expected Results Actual Results Remarks (If Any)
The source file name will beSPARES_EXTRACT_V3_OP_PLAN.csv
Source Type should be File.Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.
Target table name will bePLCY_PLATFORM_OFA_SPARE. The Insertoption should be checked. The load type shouldbe bulk.And the target database instance shouldbe FMO_PLCY_PLCY_D1.
All the valid records should get inserted and therest should fail.
Count obtained from the query must match withthe count as obtained from source file and the log
file
The value obtained in the calculation of thesource columns should match with the value
obtained in the column OP_GROSS_REVENUEin the target table.
8/6/2019 UTC Spares Financials
82/120
Patni GE Confidential
The value obtained in the calculation shouldmatch with the value obtained in the column
OP_EQUALIZATION_PAYMENTS in the targettable.
The value obtained in the calculation of the
source columns should match with the valueobtained in the columnOP_DISCOUNT_ALLOWANCES in the target
table.
8/6/2019 UTC Spares Financials
83/120
Patni GE Confidential
The value obtained in the calculation of thesource columns should match with the value
obtained in the column OP_AESCD_COST in thetarget table.
The value obtained in the calculation of thesource columns should match with the value
obtained in the column OP_RSP_COST in the
target table.
8/6/2019 UTC Spares Financials
84/120
Patni GE Confidential
The values should match.
The value obtained in the calculation of thesource columns should match with the valueobtained in the column OP_ICP_COST in the
target table.
8/6/2019 UTC Spares Financials
85/120
8/6/2019 UTC Spares Financials
86/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
87/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
88/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
89/120
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
8/6/2019 UTC Spares Financials
90/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
91/120
8/6/2019 UTC Spares Financials
92/120
Patni GE Confidential
QC done by
Date
Stage UT,IT,ST,AT,Others(Specify)
Test Description Input / Test Data
Session properties.
Session properties.
Check if mapping has run successfully Session properties.
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
In source options check the names of the source files andthe source location.
Check the Target table name, instance , Insert and theload type option.
Run the following query :-Select count(*) from plcy_platform_ofa_spare
GROSS:Note S1 = Sum of values of M00202 column for
Company_Code = 'TA', Month_Year = 4-Jan andProduct_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.Note, CSA_Gross = Select OP_GROSS_REVENUE fromplcy_platform_ofa_spare where plcy_calendar_seq_id =
566and plcy_engine_hier_seq_id = 14736 and
Customer_Type = '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 = 566and plcy_engine_hier_seq_id = 14736 and
Customer_Type = 'T'
8/6/2019 UTC Spares Financials
93/120
Patni GE Confidential
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
EQUALIZATION_PAYMENTS:Note Numerator = Sum of values of M00326 and M00327columns for Company_Code = 'TT', Month_Year = 4-Janand 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 GROSScolumn.Note, Total_Gross = Sum of values of M01001 column for
Company_Code = 'TA', Month_Year = 4-Jan andProduct_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 = 566and 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 andProduct_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
and plcy_engine_hier_seq_id = 14736 andCustomer_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 = 566and 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 andProduct_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 andProduct_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 = 566and plcy_engine_hier_seq_id = 14736 and
Customer_Type = 'T'
8/6/2019 UTC Spares Financials
94/120
Patni GE Confidential
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
RSP_COST:Note Numerator = Sum of values of M01051 columns for
Company_Code = 'TT', Month_Year = 4-Jan andProduct_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 andProduct_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 = 566and 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 andProduct_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 = 566and plcy_engine_hier_seq_id = 14736 andCustomer_Type = 'T'
Step 5 should be repeated for all the models CF6-6,CF6-50,CF6-80A,CF6-80C,CF6-80E,CF6 Others,CFM56-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
8/6/2019 UTC Spares Financials
95/120
Patni GE Confidential
Expected Results Actual Results Remarks (If Any)
The source file name will beSPARES_EXTRACT_V3_OP_PLAN.csv
Source Type should be File.Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.
Target table name will bePLCY_PLATFORM_OFA_SPARE. The Insertoption should be checked. The load type shouldbe bulk.And the target database instance shouldbe FMO_PLCY_PLCY_D1.
All the valid records should get inserted and therest should fail.
Count obtained from the query must match withthe count as obtained from source file and the log
file
The value obtained in the calculation of thesource columns should match with the value
obtained in the column OP_GROSS_REVENUEin the target table.
8/6/2019 UTC Spares Financials
96/120
Patni GE Confidential
The value obtained in the calculation shouldmatch with the value obtained in the column
OP_EQUALIZATION_PAYMENTS in the targettable.
The value obtained in the calculation of thesource columns should match with the value
obtained in the columnOP_DISCOUNT_ALLOWANCES in the target
table.
The value obtained in the calculation of the
source columns should match with the valueobtained in the column OP_AESCD_COST in thetarget table.
8/6/2019 UTC Spares Financials
97/120
Patni GE Confidential
The values should match.
The value obtained in the calculation of thesource columns should match with the value
obtained in the column OP_RSP_COST in thetarget table.
The value obtained in the calculation of thesource columns should match with the valueobtained in the column OP_ICP_COST in the
target table.
8/6/2019 UTC Spares Financials
98/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
99/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
100/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
101/120
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.
4
5 Check if valid number of records are updated
To check whether a data is inserted from the sourcefile to the target.
8/6/2019 UTC Spares Financials
102/120
8/6/2019 UTC Spares Financials
103/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
104/120
Patni GE Confidential
6 Check if valid number of records are updated
8/6/2019 UTC Spares Financials
105/120
Patni GE Confidential
QC done by
Date
Test Description Input / Test Data
Session properties.
Session properties.
Check if mapping has run successfully Session properties.
Target Table plcy_platform_ofa_spare
Target Table plcy_platform_ofa_spare
Stage UT,IT,ST,AT,Others(Specify)
In source options check the names of the source files andthe source location.
Check the Target table name, instance , Insert and theload type option.
Run the following query :- SELECT * FROMplcy_platform_ofa_spare AND customer_type = 'C' AND
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 andProduct_Lines = Y10,Y20,Y40,Y50 in the source file
SPARES_EXTRACT_V3_OP_PLAN.csv.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'
8/6/2019 UTC Spares Financials
106/120
Patni GE Confidential
EQUALIZATION_PAYMENTS:Note Numerator = Sum of values of M00326 and M00327columns for Company_Code = 'TT', Month_Year = 4-Janand 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 thesource file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note, Total_Gross = Sum of values of M01001 column forCompany_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source fileSPARES_EXTRACT_V3_OP_PLAN.csv.
Calculate Numerator * External_Gross / (Total_Gross)Run the following query on the target table :-Select * fromplcy_platform_ofa_spare where plcy_calendar_seq_id =
566 and plcy_engine_hier_seq_id = 14736 andCustomer_Type = 'E'
DISCOUNT / ALLOWANCES:Note Numerator = Sum of values of M00208 columns for
Company_Code = 'TT', Month_Year = 4-Jan andProduct_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 thesource file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note TM_Gross = Select ACTUAL_GROSS_REVENUEfrom 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 * fromplcy_platform_ofa_spare where plcy_calendar_seq_id =
566 and plcy_engine_hier_seq_id = 14736 andCustomer_Type = 'E'
8/6/2019 UTC Spares Financials
107/120
Patni GE Confidential
AESCD_COST:Note Numerator = Sum of values of M01010 column for
Company_Code = 'TT', Month_Year = 4-Jan andProduct_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 thesource file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note, Total_Gross = Sum of values of M01001 column forCompany_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source fileSPARES_EXTRACT_V3_OP_PLAN.csv.
Calculate Numerator * External_Gross / (Total_Gross)
Run the following query on the target table :-Select * fromplcy_platform_ofa_spare where plcy_calendar_seq_id =
566 and plcy_engine_hier_seq_id = 14736 andCustomer_Type = 'E'
RSP_COST:Note Numerator = Sum of values of M01051 columns for
Company_Code = 'TT', Month_Year = 4-Jan andProduct_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 thesource file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note, Total_Gross = Sum of values of M01001 column for
Company_Code = 'TA', Month_Year = 4-Jan andProduct_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 * fromplcy_platform_ofa_spare where plcy_calendar_seq_id =
566 and plcy_engine_hier_seq_id = 14736 andCustomer_Type = 'E'
8/6/2019 UTC Spares Financials
108/120
Patni GE Confidential
Target Table plcy_platform_ofa_spare
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 sourcefile SPARES_EXTRACT_V3_OP_PLAN.csv.
Note External_Gross = Sum of values of M00201 andM00203 columns for Company_Code = 'TA', Month_Year =
4-Jan and Product_Lines = Y10,Y20,Y40,Y50 in thesource file SPARES_EXTRACT_V3_OP_PLAN.csv.
Note, Total_Gross = Sum of values of M01001 column forCompany_Code = 'TA', Month_Year = 4-Jan and
Product_Lines = Y10,Y20,Y40,Y50 in the source fileSPARES_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 = 566and 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-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
8/6/2019 UTC Spares Financials
109/120
Patni GE Confidential
Expected Results Actual Results Remarks (If Any)
The source file name will beSPARES_EXTRACT_V3_OP_PLAN.csv
Source Type should be File.Source path should be
/apps/informatica/data/pc/SrcFiles/PLCY.
Target table name will bePLCY_PLATFORM_OFA_SPARE. The Insertoption should be checked. The load type shouldbe bulk.And the target database instance shouldbe FMO_PLCY_PLCY.
All the valid records should get inserted and therest should fail.
All the fields in the target table must exactly matchwill those in the source file.
Count obtained from the query must match withthe count as obtained from source file and the log
file
8/6/2019 UTC Spares Financials
110/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
111/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
112/120
Patni GE Confidential
The values should match.
8/6/2019 UTC Spares Financials
113/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
114/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
115/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
116/120
Patni GE Confidential
8/6/2019 UTC Spares Financials
117/120
8/6/2019 UTC Spares Financials
118/120
Patni GE Confidential
QC done by
Date
Stage UT,IT,ST,AT,Others(Specify)
Test Description Input / Test Data
Session properties.
Session properties.
Check if mapping has run successfully Session properties.
Target Table PLCY_PLATFORM_OFA_SPARE
Target Table PLCY_PLATFORM_OFA_SPARE
Target Table PLCY_PLATFORM_OFA_SPARE
Target Table plcy_platform_ofa_spare
In source options check the names of the source files andthe source location.
Check the Target table name, instance , Insert and theload type option.
Run the following query :- SELECT count(*) FROM
plcy_platform_ofa_spare and also run the query SELECTcount(*) FROM plcy_platform_ofa_spare WHEREbusiness_days IS NULL
Run the following query :- SELECTT1.MINSEQ,T1.M1,T2.CNT FROM (SELECTMIN(PLCY_CALENDAR.PLCY_CALENDAR_SEQ_ID)MINSEQ,PLCY_CALENDAR.FISCAL_YEAR_MONTH M1FROM PLCY_CALENDARWHERE FISCAL_YEAR >= (SELECTTO_CHAR(SYSDATE,'YYYY')-2 FROM DUAL) ANDFISCAL_YEAR = (SELECTTO_CHAR(SYSDATE,'YYYY')-2 FROM DUAL) ANDFISCAL_YEAR
8/6/2019 UTC Spares Financials
119/120
Patni GE Confidential
Expected Results Actual Results Remarks (If Any)
Both the count should match.
The results of the both the query should match.
The values should match.
The source file should be PLCY_PLATFORMoracle table.
Target table name will bePLCY_PLATFORM_OFA_SPARE. The Insertoption should be checked. The load type shouldbe bulk.And the target database instance shouldbe FMO_PLCY_PLCY.
All the valid records should get inserted and therest should fail.
8/6/2019 UTC Spares Financials
120/120