Click or drag to resize

SOPerson Methods

The SOPerson type exposes the following members.

Methods
  NameDescription
Public methodAddConsentByIds
Add ConsentPerson by ConsentPurpose Id, LegalBase Id, ConsentSource Id, Comment. All parameters will be verified!
(Inherited from IPerson.)
Public methodAddConsentByNames
Add ConsentPerson by ConsentPurpose Name, LegalBase Name, ConsentSource Name, Comment. All parameters will be verified!
(Inherited from IPerson.)
Public methodAddConsentByRecord
Add ConsentPerson by ConsentPerson. All identy parameters will be verified!
(Inherited from IPerson.)
Public methodCode exampleCancelChanges
Undo any changes made since the object was loaded. If you made changes to the model that you don’t want to be saved to the database, call the CancelChanges method
(Inherited from IPerson.)
Public methodCode exampleChangeIdentity
Loads a different record into the object. Causes changes to the existing object to be saved first. Saves the changes made to the person model to the database, and retrieves the new data from the database again. The last thing you do to an object if you want the changes you made to be saved. The ChangeIdentity method calls the save method first
(Inherited from IPerson.)
Public methodCode exampleDelete
Delete the object from the database. May throw an error if you are not allowed to delete the object.
(Inherited from IPerson.)
Public methodGetConsentById
Get ConsentPerson for given ConsentPurpose Id
(Inherited from IPerson.)
Public methodGetConsentByName
Get ConsentPerson for given ConsentPurpose unique key name
(Inherited from IPerson.)
Public methodGetRelations
Get all relations with connection to this person
(Inherited from IPerson.)
Public methodIsShipmentTypeReserved
Is ShipmentType reserved?
(Inherited from IPerson.)
Public methodMergeTo
Merges this person into the other person, optionally together with his appointments
(Inherited from IPerson.)
Public methodMoveTo
Moves a person to a new contact, optionally together with his appointments
(Inherited from IPerson.)
Public methodRemoveConsentById
Remove ConsentPerson by ConsentPurpose Id
(Inherited from IPerson.)
Public methodRemoveConsentByName
Remove ConsentPerson by ConsentPurpose Name
(Inherited from IPerson.)
Public methodCode exampleSave
Persist the object to the database. May throw an error if you are not allowed to save changes to the object.
(Inherited from IPerson.)
Public methodCode exampleSetDefaults
Populate the object with default values, such as setting the owner to the current user. Uses the UserPreferences table to set the predefined default settings for a person. The SetDefaults method is only available for current in this version of SuperOfficeDB Type Library
(Inherited from IPerson.)
Public methodSetShipmentTypeReserved
Set ShipmentType reserved
(Inherited from IPerson.)
Top
See Also