Skip to content

KVSMEDCreateTour#

Events#

OnBeforeInsertTourHeader(Record KVSMEDTourHeader, Boolean) :#

Summary: This event is fired in OnPreDataItem Trigger of DataItem KVSMEDScheduleJnlLine

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertTourHeader(var KVSMEDTourHeader: Record "KVSMEDTourHeader"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Report, Report::"KVSMEDCreateTour", 'OnBeforeInsertTourHeader', '', false, false)]
local procedure DoSomethingOnBeforeInsertTourHeader(var KVSMEDTourHeader: Record "KVSMEDTourHeader"; var IsHandled: Boolean)
begin
end;

Parameters:

  • KVSMEDTourHeader:
  • IsHandled: Ensures that the Tour Header is not inserted if IsHandled is true

OnBeforeSendMessageTourCreated(Boolean) :#

Summary: This event is fired in OnPostDataItem Trigger of DataItem KVSMEDScheduleJnlLine

[IntegrationEvent(false, false)]
local procedure OnBeforeSendMessageTourCreated(var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Report, Report::"KVSMEDCreateTour", 'OnBeforeSendMessageTourCreated', '', false, false)]
local procedure DoSomethingOnBeforeSendMessageTourCreated(var IsHandled: Boolean)
begin
end;

Parameters:

  • IsHandled: Ensures that a message of creating a Tour Header is not created if IsHandled is true

Protected Variables#

G_OnlyLinesWithAppointmentDate#

Type: Boolean