Codeunit 5919 Serv Reg.-Show WarrLdgEntries

App
Base Application
Namespace
Microsoft.Service.Ledger
Versions
17-28

Versions171819202122232425262728

Source29

Source in 29

src/Layers/W1/BaseApp/Service/Ledger/ServRegShowWarrLdgEntries.Codeunit.al23 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------
namespace Microsoft.Service.Ledger;

codeunit 5919 "Serv Reg.-Show WarrLdgEntries"
{
    TableNo = "Service Register";

    trigger OnRun()
    begin
        WarrLedgEntry.Reset();
        WarrLedgEntry.SetRange("Entry No.", Rec."From Warranty Entry No.", Rec."To Warranty Entry No.");
        WarrLedgEntry.SetFilter("Service Register No.", '0|%1', Rec."No.");
        Page.Run(Page::"Warranty Ledger Entries", WarrLedgEntry);
    end;

    var
        WarrLedgEntry: Record "Warranty Ledger Entry";
}