AP相关表
--select * from fnd_user t where t.user_name like '%&user_name%';--17022 --应付模块表 select * from ap_invoices_all t where t.created_by=17022; select * from ap_invoice_lines_all t where t.created_by=17022; select * from ap_invoice_distributions_all t where t.created_by=17022; select * from ap_payment_schedules_all t where t.created_by=17022; select * from ap_checks_all t where t.created_by=17022; select * from ap_payment_history_all t where t.created_by=17022; select * from ap_invoice_payments_all t where t.created_by=17022; select * from zx_lines t where t.created_by=17022; select * from zx_lines_summary t where t.created_by=17022; select * from zx_lines_det_factors t where t.created_by=17022; --子分类帐表 select * from xla_events t where t.created_by=17022; select * from xla.xla_transaction_entities t where t.created_by=17022; select * from xla_ae_headers t where t.created_by=17022; select * from xla_ae_lines t where t.created_by=17022; --总账表 select * from gl_je_lines t where t.created_by=17022; select * from gl_je_headers t where t.created_by=17022; select * from gl_je_batches t where t.created_by=17022; select * from gl_import_references gir where gir.je_header_id in (select jh.je_header_id from gl_je_headers jh where jh.created_by=17022); select count(1) from gl_je_headers t where to_char(t.creation_date,'YYYY-MM-DD')='2018-08-14';