You need to sign in to do that
Don't have an account?
Bhanu joshi 10
Update recors using External Id
Hi
Iam running following cod from developer console
Account acc = new Account();
acc.RSPO_AC__c = '01'; // datatype is Text(50) (External ID)
acc.RSPO_EMPLOYEE__c=true;
update acc;
Iam getting following error:
System.DmlException: Update failed. First exception on row 0; first error: MISSING_ARGUMENT, Id not specified in an update call: []
IS that possible to update record using soql via external instead of Salesforce id.
Thanks
Try below snippet: Hope this will help.
Please like the answer and mark it as best if it helps.
Thanks,
Aman