Changes between Version 37 and Version 38 of S3/S3AAA/OrgAuth
- Timestamp:
- 09/04/12 11:00:40 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3AAA/OrgAuth
v37 v38 9 9 A '''person entity''' is a type of records describing business entities which involve one or more individual persons. This can be, e.g., organisations, offices, teams, and of course persons. 10 10 11 Person entity types implement the pr_pentity super-entity: 12 13 {{{ 14 table = define_table(tablename, 15 super_link("pe_id", "pr_pentity"), 16 ... 17 18 s3db.configure(tablename, 19 super_entity="pr_pentity", 20 ... 21 }}} 22 23 To retrieve the person entity ID (pe_id) of any instance record, you can use: 24 25 {{{ 26 pe_id = s3db.pr_get_pe_id(tablename, record_id) 27 }}} 11 28 === Organisation Units === 12 29