31: X_LEVEL_NAME => 'SITE');
32:
33: --Set the message name based on the status value.
34: IF L_STATUS THEN
35: FND_MESSAGE.SET_NAME('GMO','GMO_SETUP_ENABLED_SUCCESS');
36: ELSE
37: FND_MESSAGE.SET_NAME('GMO','GMO_SETUP_ENABLE_FAILURE');
38: END IF;
39:
33: --Set the message name based on the status value.
34: IF L_STATUS THEN
35: FND_MESSAGE.SET_NAME('GMO','GMO_SETUP_ENABLED_SUCCESS');
36: ELSE
37: FND_MESSAGE.SET_NAME('GMO','GMO_SETUP_ENABLE_FAILURE');
38: END IF;
39:
40: ELSE
41: --For some reason the profile option could not be updated.
39:
40: ELSE
41: --For some reason the profile option could not be updated.
42: --Set the message appropriately to indicate the same.
43: FND_MESSAGE.SET_NAME('GMO','GMO_SETUP_ALREADY_ENABLED');
44: END IF;
45:
46: --Set the message on the log.
47: FND_FILE.PUT_LINE(FND_FILE.OUTPUT, FND_MESSAGE.GET);
43: FND_MESSAGE.SET_NAME('GMO','GMO_SETUP_ALREADY_ENABLED');
44: END IF;
45:
46: --Set the message on the log.
47: FND_FILE.PUT_LINE(FND_FILE.OUTPUT, FND_MESSAGE.GET);
48:
49: --Commit the transaction.
50: COMMIT;
51: