DBA Data[Home] [Help]

APPS.CSM_UTIL_PKG dependencies on FND_MSG_PUB

Line 1395: FND_MSG_PUB message stack.

1391: /***
1392: This function returns a translated error message string. If p_api_error is FALSE, it gets
1393: message with MESSAGE_NAME = p_message from FND_NEW_MESSAGES and replaces any tokens with
1394: the supplied token values. If p_api_error is TRUE, it just returns the api error in the
1395: FND_MSG_PUB message stack.
1396: ***/
1397: FUNCTION GET_ERROR_MESSAGE_TEXT
1398: (
1399: p_api_error IN BOOLEAN DEFAULT FALSE

Line 1450: IF FND_MSG_PUB.Count_Msg > 0 THEN

1446:
1447: l_fnd_message := FND_MESSAGE.Get;
1448: ELSE
1449: /*** API error -> retrieve error from message stack ***/
1450: IF FND_MSG_PUB.Count_Msg > 0 THEN
1451: FND_MSG_PUB.Get
1452: ( p_msg_index => 1
1453: , p_encoded => FND_API.G_FALSE
1454: , p_data => l_msg_data

Line 1451: FND_MSG_PUB.Get

1447: l_fnd_message := FND_MESSAGE.Get;
1448: ELSE
1449: /*** API error -> retrieve error from message stack ***/
1450: IF FND_MSG_PUB.Count_Msg > 0 THEN
1451: FND_MSG_PUB.Get
1452: ( p_msg_index => 1
1453: , p_encoded => FND_API.G_FALSE
1454: , p_data => l_msg_data
1455: , p_msg_index_out => l_msg_dummy

Line 1459: IN 2 .. FND_MSG_PUB.Count_Msg

1455: , p_msg_index_out => l_msg_dummy
1456: );
1457: l_fnd_message := l_msg_data;
1458: FOR l_counter
1459: IN 2 .. FND_MSG_PUB.Count_Msg
1460: LOOP
1461: FND_MSG_PUB.Get
1462: ( p_msg_index => l_counter
1463: , p_encoded => FND_API.G_FALSE

Line 1461: FND_MSG_PUB.Get

1457: l_fnd_message := l_msg_data;
1458: FOR l_counter
1459: IN 2 .. FND_MSG_PUB.Count_Msg
1460: LOOP
1461: FND_MSG_PUB.Get
1462: ( p_msg_index => l_counter
1463: , p_encoded => FND_API.G_FALSE
1464: , p_data => l_msg_data
1465: , p_msg_index_out => l_msg_dummy

Line 1524: fnd_msg_pub.Add_Exc_Msg( g_object_name, 'DELETE_RECORD', 'Unknown error');

1520: x_return_status);
1521:
1522: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1523: /*** error occurred ***/
1524: fnd_msg_pub.Add_Exc_Msg( g_object_name, 'DELETE_RECORD', 'Unknown error');
1525: p_error_msg := GET_ERROR_MESSAGE_TEXT
1526: (
1527: p_api_error => TRUE
1528: );

Line 1542: fnd_msg_pub.Add_Exc_Msg( g_object_name, 'DELETE_RECORD', sqlerrm);

1538: log
1539: ( 'Exception occurred in DELETE_RECORD:' || ' ' || sqlerrm);
1540: END IF;
1541:
1542: fnd_msg_pub.Add_Exc_Msg( g_object_name, 'DELETE_RECORD', sqlerrm);
1543: p_error_msg := GET_ERROR_MESSAGE_TEXT
1544: (
1545: p_api_error => TRUE
1546: );