DBA Data[Home] [Help]

APPS.GMF_VALIDATE_ACCOUNT dependencies on FND_API

Line 115: x_status := FND_API.G_RET_STS_SUCCESS;

111: -- uncomment the call below to write to a local file
112: -- FND_FILE.PUT_NAMES('gmfactmx.log','gmfactmx.out','/sqlcom/log/opm115m');
113:
114: -- Initialize API return status to success
115: x_status := FND_API.G_RET_STS_SUCCESS;
116:
117: -- gmf_util.trace( 'Now processing Company : ' || p_co_code || ' Accu Id : ' || p_acctg_unit_id ||
118: -- ' Acct Id : ' || p_acct_id, 1 );
119:

Line 242: x_status := FND_API.G_RET_STS_ERROR;

238: x_ccid := l_ccid;
239:
240: EXCEPTION
241: WHEN e_acctg_unit_not_found THEN
242: x_status := FND_API.G_RET_STS_ERROR;
243: x_errmsg := msg_log('GMF_CROSSVAL_ACCU_ERROR', p_acctg_unit_id, p_co_code,'','','');
244: WHEN e_acct_not_found THEN
245: x_status := FND_API.G_RET_STS_ERROR;
246: x_errmsg := msg_log('GMF_CROSSVAL_ACCT_ERROR', p_acct_id, p_co_code,'','','');

Line 245: x_status := FND_API.G_RET_STS_ERROR;

241: WHEN e_acctg_unit_not_found THEN
242: x_status := FND_API.G_RET_STS_ERROR;
243: x_errmsg := msg_log('GMF_CROSSVAL_ACCU_ERROR', p_acctg_unit_id, p_co_code,'','','');
244: WHEN e_acct_not_found THEN
245: x_status := FND_API.G_RET_STS_ERROR;
246: x_errmsg := msg_log('GMF_CROSSVAL_ACCT_ERROR', p_acct_id, p_co_code,'','','');
247: WHEN e_validation_error THEN
248: x_status := FND_API.G_RET_STS_ERROR;
249: x_concat_seg := substrb(l_concat_segs, 1, 240);

Line 248: x_status := FND_API.G_RET_STS_ERROR;

244: WHEN e_acct_not_found THEN
245: x_status := FND_API.G_RET_STS_ERROR;
246: x_errmsg := msg_log('GMF_CROSSVAL_ACCT_ERROR', p_acct_id, p_co_code,'','','');
247: WHEN e_validation_error THEN
248: x_status := FND_API.G_RET_STS_ERROR;
249: x_concat_seg := substrb(l_concat_segs, 1, 240);
250: x_errmsg := substrb(FND_FLEX_KEYVAL.error_message, 1, 240);
251: -- gmf_util.trace(' INVALID. Message = ' || FND_FLEX_KEYVAL.error_message, 2);
252: END validate_segments;

Line 324: x_status := FND_API.G_RET_STS_SUCCESS;

320: -- uncomment the call below to write to a local file
321: -- FND_FILE.PUT_NAMES('gmfactmx.log','gmfactmx.out','/sqlcom/log/opm115m');
322:
323: -- Initialize API return status to success
324: x_status := FND_API.G_RET_STS_SUCCESS;
325:
326: -- remove old rows and release memory.
327: errors.acct_combination := empty_acct_combination;
328: errors.error_messages := empty_error_messages;

Line 350: IF (l_status <> FND_API.G_RET_STS_SUCCESS) THEN -- Bug xxx

346: x_errmsg => l_errmsg
347: );
348:
349: -- Invalid combination
350: IF (l_status <> FND_API.G_RET_STS_SUCCESS) THEN -- Bug xxx
351:
352: -- Index for message table
353: l_index := l_index + 1;
354:

Line 442: x_status := FND_API.G_RET_STS_SUCCESS;

438:
439: BEGIN
440:
441: -- Initialize API return status to success
442: x_status := FND_API.G_RET_STS_SUCCESS;
443:
444: IF (p_co_code IS NULL) OR (p_acctg_unit_no IS NULL) OR (p_acct_no IS NULL) THEN
445: raise e_invalid_parameters; -- Bug xxx
446: END IF; -- Bug xxx: removed else block which was for the normal processing.

Line 467: IF (l_status <> FND_API.G_RET_STS_SUCCESS) THEN -- Bug xxx

463: x_errmsg => l_errmsg
464: );
465:
466: -- Invalid combination
467: IF (l_status <> FND_API.G_RET_STS_SUCCESS) THEN -- Bug xxx
468: raise e_validation_error;
469: END IF;
470:
471: /* Replaced the following sql with the if condition -- Bug xxx

Line 515: x_status := FND_API.G_RET_STS_ERROR;

511: x_ccid := -1;
512: x_status := l_status;
513: x_errmsg := msg_log('GMF_CROSSVAL_ERROR', l_errmsg,'','','','');
514: WHEN e_invalid_combination THEN
515: x_status := FND_API.G_RET_STS_ERROR;
516: x_errmsg := msg_log('GMF_CROSSVAL_INVALID_COMB', p_acct_no, p_acctg_unit_no, p_co_code,'','' );
517: WHEN e_invalid_parameters THEN -- Bug xxx
518: x_status := FND_API.G_RET_STS_ERROR;
519: x_errmsg := msg_log('GMF_CROSSVAL_INVALID_PARAMS', '', '', '', '', '');

Line 518: x_status := FND_API.G_RET_STS_ERROR;

514: WHEN e_invalid_combination THEN
515: x_status := FND_API.G_RET_STS_ERROR;
516: x_errmsg := msg_log('GMF_CROSSVAL_INVALID_COMB', p_acct_no, p_acctg_unit_no, p_co_code,'','' );
517: WHEN e_invalid_parameters THEN -- Bug xxx
518: x_status := FND_API.G_RET_STS_ERROR;
519: x_errmsg := msg_log('GMF_CROSSVAL_INVALID_PARAMS', '', '', '', '', '');
520: END get_accu_acct_ids;
521:
522: