function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
You don't add fields to objects through code, you need to do it from the user interface.
You cannot add fields to object through SOQL query. It only fetches the records from your model to display in any of your view screens.
Best Regards,
Deepthi