Report 1509 Send Overdue Appr. Notif.

App
Base Application
Namespace
System.Automation
Versions
17-28

Events, 1

Versions171819202122232425262728

Source29

Source in 29

src/Layers/W1/BaseApp/System/Workflow/SendOverdueApprNotif.Report.al50 lines, Copyright (c) Microsoft Corporation. MIT

namespace System.Automation;

report 1509 "Send Overdue Appr. Notif."
{
    ApplicationArea = Suite;
    Caption = 'Send Overdue Approval Notifications';
    ProcessingOnly = true;
    UsageCategory = Tasks;
    UseRequestPage = false;

    dataset
    {
    }

    requestpage
    {

        layout
        {
        }

        actions
        {
        }
    }

    labels
    {
    }

    trigger OnPreReport()
    var
        ApprovalsMgmt: Codeunit "Approvals Mgmt.";
    begin
        if not ApprovalsMgmt.IsOverdueNotificationsWorkflowEnabled() then
            Error(NoWorkflowEnabledErr);

        OnSendOverdueNotifications();
    end;

    var
        NoWorkflowEnabledErr: Label 'There is no workflow enabled for sending overdue approval notifications.';

    [IntegrationEvent(false, false)]
    local procedure OnSendOverdueNotifications()
    begin
    end;
}