Codeunit 9665 Composite Layout Lookup Helper

Base Application, Microsoft.Foundation.Reporting

Source AL, 394 lines

src/Layers/W1/BaseApp/Foundation/Reporting/CompositeLayoutLookupHelper.Codeunit.allines 13 to 28 of 394, Copyright (c) Microsoft Corporation. MIT

codeunit 9665 "Composite Layout Lookup Helper"{    Access = Internal;    Permissions = tabledata "Tenant Report Layout Cfg" = RIMD;    /// <summary>    /// Opens the Report Themes and Header/Footers registry as a lookup filtered to the given subtype. Non-approved    /// parts (Draft, Pending Approval, Retired) are shown so they can be reviewed, but only an approved part may be    /// picked: selecting a non-approved part raises an error and nothing is returned. On a successful pick the part's    /// composite reference is encoded and returned via <paramref name="Composite"/>.    /// </summary>    /// <param name="Subtype">The subtype to filter the lookup to.</param>    /// <param name="Composite">The encoded composite reference of the picked approved part on success.</param>    /// <returns>True when an approved part was picked; false when the user cancelled.</returns>    procedure LookupCompositePart(Subtype: Enum "Report Layout Subtype"; var Composite: Text): Boolean    var

All 394 lines

Public procedures 10 in 29

LookupCompositePart(Subtype: Enum "Report Layout Subtype"; var Composite: Text): Booleannew in 29
DecodeLayoutName(CompositeName: Text): Textnew in 29
CountPartAssignments(PartLayout: Record "Report Layout List"): Integernew in 29
ClearPartAssignments(PartLayout: Record "Report Layout List"): Integernew in 29
CompositeLayoutKey(LayoutRec: Record "Report Layout List"): Textnew in 29
IsBodyLayout(ReportID: Integer; LayoutName: Text): Booleannew in 29

All 15 procedures in 29