Page extension 4810 Intrastat Report ErrMsg. Part
src/Apps/W1/Intrastat/app/src/BaseAppExtensions/MasterData/IntrastatReportErrMsgPart.PageExt.al21 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.Inventory.Intrastat;using System.Utilities;pageextension 4810 "Intrastat Report ErrMsg. Part" extends "Error Messages Part"{ procedure SetContextRecordID(recordID: RecordID) var ErrorMessage: Record "Error Message"; TempErrorMessage: Record "Error Message" temporary; begin ErrorMessage.SetRange("Context Record ID", recordID); ErrorMessage.CopyToTemp(TempErrorMessage); SetRecords(TempErrorMessage); CurrPage.Update(); end;}