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 209: IF not fnd_api.compatible_api_call (

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

Line 214: RAISE fnd_api.G_exc_unexpected_error;

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

Line 223: IF fnd_api.to_Boolean(p_init_msg_list) then

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

Line 231: x_return_status := fnd_api.g_ret_sts_success;

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

Line 342: WHEN fnd_api.g_exc_error then

338: FND_FILE.PUT_LINE(FND_FILE.LOG, 'earn moh :' || p_earn_moh);
339: END IF;
340:
341: EXCEPTION
342: WHEN fnd_api.g_exc_error then
343: x_return_status := fnd_api.g_ret_sts_error;
344:
345: fnd_msg_pub.count_and_get
346: ( p_count => x_msg_count,

Line 343: x_return_status := fnd_api.g_ret_sts_error;

339: END IF;
340:
341: EXCEPTION
342: WHEN fnd_api.g_exc_error then
343: x_return_status := fnd_api.g_ret_sts_error;
344:
345: fnd_msg_pub.count_and_get
346: ( p_count => x_msg_count,
347: p_data => x_msg_data );

Line 349: WHEN fnd_api.g_exc_unexpected_error then

345: fnd_msg_pub.count_and_get
346: ( p_count => x_msg_count,
347: p_data => x_msg_data );
348:
349: WHEN fnd_api.g_exc_unexpected_error then
350: x_return_status := fnd_api.g_ret_sts_unexp_error;
351:
352: fnd_msg_pub.count_and_get
353: ( p_count => x_msg_count,

Line 350: x_return_status := fnd_api.g_ret_sts_unexp_error;

346: ( p_count => x_msg_count,
347: p_data => x_msg_data );
348:
349: WHEN fnd_api.g_exc_unexpected_error then
350: x_return_status := fnd_api.g_ret_sts_unexp_error;
351:
352: fnd_msg_pub.count_and_get
353: ( p_count => x_msg_count,
354: p_data => x_msg_data );

Line 357: x_return_status := fnd_api.g_ret_sts_unexp_error ;

353: ( p_count => x_msg_count,
354: p_data => x_msg_data );
355:
356: WHEN OTHERS THEN
357: x_return_status := fnd_api.g_ret_sts_unexp_error ;
358: If fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) then
359: fnd_msg_pub.add_exc_msg
360: ( 'CST_MOH_RULES_PUB','apply_moh : Statement - ' || to_char(l_stmt_num));
361: end if;