Skip to content

KVSMEDInfoRequestCreationLib#

Events#

OnCreateRequestTextBeforeFindCommunicationText(Record KVSMEDInfoRequestHeader, Record KVSMEDCommunicationText) :#

Summary: This event is triggered before the system attempts to find the communication text based on the request parameters.

[IntegrationEvent(false, false)]
local procedure OnCreateRequestTextBeforeFindCommunicationText(KVSMEDInfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var KVSMEDCommunicationText: Record "KVSMEDCommunicationText"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestCreationLib", 'OnCreateRequestTextBeforeFindCommunicationText', '', false, false)]
local procedure DoSomethingOnCreateRequestTextBeforeFindCommunicationText(KVSMEDInfoRequestHeader: Record "KVSMEDInfoRequestHeader"; var KVSMEDCommunicationText: Record "KVSMEDCommunicationText")
begin
end;

Parameters:

  • KVSMEDInfoRequestHeader: The info request header record containing the request details.
  • KVSMEDCommunicationText: The communication text record that will be used to search for the corresponding text.

OnCreateRequestTextBeforeInsertInfoRequestText(Record KVSMEDInfoRequestHeader, Record KVSMEDCommunicationText, Record KVSMEDInfoRequestText) :#

Summary: This event is triggered before the system inserts the information request text into the database.

[IntegrationEvent(false, false)]
local procedure OnCreateRequestTextBeforeInsertInfoRequestText(KVSMEDInfoRequestHeader: Record "KVSMEDInfoRequestHeader"; KVSMEDCommunicationText: Record "KVSMEDCommunicationText"; var KVSMEDInfoRequestText: Record "KVSMEDInfoRequestText"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDInfoRequestCreationLib", 'OnCreateRequestTextBeforeInsertInfoRequestText', '', false, false)]
local procedure DoSomethingOnCreateRequestTextBeforeInsertInfoRequestText(KVSMEDInfoRequestHeader: Record "KVSMEDInfoRequestHeader"; KVSMEDCommunicationText: Record "KVSMEDCommunicationText"; var KVSMEDInfoRequestText: Record "KVSMEDInfoRequestText")
begin
end;

Parameters:

  • KVSMEDInfoRequestHeader: The info request header record containing the request details.
  • KVSMEDCommunicationText: The communication text record that provides the text to be inserted.
  • KVSMEDInfoRequestText: The info request text record that will be inserted into the database.