193: BEGIN
194: -- check that all ID's are not missing
195: if ( environment.userID is null OR
196: environment.orgID is null ) then 197: raise FND_API.G_EXC_UNEXPECTED_ERROR; 198: end if;
199:
200: -- derive the user name from userID
201: open getUser(environment.userID);