Page extension 4827 Intr. Rep. Pack No. Info Card
src/Apps/W1/Intrastat/app/src/BaseAppExtensions/ItemTracking/IntrRepPackNoInfoCard.PageExt.al28 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 Microsoft.Inventory.Tracking;pageextension 4827 "Intr. Rep. Pack No. Info Card" extends "Package No. Information Card"{ trigger OnOpenPage() begin IntrReportTrackingMgt.SetCountryRegionCode(TrackingSpecification); end; trigger OnNewRecord(BelowxRec: Boolean) begin Rec."Country/Region Code" := IntrReportTrackingMgt.GetCurrentCountryRegionCode(); end; trigger OnClosePage() begin IntrReportTrackingMgt.ClearCountryRegionCode(); end; var IntrReportTrackingMgt: Codeunit IntrastatReportItemTracking;}