DBA Data[Home] [Help]

APPS.FUN_WF_COMMON dependencies on FND_API

Line 495: IF l_return_status <> FND_API.G_RET_STS_SUCCESS

491: x_return_status => l_return_status,
492: x_ame_admin_user => l_ame_admin_user,
493: x_error_message => l_error_message);
494:
495: IF l_return_status <> FND_API.G_RET_STS_SUCCESS
496: THEN
497: wf_engine.SetItemAttrText(itemtype => itemtype,
498: itemkey => itemkey,
499: aname => 'AME_ADMIN_USER',

Line 703: IF l_return_status <> FND_API.G_RET_STS_SUCCESS

699: x_ame_admin_user => l_ame_admin_user,
700: x_error_message => l_error_message);
701:
702: -- Check if Approval process is complete or was there an error
703: IF l_return_status <> FND_API.G_RET_STS_SUCCESS
704: THEN
705: wf_engine.SetItemAttrText(itemtype => itemtype,
706: itemkey => itemkey,
707: aname => 'AME_ADMIN_USER',

Line 830: x_return_status := FND_API.G_RET_STS_SUCCESS;

826: END IF;
827:
828: l_exp_date := SYSDATE + 1;
829: l_role_exists:='N';
830: x_return_status := FND_API.G_RET_STS_SUCCESS;
831:
832: -- Check if the ADHOC role already exists
833: OPEN c_chk_wf_role(l_role_name);
834: FETCH c_chk_wf_role INTO l_role_exists;

Line 872: x_return_status := FND_API.G_RET_STS_ERROR;

868: AND l_approver_table(1).approval_status = ame_util.exceptionStatus
869: THEN
870: -- Ame had an exception whilst generating the approver
871: -- list.
872: x_return_status := FND_API.G_RET_STS_ERROR;
873: FND_MESSAGE.Set_Name('FUN','FUN_AME_EXECUTION_EXCEPTION');
874: x_error_message := FND_MESSAGE.GET;
875:
876: RETURN;

Line 983: x_return_status := FND_API.G_RET_STS_ERROR;

979: transactionIdIn => p_transaction_id,
980: approverIn => l_invalid_usr_rec);
981: END LOOP;
982:
983: x_return_status := FND_API.G_RET_STS_ERROR;
984: FND_MESSAGE.Set_Name('FUN','FUN_AME_INVALID_USERS');
985: FND_MESSAGE.Set_Token ('USER_LIST',l_invalid_users);
986: x_error_message := FND_MESSAGE.GET;
987:

Line 1034: x_return_status := FND_API.G_RET_STS_ERROR;

1030: END IF;
1031:
1032: FND_MESSAGE.Set_Name('FUN','FUN_AME_UNEXPECTED_EXCEPTION');
1033: x_error_message := FND_MESSAGE.GET;
1034: x_return_status := FND_API.G_RET_STS_ERROR;
1035:
1036: END get_ame_role_list;
1037:
1038: -- 6995183 START

Line 1301: x_return_status := FND_API.G_RET_STS_SUCCESS;

1297: l_return_status VARCHAR2(1);
1298: l_le_error VARCHAR2(2000);
1299:
1300: BEGIN
1301: x_return_status := FND_API.G_RET_STS_SUCCESS;
1302:
1303: SELECT b.initiator_id,
1304: b.from_le_id,
1305: Nvl(t.allow_invoicing_flag, 'N')

Line 1324: IF l_ini_invoice_flag = FND_API.G_TRUE

1320: p_legal_entity_id => l_ini_le_id,
1321: p_party_id => l_initiator_id,
1322: x_intercompany_inv => l_ini_invoice_flag);
1323:
1324: IF l_ini_invoice_flag = FND_API.G_TRUE
1325: THEN
1326: -- invoicing is required for the initator and therefore
1327: -- required for all recipients.
1328: UPDATE fun_trx_headers

Line 1343: IF l_rec_invoice_flag = FND_API.G_TRUE

1339: p_legal_entity_id => l_trx_rec.to_le_id,
1340: p_party_id => l_trx_rec.recipient_id,
1341: x_intercompany_inv => l_rec_invoice_flag);
1342:
1343: IF l_rec_invoice_flag = FND_API.G_TRUE
1344: THEN
1345: -- invoicing is required for the recipient
1346: UPDATE fun_trx_headers
1347: SET invoice_flag = 'Y'

Line 1379: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1375: SQLERRM || ' Error occurred '||
1376: 'for batch ' || p_batch_id);
1377: END IF;
1378:
1379: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1380:
1381: END set_invoice_reqd_flag;
1382:
1383: PROCEDURE wf_abort (p_batch_id IN NUMBER,