DBA Data[Home] [Help]

APPS.OKS_BRL_PVT dependencies on FND_MSG_PUB

Line 12: last_msg_idx INTEGER := FND_MSG_PUB.COUNT_MSG;

8: px_error_rec IN OUT NOCOPY OKC_API.ERROR_REC_TYPE,
9: px_error_tbl IN OUT NOCOPY OKC_API.ERROR_TBL_TYPE) IS
10:
11: j INTEGER := NVL(px_error_tbl.LAST, 0) + 1;
12: last_msg_idx INTEGER := FND_MSG_PUB.COUNT_MSG;
13: l_msg_idx INTEGER := FND_MSG_PUB.G_NEXT;
14: BEGIN
15: -- FND_MSG_PUB has a small error in it. If we call FND_MSG_PUB.COUNT_AND_GET before
16: -- we call FND_MSG_PUB.GET, the variable FND_MSG_PUB uses to control the index of the

Line 13: l_msg_idx INTEGER := FND_MSG_PUB.G_NEXT;

9: px_error_tbl IN OUT NOCOPY OKC_API.ERROR_TBL_TYPE) IS
10:
11: j INTEGER := NVL(px_error_tbl.LAST, 0) + 1;
12: last_msg_idx INTEGER := FND_MSG_PUB.COUNT_MSG;
13: l_msg_idx INTEGER := FND_MSG_PUB.G_NEXT;
14: BEGIN
15: -- FND_MSG_PUB has a small error in it. If we call FND_MSG_PUB.COUNT_AND_GET before
16: -- we call FND_MSG_PUB.GET, the variable FND_MSG_PUB uses to control the index of the
17: -- message stack gets set to 1. This makes sense until we call FND_MSG_PUB.GET which

Line 15: -- FND_MSG_PUB has a small error in it. If we call FND_MSG_PUB.COUNT_AND_GET before

11: j INTEGER := NVL(px_error_tbl.LAST, 0) + 1;
12: last_msg_idx INTEGER := FND_MSG_PUB.COUNT_MSG;
13: l_msg_idx INTEGER := FND_MSG_PUB.G_NEXT;
14: BEGIN
15: -- FND_MSG_PUB has a small error in it. If we call FND_MSG_PUB.COUNT_AND_GET before
16: -- we call FND_MSG_PUB.GET, the variable FND_MSG_PUB uses to control the index of the
17: -- message stack gets set to 1. This makes sense until we call FND_MSG_PUB.GET which
18: -- automatically increments the index by 1, (making it 2), however, when the GET function
19: -- attempts to pull message 2, we get a NO_DATA_FOUND exception because there isn't any

Line 16: -- we call FND_MSG_PUB.GET, the variable FND_MSG_PUB uses to control the index of the

12: last_msg_idx INTEGER := FND_MSG_PUB.COUNT_MSG;
13: l_msg_idx INTEGER := FND_MSG_PUB.G_NEXT;
14: BEGIN
15: -- FND_MSG_PUB has a small error in it. If we call FND_MSG_PUB.COUNT_AND_GET before
16: -- we call FND_MSG_PUB.GET, the variable FND_MSG_PUB uses to control the index of the
17: -- message stack gets set to 1. This makes sense until we call FND_MSG_PUB.GET which
18: -- automatically increments the index by 1, (making it 2), however, when the GET function
19: -- attempts to pull message 2, we get a NO_DATA_FOUND exception because there isn't any
20: -- message 2. To circumvent this problem, check the amount of messages and compensate.

Line 17: -- message stack gets set to 1. This makes sense until we call FND_MSG_PUB.GET which

13: l_msg_idx INTEGER := FND_MSG_PUB.G_NEXT;
14: BEGIN
15: -- FND_MSG_PUB has a small error in it. If we call FND_MSG_PUB.COUNT_AND_GET before
16: -- we call FND_MSG_PUB.GET, the variable FND_MSG_PUB uses to control the index of the
17: -- message stack gets set to 1. This makes sense until we call FND_MSG_PUB.GET which
18: -- automatically increments the index by 1, (making it 2), however, when the GET function
19: -- attempts to pull message 2, we get a NO_DATA_FOUND exception because there isn't any
20: -- message 2. To circumvent this problem, check the amount of messages and compensate.
21: -- Again, this error only occurs when 1 message is on the stack because COUNT_AND_GET

Line 24: l_msg_idx := FND_MSG_PUB.G_FIRST;

20: -- message 2. To circumvent this problem, check the amount of messages and compensate.
21: -- Again, this error only occurs when 1 message is on the stack because COUNT_AND_GET
22: -- will only update the index variable when 1 and only 1 message is on the stack.
23: IF (last_msg_idx = 1) THEN
24: l_msg_idx := FND_MSG_PUB.G_FIRST;
25: END IF;
26: LOOP
27: fnd_msg_pub.get(
28: p_msg_index => l_msg_idx,

Line 27: fnd_msg_pub.get(

23: IF (last_msg_idx = 1) THEN
24: l_msg_idx := FND_MSG_PUB.G_FIRST;
25: END IF;
26: LOOP
27: fnd_msg_pub.get(
28: p_msg_index => l_msg_idx,
29: p_encoded => fnd_api.g_false,
30: p_data => px_error_rec.msg_data,
31: p_msg_index_out => px_error_rec.msg_count);