Unable to create or edit a trigger or Apex class
|Knowledge Article Number||000005138|
Apex code is not modifiable in production organizations. In order to add, edit, or delete Apex code, such as a trigger, or class, the code must be deployed.
You can add, edit, or delete Apex code using the Salesforce user interface in Developer Editions, or Sandbox organizations.