1: Package Body pqh_tah_shd as
2: /* $Header: pqtahrhi.pkb 120.2 2005/12/21 11:27:52 hpandya noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' pqh_tah_shd.'; -- Global package name
9: --
10: -- ----------------------------------------------------------------------------
11: -- |---------------------------< constraint_error >---------------------------|
12: -- ----------------------------------------------------------------------------
76: --
77: l_fct_ret := false;
78: Else
79: If (p_approval_history_id
80: = pqh_tah_shd.g_old_rec.approval_history_id and
81: p_transaction_history_id
82: = pqh_tah_shd.g_old_rec.transaction_history_id
83: ) Then
84: --
78: Else
79: If (p_approval_history_id
80: = pqh_tah_shd.g_old_rec.approval_history_id and
81: p_transaction_history_id
82: = pqh_tah_shd.g_old_rec.transaction_history_id
83: ) Then
84: --
85: -- The g_old_rec is current therefore we must
86: -- set the returning function to true
90: --
91: -- Select the current row into g_old_rec
92: --
93: Open C_Sel1;
94: Fetch C_Sel1 Into pqh_tah_shd.g_old_rec;
95: If C_Sel1%notfound Then
96: Close C_Sel1;
97: --
98: -- The primary key is invalid therefore we must error
156: ,p_argument_value => p_transaction_history_id
157: );
158: --
159: Open C_Sel1;
160: Fetch C_Sel1 Into pqh_tah_shd.g_old_rec;
161: If C_Sel1%notfound then
162: Close C_Sel1;
163: --
164: -- The primary key is invalid therefore we must error
227: Return(l_rec);
228: --
229: End convert_args;
230: --
231: end pqh_tah_shd;