308: IF (x_mode = 'I') THEN
309: x_last_updated_by := 1;
310: x_last_update_login := 0;
311: ELSIF (x_mode = 'R') THEN
312: x_last_updated_by := fnd_global.user_id;
313: IF (x_last_updated_by IS NULL) THEN
314: x_last_updated_by := -1;
315: END IF;
316: x_last_update_login := fnd_global.login_id;
312: x_last_updated_by := fnd_global.user_id;
313: IF (x_last_updated_by IS NULL) THEN
314: x_last_updated_by := -1;
315: END IF;
316: x_last_update_login := fnd_global.login_id;
317: IF (x_last_update_login IS NULL) THEN
318: x_last_update_login := -1;
319: END IF;
320: ELSE
465: IF (X_MODE = 'I') THEN
466: x_last_updated_by := 1;
467: x_last_update_login := 0;
468: ELSIF (x_mode = 'R') THEN
469: x_last_updated_by := fnd_global.user_id;
470: IF x_last_updated_by IS NULL THEN
471: x_last_updated_by := -1;
472: END IF;
473: x_last_update_login := fnd_global.login_id;
469: x_last_updated_by := fnd_global.user_id;
470: IF x_last_updated_by IS NULL THEN
471: x_last_updated_by := -1;
472: END IF;
473: x_last_update_login := fnd_global.login_id;
474: IF (x_last_update_login IS NULL) THEN
475: x_last_update_login := -1;
476: END IF;
477: ELSE