DBA Data[Home] [Help]

APPS.FUN_WF_COMMON dependencies on FND_API

Line 487: IF l_return_status <> FND_API.G_RET_STS_SUCCESS

483: x_return_status => l_return_status,
484: x_ame_admin_user => l_ame_admin_user,
485: x_error_message => l_error_message);
486:
487: IF l_return_status <> FND_API.G_RET_STS_SUCCESS
488: THEN
489: wf_engine.SetItemAttrText(itemtype => itemtype,
490: itemkey => itemkey,
491: aname => 'AME_ADMIN_USER',

Line 612: IF l_return_status <> FND_API.G_RET_STS_SUCCESS

608: x_ame_admin_user => l_ame_admin_user,
609: x_error_message => l_error_message);
610:
611: -- Check if Approval process is complete or was there an error
612: IF l_return_status <> FND_API.G_RET_STS_SUCCESS
613: THEN
614: wf_engine.SetItemAttrText(itemtype => itemtype,
615: itemkey => itemkey,
616: aname => 'AME_ADMIN_USER',

Line 739: x_return_status := FND_API.G_RET_STS_SUCCESS;

735: END IF;
736:
737: l_exp_date := SYSDATE + 1;
738: l_role_exists:='N';
739: x_return_status := FND_API.G_RET_STS_SUCCESS;
740:
741: -- Check if the ADHOC role already exists
742: OPEN c_chk_wf_role(l_role_name);
743: FETCH c_chk_wf_role INTO l_role_exists;

Line 781: x_return_status := FND_API.G_RET_STS_ERROR;

777: AND l_approver_table(1).approval_status = ame_util.exceptionStatus
778: THEN
779: -- Ame had an exception whilst generating the approver
780: -- list.
781: x_return_status := FND_API.G_RET_STS_ERROR;
782: FND_MESSAGE.Set_Name('FUN','FUN_AME_EXECUTION_EXCEPTION');
783: x_error_message := FND_MESSAGE.GET;
784:
785: RETURN;

Line 891: x_return_status := FND_API.G_RET_STS_ERROR;

887: transactionIdIn => p_transaction_id,
888: approverIn => l_invalid_usr_rec);
889: END LOOP;
890:
891: x_return_status := FND_API.G_RET_STS_ERROR;
892: FND_MESSAGE.Set_Name('FUN','FUN_AME_INVALID_USERS');
893: FND_MESSAGE.Set_Token ('USER_LIST',l_invalid_users);
894: x_error_message := FND_MESSAGE.GET;
895:

Line 940: x_return_status := FND_API.G_RET_STS_ERROR;

936: END IF;
937:
938: FND_MESSAGE.Set_Name('FUN','FUN_AME_UNEXPECTED_EXCEPTION');
939: x_error_message := FND_MESSAGE.GET;
940: x_return_status := FND_API.G_RET_STS_ERROR;
941:
942: END get_ame_role_list;
943:
944:

Line 1107: x_return_status := FND_API.G_RET_STS_SUCCESS;

1103: l_return_status VARCHAR2(1);
1104: l_le_error VARCHAR2(2000);
1105:
1106: BEGIN
1107: x_return_status := FND_API.G_RET_STS_SUCCESS;
1108:
1109: SELECT b.initiator_id,
1110: b.from_le_id,
1111: Nvl(t.allow_invoicing_flag, 'N')

Line 1130: IF l_ini_invoice_flag = FND_API.G_TRUE

1126: p_legal_entity_id => l_ini_le_id,
1127: p_party_id => l_initiator_id,
1128: x_intercompany_inv => l_ini_invoice_flag);
1129:
1130: IF l_ini_invoice_flag = FND_API.G_TRUE
1131: THEN
1132: -- invoicing is required for the initator and therefore
1133: -- required for all recipients.
1134: UPDATE fun_trx_headers

Line 1149: IF l_rec_invoice_flag = FND_API.G_TRUE

1145: p_legal_entity_id => l_trx_rec.to_le_id,
1146: p_party_id => l_trx_rec.recipient_id,
1147: x_intercompany_inv => l_rec_invoice_flag);
1148:
1149: IF l_rec_invoice_flag = FND_API.G_TRUE
1150: THEN
1151: -- invoicing is required for the recipient
1152: UPDATE fun_trx_headers
1153: SET invoice_flag = 'Y'

Line 1185: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1181: SQLERRM || ' Error occurred '||
1182: 'for batch ' || p_batch_id);
1183: END IF;
1184:
1185: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1186:
1187: END set_invoice_reqd_flag;
1188:
1189: PROCEDURE wf_abort (p_batch_id IN NUMBER,