Newer Version Available

This content describes an older version of this product. View Latest

OwnerChangeOptions

Specifies ownership of attachments, notes, and open activities when transfers occur.

Fields

Element Name Type Description
transferAttachments boolean

If true, the record’s notes, attachments, and Google Docs are transferred to the new record owner. If false, the original record owner retains ownership. The default is true.

transferOpenActivites boolean

If true, the record’s open activities are transferred to the new record owner. If false, the original record owner retains ownership. The default is true.

Sample Code—Java

This sample creates an account, a note and task for the account, and sets the owner change options so that the note and task are transferred to the new owner.