2

Can we use AccountNumber field in Account object as an External ID? Would upsert work with AccountNumber field? Any suggestions please.

1 Answer 1

4

Just tried THIS: in the dev console

Account a = New Account(Name='test', AccountNumber='1234');
upsert a accountNumber;

and got this message:

Invalid field for upsert, must be an External Id custom or standard indexed field: accountNumber

So I guess the answer is NO.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .