Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 211 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 77 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Access procurement approval workflows in OTBI
Answers
-
Hello Craig W NNL,
Please check the below:
SQL for Current approver of AP Invoice — Cloud Customer Connect
Try this:
SELECT
ai.invoice_id,
ai.invoice_num,
aiah.approver_id,
fu.user_name AS approver_user_name,
aiah.approval_history_id,
aiah.action_date,
aiah.history_type,
aiah.approver_action
FROM
ap_invoices_all ai
JOIN
ap_inv_aprvl_hist_all aiah ON ai.invoice_id = aiah.invoice_id
JOIN
fnd_user fu ON aiah.approver_id = fu.user_id
WHERE
aiah.history_type = 'DOCUMENTAPPROVAL'
AND aiah.action_date IS NULL
ORDER BY
ai.invoice_id, aiah.approval_history_id;Thanks,
Riyaz Ali1 -
Riyaz Ali-Oracle much appreciated this will be very helpful.
0 -
If my response has answered your question or assisted you with your concern, please click"yes" below to accept the answer or comment with any additional queries. You can also read the Cloud Customer Connect Guidelines for
0 -
@Riyaz Ali-Oracle once I get our reports updated and validated I will come back and mark yes. Thanks!
0