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 Query to get Scanned Invoices as mentioned in UI Page

We would like to get SQL query for Scanned, Hold and Paid Invoices as mentioned in UI Page. Please find the below screenshot for more details.

Also, we have SQL queries to get Scanned and Hold Invoices. Could anyone please check and let us know if we are missing any crietria in below SQL.

Scanned Invoices:

SELECT INVOICE_NUM FROM AP_INVOICES_ALL

WHERE 1=1

AND SOURCE='IMAGE'AND APPROVAL_STATUS NOT IN ('APPROVED','CANCELLED')

Hold Invoices:

select
inv_cnt,
invoice_amount,
'https://' || (
SELECT EXTERNAL_VIRTUAL_HOST
FROM ASK_DEPLOYED_DOMAINS
WHERE DEPLOYED_DOMAIN_NAME = 'FADomain'
) || ':443/analytics/saw.dll?bipublisherEntry&Action=open&itemType=.xdo&bipPath=%2FMCS%2FAP%20Dashboard%2FInvoice%20On%20Hold%20Drill%20Down%20Report.xdo&bipParams={"_xmode":"2","_sTkn":"e1ade19a191e68a37bc","_xiasynch":"","_xpf":"","_xpt":"0","_dFlag":"false","_edIndex":"0","_dIndex":"0","_rToken":"","_ranDiag":"false","_xdo":"%2FMCS%2FAP%20Dashboard%2FInvoice%20On%20Hold%20Drill%20Down%20Report.xdo","_xt":"Invoice%20Drill%20Down%20Report","_xf":"analyze","_xana":"view","_UI":"true"}&_linkToReport=true' HOLD_URL

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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