CX_PERSON 
Class hierarchy
Description: (Business Pattern)
This class manages a natural person.
Besides data such as name, gender or birthday, the following attributes play a special role:
- locations: Any number of connection paths (= addresses) to a person can be specified (location information or telecommunication paths)
- casts: A person can have any characteristics, multiple entries of the same characteristic are permitted (e.g. interested parties for different article groups)
- conditions: Any number of condition objects can be assigned to a person. This property is inherited from the class CX_BUSINESS_OBJECT. Conditions that are globally valid for a person should therefore be entered here. Conditions that are only in connection with a certain property should only be assigned to the corresponding property object. (Property objects also have the attribute conditions)
- clearingObjects: A person can be assigned to any number of accounting objects. This property is inherited from the class CX_REAL_OBJECT. Settlements that are globally valid for a person should therefore be entered here. Settlements that are only related to a certain property should only be assigned to the corresponding property object (property objects also have the attribute clearingObjects)
Code example:
...
| Function | MA* | Parameters | Return | Brief description |
|---|---|---|---|---|
| Age | OBJECT | Determine age | ||
| BirthdayInBetween | OBJECT | OBJECT | Date of birth within a period? | |
| Birthday Index | INTEGER | Birthday in days | ||
| FirstName | STRING | Return first name | ||
| HasBirthday | INTEGER | Is today the person's birthday? | ||
| Name | INTEGER | STRING | Return surname and first name formatted | |
| SanityCheck | INTEGER | Check for consistency of the object | ||
| SexTitle | INTEGER | STRING | Return salutation | |
| Title | STRING | Return title | ||
| YearsOfLife | OBJECT | Number of years of life already begun | ||
| Access | STRING, INTEGER | OBJECT | Returns access object of the desired type (result is the first object found) | |
| AllAccess | STRING, INTEGER | VECTOR 197549 COLLECTION | Returns access object of the desired type (result is all objects found) | |
| Address | OBJECT | Delivers the address | ||
| CastedStructureByCondition | STRING | OBJECT | ||
| ClassFilter | STRING, INTEGER | OBJECT | This object, if it corresponds to a certain class | |
| ClearingObject | STRING, INTEGER | OBJECT | First assignment to settlement objects | |
| ClearingObjectMA | * | STRING, INTEGER | Assignments to settlement objects | |
| ConditionedFilter | STRING | OBJECT | ||
| ConditionedFilter2 | OBJECT | OBJECT | ||
| ConnectStateStructure | OBJECT, STRING | Connect to the status structure | ||
| Customer | OBJECT | Delivers billing object "Customer" (CX_CUSTOMER) | ||
| CyberEnterprise | OBJECT | Delivers billing object "client" (CX_CYBER_ENTERPRISE) | ||
| Deleted | INTEGER | Object marked as deleted? | ||
| Description | STRING | Name of this object | ||
| Employee | OBJECT | Delivers payroll object "employee" (CX_EMPLOYEE) | ||
| EmployeeByFirstChoiceOfCE | OBJECT | Delivers accounting object "Employee" (CX_EMPLOYEE), who is (if possible) employed by the current client | ||
| EmployeeOfCE | OBJECT | Delivers accounting object "employee" (CX_EMPLOYEE), who is employed by the current client | ||
| Employees | INTEGER, INTEGER | COLLECTION | - | |
| EvaluateTotalMonitors | STRING, INTEGER, STRING | OBJECT | ? | |
| Fax | OBJECT | Returns the fax number | ||
| Flextimer | OBJECT | Delivers payroll object "Flexitime employees" (CX_FLEXTIMER) | ||
| ForceMonitor | STRING | OBJECT | ? | |
| GeographicPosition | OBJECT | Returns the geographical position | ||
| GetDomain | INTEGER | Domain of this object | ||
| GetSiblings | COLLECTION | All siblings of this object | ||
| GetSiblings2 | COLLECTION | All siblings of this object | ||
| GetSlotEntries | VECTOR<object>/ob | Return of internal information about slots | ||
| GetStructure | OBJECT | OBJECT | Search for a subordinate structure that belongs to the same hierarchy | |
| InsertMonitor | OBJECT | ? | ||
| LastUpdate | OBJECT | Date of the last write access | ||
| LastUser | INTEGER | User who last had write access to the object | ||
| link | OBJECT | Add this object to the list of objects with validity | ||
| MasterObject | OBJECT | ? | ||
| Monitor | STRING | OBJECT | ? | |
| NextValidObject | OBJECT | Subsequent validity object in time | ||
| Phone | OBJECT | Returns the phone number | ||
| POBoxAddress | OBJECT | Delivers the letterbox address | ||
| PrePostUpdate | INTEGEROBJECT | Logging of changes | ||
| PreviousValidObject | OBJECT | Previous validity object in time | ||
| RegisteredStructure | OBJECT | ? | ||
| RegisterStructure | OBJECT | ? | ||
| RegisterStructures | OBJECT | ? | ||
| RemoveMonitor | OBJECT | ? | ||
| RemoveStateStructure | STRING | Find status structure by uniqueID and disconnect | ||
| Representative | OBJECT | Delivers billing object "Representative" (CX_REPRESENTATIVE) | ||
| RestrictedValidity | * | Area of validity limited? | ||
| SalaryMan | OBJECT | Delivers settlement object "Salary recipient" (CX_SALARY_MAN) | ||
| SetDomain | INTEGER, INTEGER | Set domain | ||
| SetStructure | OBJECT | Ensures that a structure becomes a subordinate structure | ||
| ShortName | STRING | Short name of this object | ||
| Siblings | * | Objects with validity | ||
| Site | OBJECT | Delivers the pitch | ||
| SpanDateValidity | * | Period of validity | ||
| Speech | INTEGER, INTEGER, INTEGER | STRING | Create complete salutation | |
| StateStructure | STRING | OBJECT | Find status structure after uniqueID (STRING) (not wrapped) | |
| StateStructureWrapper | STRING | OBJECT | Find status structure by uniqueID | |
| StreetAddress | OBJECT | Returns the street address | ||
| string | INTEGER | CX_STRING | Returns the string representation of the object | |
| StructureByCondition | STRING | OBJECT | Subordinate structure with a specific condition | |
| StructureByID | STRING | OBJECT | Subordinate structure with a certain unique key | |
| StructureByIDMA | * | STRING | Subordinate structures with a certain unique key | |
| StructureByType | STRING, INTEGER | OBJECT | Subordinate structure of a certain type | |
| SubObjects | INTEGER | COLLECTION | ? | |
| Supplier | OBJECT | Delivers settlement object "Supplier" (CX_SUPPLIER) | ||
| Teletex | OBJECT | Returns the teletex number | ||
| Telex | OBJECT | Delivers the telex number | ||
| TotalMonitors | STRING, INTEGER, STRING | OBJECT | ? | |
| TriggeredStateStructure | STRING | OBJECT | Attempts to advance the status structure and returns the new status structure (not wrapped) | |
| TriggeredStateStructureWrapper | STRING | OBJECT | Attempts to advance the status structure and returns the new status structure (wrapped) | |
| TriggerStateStructures | Switches all status structures forward | |||
| UniqueID | STRING | Content of the fixed data field "uniqueID | ||
| Unlink | Remove this object from the list of objects with validity | |||
| Unlink2 | Remove this object from the list of objects with validity | |||
| User | OBJECT | Returns billing object "User" (CX_USER) | ||
| Valid | OBJECT | INTEGER | Check validity | |
| ValidSince | OBJECT | Start of validity period | ||
| ValidToday | INTEGER | Valid today? | ||
| ValidUntil | OBJECT | End of validity period | ||
| VerifySiblings | INTEGER | Check ring of exchange objects |
* MA = Member Access function,
grey background = inherited function
| Data field | Type | Reference class | I* | Brief description |
|---|---|---|---|---|
| dateOfBirth | CX_DATE | Birthday or date of birth | ||
| dateOfDeath | CX_DATE | Date or date of death | ||
| firstName | STRING | First name | ||
| sexEnum | ENUMCHAR | Gender | ||
| title | STRING | Title | ||
| allocations | REL_MN | CX_EXPANDABLE | ? | |
| clearingObjects | REL_MN | CX_CLEARING_OBJECT | Payroll accounting areas | |
| generalTerms | REL_1M | CX_GENERAL_TERMS | ? | |
| languageEnum | ENUMCHAR | Internal number of the national language | ||
| monitors | REL_MN | CX_MONITOR | ? | |
| name | STRING | * | Name | |
| structures | REL_MN | CX_EXPANDABLE | Organisational Structures | |
| uniqueID | STRING | * | Unique key | |
| validity | POINTER | CX_VALIDITY | Validity period of the object |
* I = Indexable data field,
grey background = inherited data field
| Module | Brief description |
|---|---|
| birthper.mod | People Birthday Calendar Module |
| custoedt.mod | Customer editing module |
| repreedt.mod | Representative editing module |
| family.mod | Family Module |