Human Capital Management - EBS (MOSC)

MOSC Banner

How to set values in SSHRParams in a custom controller

edited Mar 5, 2019 9:54AM in Human Capital Management - EBS (MOSC) Question

Hi,

I'm trying to get person/assignment etc related values in a custom controller using an example from oracle seeded controller, SSVehicleUpdateCO in oracle.apps.pqp.selfservice.vehiclemileage.webui.

the code in seeded controller is

OAApplicationModule localOAApplicationModule = paramOAPageContext.getApplicationModule(paramOAWebBean);SSHRParams localSSHRParams = (SSHRParams)localOAApplicationModule.invokeMethod("getGlobalValues");String str1 = localSSHRParams.getPersonId();String str2 = localSSHRParams.getItemType();String str3 = localSSHRParams.getItemKey();String str4 = localSSHRParams.getActivityId();String str5 = localSSHRParams.getAssignmentId();String str6 = localSSHRParams.getEffectiveDate();String str7 = localSSHRParams.getLoginPersonId();public SSHRParams getGlobalValues()  {    SSHRParams localSSHRParams = new SSHRParams(this);    return localSSHRParams;  }

When I replicate above in a custom controller, I get null values when printing the output of any of the string variables, i.e. str1, str2 etc. I believe is because I am missing the code which is used to 'set' these values.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center