Codeunit 5918 ServOrder-Check Response Time

Base Application, Microsoft.Service.Document

Source AL, 230 lines

src/Layers/W1/BaseApp/Service/Document/ServOrderCheckResponseTime.Codeunit.allines 15 to 30 of 230, Copyright (c) Microsoft Corporation. MIT

codeunit 5918 "ServOrder-Check Response Time"{    TableNo = "Job Queue Entry";    trigger OnRun()    begin        ServMgtSetup.Get();        ServMgtSetup.TestField("First Warning Within (Hours)");        RepairStatus.SetRange(Initial, true);        if not RepairStatus.FindFirst() then            Error(Text005, RepairStatus.TableCaption(), RepairStatus.FieldCaption(Initial));        Clear(ServItemLine);        Clear(ServHeader);        ServHeader.SetCurrentKey(Status, "Response Date", "Response Time", Priority);        ServHeader.SetRange(Status, ServHeader.Status::Pending);        if ServHeader.FindSet() then

All 230 lines