Professional Documents
Culture Documents
No
Testing Scenario
1.
Master_SOD_Loan_Aggregation
2.
Master_SOD_Loan_Aggregation
3.
Master_SOD_Loan_Aggregation
4.
Master_SOD_Loan_Aggregation
5.
Master_SOD_Loan_Aggregation
6.
Master_SOD_Loan_Aggregation
7.
Master_SOD_Loan_Aggregation
8.
Master_SOD_Loan_Aggregation
9.
Master_SOD_Loan_Aggregation
10.
Master_SOD_Loan_Aggregation
11.
Master_SOD_Loan_Aggregation
12.
Master_SOD_Loan_Aggregation
13.
Master_SOD_Repo_Aggregation
14.
Master_SOD_Repo_Aggregation
15.
Master_SOD_Repo_Aggregation
16.
Master_SOD_Repo_Aggregation
17.
Master_SOD_Repo_Aggregation
18.
Master_SOD_Repo_Aggregation
19.
Master_SOD_Repo_Aggregation
20.
Master_SOD_Repo_Aggregation
21.
Master_SOD_Repo_Aggregation
22.
Master_SOD_Repo_Aggregation
23.
Master_SOD_Repo_Aggregation
24.
Master_SOD_Repo_Aggregation
25.
Master_SOD_Loan_Trade_Count
Master_SOD_Loan_Trade_Count
26.
Master_SOD_Loan_Trade_Count
26.
Master_SOD_Loan_Trade_Count
25.
Master_SOD_Repo_Trade_Count
25.
Master_SOD_Repo_Trade_Count
26.
Master_SOD_Repo_Trade_Count
26.
Master_SOD_Repo_Trade_Count
27.
Master_IntraDay_New_Loan_Aggregation
28
Master_IntraDay_New_Loan_Aggregation
29
Master_IntraDay_New_Loan_Aggregation
30
Master_IntraDay_New_Loan_Aggregation
31
Master_IntraDay_New_Loan_Aggregation
32
Master_IntraDay_New_Loan_Aggregation
33
Master_IntraDay_Update_Loan_Aggregat
40.
Master_IntraDay_Update_Loan_Aggregat
40.
Master_IntraDay_Update_LOan_Aggregat
34.
Master_IntraDay_New_Repo_Aggregatio
35.
Master_IntraDay_New_Repo_Aggregatio
36.
Master_IntraDay_New_Repo_Aggregatio
37.
Master_IntraDay_New_Repo_Aggregatio
38.
Master_IntraDay_New_Repo_Aggregatio
39.
Master_IntraDay_New_Repo_Aggregatio
40.
Master_IntraDay_Update_Repo_Aggregat
40.
Master_IntraDay_Update_Repo_Aggregat
40.
Master_IntraDay_Update_Repo_Aggregat
41
MasterEOD_New_Loan_Aggregation
42
Master_EOD_Update_Loan_Aggregation
40.
Master_EOD_Update_Loan_Aggregation
40.
Master_EOD_Update_Loan_Aggregation
43
Master_EOD_New_Repo_Aggregation
44
Master_EOD_Update_Repo_Aggregation
40.
Master_EOD_Update_Repo_Aggregation
40.
Master_EOD_Update_Repo_Aggregation
46
Contract_SOD_Loan_Aggregation
47
Contract_SOD_Loan_Aggregation
48
Contract_SOD_Loan_Aggregation
49
Contract_SOD_Loan_Aggregation
50
Contract_SOD_Loan_Aggregation
51
Contract_SOD_Loan_Aggregation
52
Contract_SOD_Loan_Aggregation
53
Contract_SOD_Loan_Aggregation
54
Contract_SOD_Loan_Aggregation
55
Contract_SOD_Loan_Aggregation
56
Contract_SOD_Loan_Aggregation
57
Contract_SOD_Repo_Aggregation
58
Contract_SOD_Repo_Aggregation
59
Contract_SOD_Repo_Aggregation
60
Contract_SOD_Repo_Aggregation
61
Contract_SOD_Repo_Aggregation
62
Contract_SOD_Repo_Aggregation
63
Contract_SOD_Repo_Aggregation
64
Contract_SOD_Repo_Aggregation
65
Contract_SOD_Repo_Aggregation
66
Contract_SOD_Repo_Aggregation
67
Contract_SOD_Repo_Aggregation
68
Contract_SOD_Repo_Aggregation
69
Contract_SOD_Loan_Trade_Count
69
Contract_SOD_Loan_Trade_Count
70
Contract_SOD_Loan_Trade_Count
70
Contract_SOD_Loan_Trade_Count
71
Contract_SOD_Repo_Trade_Count
71
Contract_SOD_Repo_Trade_Count
72
Contract_SOD_Repo_Trade_Count
72
Contract_SOD_Repo_Trade_Count
73
Contract_IntraDay_New_Loan_Aggregati
74
Contract_IntraDay_New_Loan_Aggregati
75
Contract_IntraDay_New_Loan_Aggregati
76
Contract_IntraDay_New_Loan_Aggregati
77
Contract_IntraDay_New_Loan_Aggregati
78
Contract_IntraDay_New_Loan_Aggregati
79
Contract_IntraDay_Update_Loan_Aggreg
40.
Contract_IntraDay_Update_Loan_Aggreg
40.
Contract_IntraDay_Update_LOan_Aggreg
80
Contract_IntraDay_New_Repo_Aggregati
81
Contract_IntraDay_New_Repo_Aggregati
82
Contract_IntraDay_New_Repo_Aggregati
83
Contract_IntraDay_New_Repo_Aggregati
84
Contract_IntraDay_New_Repo_Aggregati
85
Contract_IntraDay_New_Repo_Aggregati
86
Contract_IntraDay_Update_Repo_Aggreg
40.
Contract_IntraDay_Update_Repo_Aggreg
40.
Contract_IntraDay_Update_Repo_Aggreg
87
Contract_EOD_New_Loan_Aggregation
88
Contract_EOD_Update_Loan_Aggregatio
40.
Contract_EOD_Update_Loan_Aggregatio
40.
Contract_EOD_Update_Loan_Aggregatio
89
Contract_EOD_New_Repo_Aggregation
90
Contract_EOD_Update_Repo_Aggregatio
40.
Contract_EOD_Update_Repo_Aggregatio
40.
Contract_EOD_Update_Repo_Aggregatio
91
Client_SOD_Loan_Aggregation
92
Client_SOD_Loan_Aggregation
93
Client_SOD_Loan_Aggregation
94
Client_SOD_Loan_Aggregation
95
Client_SOD_Loan_Aggregation
96
Client_SOD_Loan_Aggregation
97
Client_SOD_Loan_Aggregation
98
Client_SOD_Loan_Aggregation
99
Client_SOD_Loan_Aggregation
100
Client_SOD_Loan_Aggregation
101
Client_SOD_Loan_Aggregation
102
Client_SOD_Loan_Aggregation
103
Client_SOD_Repo_Aggregation
104
Client_SOD_Repo_Aggregation
105
Client_SOD_Repo_Aggregation
106
Client_SOD_Repo_Aggregation
107
Client_SOD_Repo_Aggregation
108
Client_SOD_Repo_Aggregation
109
Client_SOD_Repo_Aggregation
110
Client_SOD_Repo_Aggregation
111
Client_SOD_Repo_Aggregation
112
Client_SOD_Repo_Aggregation
113
Client_SOD_Repo_Aggregation
114
Client_SOD_Repo_Aggregation
115
Client_SOD_Loan_Trade_Count
115
Client_SOD_Loan_Trade_Count
116
Client_SOD_Loan_Trade_Count
116
Client_SOD_Loan_Trade_Count
117
Client_SOD_Repo_Trade_Count
Client_SOD_Repo_Trade_Count
118
Client_SOD_Repo_Trade_Count
Client_SOD_Repo_Trade_Count
119
Client_IntraDay_New_Loan_Aggregation
120
Client_IntraDay_New_Loan_Aggregation
121
Client_IntraDay_New_Loan_Aggregation
122
Client_IntraDay_New_Loan_Aggregation
123
Client_IntraDay_New_Loan_Aggregation
124
Client_IntraDay_New_Loan_Aggregation
125
Client_IntraDay_Update_Loan_Aggregati
40.
Client_IntraDay_Update_Loan_Aggregati
40.
Client_IntraDay_Update_LOan_Aggregati
126
Client_IntraDay_New_Repo_Aggregation
127
Client_IntraDay_New_Repo_Aggregation
128
Client_IntraDay_New_Repo_Aggregation
129
Client_IntraDay_New_Repo_Aggregation
130
Client_IntraDay_New_Repo_Aggregation
131
Client_IntraDay_New_Repo_Aggregation
132
Client_IntraDay_Update_Repo_Aggregati
40.
Client_IntraDay_Update_Repo_Aggregati
40.
Client_IntraDay_Update_Repo_Aggregati
133.00 Client_EOD_New_Loan_Aggregation
134
Client_EOD_Update_Loan_Aggregation
0.00 Client_EOD_Update_Loan_Aggregation
40.
Client_EOD_Update_Loan_Aggregation
135
Client_EOD_New_Repo_Aggregation
136
Client_EOD_Update_Repo_Aggregation
40.
Client_EOD_Update_Repo_Aggregation
40.
Client_EOD_Update_Repo_Aggregation
TestCase No
Ma
Master_SOD_Loan_1.0
Master_SOD_Loan_1.1
Master_SOD_Loan_1.2
Master_SOD_Loan_1.3
Master_SOD_Loan_1.4
Master_SOD_Loan_1.5
Master_SOD_Loan_1.6
Master_SOD_Loan_1.7
Master_SOD_Loan_1.8
Master_SOD_Loan_1.9
Master_SOD_Loan_1.10
Master_SOD_Loan_1.11
Master_SOD_Repo_1.0
Master_SOD_Repo_1.1
Master_SOD_Repo_1.2
Master_SOD_Repo_1.3
Master_SOD_Repo_1.4
Master_SOD_Repo_1.5
Master_SOD_Repo_1.6
Master_SOD_Repo_1.7
Master_SOD_Repo_1.8
Master_SOD_Repo_1.9
Master_SOD_Repo_1.10
Master_SOD_Repo_1.11
Master_SOD_Count1.0
Master_SOD_Count1.1
Master_Current_Count1.0
Master_Current_Count1.1
Master_SOD_Count1.0
Master_SOD_Count1.1
Master_Current_Count1.0
Master_Current_Count1.1
Master_IntraDay_Loan_Add_1.0
Master_IntraDay_Loan_Add_1.1
Master_IntraDay_Loan_Add_1.2
Master_IntraDay_Loan_Add_1.3
Master_IntraDay_Loan_Add_1.4
Master_IntraDay_Loan_Add_1.5
Master_IntraDay_Loan_Update_1.0
Master_IntraDay_Loan_Update_1.1
Master_IntraDay_Loan_Update_1.2
Master_IntraDay_Repo_Add_1.0
Master_IntraDay_Repo_Add_1.1
Master_IntraDay_Repo_Add_1.2
Master_IntraDay_Repo_Add_1.3
Master_IntraDay_Repo_Add_1.4
Master_IntraDay_Repo_Add_1.5
Master_IntraDay_Repo_Update_1.
Master_IntraDay_Repo_Update_1.1
Master_IntraDay_Repo_Update_1.2
Master_EOD_Loan_Update_1.0
Master_EOD_Loan_Update_1.0
Master_EOD_Loan_Update_1.1
Master_EOD_Loan_Update_1.2
Master_EOD_Repo_Update_1.0
Master_EOD_Repo_Update_1.0
Master_EOD_Repo_Update_1.1
Master_EOD_Repo_Update_1.2
Contr
Contract_SOD_Loan_1.1
Contract_SOD_Loan_1.2
Contract_SOD_Loan_1.3
Contract_SOD_Loan_1.4
Contract_SOD_Loan_1.5
Contract_SOD_Loan_1.6
Contract_SOD_Loan_1.7
Contract_SOD_Loan_1.8
Contract_SOD_Loan_1.9
Contract_SOD_Loan_1.10
Contract_SOD_Loan_1.11
Contract_SOD_Repo_1.0
Contract_SOD_Repo_1.1
Contract_SOD_Repo_1.2
Contract_SOD_Repo_1.3
Contract_SOD_Repo_1.4
Contract_SOD_Repo_1.5
Contract_SOD_Repo_1.6
Contract_SOD_Repo_1.7
Contract_SOD_Repo_1.8
Contract_SOD_Repo_1.9
Contract_SOD_Repo_1.10
Contract_SOD_Repo_1.11
Contract_SOD_Count1.0
Contract_SOD_Count1.1
Contract_Current_Count1.2
Contract_Current_Count1.3
Contract_SOD_Count1.0
Contract_SOD_Count1.1
Contract_Current_Count1.2
Contract_Current_Count1.3
Contrac
Contract_IntraDay_Loan_Add_1.0
Contract_IntraDay_Loan_Add_1.1
Contract_IntraDay_Loan_Add_1.2
Contract_IntraDay_Loan_Add_1.3
Contract_IntraDay_Loan_Add_1.4
Contract_IntraDay_Loan_Add_1.5
Contract_IntraDay_Loan_Update_1.0
Contract_IntraDay_Loan_Update_1.1
Contract_IntraDay_Loan_Update_1.2
Contract_IntraDay_Repo_Add_1.0
Contract_IntraDay_Repo_Add_1.1
Contract_IntraDay_Repo_Add_1.2
Contract_IntraDay_Repo_Add_1.3
Contract_IntraDay_Repo_Add_1.4
Contract_IntraDay_Repo_Add_1.5
Contract_IntraDay_Repo_Update_1.0
Contract_IntraDay_Repo_Update_1.1
Contract_IntraDay_Repo_Update_1.2
Cont
Contract_EOD_Loan_Update_1.0
Contract_EOD_Loan_Update_1.0
Contract_EOD_Loan_Update_1.1
Contract_EOD_Loan_Update_1.2
Contract_EOD_Repo_Update_1.0
Contract_EOD_Repo_Update_1.0
Contract_EOD_Repo_Update_1.1
Contract_EOD_Repo_Update_1.2
Clie
Client_SOD_Loan_1.0
Client_SOD_Loan_1.1
Client_SOD_Loan_1.2
Client_SOD_Loan_1.3
Client_SOD_Loan_1.4
Client_SOD_Loan_1.5
Client_SOD_Loan_1.6
Client_SOD_Loan_1.7
Client_SOD_Loan_1.8
Client_SOD_Loan_1.9
Client_SOD_Loan_1.10
Client_SOD_Loan_1.11
Client_SOD_Repo_1.0
Client_SOD_Repo_1.1
Client_SOD_Repo_1.2
Client_SOD_Repo_1.3
Client_SOD_Repo_1.4
Client_SOD_Repo_1.5
Client_SOD_Repo_1.6
Client_SOD_Repo_1.7
Client_SOD_Repo_1.8
Client_SOD_Repo_1.9
Client_SOD_Repo_1.10
Client_SOD_Repo_1.11
Client_SOD_Count1.0
Client_SOD_Count1.1
Client_Current_Count1.2
Client_Current_Count1.3
Client_SOD_Count1.0
Client_SOD_Count1.1
Client_Current_Count1.2
Client_Current_Count1.3
Client
Client_IntraDay_Loan_Add_1.0
Client_IntraDay_Loan_Add_1.1
Client_IntraDay_Loan_Add_1.2
Client_IntraDay_Loan_Add_1.3
Client_IntraDay_Loan_Add_1.4
Client_IntraDay_Loan_Add_1.5
Client_IntraDay_Loan_Update_1.0
Client_IntraDay_Loan_Update_1.1
Client_IntraDay_Loan_Update_1.2
Client_IntraDay_Repo_Add_1.0
Client_IntraDay_Repo_Add_1.1
Client_IntraDay_Repo_Add_1.2
Client_IntraDay_Repo_Add_1.3
Client_IntraDay_Repo_Add_1.4
Client_IntraDay_Repo_Add_1.5
Client_IntraDay_Repo_Update_1.0
Client_IntraDay_Repo_Update_1.1
Client_IntraDay_Repo_Update_1.2
Clie
Client_EOD_Loan_Update_1.0
Client_EOD_Loan_Update_1.0
Contract_EOD_Loan_Update_1.1
Contract_EOD_Loan_Update_1.2
Client_EOD_Repo_Update_1.0
Client_EOD_Repo_Update_1.0
Contract_EOD_Repo_Update_1.2
Contract_EOD_Repo_Update_1.3
Testing Execution
Master SOD
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
SOD_total_indem_qty > 0 , then SOD_INDEM_INCREMENT = "Y" 4.If as_of_date = business date , grou
them , Insert a record in trade_aggregate
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", ="Loan" , Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund
If SOD_total_indem_qty < 0 , then SOD_INDEM_INCREMENT = "N" 4.If as_of_date = business date ,
group them , Insert a record in trade_aggregate
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_total_indem_qty > 0 , then Current_INDEM_INCREMENT = "Y" 4.If as_of_date = business date
group them , Insert a record in trade_aggregate
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_total_indem_qty < 0 , then Current_INDEM_INCREMENT = "N" 4.If as_of_date = business date
group them , Insert a record in trade_aggregate
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
SOD_total_indem_qty > 0 , then SOD_INDEM_INCREMENT = "Y" 4. If there are no term dates , group
them , Insert a record in trade_aggregate with next business date for the term date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund d 3. If
SOD_total_indem_qty < 0 , then SOD_INDEM_INCREMENT = "N" 4. If there are no term dates , group
them , Insert a record in trade_aggregate with next business date for the term date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_total_indem_qty > 0 , then Current_INDEM_INCREMENT = "Y" 4. If there are no term dates ,
group them , Insert a record in trade_aggregate with next business date for the term date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund d 3. If
Current_total_indem_qty < 0 , then current_INDEM_INCREMENT = "N" 4. If there are no term dates ,
group them , Insert a record in trade_aggregate with next business date for the term date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
SOD_total_indem_qty > 0 , then SOD_INDEM_INCREMENT = "Y" 4. If there are past dated , group the
, Insert a record in trade_aggregate with with next business date of the past business date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
SOD_total_indem_qty < 0 , then SOD_INDEM_INCREMENT = "N" 4. If there are past dated , group
them , Insert a record in trade_aggregate with with next business date of the past business date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
Current_total_indem_qty > 0 , then Current_INDEM_INCREMENT = "Y" 4. If there are past dated ,
group them , Insert a record in trade_aggregate with with next business date of the past business dat
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
Current_total_indem_qty < 0 , then Current_INDEM_INCREMENT = "N" 4. If there are past dated ,
group them , Insert a record in trade_aggregate with with next business date of the past business dat
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
SOD_total_indem_qty > 0 , then SOD_INDEM_INCREMENT = "Y" 4.If as_of_date = business date , grou
them , Insert a record in trade_aggregate
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
SOD_total_indem_qty < 0 , then SOD_INDEM_INCREMENT = "N" 4.If as_of_date = business date , grou
them , Insert a record in trade_aggregate
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_total_indem_qty > 0 , then Current_INDEM_INCREMENT = "Y" 4.If as_of_date = business date
group them , Insert a record in trade_aggregate
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_total_indem_qty < 0 , then Current_INDEM_INCREMENT = "N" 4.If as_of_date = business date
group them , Insert a record in trade_aggregate
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
SOD_total_indem_qty > 0 , then SOD_INDEM_INCREMENT = "Y" 4. If there are no term dates , group
them , Insert a record in trade_aggregate with next business date for the term date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund d 3. If
SOD_total_indem_qty < 0 , then SOD_INDEM_INCREMENT = "N" 4. If there are no term dates , group
them , Insert a record in trade_aggregate with next business date for the term date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_total_indem_qty > 0 , then Current_INDEM_INCREMENT = "Y" 4. If there are no term dates ,
group them , Insert a record in trade_aggregate with next business date for the term date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund d 3. If
Current_total_indem_qty < 0 , then current_INDEM_INCREMENT = "N" 4. If there are no term dates ,
group them , Insert a record in trade_aggregate with next business date for the term date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
SOD_total_indem_qty > 0 , then SOD_INDEM_INCREMENT = "Y" 4. If there are past dated , group the
, Insert a record in trade_aggregate with with next business date of the past business date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
SOD_total_indem_qty < 0 , then SOD_INDEM_INCREMENT = "N" 4. If there are past dated , group
them , Insert a record in trade_aggregate with with next business date of the past business date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
Current_total_indem_qty > 0 , then Current_INDEM_INCREMENT = "Y" 4. If there are past dated ,
group them , Insert a record in trade_aggregate with with next business date of the past business dat
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
Current_total_indem_qty < 0 , then Current_INDEM_INCREMENT = "N" 4. If there are past dated ,
group them , Insert a record in trade_aggregate with with next business date of the past business dat
1.Get the trade count of SOD_INDEM_INCREMENT = "Y" from trade_aggregate. And insert a new recor
for the this in Agency_netting_set_counts
1.Get the trade count of SOD_INDEM_INCREMENT = "Y" from trade_aggregate. If already a record
presents in Agency_Netting_set_count , update the record with new Trade count
1.Get the trade count of Current_INDEM_INCREMENT = "Y" from trade_aggregate. And insert a new
record for the this in Agency_netting_set_counts
1.Get the trade count of Current_INDEM_INCREMENT = "Y" from trade_aggregate. If already a record
presents in Agency_Netting_set_count , update the record with new Trade count
1.Get the trade count of SOD_INDEM_INCREMENT = "Y " from trade_aggregate. And insert a new reco
for the this in Agency_netting_set_counts
1.Get the trade count of SOD_INDEM_INCREMENT = "Y" from trade_aggregate. . If already a record
presents in Agency_Netting_set_count , update the record with new Trade count
1.Get the trade count of Current_INDEM_INCREMENT = "Y" from trade_aggregate. And insert a new
record for the this in Agency_netting_set_counts
Master_Intraday
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_indem_qty > 0 , then Increment the Trade count 4.If as_of_date = business date , group them
Insert a record in trade_aggregate
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_indem_qty = 0 , group them , Insert a record in trade_aggregate
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_indem_qty > 0 , then Increment the Trade count 4. If there are no term dates , group them ,
Insert a record in trade_aggregate with next business date for the term date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_indem_qty = 0 , 4. If there are no term dates , group them , Insert a record in
trade_aggregate with next business date for the term date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_indem_qty > 0 , then Increment the Trade count 4. If there are past dated , group them ,
Insert a record in trade_aggregate with with next business date of the past business date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_indem_qty = 0 , 4. If there are past dated , group them , Insert a record in trade_aggregate
with with next business date of the past business date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_indem_qty = 0 , no updates , Increment the trade count if > 0 , 4. If there are past dated o
No term dates or or as_of_date = Business dates , group them based on condition ,Update the Recor
if already exisits Trade_Aggregate , Agency_netting_Set_CountsTrade_Aggregate ,
Agency_netting_Set_Counts
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_indem_qty > 0 , then Increment the Trade count 4.If as_of_date = business date , group them
Insert a record in trade_aggregate
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_indem_qty = 0 , group them , Insert a record in trade_aggregate
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_indem_qty > 0 , then Increment the Trade count 4. If there are no term dates , group them ,
Insert a record in trade_aggregate with next business date for the term date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_indem_qty = 0 , 4. If there are no term dates , group them , Insert a record in
trade_aggregate with next business date for the term date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_indem_qty > 0 , then Increment the Trade count 4. If there are past dated , group them ,
Insert a record in trade_aggregate with with next business date of the past business date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_indem_qty = 0 , 4. If there are past dated , group them , Insert a record in trade_aggregate
with with next business date of the past business date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_indem_qty = 0 , no updates , Increment the trade count if > 0 , 4. If there are past dated o
No term dates or or as_of_date = Business dates , group them based on condition , Update the Reco
if already exisits Trade_Aggregate , Agency_netting_Set_CountsTrade_Aggregate ,
Agency_netting_Set_Counts
Master_EOD
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_indem_qty = 0 , no updates , Increment the trade count if > 0 , 4. If there are past dated o
No term dates or or as_of_date = Business dates , group them based on condition , Insert a record in
trade_aggregate with with next business date of the past business date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_indem_qty = 0 , no updates , Increment the trade count if > 0 , 4. If there are past dated o
No term dates or or as_of_date = Business dates , group them based on condition , Update the Reco
if already exisits Trade_Aggregate , Agency_netting_Set_Countsin Trade_Aggregate ,
Agency_netting_Set_Counts
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_indem_qty = 0 , no updates , Increment the trade count if > 0 , 4. If there are past dated o
No term dates or or as_of_date = Business dates , group them based on condition , Insert a record in
trade_aggregate with with next business date of the past business date
1. Get the Master type Netting data from Netting_set , where Netting Set type = "MAS", CTPY_ENTITY_
matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd =
"Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
current_indem_qty = 0 , no updates , Increment the trade count if > 0 , 4. If there are past dated o
No term dates or or as_of_date = Business dates , group them based on condition , Update the Reco
if already exisits Trade_Aggregate , Agency_netting_Set_CountsTrade_Aggregate ,
Agency_netting_Set_Counts
Contract_SOD
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If SOD_total_indem_qty < 0 , then SOD_INDEM_INCREMENT = "N" 4.If as_of_date =
business date , group them , Insert a record in trade_aggregate
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_total_indem_qty > 0 , then Current_INDEM_INCREMENT = "Y" 4.If as_of_date =
business date , group them , Insert a record in trade_aggregate
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_total_indem_qty < 0 , then Current_INDEM_INCREMENT = "N" 4.If as_of_date =
business date , group them , Insert a record in trade_aggregate
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If SOD_total_indem_qty > 0 , then SOD_INDEM_INCREMENT = "Y" 4. If there are no term
dates , group them , Insert a record in trade_aggregate with next business date for the term date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund d 3. If SOD_total_indem_qty < 0 , then SOD_INDEM_INCREMENT = "N" 4. If there are no
term dates , group them , Insert a record in trade_aggregate with next business date for the term
date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_total_indem_qty > 0 , then Current_INDEM_INCREMENT = "Y" 4. If there are n
term dates , group them , Insert a record in trade_aggregate with next business date for the term
date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund d 3. If Current_total_indem_qty < 0 , then current_INDEM_INCREMENT = "N" 4. If there ar
no term dates , group them , Insert a record in trade_aggregate with next business date for the term
date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If SOD_total_indem_qty > 0 , then SOD_INDEM_INCREMENT = "Y" 4. If there are past
dated , group them , Insert a record in trade_aggregate with with next business date of the past
business date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If SOD_total_indem_qty < 0 , then SOD_INDEM_INCREMENT = "N" 4. If there are past
dated , group them , Insert a record in trade_aggregate with with next business date of the past
business date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If Current_total_indem_qty > 0 , then Current_INDEM_INCREMENT = "Y" 4. If there are
past dated , group them , Insert a record in trade_aggregate with with next business date of the pa
business date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If Current_total_indem_qty < 0 , then Current_INDEM_INCREMENT = "N" 4. If there are
past dated , group them , Insert a record in trade_aggregate with with next business date of the pa
business date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If SOD_total_indem_qty > 0 , then SOD_INDEM_INCREMENT = "Y" 4.If as_of_date =
business date , group them , Insert a record in trade_aggregate
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If SOD_total_indem_qty < 0 , then SOD_INDEM_INCREMENT = "N" 4.If as_of_date =
business date , group them , Insert a record in trade_aggregate
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_total_indem_qty > 0 , then Current_INDEM_INCREMENT = "Y" 4.If as_of_date =
business date , group them , Insert a record in trade_aggregate
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_total_indem_qty < 0 , then Current_INDEM_INCREMENT = "N" 4.If as_of_date =
business date , group them , Insert a record in trade_aggregate
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If SOD_total_indem_qty > 0 , then SOD_INDEM_INCREMENT = "Y" 4. If there are no term
dates , group them , Insert a record in trade_aggregate with next business date for the term date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund d 3. If SOD_total_indem_qty < 0 , then SOD_INDEM_INCREMENT = "N" 4. If there are no
term dates , group them , Insert a record in trade_aggregate with next business date for the term
date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_total_indem_qty > 0 , then Current_INDEM_INCREMENT = "Y" 4. If there are n
term dates , group them , Insert a record in trade_aggregate with next business date for the term
date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund d 3. If Current_total_indem_qty < 0 , then current_INDEM_INCREMENT = "N" 4. If there ar
no term dates , group them , Insert a record in trade_aggregate with next business date for the term
date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If SOD_total_indem_qty > 0 , then SOD_INDEM_INCREMENT = "Y" 4. If there are past
dated , group them , Insert a record in trade_aggregate with with next business date of the past
business date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If SOD_total_indem_qty < 0 , then SOD_INDEM_INCREMENT = "N" 4. If there are past
dated , group them , Insert a record in trade_aggregate with with next business date of the past
business date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If Current_total_indem_qty > 0 , then Current_INDEM_INCREMENT = "Y" 4. If there are
past dated , group them , Insert a record in trade_aggregate with with next business date of the pa
business date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If Current_total_indem_qty < 0 , then Current_INDEM_INCREMENT = "N" 4. If there are
past dated , group them , Insert a record in trade_aggregate with with next business date of the pa
business date
1.Get the trade count of SOD_INDEM_INCREMENT = "Y" from trade_aggregate. And insert a new recor
for the this in Agency_netting_set_counts
1.Get the trade count of SOD_INDEM_INCREMENT = "Y" from trade_aggregate. If already a record exis
for the record , Update the trade count
1.Get the trade count of Current_INDEM_INCREMENT = "Y" from trade_aggregate. And insert a new
record for the this in Agency_netting_set_counts
1.Get the trade count of Current_INDEM_INCREMENT = "Y" from trade_aggregate.. If already a record
exists for the record , Update the trade count
1.Get the trade count of SOD_INDEM_INCREMENT = "Y" from trade_aggregate. And insert a new recor
for the this in Agency_netting_set_counts
1.Get the trade count of SOD_INDEM_INCREMENT = "Y" from trade_aggregate. If already a record exis
for the record , Update the trade count
1.Get the trade count of Current_INDEM_INCREMENT = "Y" from trade_aggregate. And insert a new
record for the this in Agency_netting_set_counts
1.Get the trade count of Current_INDEM_INCREMENT = "Y' from trade_aggregate. If already a record
exists for the record , Update the trade count
Contract_Intraday
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty > 0 , then Increment the Trade count 4.If as_of_date = business da
, group them , Insert a record in trade_aggregate
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , group them , Insert a record in trade_aggregate
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty > 0 , then Increment the Trade count 4. If there are no term dates
group them , Insert a record in trade_aggregate with next business date for the term date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , 4. If there are no term dates , group them , Insert a record
trade_aggregate with next business date for the term date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty > 0 , then Increment the Trade count 4. If there are past dated
group them , Insert a record in trade_aggregate with with next business date of the past business dat
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , 4. If there are past dated , group them , Insert a record in
trade_aggregate with with next business date of the past business date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , no updates , Increment the trade count if > 0 , 4. If there a
past dated or No term dates or or as_of_date = Business dates , group them based on condition
,Update the Record if already exisits Trade_Aggregate , Agency_netting_Set_Counts
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty > 0 , then Increment the Trade count 4.If as_of_date = business da
, group them , Insert a record in trade_aggregate
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , group them , Insert a record in trade_aggregate
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty > 0 , then Increment the Trade count 4. If there are no term dates
group them , Insert a record in trade_aggregate with next business date for the term date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , 4. If there are no term dates , group them , Insert a record
trade_aggregate with next business date for the term date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty > 0 , then Increment the Trade count 4. If there are past dated
group them , Insert a record in trade_aggregate with with next business date of the past business dat
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , 4. If there are past dated , group them , Insert a record in
trade_aggregate with with next business date of the past business date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , no updates , Increment the trade count if > 0 , 4. If there a
past dated or No term dates or or as_of_date = Business dates , group them based on condition ,
Update the Record if already exisits Trade_Aggregate , Agency_netting_Set_Counts
Contract_EOD
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , no updates , Increment the trade count if > 0 , 4. If there a
past dated or No term dates or or as_of_date = Business dates , group them based on condition ,
Insert a record in trade_aggregate with with next business date of the past business date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , no updates , Increment the trade count if > 0 , 4. If there a
past dated or No term dates or or as_of_date = Business dates , group them based on condition ,
Update the Record if already exisits Trade_Aggregate , Agency_netting_Set_Counts
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , no updates , Increment the trade count if > 0 , 4. If there a
past dated or No term dates or or as_of_date = Business dates , group them based on condition ,
Insert a record in trade_aggregate with with next business date of the past business date
1. Get the Contract type Netting data from Netting_set , where Netting Set type = "CON",
CTPY_ENTITY_ID matching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , no updates , Increment the trade count if > 0 , 4. If there a
past dated or No term dates or or as_of_date = Business dates , group them based on condition ,
Update the Record if already exisits Trade_Aggregate , Agency_netting_Set_Counts
Client_SOD
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from tradematching with
dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id , Coll_type_cd = "Loan",
Term_date,quantity, indem_qty, unIndem_qty,Business date from trade, trade_fund 3. If
SOD_total_indem_qty > 0 , then SOD_INDEM_INCREMENT = "Y" 4.If as_of_date = business date , grou
them , Insert a record in trade_aggregate
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If SOD_total_indem_qty < 0 , then SOD_INDEM_INCREMENT = "N" 4.If as_of_date =
business date , group them , Insert a record in trade_aggregate
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_total_indem_qty > 0 , then Current_INDEM_INCREMENT = "Y" 4.If as_of_date =
business date , group them , Insert a record in trade_aggregate
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_total_indem_qty < 0 , then Current_INDEM_INCREMENT = "N" 4.If as_of_date =
business date , group them , Insert a record in trade_aggregate
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If SOD_total_indem_qty > 0 , then SOD_INDEM_INCREMENT = "Y" 4. If there are no term
dates , group them , Insert a record in trade_aggregate with next business date for the term date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund d 3. If SOD_total_indem_qty < 0 , then SOD_INDEM_INCREMENT = "N" 4. If there are no
term dates , group them , Insert a record in trade_aggregate with next business date for the term
date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_total_indem_qty > 0 , then Current_INDEM_INCREMENT = "Y" 4. If there are n
term dates , group them , Insert a record in trade_aggregate with next business date for the term
date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund d 3. If Current_total_indem_qty < 0 , then current_INDEM_INCREMENT = "N" 4. If there ar
no term dates , group them , Insert a record in trade_aggregate with next business date for the term
date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If SOD_total_indem_qty > 0 , then SOD_INDEM_INCREMENT = "Y" 4. If there are past
dated , group them , Insert a record in trade_aggregate with with next business date of the past
business date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If SOD_total_indem_qty < 0 , then SOD_INDEM_INCREMENT = "N" 4. If there are past
dated , group them , Insert a record in trade_aggregate with with next business date of the past
business date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If Current_total_indem_qty > 0 , then Current_INDEM_INCREMENT = "Y" 4. If there are
past dated , group them , Insert a record in trade_aggregate with with next business date of the pa
business date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If Current_total_indem_qty < 0 , then Current_INDEM_INCREMENT = "N" 4. If there are
past dated , group them , Insert a record in trade_aggregate with with next business date of the pa
business date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If SOD_total_indem_qty > 0 , then SOD_INDEM_INCREMENT = "Y" 4.If as_of_date =
business date , group them , Insert a record in trade_aggregate
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If SOD_total_indem_qty < 0 , then SOD_INDEM_INCREMENT = "N" 4.If as_of_date =
business date , group them , Insert a record in trade_aggregate
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_total_indem_qty > 0 , then Current_INDEM_INCREMENT = "Y" 4.If as_of_date =
business date , group them , Insert a record in trade_aggregate
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_total_indem_qty < 0 , then Current_INDEM_INCREMENT = "N" 4.If as_of_date =
business date , group them , Insert a record in trade_aggregate
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If SOD_total_indem_qty > 0 , then SOD_INDEM_INCREMENT = "Y" 4. If there are no term
dates , group them , Insert a record in trade_aggregate with next business date for the term date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund d 3. If SOD_total_indem_qty < 0 , then SOD_INDEM_INCREMENT = "N" 4. If there are no
term dates , group them , Insert a record in trade_aggregate with next business date for the term
date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_total_indem_qty > 0 , then Current_INDEM_INCREMENT = "Y" 4. If there are n
term dates , group them , Insert a record in trade_aggregate with next business date for the term
date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund d 3. If Current_total_indem_qty < 0 , then current_INDEM_INCREMENT = "N" 4. If there ar
no term dates , group them , Insert a record in trade_aggregate with next business date for the term
date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If SOD_total_indem_qty > 0 , then SOD_INDEM_INCREMENT = "Y" 4. If there are past
dated , group them , Insert a record in trade_aggregate with with next business date of the past
business date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If SOD_total_indem_qty < 0 , then SOD_INDEM_INCREMENT = "N" 4. If there are past
dated , group them , Insert a record in trade_aggregate with with next business date of the past
business date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If Current_total_indem_qty > 0 , then Current_INDEM_INCREMENT = "Y" 4. If there are
past dated , group them , Insert a record in trade_aggregate with with next business date of the pa
business date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If Current_total_indem_qty < 0 , then Current_INDEM_INCREMENT = "N" 4. If there are
past dated , group them , Insert a record in trade_aggregate with with next business date of the pa
business date
1.Get the trade count of SOD_INDEM_INCREMENT = "Y" from trade_aggregate. If no records present i
Agency_netting_set_count , insert a new record for the this in Agency_netting_set_counts
1.Get the trade count of SOD_INDEM_INCREMENT = " Y" from trade_aggregate. If records present in
Agency_netting_set_count , update the record for the this in Agency_netting_set_counts
1.Get the trade count of Current_INDEM_INCREMENT = "Y" from trade_aggregate. If no records presen
in Agency_netting_set_count , insert a new record for the this in Agency_netting_set_counts
1.Get the trade count of SOD_INDEM_INCREMENT = " Y" from trade_aggregate. If records present in
Agency_netting_set_count , update the record for the this in Agency_netting_set_counts
1.Get the trade count of SOD_INDEM_INCREMENT = "Y" from trade_aggregate. If no records present in
Agency_netting_set_count , insert a new record for the this in Agency_netting_set_counts
1.Get the trade count of SOD_INDEM_INCREMENT = " Y" from trade_aggregate. If records present in
Agency_netting_set_count , update the record for the this in Agency_netting_set_counts
1.Get the trade count of Current_INDEM_INCREMENT = "Y" from trade_aggregate. If no records prese
in Agency_netting_set_count , insert a new record for the this in Agency_netting_set_counts
1.Get the trade count of Current_INDEM_INCREMENT = "Y" from trade_aggregate. If records present
Agency_netting_set_count , update record for the this in Agency_netting_set_counts
Client_Intraday
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty > 0 , then Increment the Trade count 4.If as_of_date = business da
, group them , Insert a record in trade_aggregate
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , group them , Insert a record in trade_aggregate
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty > 0 , then Increment the Trade count 4. If there are no term dates
group them , Insert a record in trade_aggregate with next business date for the term date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , 4. If there are no term dates , group them , Insert a record
trade_aggregate with next business date for the term date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty > 0 , then Increment the Trade count 4. If there are past dated
group them , Insert a record in trade_aggregate with with next business date of the past business dat
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , 4. If there are past dated , group them , Insert a record in
trade_aggregate with with next business date of the past business date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , no updates , Increment the trade count if > 0 , 4. If there a
past dated or No term dates or or as_of_date = Business dates , group them based on condition
,Update the Record if already exisits Trade_Aggregate , Agency_netting_Set_Counts
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty > 0 , then Increment the Trade count 4.If as_of_date = business da
, group them , Insert a record in trade_aggregate
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , group them , Insert a record in trade_aggregate
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty > 0 , then Increment the Trade count 4. If there are no term dates
group them , Insert a record in trade_aggregate with next business date for the term date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , 4. If there are no term dates , group them , Insert a record
trade_aggregate with next business date for the term date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty > 0 , then Increment the Trade count 4. If there are past dated
group them , Insert a record in trade_aggregate with with next business date of the past business dat
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , 4. If there are past dated , group them , Insert a record in
trade_aggregate with with next business date of the past business date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , no updates , Increment the trade count if > 0 , 4. If there a
past dated or No term dates or or as_of_date = Business dates , group them based on condition ,
Update the Record if already exisits Trade_Aggregate , Agency_netting_Set_Counts
Client_EOD
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , no updates , Increment the trade count if > 0 , 4. If there a
past dated or No term dates or or as_of_date = Business dates , group them based on condition ,
Insert a record in trade_aggregate with with next business date of the past business date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Loan", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , no updates , Increment the trade count if > 0 , 4. If there a
past dated or No term dates or or as_of_date = Business dates , group them based on condition ,
Update the Record if already exisits Trade_Aggregate , Agency_netting_Set_Counts
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , no updates , Increment the trade count if > 0 , 4. If there a
past dated or No term dates or or as_of_date = Business dates , group them based on condition ,
Insert a record in trade_aggregate with with next business date of the past business date
1. Get the Client type Netting data from Netting_set , where Netting Set type = "CLI" and
Client_Entity_idmatching with dml_borrower_id and broker_entity_id from trade 2. Get the Asset Id ,
Coll_type_cd = "Repo", Term_date,quantity, indem_qty, unIndem_qty,Business date from trade,
trade_fund 3. If current_indem_qty = 0 , no updates , Increment the trade count if > 0 , 4. If there a
past dated or No term dates or or as_of_date = Business dates , group them based on condition ,
Update the Record if already exisits Trade_Aggregate , Agency_netting_Set_Counts
Expected Result
Actual Result
Pass/ Fail