IPlainAuditLogRecords.ObjectClass

Syntax

ObjectClass: Integer;

Description

The ObjectClass property returns class of the object, with which the operation was executed.

Comments

If the current record corresponds to repository connection, the property returns 0. One of the values available in the MetabaseObjectClass enumeration is returned for all other operations.

Foresight Analytics Platform extensions are based on custom class objects. Classes of these objects are absent in the MetabaseObjectClass enumeration but they can be obtained in the IMetabaseCustomClass.ClassId property. The custom class described by the IMetabaseCustomClass interface can be obtained in the IMetabaseCustomExtender.Classes collection.

One can also use the GetMetabaseHelper.GetCustomClassByEnum(BPClasses.<object type>) function. This function is implemented in the Repository Interaction Unit unit (P10002_METABASE_HELPER) of the Designer of Business Applications extension.

Example

The property use is given in the example for IAuditLog.OpenPlainLog.

See also:

IPlainAuditLogRecords