简体   繁体   中英

Salesforce custom object with custom field and standard field

I have one custom object 'Territory__c' which have standard Field "Name" and custom field "Territory_Ex_ID__c". So what would be SOQL whole data. Suppose the user list I want to fetch with this detail included.

I am new to salesforce, so please help me with scenario.

要获取该字段,您只需要使用 API 名称,就像在您的示例中一样

Select Name, Territory_Ex_ID__c from Territory__c
List<Territory__c> list = [Select Name, Territory_Ex_ID__c from Territory__c];

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM