228: 'CREATE_RESOURCE',
229: 'B',
230: 'C')
231: THEN
232: IF jtf_usr_hks.ok_to_execute(
233: 'JTF_RS_RESOURCE_PVT',
234: 'CREATE_RESOURCE',
235: 'B',
236: 'C')
290: 'CREATE_RESOURCE',
291: 'B',
292: 'V')
293: THEN
294: IF jtf_usr_hks.ok_to_execute(
295: 'JTF_RS_RESOURCE_PVT',
296: 'CREATE_RESOURCE',
297: 'B',
298: 'V')
353: 'CREATE_RESOURCE',
354: 'B',
355: 'I')
356: THEN
357: IF jtf_usr_hks.ok_to_execute(
358: 'JTF_RS_RESOURCE_PVT',
359: 'CREATE_RESOURCE',
360: 'B',
361: 'I')
621: /* Make the post processing call to the user hooks */
622:
623: /* Post Call to the Customer Type User Hook */
624:
625: IF jtf_usr_hks.ok_to_execute(
626: 'JTF_RS_RESOURCE_PVT',
627: 'CREATE_RESOURCE',
628: 'A',
629: 'C')
677:
678:
679: /* Post Call to the Vertical Type User Hook */
680:
681: IF jtf_usr_hks.ok_to_execute(
682: 'JTF_RS_RESOURCE_PVT',
683: 'CREATE_RESOURCE',
684: 'A',
685: 'V')
739: 'CREATE_RESOURCE',
740: 'A',
741: 'I')
742: THEN
743: IF jtf_usr_hks.ok_to_execute(
744: 'JTF_RS_RESOURCE_PVT',
745: 'CREATE_RESOURCE',
746: 'A',
747: 'I')
800: 'CREATE_RESOURCE',
801: 'M',
802: 'M')
803: THEN
804: IF jtf_usr_hks.ok_to_execute(
805: 'JTF_RS_RESOURCE_PVT',
806: 'CREATE_RESOURCE',
807: 'M',
808: 'M')
814: THEN
815:
816: /* Get the bind data id for the Business Object Instance */
817:
818: l_bind_data_id := jtf_usr_hks.get_bind_data_id;
819:
820:
821: /* Set bind values for the bind variables in the Business Object SQL */
822:
819:
820:
821: /* Set bind values for the bind variables in the Business Object SQL */
822:
823: jtf_usr_hks.load_bind_data(l_bind_data_id, 'resource_id', l_resource_id, 'S', 'N');
824:
825:
826: /* Call the message generation API */
827:
824:
825:
826: /* Call the message generation API */
827:
828: jtf_usr_hks.generate_message(
829: p_prod_code => 'JTF',
830: p_bus_obj_code => 'RS_RES',
831: p_action_code => 'I',
832: p_bind_data_id => l_bind_data_id,
884: -- IF(l_value = 'XMLGEN')
885: -- THEN
886: -- fnd_message.set_name ('JTF', 'JTF_RS_XMLGEN_ERR');
887: -- FND_MSG_PUB.add;
888: -- ELSIF(l_value = 'JTF_USR_HKS')
889: -- THEN
890: -- fnd_message.set_name ('JTF', 'JTF_RS_JUHK_ERR');
891: -- FND_MSG_PUB.add;
892: -- END IF;
1184: 'CREATE_RESOURCE',
1185: 'B',
1186: 'C')
1187: THEN
1188: IF jtf_usr_hks.ok_to_execute(
1189: 'JTF_RS_RESOURCE_PVT',
1190: 'CREATE_RESOURCE',
1191: 'B',
1192: 'C')
1247: 'CREATE_RESOURCE',
1248: 'B',
1249: 'V')
1250: THEN
1251: IF jtf_usr_hks.ok_to_execute(
1252: 'JTF_RS_RESOURCE_PVT',
1253: 'CREATE_RESOURCE',
1254: 'B',
1255: 'V')
1310: 'CREATE_RESOURCE',
1311: 'B',
1312: 'I')
1313: THEN
1314: IF jtf_usr_hks.ok_to_execute(
1315: 'JTF_RS_RESOURCE_PVT',
1316: 'CREATE_RESOURCE',
1317: 'B',
1318: 'I')
1642: /* Make the post processing call to the user hooks */
1643:
1644: /* Post Call to the Customer Type User Hook */
1645:
1646: IF jtf_usr_hks.ok_to_execute(
1647: 'JTF_RS_RESOURCE_PVT',
1648: 'CREATE_RESOURCE',
1649: 'A',
1650: 'C')
1699: 'CREATE_RESOURCE',
1700: 'A',
1701: 'V')
1702: THEN
1703: IF jtf_usr_hks.ok_to_execute(
1704: 'JTF_RS_RESOURCE_PVT',
1705: 'CREATE_RESOURCE',
1706: 'A',
1707: 'V')
1763: 'CREATE_RESOURCE',
1764: 'A',
1765: 'I')
1766: THEN
1767: IF jtf_usr_hks.ok_to_execute(
1768: 'JTF_RS_RESOURCE_PVT',
1769: 'CREATE_RESOURCE',
1770: 'A',
1771: 'I')
1824: 'CREATE_RESOURCE',
1825: 'M',
1826: 'M')
1827: THEN
1828: IF jtf_usr_hks.ok_to_execute(
1829: 'JTF_RS_RESOURCE_PVT',
1830: 'CREATE_RESOURCE',
1831: 'M',
1832: 'M')
1838: THEN
1839:
1840: /* Get the bind data id for the Business Object Instance */
1841:
1842: l_bind_data_id := jtf_usr_hks.get_bind_data_id;
1843:
1844:
1845: /* Set bind values for the bind variables in the Business Object SQL */
1846:
1843:
1844:
1845: /* Set bind values for the bind variables in the Business Object SQL */
1846:
1847: jtf_usr_hks.load_bind_data(l_bind_data_id, 'resource_id', l_resource_id, 'S', 'N');
1848:
1849:
1850: /* Call the message generation API */
1851:
1848:
1849:
1850: /* Call the message generation API */
1851:
1852: jtf_usr_hks.generate_message(
1853: p_prod_code => 'JTF',
1854: p_bus_obj_code => 'RS_RES',
1855: p_action_code => 'I',
1856: p_bind_data_id => l_bind_data_id,
1960: -- IF(l_value = 'XMLGEN')
1961: -- THEN
1962: -- fnd_message.set_name ('JTF', 'JTF_RS_XMLGEN_ERR');
1963: -- FND_MSG_PUB.add;
1964: -- ELSIF(l_value = 'JTF_USR_HKS')
1965: -- THEN
1966: -- fnd_message.set_name ('JTF', 'JTF_RS_JUHK_ERR');
1967: -- FND_MSG_PUB.add;
1968: -- END IF;
2423: 'UPDATE_RESOURCE',
2424: 'B',
2425: 'C')
2426: THEN
2427: IF jtf_usr_hks.ok_to_execute(
2428: 'JTF_RS_RESOURCE_PVT',
2429: 'UPDATE_RESOURCE',
2430: 'B',
2431: 'C')
2483: 'UPDATE_RESOURCE',
2484: 'B',
2485: 'V')
2486: THEN
2487: IF jtf_usr_hks.ok_to_execute(
2488: 'JTF_RS_RESOURCE_PVT',
2489: 'UPDATE_RESOURCE',
2490: 'B',
2491: 'V')
2543: 'UPDATE_RESOURCE',
2544: 'B',
2545: 'I')
2546: THEN
2547: IF jtf_usr_hks.ok_to_execute(
2548: 'JTF_RS_RESOURCE_PVT',
2549: 'UPDATE_RESOURCE',
2550: 'B',
2551: 'I')
3632: 'UPDATE_RESOURCE',
3633: 'A',
3634: 'C')
3635: THEN
3636: IF jtf_usr_hks.ok_to_execute(
3637: 'JTF_RS_RESOURCE_PVT',
3638: 'UPDATE_RESOURCE',
3639: 'A',
3640: 'C')
3691: 'UPDATE_RESOURCE',
3692: 'A',
3693: 'V')
3694: THEN
3695: IF jtf_usr_hks.ok_to_execute(
3696: 'JTF_RS_RESOURCE_PVT',
3697: 'UPDATE_RESOURCE',
3698: 'A',
3699: 'V')
3751: 'UPDATE_RESOURCE',
3752: 'A',
3753: 'I')
3754: THEN
3755: IF jtf_usr_hks.ok_to_execute(
3756: 'JTF_RS_RESOURCE_PVT',
3757: 'UPDATE_RESOURCE',
3758: 'A',
3759: 'I')
3810: 'UPDATE_RESOURCE',
3811: 'M',
3812: 'M')
3813: THEN
3814: IF jtf_usr_hks.ok_to_execute(
3815: 'JTF_RS_RESOURCE_PVT',
3816: 'UPDATE_RESOURCE',
3817: 'M',
3818: 'M')
3824: THEN
3825:
3826: /* Get the bind data id for the Business Object Instance */
3827:
3828: l_bind_data_id := jtf_usr_hks.get_bind_data_id;
3829:
3830:
3831: /* Set bind values for the bind variables in the Business Object SQL */
3832:
3829:
3830:
3831: /* Set bind values for the bind variables in the Business Object SQL */
3832:
3833: jtf_usr_hks.load_bind_data(l_bind_data_id, 'resource_id', l_resource_id, 'S', 'N');
3834:
3835:
3836: /* Call the message generation API */
3837:
3834:
3835:
3836: /* Call the message generation API */
3837:
3838: jtf_usr_hks.generate_message(
3839: p_prod_code => 'RS',
3840: p_bus_obj_code => 'RES',
3841: p_action_code => 'U',
3842: p_bind_data_id => l_bind_data_id,
3895: -- IF(l_value = 'XMLGEN')
3896: -- THEN
3897: -- fnd_message.set_name ('JTF', 'JTF_RS_XMLGEN_ERR');
3898: -- FND_MSG_PUB.add;
3899: -- ELSIF(l_value = 'JTF_USR_HKS')
3900: -- THEN
3901: -- fnd_message.set_name ('JTF', 'JTF_RS_JUHK_ERR');
3902: -- FND_MSG_PUB.add;
3903: -- END IF;
4399: 'UPDATE_RESOURCE',
4400: 'B',
4401: 'C')
4402: THEN
4403: IF jtf_usr_hks.ok_to_execute(
4404: 'JTF_RS_RESOURCE_PVT',
4405: 'UPDATE_RESOURCE',
4406: 'B',
4407: 'C')
4459: 'UPDATE_RESOURCE',
4460: 'B',
4461: 'V')
4462: THEN
4463: IF jtf_usr_hks.ok_to_execute(
4464: 'JTF_RS_RESOURCE_PVT',
4465: 'UPDATE_RESOURCE',
4466: 'B',
4467: 'V')
4518: 'UPDATE_RESOURCE',
4519: 'B',
4520: 'I')
4521: THEN
4522: IF jtf_usr_hks.ok_to_execute(
4523: 'JTF_RS_RESOURCE_PVT',
4524: 'UPDATE_RESOURCE',
4525: 'B',
4526: 'I')
5774: 'UPDATE_RESOURCE',
5775: 'A',
5776: 'C')
5777: THEN
5778: IF jtf_usr_hks.ok_to_execute(
5779: 'JTF_RS_RESOURCE_PVT',
5780: 'UPDATE_RESOURCE',
5781: 'A',
5782: 'C')
5833: 'UPDATE_RESOURCE',
5834: 'A',
5835: 'V')
5836: THEN
5837: IF jtf_usr_hks.ok_to_execute(
5838: 'JTF_RS_RESOURCE_PVT',
5839: 'UPDATE_RESOURCE',
5840: 'A',
5841: 'V')
5893: 'UPDATE_RESOURCE',
5894: 'A',
5895: 'I')
5896: THEN
5897: IF jtf_usr_hks.ok_to_execute(
5898: 'JTF_RS_RESOURCE_PVT',
5899: 'UPDATE_RESOURCE',
5900: 'A',
5901: 'I')
5953: 'UPDATE_RESOURCE',
5954: 'M',
5955: 'M')
5956: THEN
5957: IF jtf_usr_hks.ok_to_execute(
5958: 'JTF_RS_RESOURCE_PVT',
5959: 'UPDATE_RESOURCE',
5960: 'M',
5961: 'M')
5967: THEN
5968:
5969: /* Get the bind data id for the Business Object Instance */
5970:
5971: l_bind_data_id := jtf_usr_hks.get_bind_data_id;
5972:
5973:
5974: /* Set bind values for the bind variables in the Business Object SQL */
5975:
5972:
5973:
5974: /* Set bind values for the bind variables in the Business Object SQL */
5975:
5976: jtf_usr_hks.load_bind_data(l_bind_data_id, 'resource_id', l_resource_id, 'S', 'N');
5977:
5978:
5979: /* Call the message generation API */
5980:
5977:
5978:
5979: /* Call the message generation API */
5980:
5981: jtf_usr_hks.generate_message(
5982: p_prod_code => 'RS',
5983: p_bus_obj_code => 'RES',
5984: p_action_code => 'U',
5985: p_bind_data_id => l_bind_data_id,
6038: -- IF(l_value = 'XMLGEN')
6039: -- THEN
6040: -- fnd_message.set_name ('JTF', 'JTF_RS_XMLGEN_ERR');
6041: -- FND_MSG_PUB.add;
6042: -- ELSIF(l_value = 'JTF_USR_HKS')
6043: -- THEN
6044: -- fnd_message.set_name ('JTF', 'JTF_RS_JUHK_ERR');
6045: -- FND_MSG_PUB.add;
6046: -- END IF;
6289: 'DELETE_RESOURCE',
6290: 'B',
6291: 'C')
6292: THEN
6293: IF jtf_usr_hks.ok_to_execute(
6294: 'JTF_RS_RESOURCE_PVT',
6295: 'DELETE_RESOURCE',
6296: 'B',
6297: 'C')
6323: 'DELETE_RESOURCE',
6324: 'B',
6325: 'V')
6326: THEN
6327: IF jtf_usr_hks.ok_to_execute(
6328: 'JTF_RS_RESOURCE_PVT',
6329: 'DELETE_RESOURCE',
6330: 'B',
6331: 'V')
6350:
6351:
6352: /* Pre Call to the Internal Type User Hook */
6353:
6354: IF jtf_usr_hks.ok_to_execute(
6355: 'JTF_RS_RESOURCE_PVT',
6356: 'DELETE_RESOURCE',
6357: 'B',
6358: 'I')
6356: 'DELETE_RESOURCE',
6357: 'B',
6358: 'I')
6359: THEN
6360: IF jtf_usr_hks.ok_to_execute(
6361: 'JTF_RS_RESOURCE_PVT',
6362: 'DELETE_RESOURCE',
6363: 'B',
6364: 'I')
6425: /* Make the post processing call to the user hooks */
6426:
6427: /* Post Call to the Customer Type User Hook */
6428:
6429: IF jtf_usr_hks.ok_to_execute(
6430: 'JTF_RS_RESOURCE_PVT',
6431: 'DELETE_RESOURCE',
6432: 'A',
6433: 'C')
6457: 'DELETE_RESOURCE',
6458: 'A',
6459: 'V')
6460: THEN
6461: IF jtf_usr_hks.ok_to_execute(
6462: 'JTF_RS_RESOURCE_PVT',
6463: 'DELETE_RESOURCE',
6464: 'A',
6465: 'V')
6489: 'DELETE_RESOURCE',
6490: 'A',
6491: 'I')
6492: THEN
6493: IF jtf_usr_hks.ok_to_execute(
6494: 'JTF_RS_RESOURCE_PVT',
6495: 'DELETE_RESOURCE',
6496: 'A',
6497: 'I')
6523: 'DELETE_RESOURCE',
6524: 'M',
6525: 'M')
6526: THEN
6527: IF jtf_usr_hks.ok_to_execute(
6528: 'JTF_RS_RESOURCE_PVT',
6529: 'DELETE_RESOURCE',
6530: 'M',
6531: 'M')
6537: THEN
6538:
6539: /* Get the bind data id for the Business Object Instance */
6540:
6541: l_bind_data_id := jtf_usr_hks.get_bind_data_id;
6542:
6543:
6544: /* Set bind values for the bind variables in the Business Object SQL */
6545:
6542:
6543:
6544: /* Set bind values for the bind variables in the Business Object SQL */
6545:
6546: jtf_usr_hks.load_bind_data(l_bind_data_id, 'resource_id', l_resource_id, 'S', 'N');
6547:
6548:
6549: /* Call the message generation API */
6550:
6547:
6548:
6549: /* Call the message generation API */
6550:
6551: jtf_usr_hks.generate_message(
6552: p_prod_code => 'RS',
6553: p_bus_obj_code => 'RES',
6554: p_action_code => 'D',
6555: p_bind_data_id => l_bind_data_id,
6649: -- IF(l_value = 'XMLGEN')
6650: -- THEN
6651: -- fnd_message.set_name ('JTF', 'JTF_RS_XMLGEN_ERR');
6652: -- FND_MSG_PUB.add;
6653: -- ELSIF(l_value = 'JTF_USR_HKS')
6654: -- THEN
6655: -- fnd_message.set_name ('JTF', 'JTF_RS_JUHK_ERR');
6656: -- FND_MSG_PUB.add;
6657: -- END IF;