DBA Data[Home] [Help]

APPS.OTA_LPC_BUS dependencies on OTA_LPC_BUS

Line 1: PACKAGE BODY OTA_LPC_BUS as

1: PACKAGE BODY OTA_LPC_BUS as
2: /* $Header: otlpcrhi.pkb 120.0 2005/05/29 07:20 appldev noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

Line 9: g_package varchar2(33) := ' ota_lpc_bus.'; -- Global package name

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

Line 123: if ( nvl(ota_lpc_bus.g_learning_path_section_id, hr_api.g_number)

119: ,p_argument => 'learning_path_section_id'
120: ,p_argument_value => p_learning_path_section_id
121: );
122: --
123: if ( nvl(ota_lpc_bus.g_learning_path_section_id, hr_api.g_number)
124: = p_learning_path_section_id) then
125: --
126: -- The legislation code has already been found with a previous
127: -- call to this function. Just return the value in the global

Line 130: l_legislation_code := ota_lpc_bus.g_legislation_code;

126: -- The legislation code has already been found with a previous
127: -- call to this function. Just return the value in the global
128: -- variable.
129: --
130: l_legislation_code := ota_lpc_bus.g_legislation_code;
131: hr_utility.set_location(l_proc, 20);
132: else
133: --
134: -- The ID is different to the last call to this function

Line 154: ota_lpc_bus.g_learning_path_section_id := p_learning_path_section_id;

150: -- Set the global variables so the values are
151: -- available for the next call to this function.
152: --
153: close csr_leg_code;
154: ota_lpc_bus.g_learning_path_section_id := p_learning_path_section_id;
155: ota_lpc_bus.g_legislation_code := l_legislation_code;
156: end if;
157: hr_utility.set_location(' Leaving:'|| l_proc, 40);
158: return l_legislation_code;

Line 155: ota_lpc_bus.g_legislation_code := l_legislation_code;

151: -- available for the next call to this function.
152: --
153: close csr_leg_code;
154: ota_lpc_bus.g_learning_path_section_id := p_learning_path_section_id;
155: ota_lpc_bus.g_legislation_code := l_legislation_code;
156: end if;
157: hr_utility.set_location(' Leaving:'|| l_proc, 40);
158: return l_legislation_code;
159: end return_legislation_code;

Line 749: ota_lpc_bus.chk_df(p_rec);

745: p_learning_path_id => p_rec.learning_path_id) ;
746:
747: END IF;
748: IF is_catalog_lp(p_rec.learning_path_id) THEN
749: ota_lpc_bus.chk_df(p_rec);
750: END IF;
751: --
752: hr_utility.set_location(' Leaving:'||l_proc, 10);
753: End insert_validate;

Line 820: ota_lpc_bus.chk_df(p_rec);

816: IF l_completion_type_changed OR l_no_of_courses_changed THEN
817: chk_if_lme_exists(p_learning_path_section_id => p_rec.learning_path_section_id);
818: END IF;
819: IF is_catalog_lp(p_rec.learning_path_id) THEN
820: ota_lpc_bus.chk_df(p_rec);
821: END IF;
822: --
823: hr_utility.set_location(' Leaving:'||l_proc, 10);
824: End update_validate;

Line 849: end ota_lpc_bus;

845: hr_utility.set_location(' Leaving:'||l_proc, 10);
846: End delete_validate;
847: --
848:
849: end ota_lpc_bus;