Why do you need this change?
Problem statement:
The purpose of this integration event is to provide an extension point for handling additional archive options that are not covered by the standard logic. New Archive Job type what we need is "Request Page", because only question is not enough. We need from user more inputs during archive.
Alternatives evaluated:
Currently, there is no alternative for this solution.
Performance & data considerations:
Frequency will be with each archive, but it shouldn't be problematic or extreme often
MultiΓÇæextension interaction:
It provides option for new type of archive jobs.
Describe the request
procedure AutoArchiveJob(var Job: Record Job)
var
JobSetup: Record "Jobs Setup";
begin
JobSetup.Get();
case JobSetup."Archive Jobs" of
JobSetup."Archive Jobs"::Always:
StoreJob(Job, false);
JobSetup."Archive Jobs"::Question:
ArchiveJob(Job);
//-------------------------------------OnAutoArchiveJobOnAfterElseCaseStatement:BEGIN
else
OnAutoArchiveJobOnAfterElseCaseStatement(Job, JobSetup);
//-------------------------------------OnAutoArchiveJobOnAfterElseCaseStatement:END
end;
end;
//-------------------------------------OnAutoArchiveJobOnAfterElseCaseStatement:BEGIN
[IntegrationEvent(false, false)]
local procedure OnAutoArchiveJobOnAfterElseCaseStatement(var Job: Record Job; JobSetup: Record "Jobs Setup")
begin
end;
//-------------------------------------OnAutoArchiveJobOnAfterElseCaseStatement:END
Internal work item: AB#644126
Why do you need this change?
Problem statement:
The purpose of this integration event is to provide an extension point for handling additional archive options that are not covered by the standard logic. New Archive Job type what we need is "Request Page", because only question is not enough. We need from user more inputs during archive.
Alternatives evaluated:
Currently, there is no alternative for this solution.
Performance & data considerations:
Frequency will be with each archive, but it shouldn't be problematic or extreme often
MultiΓÇæextension interaction:
It provides option for new type of archive jobs.
Describe the request
Internal work item: AB#644126