Oracle development common LOV

Source: Internet
Author: User

 

-- Payment type
Select a. meaning,
A. description
From fnd_lookup_values
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'

-- Project
Select a. segment1 meaning,
A. name description
From pa_projects_all
Where a. project_status_code = 'apache'
 
-- Department
Select
A. meaning,
A. description
From fnd_lookup_values
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'

-- Supplier
Select a. vendor_name,
A. segment1
From po_vendors
Where (a. end_date_active is null or a. end_date_active> sysdate)
 
-- Purchase order number
Select segment1,
Comments
From po_headers_all
Order by segment1

-- Visa category

Select
T. meaning
From
Fnd_lookup_values_vl t
Where t. lookup_type = 'cux _ fc_qzyy'

-- Task ID

Select Distinct
A. Task_Number,
A. Task_Name
From pa_tasks

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.