Skip to content

KVSDMSDocumentStorageLog#

Events#

OnBeforeUpdateLogModify(Record KVSDMSDocumentStorageLogEntry, Boolean) :#

Summary: Integration event that allows subscribers to extend or modify document storage logging functionality. This event is raised during document storage operations to provide extensibility points for custom logging logic.

[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateLogModify(var DocumentStorageLog: Record "KVSDMSDocumentStorageLogEntry"; var hasChanged: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSDMSDocumentStorageLog", 'OnBeforeUpdateLogModify', '', false, false)]
local procedure DoSomethingOnBeforeUpdateLogModify(var DocumentStorageLog: Record "KVSDMSDocumentStorageLogEntry"; var hasChanged: Boolean)
begin
end;

Parameters:

  • DocumentStorageLog: Log entry record that can be modified by subscribers.
  • hasChanged: Referenced flag that states whether the log entry has been changed during subscriber procedure. If not already set to true, activate it if you hav echanged the log entry in order to modify the record afterwards.