bcquality/microsoft/knowledge/performance/oncompanyopen-subscribers-must-not-do-io.bad.al
Jesper Schulz-Wedde 4f0a13a801
Promote knowledge for Microsoft review skills (#153)
Move canonical knowledge for Microsoft-owned review domains into the Microsoft layer and document the skill/knowledge co-location policy.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Co-authored-by: Jesper Schulz-Wedde <jesper.schulzwedde@microsoft.com>
Copilot-Session: 2a6ea875-d38e-4f30-aadb-0d606f9be231
2026-09-03 15:06:01 +02:00

15 lines
549 B
AL

codeunit 50100 "Login Subscriber IO Bad"
{
[EventSubscriber(ObjectType::Codeunit, Codeunit::"System Initialization", OnAfterLogin, '', false, false)]
local procedure OnAfterLogin()
var
Client: HttpClient;
Response: HttpResponseMessage;
GLEntry: Record "G/L Entry";
begin
// Blocks UI, API, and job-queue session creation until HTTP and SQL finish.
Client.Get('https://example.local/warmup', Response);
GLEntry.SetLoadFields("Entry No.");
if GLEntry.FindLast() then;
end;
}