DBA Data[Home] [Help]

APPS.JTF_LOGICALCONTENT_GRP dependencies on JTF_DSPMGRVALIDATION_GRP

Line 54: if jtf_dspmgrvalidation_grp.check_lgl_ctnt_id_exists(p_lgl_ctnt_rec.obj_lgl_ctnt_id,

50: if p_lgl_ctnt_rec.obj_lgl_ctnt_id is not null
51: then
52: --- Check if the object logical content exists
53:
54: if jtf_dspmgrvalidation_grp.check_lgl_ctnt_id_exists(p_lgl_ctnt_rec.obj_lgl_ctnt_id,
55: p_lgl_ctnt_rec.object_version_number) = false then
56: raise FND_API.g_exc_error;
57: end if;
58:

Line 65: raise jtf_dspmgrvalidation_grp.lglctnt_id_req_exception;

61: delete from jtf_dsp_obj_lgl_ctnt where
62: obj_lgl_ctnt_id = p_lgl_ctnt_rec.obj_lgl_ctnt_id and
63: object_version_number = p_lgl_ctnt_rec.object_version_number;
64: else
65: raise jtf_dspmgrvalidation_grp.lglctnt_id_req_exception;
66: end if;
67:
68: --- Check if the caller requested to commit ,
69: --- If p_commit set to true, commit the transaction

Line 104: WHEN jtf_dspmgrvalidation_grp.lglctnt_id_req_exception THEN

100: p_data => x_msg_data
101: );
102:
103:
104: WHEN jtf_dspmgrvalidation_grp.lglctnt_id_req_exception THEN
105: ROLLBACK TO delete_logical_content;
106: x_return_status := FND_API.g_ret_sts_error;
107: FND_MESSAGE.set_name('JTF','JTF_DSP_LGLCTNT_ID_REQ');
108: FND_MSG_PUB.ADD;

Line 209: if jtf_dspmgrvalidation_grp.check_lgl_object_exists(p_object_type,p_lgl_ctnt_rec.object_id) = false then

205:
206:
207: --dbms_output.put_line('save_logical_content: checking the object existence and id ');
208:
209: if jtf_dspmgrvalidation_grp.check_lgl_object_exists(p_object_type,p_lgl_ctnt_rec.object_id) = false then
210: raise FND_API.g_exc_error;
211: end if;
212:
213: --dbms_output.put_line('save_logical_content: passed the object existence');

Line 219: l_context_type := jtf_dspmgrvalidation_grp.check_context_type_code(p_lgl_ctnt_rec.context_id);

215:
216: if p_lgl_ctnt_rec.context_id is not null or p_lgl_ctnt_rec.context_id <> FND_API.g_miss_num
217: then
218:
219: l_context_type := jtf_dspmgrvalidation_grp.check_context_type_code(p_lgl_ctnt_rec.context_id);
220:
221: --dbms_output.put_line('save_logical_content: passed the context_type validation');
222:
223: if l_context_type is NULL then

Line 228: raise jtf_dspmgrvalidation_grp.context_req_exception;

224: raise FND_API.g_exc_error;
225: end if;
226:
227: else
228: raise jtf_dspmgrvalidation_grp.context_req_exception;
229: end if;
230:
231: --- check if the deliverable exists
232: --- if the deliverable is passed, make sure the type is the same as

Line 254: if jtf_dspmgrvalidation_grp.check_deliverable_type_exists(p_lgl_ctnt_rec.deliverable_id, l_context_type,

250: end if;
251:
252: --dbms_output.put_line('save_logical_content: checking for deliverable type_exists ');
253:
254: if jtf_dspmgrvalidation_grp.check_deliverable_type_exists(p_lgl_ctnt_rec.deliverable_id, l_context_type,
255: l_applicable_to) = false
256: then
257: raise FND_API.g_exc_error;
258: end if;

Line 268: if jtf_dspmgrvalidation_grp.check_item_deliverable(p_lgl_ctnt_rec.object_id,p_lgl_ctnt_rec.deliverable_id) = false

264: if(l_object_type ='I' ) then
265: --- Make sure that the deliverable id is associated to atleast one of the categories the item
266: --- belongs to , otherwise raise an exception
267:
268: if jtf_dspmgrvalidation_grp.check_item_deliverable(p_lgl_ctnt_rec.object_id,p_lgl_ctnt_rec.deliverable_id) = false
269: then
270: raise FND_API.g_exc_error;
271: end if;
272: elsif(l_object_type = 'C') then

Line 276: if jtf_dspmgrvalidation_grp.check_category_deliverable(p_lgl_ctnt_rec.object_id,p_lgl_ctnt_rec.deliverable_id) = false

272: elsif(l_object_type = 'C') then
273: --- Make sure that the deliverable id is associated to the category
274: --- , otherwise raise an exception
275:
276: if jtf_dspmgrvalidation_grp.check_category_deliverable(p_lgl_ctnt_rec.object_id,p_lgl_ctnt_rec.deliverable_id) = false
277: then
278: raise FND_API.g_exc_error;
279: end if;
280:

Line 292: if jtf_dspmgrvalidation_grp.check_lgl_ctnt_id_exists(p_lgl_ctnt_rec.obj_lgl_ctnt_id,

288: p_lgl_ctnt_rec.deliverable_id = null
289: then
290: --- Check if the object logical content id exists
291:
292: if jtf_dspmgrvalidation_grp.check_lgl_ctnt_id_exists(p_lgl_ctnt_rec.obj_lgl_ctnt_id,
293: p_lgl_ctnt_rec.object_version_number) = false then
294: raise FND_API.g_exc_error;
295: end if;
296: delete from JTF_DSP_OBJ_LGL_CTNT where

Line 338: if jtf_dspmgrvalidation_grp.check_lgl_ctnt_id_exists(p_lgl_ctnt_rec.obj_lgl_ctnt_id,

334: ELSE
335:
336: --- Check if the object logical content id exists
337:
338: if jtf_dspmgrvalidation_grp.check_lgl_ctnt_id_exists(p_lgl_ctnt_rec.obj_lgl_ctnt_id,
339: p_lgl_ctnt_rec.object_version_number) = false then
340: raise FND_API.g_exc_error;
341: end if;
342:

Line 405: WHEN jtf_dspmgrvalidation_grp.context_req_exception THEN

401: p_encoded => FND_API.g_false,
402: p_count => x_msg_count,
403: p_data => x_msg_data
404: );
405: WHEN jtf_dspmgrvalidation_grp.context_req_exception THEN
406: ROLLBACK TO save_logical_content;
407: x_return_status := FND_API.g_ret_sts_unexp_error ;
408: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_unexp_error)
409: THEN

Line 482: if jtf_dspmgrvalidation_grp.check_valid_object_type(p_object_type_code) = false then

478:
479:
480: --dbms_output.put_line('PASSED THE VERSION NUMBER TEST:' || p_object_type_code || ':' || length(p_object_type_code));
481:
482: if jtf_dspmgrvalidation_grp.check_valid_object_type(p_object_type_code) = false then
483: raise FND_API.g_exc_error;
484: end if;
485:
486:

Line 585: if jtf_dspmgrvalidation_grp.check_section_exists(p_section_id) = false then

581: begin
582:
583: SAVEPOINT delete_section;
584:
585: if jtf_dspmgrvalidation_grp.check_section_exists(p_section_id) = false then
586: raise FND_API.g_exc_error;
587: end if;
588:
589: DELETE FROM JTF_DSP_OBJ_LGL_CTNT where