본문 바로가기

개발자정보

세일즈포스(Salesforce) No such column 'AccountName__c' on entity 'Opportunity_Account__c'.

반응형

세일즈포스(Salesforce)  No such column 'AccountName__c' on entity 'Opportunity_Account__c'.

 

SELECT AccountName__c
FROM Opportunity_Account__c
SELECT AccountName__c
       ^
ERROR at Row:1:Column:8
No such column 'AccountName__c' on entity 'Opportunity_Account__c'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.

 

 

Make sure that this field is actually visible to your user via Field Level Security.

  1. Click the field name in your Setup UI to view the field definition detail.
  2. On this detail view, there will be a Set Field-Level Security button.

 

Make sure Visible is selected for your Profile.

 

 

반응형