Task-oriented entity methods
- Static information (metadata) about the entity: GetEntityDefName GetType
- Information about the fields associated with the entity: GetFieldNames GetFieldType GetFieldRequiredness GetFieldChoiceList SetFieldChoiceList InvalidateFieldChoiceList GetFieldChoiceType FireNamedHook
- Information about the entity's duplicates: IsDuplicate GetOriginal GetOriginalID HasDuplicates IsOriginal GetDuplicates GetAllDuplicates
- Special handling for Attachments: GetAttachmentDisplayNameHeader AddAttachmentFieldValue DeleteAttachmentFieldValue EditAttachmentFieldDescription LoadAttachment
- Changing an Entity: IsEditable Validate Commit Revert
After BuildEntity or EditEntity has run, the Entity may be modified. The changes must be successfully validated before they may be committed -- a commit actually updates the database. They may also be cancelled, using Revert. After committed or reverted, the entity is no longer editable.
- Changing an entity's field values: SetFieldValue AddFieldValue DeleteFieldValue
- Fetching an entity's field values: GetFieldValue GetFieldOriginalValue GetAllFieldValues GetInvalidFieldValues GetFieldsUpdatedThisSetValue GetFieldsUpdatedThisGroup BeginNewFieldUpdateGroup GetFieldsUpdatedThisAction