DBA Data[Home] [Help]

APPS.PQH_TCD_BUS dependencies on PQH_TCD_BUS

Line 1: Package Body pqh_tcd_bus as

1: Package Body pqh_tcd_bus as
2: /* $Header: pqtcdrhi.pkb 115.0 2003/05/11 13:05:52 svorugan noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

Line 8: g_package varchar2(33) := ' pqh_tcd_bus.'; -- Global package name

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' pqh_tcd_bus.'; -- Global package name
9: --
10: -- The following two global variables are only to be
11: -- used by the return_legislation_code function.
12: --

Line 144: if (( nvl(pqh_tcd_bus.g_document_id, hr_api.g_number)

140: ,p_argument => 'transaction_category_id'
141: ,p_argument_value => p_transaction_category_id
142: );
143: --
144: if (( nvl(pqh_tcd_bus.g_document_id, hr_api.g_number)
145: = p_document_id)
146: and ( nvl(pqh_tcd_bus.g_transaction_category_id, hr_api.g_number)
147: = p_transaction_category_id)) then
148: --

Line 146: and ( nvl(pqh_tcd_bus.g_transaction_category_id, hr_api.g_number)

142: );
143: --
144: if (( nvl(pqh_tcd_bus.g_document_id, hr_api.g_number)
145: = p_document_id)
146: and ( nvl(pqh_tcd_bus.g_transaction_category_id, hr_api.g_number)
147: = p_transaction_category_id)) then
148: --
149: -- The legislation code has already been found with a previous
150: -- call to this function. Just return the value in the global

Line 153: l_legislation_code := pqh_tcd_bus.g_legislation_code;

149: -- The legislation code has already been found with a previous
150: -- call to this function. Just return the value in the global
151: -- variable.
152: --
153: l_legislation_code := pqh_tcd_bus.g_legislation_code;
154: hr_utility.set_location(l_proc, 20);
155: else
156: --
157: -- The ID is different to the last call to this function

Line 177: pqh_tcd_bus.g_document_id := p_document_id;

173: -- Set the global variables so the values are
174: -- available for the next call to this function.
175: --
176: close csr_leg_code;
177: pqh_tcd_bus.g_document_id := p_document_id;
178: pqh_tcd_bus.g_transaction_category_id := p_transaction_category_id;
179: pqh_tcd_bus.g_legislation_code := l_legislation_code;
180: end if;
181: hr_utility.set_location(' Leaving:'|| l_proc, 40);

Line 178: pqh_tcd_bus.g_transaction_category_id := p_transaction_category_id;

174: -- available for the next call to this function.
175: --
176: close csr_leg_code;
177: pqh_tcd_bus.g_document_id := p_document_id;
178: pqh_tcd_bus.g_transaction_category_id := p_transaction_category_id;
179: pqh_tcd_bus.g_legislation_code := l_legislation_code;
180: end if;
181: hr_utility.set_location(' Leaving:'|| l_proc, 40);
182: return l_legislation_code;

Line 179: pqh_tcd_bus.g_legislation_code := l_legislation_code;

175: --
176: close csr_leg_code;
177: pqh_tcd_bus.g_document_id := p_document_id;
178: pqh_tcd_bus.g_transaction_category_id := p_transaction_category_id;
179: pqh_tcd_bus.g_legislation_code := l_legislation_code;
180: end if;
181: hr_utility.set_location(' Leaving:'|| l_proc, 40);
182: return l_legislation_code;
183: end return_legislation_code;

Line 308: end pqh_tcd_bus;

304: --
305: hr_utility.set_location(' Leaving:'||l_proc, 10);
306: End delete_validate;
307: --
308: end pqh_tcd_bus;