Line 191: select organization_code from mtl_parameters
187: select user_name from fnd_user
188: where user_id = userID;
189:
190: cursor getOrg (orgID NUMBER) IS 191: select organization_code from mtl_parameters 192: where organization_id = orgID;
193: BEGIN
194: -- check that all ID's are not missing
195: if ( environment.userID is null OR