5: G_PKG_NAME CONSTANT VARCHAR2(30) := 'PA_AGREEMENT_PUB';
6: G_AGREEMENT_CODE CONSTANT VARCHAR2(9) := 'AGREEMENT';
7:
8: --PACKAGE GLOBAL to be used during updates ---------------------------
9: G_USER_ID CONSTANT NUMBER := FND_GLOBAL.user_id;
10: G_LOGIN_ID CONSTANT NUMBER := FND_GLOBAL.login_id;
11:
12: -- ============================================================================
13: --
6: G_AGREEMENT_CODE CONSTANT VARCHAR2(9) := 'AGREEMENT';
7:
8: --PACKAGE GLOBAL to be used during updates ---------------------------
9: G_USER_ID CONSTANT NUMBER := FND_GLOBAL.user_id;
10: G_LOGIN_ID CONSTANT NUMBER := FND_GLOBAL.login_id;
11:
12: -- ============================================================================
13: --
14: --Name: create_agreement
88:
89: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
90:
91: END IF;
92: l_resp_id := FND_GLOBAL.Resp_id;
93:
94: -- Actions performed using the APIs would be subject to
95: -- function security. If the responsibility does not allow
96: -- such functions to be executed, the API should not proceed further
1004:
1005: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1006:
1007: END IF;
1008: l_resp_id := FND_GLOBAL.Resp_id;
1009:
1010: -- Actions performed using the APIs would be subject to
1011: -- function security. If the responsibility does not allow
1012: -- such functions to be executed, the API should not proceed further
1319:
1320: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1321:
1322: END IF;
1323: l_resp_id := FND_GLOBAL.Resp_id;
1324:
1325: -- Actions performed using the APIs would be subject to
1326: -- function security. If the responsibility does not allow
1327: -- such functions to be executed, the API should not proceed further
2042:
2043: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
2044:
2045: END IF;
2046: l_resp_id := FND_GLOBAL.Resp_id;
2047:
2048: -- Actions performed using the APIs would be subject to
2049: -- function security. If the responsibility does not allow
2050: -- such functions to be executed, the API should not proceed further
2749:
2750: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
2751:
2752: END IF;
2753: l_resp_id := FND_GLOBAL.Resp_id;
2754:
2755:
2756: -- This call is added for patchset K project role based security check
2757:
3114:
3115: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
3116:
3117: END IF;
3118: l_resp_id := FND_GLOBAL.Resp_id;
3119:
3120: -- This call is added for patchset K project role based security check
3121:
3122: PA_INTERFACE_UTILS_PUB.G_PROJECT_ID := p_project_id;
3685:
3686: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
3687:
3688: END IF;
3689: l_resp_id := FND_GLOBAL.Resp_id;
3690:
3691: -- Actions performed using the APIs would be subject to
3692: -- function security. If the responsibility does not allow
3693: -- such functions to be executed, the API should not proceed further
3895:
3896: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
3897:
3898: END IF;
3899: l_resp_id := FND_GLOBAL.Resp_id;
3900:
3901: -- Actions performed using the APIs would be subject to
3902: -- function security. If the responsibility does not allow
3903: -- such functions to be executed, the API should not proceed further
4057:
4058: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
4059:
4060: END IF;
4061: l_resp_id := FND_GLOBAL.Resp_id;
4062:
4063: -- Actions performed using the APIs would be subject to
4064: -- function security. If the responsibility does not allow
4065: -- such functions to be executed, the API should not proceed further
4240:
4241: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
4242:
4243: END IF;
4244: l_resp_id := FND_GLOBAL.Resp_id;
4245:
4246: -- Actions performed using the APIs would be subject to
4247: -- function security. If the responsibility does not allow
4248: -- such functions to be executed, the API should not proceed further
4408:
4409: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
4410:
4411: END IF;
4412: l_resp_id := FND_GLOBAL.Resp_id;
4413:
4414: -- Actions performed using the APIs would be subject to
4415: -- function security. If the responsibility does not allow
4416: -- such functions to be executed, the API should not proceed further
4610:
4611: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
4612:
4613: END IF;
4614: l_resp_id := FND_GLOBAL.Resp_id;
4615:
4616: -- Actions performed using the APIs would be subject to
4617: -- function security. If the responsibility does not allow
4618: -- such functions to be executed, the API should not proceed further
4884:
4885: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
4886:
4887: END IF;
4888: l_resp_id := FND_GLOBAL.Resp_id;
4889:
4890: -- This call is added for patchset K project role based security check
4891:
4892: PA_INTERFACE_UTILS_PUB.G_PROJECt_ID := p_project_id;
5236:
5237: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
5238:
5239: END IF;
5240: l_resp_id := FND_GLOBAL.Resp_id;
5241:
5242: -- Get the project id from this project funding line
5243:
5244: l_project_id := pa_agreement_utils.get_project_id(p_funding_id => p_funding_id,
5522:
5523: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
5524:
5525: END IF;
5526: l_resp_id := FND_GLOBAL.Resp_id;
5527:
5528: -- This call is added for patchset K project role based security check
5529:
5530: PA_INTERFACE_UTILS_PUB.G_PROJECT_ID := p_project_id;
5944:
5945: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
5946:
5947: END IF;
5948: l_resp_id := FND_GLOBAL.Resp_id;
5949:
5950: Pa_project_pvt.Convert_pm_projref_to_id (
5951: p_pm_project_reference => p_pm_project_reference,
5952: p_pa_project_id => p_pa_project_id,