Performance issue on XLA tables
I am developing a new custom report of AP liability in R12.
Below are the tables using in query
XLA.XLA_AE_LINES
XLA.XLA_DISTRIBUTION_LINKS
GL_CODE_COMBINATIONS
AP_INVOICE_DISTRIBUTIONS_ALL
AP_INVOICES_ALL
AP_BATCHES_ALL
AP_SUPPLIERS
AP_SUPPLIER_SITES
Logic behind this report is sum of accounted_cr - accounted_dr for remaining amount
Kindly help me. Thanks in advance