[E-Bussiness Suite] Query Get Accounting 'Liabilities' invoice
in
E-Bussiness Suite,
Query
- on 9:30:00 AM
- No comments
Deskripsi
Untuk mendapatkan data 'Liabilities' pada View Accounting (Invoices)
Howto
select distinct ai.INVOICE_NUM
,AELA.AE_LINE_TYPE_CODE
,AELA.AE_LINE_NUMBER
,GCC.SEGMENT1 AS ACCOUNT
,AELA.ACCOUNTED_DR as debit
,AELA.ACCOUNTED_CR as credit
from AP_INVOICES_ALL AI
,AP_AE_LINES_ALL AELA
,gl_code_combinations GCC
where ai.gl_date >= to_date('01/05/2013','dd/mm/yyyy')
and ai.gl_date <= to_date('02/05/2013','dd/mm/yyyy')
and aela.SOURCE_ID = ai.INVOICE_ID(+)
and ae_line_type_code = 'LIABILITY'
and aela.ACCOUNTED_CR is not null
AND GCC.CODE_COMBINATION_ID = AELA.CODE_COMBINATION_ID
order by AI.INVOICE_NUM
;
Post a Comment
Harap gunakan bahasa yang baik dan sopan, terima kasih