uViews placed on top of dynamic functions:
ØCompletely hide the logic from the UI
ØINSTEAD-OF triggers make logic bi-directional.
ØMinor problem – There is still no way of passing
parameters into the view other
than by using some type of global.
u
uCreate or replace view v_generic_lov as
uselect id_nr, display_tx
ufrom table( cast(f_getLov_nt
u (GV_pkg.f_getCurTable,
u
GV_pkg.f_getPK(GV_pkg.f_getCurTable),
u
GV_pkg.f_getDSP(GV_pkg.f_getCurTable),
u
GV_pkg.f_getSORT(GV_pkg.f_getCurTable))
u as lov_nt)
u )