SOPerson Methods |
The SOPerson type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddConsentByIds | Add ConsentPerson by ConsentPurpose Id, LegalBase Id, ConsentSource Id, Comment. All parameters will be verified! (Inherited from IPerson.) |
![]() | AddConsentByNames | Add ConsentPerson by ConsentPurpose Name, LegalBase Name, ConsentSource Name, Comment. All parameters will be verified! (Inherited from IPerson.) |
![]() | AddConsentByRecord | Add ConsentPerson by ConsentPerson. All identy parameters will be verified! (Inherited from IPerson.) |
![]() ![]() | CancelChanges | 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.) |
![]() ![]() | ChangeIdentity | 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.) |
![]() ![]() | Delete | Delete the object from the database. May throw an error if you are not allowed to delete the object. (Inherited from IPerson.) |
![]() | GetConsentById | Get ConsentPerson for given ConsentPurpose Id (Inherited from IPerson.) |
![]() | GetConsentByName | Get ConsentPerson for given ConsentPurpose unique key name (Inherited from IPerson.) |
![]() | GetRelations | Get all relations with connection to this person (Inherited from IPerson.) |
![]() | IsShipmentTypeReserved | Is ShipmentType reserved? (Inherited from IPerson.) |
![]() | MergeTo | Merges this person into the other person, optionally together with his appointments (Inherited from IPerson.) |
![]() | MoveTo | Moves a person to a new contact, optionally together with his appointments (Inherited from IPerson.) |
![]() | RemoveConsentById | Remove ConsentPerson by ConsentPurpose Id (Inherited from IPerson.) |
![]() | RemoveConsentByName | Remove ConsentPerson by ConsentPurpose Name (Inherited from IPerson.) |
![]() ![]() | Save | Persist the object to the database. May throw an error if you are not allowed to save changes to the object. (Inherited from IPerson.) |
![]() ![]() | SetDefaults | 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.) |
![]() | SetShipmentTypeReserved | Set ShipmentType reserved (Inherited from IPerson.) |