mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 14:46:55 +01:00
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
31 lines
694 B
AL
31 lines
694 B
AL
page 50100 "Cue Background Task Bad"
|
|
{
|
|
PageType = CardPart;
|
|
ApplicationArea = All;
|
|
|
|
layout
|
|
{
|
|
area(content)
|
|
{
|
|
cuegroup(Group)
|
|
{
|
|
field(OpenOrders; OpenOrderCount)
|
|
{
|
|
Caption = 'Open Sales Orders';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
var
|
|
OpenOrderCount: Integer;
|
|
|
|
trigger OnOpenPage()
|
|
var
|
|
SalesHeader: Record "Sales Header";
|
|
begin
|
|
// Blocks Role Center render on an exact count of sales headers.
|
|
SalesHeader.SetRange("Document Type", SalesHeader."Document Type"::Order);
|
|
OpenOrderCount := SalesHeader.Count();
|
|
end;
|
|
}
|