KVSPSAE-Mail Request Finish#
Events#
KVSPSAOnAfterCreatedMailBodyText(Record KVSPSARes. Planning Request, Record Name/Value Buffer) :#
Summary: Integration event raised after creating the mail body text for a resource planning request completion notification. This event allows subscribers to modify or enhance the email body content after the standard text has been generated.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCreatedMailBodyText(var ResPlanningRequest: Record "KVSPSARes. Planning Request"; var FinishedNameValueBuffer: Record "Name/Value Buffer"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAE-Mail Request Finish", 'KVSPSAOnAfterCreatedMailBodyText', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCreatedMailBodyText(var ResPlanningRequest: Record "KVSPSARes. Planning Request"; var FinishedNameValueBuffer: Record "Name/Value Buffer")
begin
end;
Parameters:
ResPlanningRequest
: The resource planning request record for which the mail body text was created.FinishedNameValueBuffer
: The name/value buffer containing the generated mail body content that can be modified.
KVSPSAOnAfterFillRecipients(Record KVSPSARes. Planning Request, List) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterFillRecipients(var ResPlanningRequest: Record "KVSPSARes. Planning Request"; var Recipient: List):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAE-Mail Request Finish", 'KVSPSAOnAfterFillRecipients', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterFillRecipients(var ResPlanningRequest: Record "KVSPSARes. Planning Request"; var Recipient: List)
begin
end;
KVSPSAOnBeforeCreatedMailBodyText(Record KVSPSARes. Planning Request, Record Name/Value Buffer, Boolean) :#
Summary: Integration event raised before creating the mail body text for a resource planning request completion notification. This event allows subscribers to provide custom mail body content or prevent the standard text generation.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCreatedMailBodyText(var ResPlanningRequest: Record "KVSPSARes. Planning Request"; var FinishedNameValueBuffer: Record "Name/Value Buffer"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAE-Mail Request Finish", 'KVSPSAOnBeforeCreatedMailBodyText', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCreatedMailBodyText(var ResPlanningRequest: Record "KVSPSARes. Planning Request"; var FinishedNameValueBuffer: Record "Name/Value Buffer"; var IsHandled: Boolean)
begin
end;
Parameters:
ResPlanningRequest
: The resource planning request record for which the mail body text will be created.FinishedNameValueBuffer
: The name/value buffer that will contain the mail body content.IsHandled
: Boolean flag indicating whether the event has been handled by a subscriber, preventing standard processing.
KVSPSAOnBeforeFillRecipients(Record KVSPSARes. Planning Request, List, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeFillRecipients(var ResPlanningRequest: Record "KVSPSARes. Planning Request"; var Recipient: List; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAE-Mail Request Finish", 'KVSPSAOnBeforeFillRecipients', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeFillRecipients(var ResPlanningRequest: Record "KVSPSARes. Planning Request"; var Recipient: List; var IsHandled: Boolean)
begin
end;