DBA Data[Home] [Help]

APPS.HXC_TBB_BUS dependencies on HR_API

Line 70: if nvl(p_rec.type, hr_api.g_varchar2) <>

66: fnd_message.set_token('STEP ', '5');
67: fnd_message.raise_error;
68: end if;
69:
70: if nvl(p_rec.type, hr_api.g_varchar2) <>
71: nvl(hxc_tbb_shd.g_old_rec.type, hr_api.g_varchar2)
72: then
73: l_argument := 'p_type';
74: raise l_error;

Line 71: nvl(hxc_tbb_shd.g_old_rec.type, hr_api.g_varchar2)

67: fnd_message.raise_error;
68: end if;
69:
70: if nvl(p_rec.type, hr_api.g_varchar2) <>
71: nvl(hxc_tbb_shd.g_old_rec.type, hr_api.g_varchar2)
72: then
73: l_argument := 'p_type';
74: raise l_error;
75: end if;

Line 77: if nvl(p_rec.scope, hr_api.g_varchar2) <>

73: l_argument := 'p_type';
74: raise l_error;
75: end if;
76:
77: if nvl(p_rec.scope, hr_api.g_varchar2) <>
78: nvl(hxc_tbb_shd.g_old_rec.scope, hr_api.g_varchar2)
79: then
80: l_argument := 'p_scope';
81: raise l_error;

Line 78: nvl(hxc_tbb_shd.g_old_rec.scope, hr_api.g_varchar2)

74: raise l_error;
75: end if;
76:
77: if nvl(p_rec.scope, hr_api.g_varchar2) <>
78: nvl(hxc_tbb_shd.g_old_rec.scope, hr_api.g_varchar2)
79: then
80: l_argument := 'p_scope';
81: raise l_error;
82: end if;

Line 84: if nvl(p_rec.resource_id, hr_api.g_number) <>

80: l_argument := 'p_scope';
81: raise l_error;
82: end if;
83:
84: if nvl(p_rec.resource_id, hr_api.g_number) <>
85: nvl(hxc_tbb_shd.g_old_rec.resource_id, hr_api.g_number)
86: then
87: l_argument := 'p_resource_id';
88: raise l_error;

Line 85: nvl(hxc_tbb_shd.g_old_rec.resource_id, hr_api.g_number)

81: raise l_error;
82: end if;
83:
84: if nvl(p_rec.resource_id, hr_api.g_number) <>
85: nvl(hxc_tbb_shd.g_old_rec.resource_id, hr_api.g_number)
86: then
87: l_argument := 'p_resource_id';
88: raise l_error;
89: end if;

Line 91: if nvl(p_rec.resource_type, hr_api.g_varchar2) <>

87: l_argument := 'p_resource_id';
88: raise l_error;
89: end if;
90:
91: if nvl(p_rec.resource_type, hr_api.g_varchar2) <>
92: nvl(hxc_tbb_shd.g_old_rec.resource_type, hr_api.g_varchar2)
93: then
94: l_argument := 'p_resource_type';
95: raise l_error;

Line 92: nvl(hxc_tbb_shd.g_old_rec.resource_type, hr_api.g_varchar2)

88: raise l_error;
89: end if;
90:
91: if nvl(p_rec.resource_type, hr_api.g_varchar2) <>
92: nvl(hxc_tbb_shd.g_old_rec.resource_type, hr_api.g_varchar2)
93: then
94: l_argument := 'p_resource_type';
95: raise l_error;
96: end if;

Line 98: if nvl(p_rec.data_set_id, hr_api.g_varchar2) <>

94: l_argument := 'p_resource_type';
95: raise l_error;
96: end if;
97:
98: if nvl(p_rec.data_set_id, hr_api.g_varchar2) <>
99: nvl(hxc_tbb_shd.g_old_rec.data_set_id, hr_api.g_varchar2)
100: then
101: l_argument := 'p_data_set_id';
102: raise l_error;

Line 99: nvl(hxc_tbb_shd.g_old_rec.data_set_id, hr_api.g_varchar2)

95: raise l_error;
96: end if;
97:
98: if nvl(p_rec.data_set_id, hr_api.g_varchar2) <>
99: nvl(hxc_tbb_shd.g_old_rec.data_set_id, hr_api.g_varchar2)
100: then
101: l_argument := 'p_data_set_id';
102: raise l_error;
103: end if;

Line 107: hr_api.argument_changed_error

103: end if;
104:
105: exception
106: when l_error then
107: hr_api.argument_changed_error
108: (p_api_name => l_proc
109: ,p_argument => l_argument);
110: when others then
111: raise;

Line 135: hr_api.mandatory_arg_error

131: end if;
132:
133: -- check that the type is not null.
134:
135: hr_api.mandatory_arg_error
136: (p_api_name => l_proc
137: ,p_argument => 'p_type'
138: ,p_argument_value => p_type
139: );

Line 143: /* if hr_api.not_exists_in_hrstanlookups

139: );
140:
141: -- validate against hr_lookups.
142:
143: /* if hr_api.not_exists_in_hrstanlookups
144: (p_effective_date => p_effective_date
145: ,p_lookup_type => 'HXC_BUILDING_BLOCK_TYPE'
146: ,p_lookup_code => p_type
147: )

Line 188: hr_api.mandatory_arg_error

184: -- of type 'MEASURE' (measure)
185: -- 2029550 Implementation
186: /*
187: if p_type = 'MEASURE' then
188: hr_api.mandatory_arg_error
189: (p_api_name => l_proc
190: ,p_argument => 'p_measure' COMMENTED PIECE OF CODE AS NOW WE ALLOW EMPTY MEASURE
191: ,p_argument_value => p_measure
192: );

Line 224: hr_api.mandatory_arg_error

220: -- check that start_time is not null if building block is
221: -- of type 'RANGE' (range)
222:
223: if p_type = 'RANGE' then
224: hr_api.mandatory_arg_error
225: (p_api_name => l_proc
226: ,p_argument => 'p_start_time'
227: ,p_argument_value => p_start_time
228: );

Line 358: hr_api.mandatory_arg_error

354: end if;
355:
356: -- check that the scope is not null.
357:
358: hr_api.mandatory_arg_error
359: (p_api_name => l_proc
360: ,p_argument => 'p_scope'
361: ,p_argument_value => p_scope
362: );

Line 366: if hr_api.not_exists_in_hrstanlookups

362: );
363:
364: -- validate against hr_lookups.
365: /*
366: if hr_api.not_exists_in_hrstanlookups
367: (p_effective_date => p_effective_date
368: ,p_lookup_type => 'HXC_BUILDING_BLOCK_SCOPE'
369: ,p_lookup_code => p_scope
370: )

Line 531: if hr_api.not_exists_in_hrstanlookups

527: end if;
528:
529: -- validate against hr_lookups.
530: /*
531: if hr_api.not_exists_in_hrstanlookups
532: (p_effective_date => p_effective_date
533: ,p_lookup_type => 'HXC_RESOURCE_TYPE'
534: ,p_lookup_code => p_resource_type
535: )

Line 573: hr_api.mandatory_arg_error

569: end if;
570:
571: -- check that the approval status is not null.
572:
573: hr_api.mandatory_arg_error
574: (p_api_name => l_proc
575: ,p_argument => 'p_approval_status'
576: ,p_argument_value => p_approval_status
577: );

Line 581: if hr_api.not_exists_in_hrstanlookups

577: );
578:
579: -- validate against hr_lookups.
580: /*
581: if hr_api.not_exists_in_hrstanlookups
582: (p_effective_date => p_effective_date
583: ,p_lookup_type => 'HXC_APPROVAL_STATUS'
584: ,p_lookup_code => p_approval_status
585: )