Online documentation - Websydian v6.0

Users Guide | Patterns Reference | WebsydianExpress | Search

 

FieldValue Entity

The FieldValue entity is used for the logging of individual field values.

In the default functionality provided by the Audit module, the entity is used to log the contents of the WebInput variable in Event Handler functions for the Event started Log Type.

You can also use the FieldValue entity to store your own application specific field logging.

The FieldValue entity pattern inherits from the EditDialog entity in FOUNDATION which itself inherits from the DataAccess pattern in the STORAGE library.

FieldValue Fields

The FieldValue entity has the following fields:

owned by Log In the data model, all field value Log records are owned by a Log record.  No customized field value logging should be defined without creating the parent Log record too.
FieldID The FieldID field is set to the implementation name of the field model object.
FieldDescription The FieldDescription field is set to the unscoped name of the field model object.
AuditFieldValue The AuditFieldValue field is set to the actual data value of the field being logged.  The AuditFieldValue field is a 32 character text field in which field values of all types will be cast to.  If larger field values are needed, the AuditFieldValue field must be replaced by a longer one.