KVSMEDDataMaintenanceLib
Events
OnGetAdditionalDocRecords(RecordRef, RecordRef, Integer, Boolean) :
Summary: This event is fired during ProcessChecks to allow subscribers to provide additional related records that should be included in the data maintenance check for a given document header.
[IntegrationEvent(false, false)]
local procedure OnGetAdditionalDocRecords(DocHeaderRecordRef: RecordRef; var AdditionalRecordRef: RecordRef; Index: Integer; var IsHandled: Boolean):
Parameters:
DocHeaderRecordRef: The RecordRef of the document header being processed.AdditionalRecordRef: The RecordRef to be populated with the additional records for the given index.Index: The 1-based index of the current iteration, incremented with each call until IsHandled is false.IsHandled: Set to true if a subscriber provides records for the given index; the loop continues as long as this is true.