DBA Data[Home] [Help]

APPS.JTF_RS_ROLE_RELATE_VUHK dependencies on FND_MESSAGE

Line 733: fnd_message.set_name ('CN', 'CN_SRP_PG_WS');

729: -- before throwing the vertical hook error.
730: IF (x_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
731: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_error)
732: THEN
733: fnd_message.set_name ('CN', 'CN_SRP_PG_WS');
734: FND_MSG_PUB.add;
735: END IF;
736: x_loading_status := 'CN_SRP_PG_WS';
737: ElSE */

Line 1097: FND_MESSAGE.SET_NAME('CN', 'CN_RES_MUST_BE_SRP');

1093:
1094: -- if trying to assign a SALES_COMP role to a non-salesrep, then error
1095: IF l_salesrep_id IS NULL AND p_role_resource_type = 'RS_INDIVIDUAL' AND
1096: l_usage = 'SALES_COMP' THEN
1097: FND_MESSAGE.SET_NAME('CN', 'CN_RES_MUST_BE_SRP');
1098: -- A sales compensation role cannot be assigned to a resource
1099: -- that is not a salesperson.
1100: FND_MSG_PUB.ADD;
1101: RAISE FND_API.G_EXC_ERROR;

Line 1123: FND_MESSAGE.SET_NAME('CN', 'CN_SRP_CANNOT_HAVE_ANAL_ROLE');

1119: AND TRUNC(P_START_DATE_ACTIVE)
1120: <= NVL(TRUNC(rr.end_date_active),TRUNC(P_START_DATE_ACTIVE));
1121:
1122: if l_count <> 0 then
1123: FND_MESSAGE.SET_NAME('CN', 'CN_SRP_CANNOT_HAVE_ANAL_ROLE');
1124: -- A salesperson cannot be assigned a payment analyst role.
1125: FND_MSG_PUB.ADD;
1126: RAISE FND_API.G_EXC_ERROR;
1127: end if;

Line 1147: FND_MESSAGE.SET_NAME('CN', 'CN_SRP_CANNOT_HAVE_ANAL_ROLE');

1143: AND TRUNC(P_START_DATE_ACTIVE)
1144: <= NVL(TRUNC(rr.end_date_active),TRUNC(P_START_DATE_ACTIVE));
1145:
1146: if l_count <> 0 then
1147: FND_MESSAGE.SET_NAME('CN', 'CN_SRP_CANNOT_HAVE_ANAL_ROLE');
1148: -- A salesperson cannot be assigned a payment analyst role.
1149: FND_MSG_PUB.ADD;
1150: RAISE FND_API.G_EXC_ERROR;
1151: end if;

Line 1166: FND_MESSAGE.SET_NAME('CN', 'CN_PAYEE_CANNOT_HAVE_SC_ROLE');

1162: and r.role_id <> G_PAYEE_ROLE
1163: and r.role_type_code = 'SALES_COMP';
1164:
1165: if l_count <> 0 then
1166: FND_MESSAGE.SET_NAME('CN', 'CN_PAYEE_CANNOT_HAVE_SC_ROLE');
1167: -- A salesperson cannot be assigned both the Payee role
1168: -- and another sales compensation role.
1169: FND_MSG_PUB.ADD;
1170: RAISE FND_API.G_EXC_ERROR;

Line 1182: FND_MESSAGE.SET_NAME('CN', 'CN_PAYEE_CANNOT_HAVE_SC_ROLE');

1178: and rr.delete_flag = 'N'
1179: and rr.role_id = G_PAYEE_ROLE;
1180:
1181: if l_count <> 0 then
1182: FND_MESSAGE.SET_NAME('CN', 'CN_PAYEE_CANNOT_HAVE_SC_ROLE');
1183: -- A salesperson cannot be assigned both the Payee role
1184: -- and another sales compensation role.
1185: FND_MSG_PUB.ADD;
1186: RAISE FND_API.G_EXC_ERROR;

Line 1529: FND_MESSAGE.SET_NAME('CN', 'CN_SRP_CANNOT_HAVE_ANAL_ROLE');

1525: AND TRUNC(P_START_DATE_ACTIVE)
1526: <= NVL(TRUNC(rr.end_date_active),TRUNC(P_START_DATE_ACTIVE)));
1527:
1528: if l_count <> 0 then
1529: FND_MESSAGE.SET_NAME('CN', 'CN_SRP_CANNOT_HAVE_ANAL_ROLE');
1530: -- A salesperson cannot be assigned a payment analyst role.
1531: FND_MSG_PUB.ADD;
1532: RAISE FND_API.G_EXC_ERROR;
1533: end if;

Line 1559: FND_MESSAGE.SET_NAME('CN', 'CN_SRP_CANNOT_HAVE_ANAL_ROLE');

1555: <= NVL(TRUNC(rr.end_date_active),TRUNC(P_START_DATE_ACTIVE))
1556: );
1557:
1558: if l_count <> 0 then
1559: FND_MESSAGE.SET_NAME('CN', 'CN_SRP_CANNOT_HAVE_ANAL_ROLE');
1560: -- A salesperson cannot be assigned a payment analyst role.
1561: FND_MSG_PUB.ADD;
1562: RAISE FND_API.G_EXC_ERROR;
1563: end if;

Line 1964: FND_MESSAGE.SET_NAME('CN', 'CN_PA_ASGN_DATE');

1960: and sr.start_date <= nvl(spa.end_date, sr.start_date)
1961: and spa.start_date <= nvl(sr.end_date, spa.start_date);
1962:
1963: if l_count <> 0 then
1964: FND_MESSAGE.SET_NAME('CN', 'CN_PA_ASGN_DATE');
1965: FND_MSG_PUB.ADD;
1966: RAISE FND_API.G_EXC_ERROR;
1967: end if;
1968: end if;

Line 2331: fnd_message.set_name('CN', 'CN_PA_ASGN_DATE');

2327:
2328: -- Raise Error
2329: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_error)
2330: THEN
2331: fnd_message.set_name('CN', 'CN_PA_ASGN_DATE');
2332: fnd_msg_pub.add;
2333: END IF;
2334: RAISE FND_API.G_EXC_ERROR;
2335: END IF;