Codeunit 3846 Scheduled Tasks
Source AL, 65 lines
src/Layers/W1/BaseApp/Modules/System/JobQueue/ScheduledTasks.Codeunit.allines 5 to 20 of 65, Copyright (c) Microsoft Corporation. MIT
codeunit 3846 "Scheduled Tasks"{ Access = Internal; var SetTaskReadyDifferentCompanyTasksLbl: Label 'The task is created for company %1, and will run according to its schedule. Do you want to continue?', Comment = '%1 - Company Name'; CancelDifferentCompanyTasksLbl: Label 'The task is created for company %1. Are you sure you want to cancel it?', Comment = '%1 - Company Name'; procedure SetTasksReady(var ScheduledTasks: Record "Scheduled Task") var JobQueue: Record "Job Queue Entry"; ReadyTask: Boolean; begin repeat if ScheduledTasks.Company <> CompanyName() then ReadyTask := Dialog.Confirm(SetTaskReadyDifferentCompanyTasksLbl, true, ScheduledTasks.Company)Public procedures 3 in 29
| Set | new in 18 |
| Cancel | new in 18 |
| Is | new in 18 |