2013年8月7日 by elegant 通过外部ID项目来实现LOOKUP项目的ID自动设定 Account refAcct = new Account(externalId__c = ‘12345’); Contact c = new Contact(Account = refAcct, LastName = ‘Kay’); insert c;