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"):
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):
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):
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):