DBA Data[Home] [Help]

APPS.GHR_EVH_BUS dependencies on GHR_EVENTS

Line 111: from ghr_events a

107: l_dummy varchar2(1);
108: --
109: cursor c1 is
110: select null
111: from ghr_events a
112: where a.event_id = p_event_id;
113: --
114: Begin
115: --

Line 127: -- check if event_id value exists in ghr_events table

123: and nvl(p_event_id,hr_api.g_number)
124: <> nvl(ghr_evh_shd.g_old_rec.event_id,hr_api.g_number)
125: or not l_api_updating) then
126: --
127: -- check if event_id value exists in ghr_events table
128: --
129: open c1;
130: --
131: fetch c1 into l_dummy;

Line 136: -- raise error as FK does not relate to PK in ghr_events

132: if c1%notfound then
133: --
134: close c1;
135: --
136: -- raise error as FK does not relate to PK in ghr_events
137: -- table.
138: --
139: ghr_evh_shd.constraint_error('GHR_EVENT_HISTORY_FK');
140: --