DBA Data[Home] [Help]

APPS.ZPB_WF_NTF dependencies on ZPB_UTIL_PVT

Line 927: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, thisRecipient);

923:
924: -- THIS SHOULD NOT BE FOR REVIEW FRAMEWORK - FYI style
925: rolename := zpb_wf_ntf.MakeRoleName(InstanceID, TaskID);
926: zpb_wf_ntf.SetRole(rolename, relative+7);
927: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, thisRecipient);
928: thisUserID := FNDUser_to_ID(thisRecipient);
929: zpb_wf_ntf.add_Shadow(rolename, thisUserID);
930:
931: else

Line 949: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, thisRecipient);

945: l_label := FND_MESSAGE.GET;
946: NewDispName := NewDispName || l_label;
947:
948: zpb_wf_ntf.SetRole(rolename, relative+7, NewDispName);
949: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, thisRecipient);
950: zpb_wf_ntf.add_Shadow(rolename, thisUserID);
951: else
952: rolename := thisRecipient;
953: end if;

Line 959: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, thisRecipient);

955: else
956: -- not for Review Framework
957: -- b 4948928 added test as part of this bug premptively
958: if zpb_wf_ntf.user_in_role(rolename, thisRecipient) = 'N' then
959: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, thisRecipient);
960: end if;
961:
962: thisUserID := FNDUser_to_ID(thisRecipient);
963: zpb_wf_ntf.add_Shadow(rolename, thisUserID);

Line 993: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, thisOwner);

989: FND_MESSAGE.SET_NAME ('ZPB', 'ZPB_NTF_ANDSHADOWS');
990: l_label := FND_MESSAGE.GET;
991: NewDispName := NewDispName || l_label;
992: zpb_wf_ntf.SetRole(rolename, relative, NewDispName);
993: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, thisOwner);
994: zpb_wf_ntf.add_Shadow(rolename, thisOwnerID);
995: else
996: rolename := thisOwner;
997: end if;

Line 1051: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, UserList);

1047: userhold := v_zpbusers.user_name;
1048: userlist := userlist ||',' || userhold;
1049: cntr := cntr+1;
1050: if cntr = 20 then
1051: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, UserList);
1052: UserList := NULL;
1053: cntr := 1;
1054: end if;
1055: end if;

Line 1059: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, UserList);

1055: end if;
1056: end loop;
1057:
1058: if UserList is not NULL then
1059: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, UserList);
1060: end if;
1061:
1062: return;
1063:

Line 1089: ZPB_UTIL_PVT.AddUsersToAdHocRole(roleName, thisUser);

1085: end if;
1086:
1087: -- abudnik 01JAN20 bUG 4641877
1088: if zpb_wf_ntf.user_in_role(rolename, thisUser) = 'N' then
1089: ZPB_UTIL_PVT.AddUsersToAdHocRole(roleName, thisUser);
1090: end if;
1091:
1092:
1093: return roleName;

Line 1173: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, thisRecipient);

1169: for v_shadow in c_shadow loop
1170: thisID := v_shadow.shadow_id;
1171: thisRecipient := ID_to_FNDUser(thisID);
1172: if zpb_wf_ntf.user_in_role(rolename, thisRecipient) = 'N' then
1173: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, thisRecipient);
1174: end if;
1175: end loop;
1176:
1177: return;

Line 1294: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, l_UserList);

1290: -- transform to all ZPB users. so no need to add shadows.
1291: rolename := zpb_wf_ntf.MakeRoleName(InstanceID, TaskID);
1292: zpb_wf_ntf.SetRole(rolename, relative+7);
1293: l_UserList := zpb_wf_ntf.Get_EPB_Users('ZPB');
1294: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, l_UserList);
1295: l_type := 'ALREADY_SET';
1296:
1297: elsif instr(UserList, ',') > 0 then
1298: -- FND user names list so build Ad Hoc role

Line 1301: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, UserList);

1297: elsif instr(UserList, ',') > 0 then
1298: -- FND user names list so build Ad Hoc role
1299: rolename := zpb_wf_ntf.MakeRoleName(InstanceID, TaskID);
1300: zpb_wf_ntf.SetRole(rolename, relative+7);
1301: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, UserList);
1302: l_type := 'ALREADY_SET';
1303:
1304: -- a single user selected
1305: elsif instr(UserList, ',') = 0 then

Line 1327: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, curUser);

1323: l_label := FND_MESSAGE.GET;
1324: NewDispName := NewDispName || l_label;
1325:
1326: zpb_wf_ntf.SetRole(rolename, relative, NewDispName);
1327: ZPB_UTIL_PVT.AddUsersToAdHocRole(rolename, curUser);
1328: zpb_wf_ntf.add_Shadow(rolename, curUserID);
1329: else
1330: rolename := curUser;
1331: end if;

Line 1511: ZPB_UTIL_PVT.AddUsersToAdHocRole(l_RoleName, l_thisRecipient);

1507: l_NewDispName := l_NewDispName || l_label;
1508: zpb_wf_ntf.SetRole(l_RoleName, 7, l_NewDispName);
1509: -- b4948928
1510: if zpb_wf_ntf.user_in_role(l_rolename, l_thisRecipient) = 'N' then
1511: ZPB_UTIL_PVT.AddUsersToAdHocRole(l_RoleName, l_thisRecipient);
1512: end if;
1513: zpb_wf_ntf.add_Shadow(l_RoleName, l_thisUserID);
1514:
1515: wf_engine.SetItemAttrText(Itemtype => ItemType,

Line 1677: ZPB_UTIL_PVT.AddUsersToAdHocRole(l_RoleName, l_thisRecipient);

1673: zpb_wf_ntf.SetRole(l_RoleName, 7, l_NewDispName);
1674:
1675: if wf_directory.useractive(l_thisRecipient) = TRUE then
1676: if zpb_wf_ntf.user_in_role(l_rolename, l_thisRecipient) = 'N' then
1677: ZPB_UTIL_PVT.AddUsersToAdHocRole(l_RoleName, l_thisRecipient);
1678: end if;
1679: end if;
1680:
1681: zpb_wf_ntf.add_Shadow(l_RoleName, p_BPOwnerID);

Line 1747: ZPB_UTIL_PVT.AddUsersToAdHocRole(p_RoleName, l_thisRecipient);

1743: l_thisRecipient := ID_to_FNDuser(l_thisUserID);
1744:
1745: if wf_directory.useractive(l_thisRecipient) = TRUE then
1746: if zpb_wf_ntf.user_in_role(p_RoleName, l_thisRecipient) = 'N' then
1747: ZPB_UTIL_PVT.AddUsersToAdHocRole(p_RoleName, l_thisRecipient);
1748: l_status := 'Y';
1749: end if;
1750: end if;
1751: