Reports (BIP) – Tips/ Shortcuts
- To display the date in DD-Mon-RRRR format, please use below in your SQL query:
to_char(date_of_birth,’DD-Mon-RRRR’, ‘nls_date_language=American’)
- Use below condition to get current user id:
fnd_global.USER_GUID
AND PP.PERSON_ID = PU.PERSON_ID
AND PU.USER_GUID = FND_GLOBAL.USER_GUID
— Use below function to convert the amount in Arabic:
<?xdoxslt:toCheckNumber(‘ar-SA’, TOTAL, ‘AED’,’CASE_UPPER’)?>
— Using LISTAGG to show multiple rows into a single cell:
select listagg(papf.person_number,';') within group (order by person_number) from per_all_people_f papf
where rownum <=5
— Getting Person Id of logged in Person:
HRC_SESSION_UTIL.GET_USER_PERSONID
— Get UDT value in BIP:
ff_user_tables_pkg.get_table_value