ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] Codeunit 5051 SegManagement - OnBeforeFindInteractTmplCode
Hi,
Please add a new event in the function FindInteractTmplCode:
procedure FindInteractTmplCode(DocumentType: Integer) InteractTmplCode: Code[10]
var
IsHandled: Boolean;
begin
IsHandled := false;
OnBeforeFindInteractTmplCode(DocumentType, InteractTmplCode, IsHandled);
if IsHandled then
exit;
......
end;
[IntegrationEvent(true, false)]
local procedure OnBeforeFindInteractTmplCode(DocumentType: Integer; var InteractionTemplateCode: Code[10]; var IsHandled: Boolean)
begin
end;
Thank you!
Why can't you use already existing OnAfterFindInteractTmplCode instead?
I assume you can, please do that. If you can't please open new issue with the scenario when you can't, since we don't monitor closed ones.