Skip to main content
Carl Bruno (Salesforce) 님이 #Trailhead Challenges에 질문했습니다

// Create the account sObject     Account acct = new Account(Name='Sown IO', Phone='866-123-1234', NumberOfEmployees=20000);    // Insert the account by using DML  insert acct;

 

Line: 3, Column: 16 Invalid constructor syntax, name=value pairs can only be used for SObjects: Account

답변 2개
  1. 2021년 10월 12일 오후 3:37

    Great!! I was wondering why it is giving error since the code looks allright!!

0/9000