Apps initialization in Custom Forms.
However, I have noticed that profile options are not being initialized properly. When I try to get the value fnd_profile.value('RESP_APPL_ID'). It is returning -1.
I have the apps initialization code in preform trigger after the app_standard.event as follows:
- mo_global.init (application short name)
- mo_global.set_policy_context ('S',org_id_value)
- apps.fnd_global.apps_initialize (userid,respid,respappid)
I perform the signon process in on-logon trigger using FND LOGON FNDNAM.... with apps user and password. I am getting connected to database using apps user. So database signon is fine.