Asset Module Report with Location Flexfiled
Hello Guys,
I am working on a customized report in the Oracle EBS 12.1.3 Fixed Assets module report, In the report I need to display the Location Flexfield values and its description, I have made the following query
SELECT fdh.location_id,
(SELECT LOCATION_DESCRIPTION
FROM XX_ASSET_LOCATIONS --custom view
WHERE SEGMENT_CODE =
(select segment6 from fa_locations
where location_id=fdh.location_id)
and application_column_name='SEGMENT6'
)DEPT_NAME,
fcb.description category_description, fbv.book_type_code
,fab.asset_number,fab.asset_id
,fab.tag_number
,fbv.date_placed_in_service
,fab.description
,fcb.segment1||'.'||fcb.segment2 asset_category
0