DBA Data[Home] [Help]

APPS.AMS_DELIVERABLE_PVT dependencies on AMS_ACCESS_PVT

Line 284: l_access_rec AMS_Access_PVT.access_rec_type;

280: x_deliv_rec deliv_rec_type ;
281: l_msg_count NUMBER;
282: l_msg_data VARCHAR2(2000);
283:
284: l_access_rec AMS_Access_PVT.access_rec_type;
285:
286: l_association_rec AMS_Associations_PVT.association_rec_type;
287: l_object_association_id NUMBER;
288:

Line 645: IF (AMS_ACCESS_PVT.CHECK_ADMIN_ACCESS(l_deliv_rec.owner_user_id)) THEN

641: l_access_rec.owner_flag := 'Y';
642:
643: /*
644: --- hp bug fix
645: IF (AMS_ACCESS_PVT.CHECK_ADMIN_ACCESS(l_deliv_rec.owner_user_id)) THEN
646: l_access_rec.admin_flag := 'Y';
647: ELSE
648: l_access_rec.admin_flag := 'N';
649: END IF;

Line 653: AMS_Access_PVT.create_access (

649: END IF;
650: */
651: l_access_rec.admin_flag := 'Y'; /* bug fix for Hp: */
652: l_access_rec.delete_flag := 'N';
653: AMS_Access_PVT.create_access (
654: p_api_version => 1.0,
655: p_init_msg_list => FND_API.G_FALSE,
656: p_commit => FND_API.G_FALSE,
657: p_validation_level => FND_API.G_VALID_LEVEL_FULL,

Line 1453: if AMS_ACCESS_PVT.check_update_access(l_deliv_rec.deliverable_id, 'DELV', l_res_id, 'USER') = 'N' then

1449: open get_res_id(l_user_id);
1450: fetch get_res_id into l_res_id;
1451: close get_res_id;
1452: end if;
1453: if AMS_ACCESS_PVT.check_update_access(l_deliv_rec.deliverable_id, 'DELV', l_res_id, 'USER') = 'N' then
1454: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
1455: FND_MESSAGE.set_name('AMS', 'AMS_EVO_NO_UPDATE_ACCESS');-- reusing the message
1456: FND_MSG_PUB.add;
1457: END IF;

Line 1963: AMS_Access_PVT.update_object_owner

1959:
1960: IF (l_Deliv_rec.owner_user_id <> FND_API.g_miss_NUM
1961: AND l_owner_user_id <> l_deliv_Rec.owner_user_id )
1962: THEN
1963: AMS_Access_PVT.update_object_owner
1964: ( p_api_version => 1.0
1965: ,p_init_msg_list => FND_API.G_FALSE
1966: ,p_commit => FND_API.G_FALSE
1967: ,p_validation_level => p_validation_level

Line 4454: IF ( (AMS_ACCESS_PVT.CHECK_ADMIN_ACCESS(p_deliv_rec.owner_user_id) = FALSE)

4450: OPEN c_owner_id(p_deliv_rec.deliverable_id);
4451: FETCH c_owner_id INTO l_owner_user_id;
4452: CLOSE c_owner_id;
4453:
4454: IF ( (AMS_ACCESS_PVT.CHECK_ADMIN_ACCESS(p_deliv_rec.owner_user_id) = FALSE)
4455: AND (l_owner_user_id <> l_resource_id)
4456: AND (l_owner_user_id <> p_deliv_rec.owner_user_id))
4457: THEN
4458: