SQL for Current approver of AP Invoice — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

SQL for Current approver of AP Invoice

Summary:

We have requirement to find the current approver of AP Invoice if the invoice is under approval .

We are using below query to find the current approver

select APPROVER_ID from ap_inv_aprvl_hist_all where history_type = 'DOCUMENTAPPROVAL' and action_date is null

order by invoice_id , approval_history_id

Please let us know if it is right way to identify the current approver of Invoice approval.

Content (required):


Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!