Skip to content

[Event Request] Codeunit 1016 - OnBeforeSendJob #30164

@frivadulla

Description

@frivadulla

Why do you need this change?

Hi,

We would like to request the addition of an Integration Event at the beginning of the Code() procedure in Codeunit 1016 "Jobs-Send", following the standard IsHandled pattern.

Describe the request

Proposed change:

local procedure "Code"()
var
    TempDocumentSendingProfile: Record "Document Sending Profile" temporary;
    IsHandled: Boolean;
begin
    IsHandled := false;
    OnBeforeSendJob(Job, IsHandled);
    if IsHandled then
        exit;

    if not ConfirmSend(Job, TempDocumentSendingProfile) then
        exit;
    // ... existing code
end;

[IntegrationEvent(false, false)]
local procedure OnBeforeSendJob(var Job: Record Job; var IsHandled: Boolean)
begin
end;

Metadata

Metadata

Assignees

No one assigned

    Labels

    missing-infoThe issue misses information that prevents it from completion.

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions