KVSMEDIMDocDirectArchiveDoc
Events
OnBeforeSelectTable(Record AllObjWithCaption) :
Summary:
[IntegrationEvent(false, false)]
local procedure OnBeforeSelectTable(var AllObjWithCaption: Record "AllObjWithCaption"):
Parameters:
AllObjWithCaption:
OnLoadArchiveDefinition(Record KVSMEDDIIMDocument, Code[20]) :
Summary: Lets a subscriber (in the app owning the Archive Definition table/field) determine the archive definition for a document type.
[IntegrationEvent(false, false)]
local procedure OnLoadArchiveDefinition(var KVSMEDDIIMDocument: Record "KVSMEDDIIMDocument"; var ArchiveDefinition: Code[20]):
Parameters:
KVSMEDDIIMDocument: The current document record.ArchiveDefinition: The archive definition to load into the page variable.
OnValidateArchiveDefinition(Record KVSMEDDIIMDocument, Integer, Code[20]) :
Summary: Lets a subscriber (in the app owning the Archive Definition table/field) validate the archive definition for a table.
[IntegrationEvent(false, false)]
local procedure OnValidateArchiveDefinition(var KVSMEDDIIMDocument: Record "KVSMEDDIIMDocument"; TableNumber: Integer; var ArchiveDefinition: Code[20]):
Parameters:
TableNumber: The table number the archive definition applies to.ArchiveDefinition: The archive definition to validate, can be adjusted by the subscriber.
OnAssistEditArchiveDefinition(Record KVSMEDDIIMDocument, Integer, Code[20]) :
Summary: Lets a subscriber (in the app owning the Archive Definition table/field) show a selection page for archive definitions of a table.
[IntegrationEvent(false, false)]
local procedure OnAssistEditArchiveDefinition(var KVSMEDDIIMDocument: Record "KVSMEDDIIMDocument"; TableNumber: Integer; var ArchiveDefinition: Code[20]):
Parameters:
TableNumber: The table number the archive definition applies to.ArchiveDefinition: The selected archive definition to store into the page variable.