DBA Data[Home] [Help]

APPS.CST_MOHRULES_PUB dependencies on FND_API

Line 172: p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,

168: ----------------------------------------------------------------------------
169:
170: PROCEDURE apply_moh(
171: p_api_version IN NUMBER,
172: p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,
173: p_commit IN VARCHAR2 := FND_API.G_FALSE,
174: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL,
175: p_organization_id IN NUMBER,
176: p_earn_moh OUT NOCOPY NUMBER,

Line 173: p_commit IN VARCHAR2 := FND_API.G_FALSE,

169:
170: PROCEDURE apply_moh(
171: p_api_version IN NUMBER,
172: p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,
173: p_commit IN VARCHAR2 := FND_API.G_FALSE,
174: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL,
175: p_organization_id IN NUMBER,
176: p_earn_moh OUT NOCOPY NUMBER,
177: p_txn_id IN NUMBER,

Line 174: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL,

170: PROCEDURE apply_moh(
171: p_api_version IN NUMBER,
172: p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,
173: p_commit IN VARCHAR2 := FND_API.G_FALSE,
174: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL,
175: p_organization_id IN NUMBER,
176: p_earn_moh OUT NOCOPY NUMBER,
177: p_txn_id IN NUMBER,
178: p_item_id IN NUMBER,

Line 210: IF not fnd_api.compatible_api_call (

206: ------------------------------------------------
207: -- Standard call to check for API compatibility
208: ------------------------------------------------
209: l_stmt_num := 10;
210: IF not fnd_api.compatible_api_call (
211: l_api_version,
212: p_api_version,
213: l_api_name,
214: G_PKG_NAME ) then

Line 215: RAISE fnd_api.G_exc_unexpected_error;

211: l_api_version,
212: p_api_version,
213: l_api_name,
214: G_PKG_NAME ) then
215: RAISE fnd_api.G_exc_unexpected_error;
216: END IF;
217:
218: ------------------------------------------------------------
219:

Line 224: IF fnd_api.to_Boolean(p_init_msg_list) then

220: ------------------------------------------------------------
221: -- Initialize message list if p_init_msg_list is set to TRUE
222: -------------------------------------------------------------
223: l_stmt_num := 20;
224: IF fnd_api.to_Boolean(p_init_msg_list) then
225: fnd_msg_pub.initialize;
226: end if;
227:
228: -------------------------------------------------------------

Line 232: x_return_status := fnd_api.g_ret_sts_success;

228: -------------------------------------------------------------
229: -- Initialize API return status to Success
230: -------------------------------------------------------------
231: l_stmt_num := 30;
232: x_return_status := fnd_api.g_ret_sts_success;
233:
234: -------------------------------------------------------------
235: -- Select transaction and item details.Treat RTV
236: -- like PO Receipt txnx

Line 347: WHEN fnd_api.g_exc_error then

343: FND_FILE.PUT_LINE(FND_FILE.LOG, 'earn moh :' || p_earn_moh);
344: END IF;
345:
346: EXCEPTION
347: WHEN fnd_api.g_exc_error then
348: x_return_status := fnd_api.g_ret_sts_error;
349:
350: fnd_msg_pub.count_and_get
351: ( p_count => x_msg_count,

Line 348: x_return_status := fnd_api.g_ret_sts_error;

344: END IF;
345:
346: EXCEPTION
347: WHEN fnd_api.g_exc_error then
348: x_return_status := fnd_api.g_ret_sts_error;
349:
350: fnd_msg_pub.count_and_get
351: ( p_count => x_msg_count,
352: p_data => x_msg_data );

Line 354: WHEN fnd_api.g_exc_unexpected_error then

350: fnd_msg_pub.count_and_get
351: ( p_count => x_msg_count,
352: p_data => x_msg_data );
353:
354: WHEN fnd_api.g_exc_unexpected_error then
355: x_return_status := fnd_api.g_ret_sts_unexp_error;
356:
357: fnd_msg_pub.count_and_get
358: ( p_count => x_msg_count,

Line 355: x_return_status := fnd_api.g_ret_sts_unexp_error;

351: ( p_count => x_msg_count,
352: p_data => x_msg_data );
353:
354: WHEN fnd_api.g_exc_unexpected_error then
355: x_return_status := fnd_api.g_ret_sts_unexp_error;
356:
357: fnd_msg_pub.count_and_get
358: ( p_count => x_msg_count,
359: p_data => x_msg_data );

Line 362: x_return_status := fnd_api.g_ret_sts_unexp_error ;

358: ( p_count => x_msg_count,
359: p_data => x_msg_data );
360:
361: WHEN OTHERS THEN
362: x_return_status := fnd_api.g_ret_sts_unexp_error ;
363: If fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) then
364: fnd_msg_pub.add_exc_msg
365: ( 'CST_MOH_RULES_PUB','apply_moh : Statement - ' || to_char(l_stmt_num));
366: end if;