330: Write_Log(l_full_name, 'end');
331: EXCEPTION
332: WHEN FND_API.G_EXC_ERROR THEN
333: x_return_status := FND_API.G_RET_STS_ERROR;
334: -- Standard call to get message count and if count=1, get the message
335: FND_MSG_PUB.Count_And_Get(p_encoded => FND_API.G_FALSE
336: ,p_count => x_msg_count
337: ,p_data => x_msg_data
338: );
338: );
339:
340: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
341: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
342: -- Standard call to get message count and if count=1, get the message
343: FND_MSG_PUB.Count_And_Get(p_encoded => FND_API.G_FALSE
344: ,p_count => x_msg_count
345: ,p_data => x_msg_data
346: );
350: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
351: FND_MESSAGE.set_name('AMS', 'AMS_CLAIM_UPD_DEDU_ERR');
352: FND_MSG_PUB.add;
353: END IF;
354: -- Standard call to get message count and if count=1, get the message
355: FND_MSG_PUB.Count_And_Get(p_encoded => FND_API.G_FALSE
356: ,p_count => x_msg_count
357: ,p_data => x_msg_data
358: );
426: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
427: FND_MESSAGE.set_name('OZF', 'OZF_CLAIM_CRE_DEDU_ERR');
428: FND_MSG_PUB.add;
429: END IF;
430: -- Standard call to get message count and if count=1, get the message
431: FND_MSG_PUB.Count_And_Get (
432: p_encoded => FND_API.G_FALSE,
433: p_count => x_msg_count,
434: p_data => x_msg_data
524:
525:
526: BEGIN
527: --------------------- initialize -----------------------
528: -- Standard Start of API savepoint
529: SAVEPOINT CREATE_CLAIM_GRP;
530:
531: Write_Log(l_full_name, 'start');
532:
529: SAVEPOINT CREATE_CLAIM_GRP;
530:
531: Write_Log(l_full_name, 'start');
532:
533: -- Standard call to check for call compatibility.
534: IF NOT FND_API.Compatible_API_Call ( l_api_version,
535: p_api_version_number,
536: l_api_name,
537: G_PKG_NAME)
867: ------------------------- finish -------------------------------
868: Write_Log(l_full_name, 'end');
869:
870:
871: -- Standard check for p_commit
872: IF FND_API.to_Boolean(p_commit) THEN
873: COMMIT WORK;
874: END IF;
875:
879: FND_MESSAGE.Set_Token('TEXT',l_full_name||'End');
880: FND_MSG_PUB.Add;
881: END IF;
882:
883: -- Standard call to get message count and if count is 1, get message info.
884: FND_MSG_PUB.Count_And_Get(
885: p_count => x_msg_count,
886: p_data => x_msg_data
887: );
1786:
1787: EXCEPTION
1788: WHEN FND_API.G_EXC_ERROR THEN
1789: x_return_status := FND_API.G_RET_STS_ERROR;
1790: -- Standard call to get message count and if count=1, get the message
1791: FND_MSG_PUB.Count_And_Get(p_encoded => FND_API.G_FALSE
1792: ,p_count => x_msg_count
1793: ,p_data => x_msg_data
1794: );
1794: );
1795:
1796: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1797: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1798: -- Standard call to get message count and if count=1, get the message
1799: FND_MSG_PUB.Count_And_Get(p_encoded => FND_API.G_FALSE
1800: ,p_count => x_msg_count
1801: ,p_data => x_msg_data
1802: );
1806: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1807: FND_MESSAGE.set_name('AMS', 'AMS_CLAIM_UPD_DEDU_ERR');
1808: FND_MSG_PUB.add;
1809: END IF;
1810: -- Standard call to get message count and if count=1, get the message
1811: FND_MSG_PUB.Count_And_Get(p_encoded => FND_API.G_FALSE
1812: ,p_count => x_msg_count
1813: ,p_data => x_msg_data
1814: );
2459: END IF; -- if l_cancel_claim = 'Y' */
2460: END LOOP;
2461: END IF; --IF l_split_flag = 'YES' THEN
2462:
2463: -- Standard call to get message count and if count is 1, get message info.
2464: FND_MSG_PUB.Count_And_Get
2465: (p_count => x_msg_count,
2466: p_data => x_msg_data
2467: );
2470:
2471: EXCEPTION
2472: WHEN FND_API.G_EXC_ERROR THEN
2473: x_return_status := FND_API.G_RET_STS_ERROR;
2474: -- Standard call to get message count and if count=1, get the message
2475: FND_MSG_PUB.Count_And_Get(p_encoded => FND_API.G_FALSE
2476: ,p_count => x_msg_count
2477: ,p_data => x_msg_data
2478: );
2478: );
2479:
2480: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
2481: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2482: -- Standard call to get message count and if count=1, get the message
2483: FND_MSG_PUB.Count_And_Get(p_encoded => FND_API.G_FALSE
2484: ,p_count => x_msg_count
2485: ,p_data => x_msg_data
2486: );
2489: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2490: FND_MESSAGE.set_name('AMS', 'AMS_CLAIM_UPD_DEDU_ERR');
2491: FND_MSG_PUB.add;
2492: END IF;
2493: -- Standard call to get message count and if count=1, get the message
2494: FND_MSG_PUB.Count_And_Get(p_encoded => FND_API.G_FALSE
2495: ,p_count => x_msg_count
2496: ,p_data => x_msg_data
2497: );
2723: --AND status_code <> 'CLOSED';
2724:
2725:
2726: BEGIN
2727: -- Standard Start of API savepoint
2728: SAVEPOINT UPDATE_CLAIM_GRP;
2729:
2730: Write_Log(l_full_name, 'start');
2731:
2728: SAVEPOINT UPDATE_CLAIM_GRP;
2729:
2730: Write_Log(l_full_name, 'start');
2731:
2732: -- Standard call to check for call compatibility.
2733: IF NOT FND_API.Compatible_API_Call ( l_api_version,
2734: p_api_version_number,
2735: l_api_name,
2736: G_PKG_NAME ) THEN
2987:
2988:
2989: Write_Log(l_full_name, 'end');
2990:
2991: -- Standard check for p_commit
2992: IF FND_API.to_Boolean(p_commit) THEN
2993: COMMIT WORK;
2994: END IF;
2995:
2992: IF FND_API.to_Boolean(p_commit) THEN
2993: COMMIT WORK;
2994: END IF;
2995:
2996: -- Standard call to get message count and if count is 1, get message info.
2997: FND_MSG_PUB.Count_And_Get(
2998: p_count => x_msg_count,
2999: p_data => x_msg_data
3000: );