I have a custom field on ProductItem object and I'm trying to access it in an apex method, that uses ProductItem. I can access all the rest of the fields, but not the one defined by me. Any idea why this happens?
답변 3개
Make sure that the field is visible to your profile. You can check that by clicking the field name and then click on the Set Field-Level Security button.