You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since SObject.setType() uses setField() I do not believe it is possible to update/insert Account.type. An attempt to do so throws an "unknown sobject -- try adding __c to the object name" type error (if setType is called before setField("type", ...). If setType is called after setField("type",..." the the update to Account.type is ignored.
The text was updated successfully, but these errors were encountered:
Since SObject.setType() uses setField() I do not believe it is possible to update/insert Account.type. An attempt to do so throws an "unknown sobject -- try adding __c to the object name" type error (if setType is called before setField("type", ...). If setType is called after setField("type",..." the the update to Account.type is ignored.
The text was updated successfully, but these errors were encountered: