SQL help to find all prepaid expense invoices which are partially accounted
Hello,
I am working on Oracle Internet Expenses version 12.2.12 and have a requirement to identify all expense report invoices with a prepayment applied and partially accounted.
My understanding is to create an SQL script using the following tables
AP_EXPENSE_REPORT_HEADERS
AP_EXPENSE_REPORT_LINES_ALL
AP_EXP_REPORT_DISTS_ALL
AP_INVOICES_ALL
AP_INVOICE_LINES_ALL
AP_INVOICE_DISTRIBUTIONS_ALL
AP_AE_LINES_ALL
AP_AE_HEADERS_ALL
I am an SQL rookie on the case currently searching online but wondering if anyone would have a script already written that could be provided to identify such records ?