Tuesday, April 14, 2009

PS bits

In one application, we have a form, on the form, there is a field which should be pre-populated with email address, here is what's done to get it:

In the Record PeopleCode, EMAILID field's FieldDefault and RowInit actions:
WC_HRF_NE_TERM.EMAILID = %EmailAddress;

Another field is filled with user ID, which is done:

In the Record PeopleCode, OPRID field (that's the field we fill with user ID)'s FieldDefault, RowInit, SearchInit and SearchSave actions:
WC_HRF_NE_TERM.OPRID = %OperatorId;