Teacher: Muhammad Nur E Alam, nurealam.rajjak@gmail.
com WhatsApp: +8801917975575
Side By Side Master-Details-
Left Column-Search-Query
for Date Format & Add New Column
-By-Muhammad Nur E Alam
select "EXPENSE_M_ID",
null LINK_CLASS,
apex_page.get_url(p_items => 'P18_EXPENSE_M_ID', p_values => "EXPENSE_M_ID") LINK,
null ICON_CLASS,
null LINK_ATTR,
null ICON_COLOR_CLASS,
case when coalesce(:P18_EXPENSE_M_ID,'0') = "EXPENSE_M_ID"
then 'is-active'
else ' '
end LIST_CLASS,
-------- List Data ----
(substr(TO_CHAR("EXPENSE_DATE",'DD-Mon-RRRR'), 1, 50)||( case when length(TO_CHAR("EXPENSE_DATE",'DD-Mon-RRRR')) > 50 then '...' else '' end )) LIST_TITLE,
(substr("BRANCH_NAME", 1, 50)||( case when length("BRANCH_NAME") > 50 then '...' else '' end )) LIST_TEXT,
-------- End of List Data ---------
null LIST_BADGE
from "EXPENSE_M" x, "BRANCH" y
where (:P18_SEARCH is null
or upper(x."EXPENSE_DATE") like '%'||upper(:P18_SEARCH)||'%'
or upper(y."BRANCH_NAME") like '%'||upper(:P18_SEARCH)||'%'
)
and x.BRANCH_ID = y.BRANCH_ID(+)
order by "EXPENSE_M_ID" DESC ;
@@@@@@@@@@ End @@@@@@@@@@
Page 1 of 1
Youtube Channel: https://www.youtube.com/@muhammadnurealam