The FND_NEW_MESSAGES table in the database stores all Oracle Applications messages for all languages. The below API is used to load new error messages in FND_NEW_MESSAGES table.
fnd_new_messages_pkg.load_row
Ex: 
DECLARE
BEGIN
   fnd_new_messages_pkg.load_row
      (x_application_id        => 800, -- Application id
       x_message_name          => 'INVALID_VALUES', -- error message name
       x_message_number        => NULL,
       x_message_text          => 'Cannot update values in CANCEL mode.', -- Message
       x_description           => 'Cannot update values in CANCEL mode.',
       x_type                  => 'ERROR', -- message type
       x_max_length            => NULL,
       x_category              => NULL,
       x_severity              => NULL,
       x_fnd_log_severity      => NULL,
       x_owner                 => NULL,
       x_custom_mode           => NULL,
       x_last_update_date      => SYSDATE
      );
   COMMIT;
END;
/
1 comment:
thanks for the info, this is what i've been looking for.
Post a Comment