-- 支付類別
Select a.meaning,
a.description
from fnd_lookup_values a
where a.lookup_type = 'CUX_YDZJJH_LB'
and a.language = USERENV('LANG')
and (a.end_date_active is null
or a.end_date_active>sysdate)
and a.enabled_flag='Y'
--項目
Select a.segment1 meaning,
a.name description
from pa_projects_all a
where a.project_status_code = 'APPROVED'
--部門
Select
a.meaning,
a.description
from fnd_lookup_values a
where a.lookup_type = 'CUX_FC_CBBM'
and a.language = USERENV('LANG')
and (a.end_date_active is null
or a.end_date_active>sysdate)
and a.enabled_flag='Y'
-- 供應商
Select a.vendor_name,
a.segment1
from po_vendors a
where (a.end_date_active is null or a.end_date_active>sysdate)
-- 採購訂單號
select segment1,
comments
from po_headers_all
order by segment1
--簽證分類
select
t.meaning
from
fnd_lookup_values_vl t
Where t.lookup_type='CUX_FC_QZYY'
-- 任務ID
Select Distinct
A.Task_Number,
A.Task_Name
From pa_tasks A