573: );
574: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
575: x_return_status := l_return_status;
576: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
577: FND_MESSAGE.Set_Name('ASO', 'ASO_OM_ERROR');
578: FND_MESSAGE.Set_Token('MSG_TXT', substr(l_return_status_text, 1,255), FALSE);
579: FND_MSG_PUB.ADD;
580: END IF;
581: RAISE FND_API.G_EXC_ERROR;
574: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
575: x_return_status := l_return_status;
576: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
577: FND_MESSAGE.Set_Name('ASO', 'ASO_OM_ERROR');
578: FND_MESSAGE.Set_Token('MSG_TXT', substr(l_return_status_text, 1,255), FALSE);
579: FND_MSG_PUB.ADD;
580: END IF;
581: RAISE FND_API.G_EXC_ERROR;
582: END IF;
1361:
1362: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1363: x_return_status := l_return_status;
1364: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
1365: FND_MESSAGE.Set_Name('ASO', 'ASO_OM_ERROR');
1366: FND_MESSAGE.Set_Token('MSG_TXT', substr(l_return_status_text, 1,255), FALSE);
1367: FND_MSG_PUB.ADD;
1368: END IF;
1369: RAISE FND_API.G_EXC_ERROR;
1362: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1363: x_return_status := l_return_status;
1364: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
1365: FND_MESSAGE.Set_Name('ASO', 'ASO_OM_ERROR');
1366: FND_MESSAGE.Set_Token('MSG_TXT', substr(l_return_status_text, 1,255), FALSE);
1367: FND_MSG_PUB.ADD;
1368: END IF;
1369: RAISE FND_API.G_EXC_ERROR;
1370: END IF;
2254: );
2255: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2256: x_return_status := l_return_status;
2257: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
2258: FND_MESSAGE.Set_Name('ASO', 'ASO_OM_ERROR');
2259: FND_MESSAGE.Set_Token('MSG_TXT', substr(l_return_status_text, 1,255), FALSE);
2260: FND_MSG_PUB.ADD;
2261: END IF;
2262: RAISE FND_API.G_EXC_ERROR;
2255: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2256: x_return_status := l_return_status;
2257: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
2258: FND_MESSAGE.Set_Name('ASO', 'ASO_OM_ERROR');
2259: FND_MESSAGE.Set_Token('MSG_TXT', substr(l_return_status_text, 1,255), FALSE);
2260: FND_MSG_PUB.ADD;
2261: END IF;
2262: RAISE FND_API.G_EXC_ERROR;
2263: END IF;
2815: );
2816: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2817: x_return_status := l_return_status;
2818: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
2819: FND_MESSAGE.Set_Name('ASO', 'ASO_OM_ERROR');
2820: FND_MESSAGE.Set_Token('MSG_TXT', substr(l_return_status_text, 1,255), FALSE);
2821: FND_MSG_PUB.ADD;
2822: END IF;
2823: RAISE FND_API.G_EXC_ERROR;
2816: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2817: x_return_status := l_return_status;
2818: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
2819: FND_MESSAGE.Set_Name('ASO', 'ASO_OM_ERROR');
2820: FND_MESSAGE.Set_Token('MSG_TXT', substr(l_return_status_text, 1,255), FALSE);
2821: FND_MSG_PUB.ADD;
2822: END IF;
2823: RAISE FND_API.G_EXC_ERROR;
2824: END IF;