Skip to content

[Protected Var Request] Report 5065 "Segment - Labels" #29770

@KlaasKleermaker

Description

@KlaasKleermaker

Why do you need this change?

In 4PS Construct we need to be able to print the alternative address of the Contact but also the visit address of the Contact. (Visit Address is a field that 4PS has added to the Contact table.)

Describe the request

Dear ALAppExtensions team,

On behalf of 4PS I would like to request the global variables Cont, ContAddr and ColumnNo to be made protected in report 5065 "Segment - Labels".

    trigger OnPreReport()
    begin
        GroupNo := 1;
        RecPerPageNum := 8;
    end;

    var
        //Cont: Record Contact; //old
        SegLine: Record "Segment Line";
        FormatAddr: Codeunit "Format Address";
        LabelFormat: Option "36 x 70 mm (3 columns)","37 x 70 mm (3 columns)","36 x 105 mm (2 columns)","37 x 105 mm (2 columns)";
        //ContAddr: array[3, 8] of Text[100]; //old
        NoOfRecords: Integer;
        RecordNo: Integer;
        NoOfColumns: Integer;
        //ColumnNo: Integer; //old
        i: Integer;
        GroupNo: Integer;
        Counter: Integer;
        RecPerPageNum: Integer;

    protected var //new
        Cont: Record Contact; //new
        ContAddr: array[3, 8] of Text[100]; //new
        ColumnNo: Integer; //new

Internal work item: AB#623817

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM arearequest-for-externalRequest for exposing a function for extension developmentships-in-future-updateFix ships in a future update

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions