Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

How to default the Show Internal Information on Purchase Invoice print request page

(0) ShareShare
ReportReport
Posted on by 277

Dears, good day to you all

I'm trying to default the Show Internal Information boolean to true

pastedimage1669362224172v1.png

I found this in the report itself this procedure but I tried to set the ShowInternalInfo to true

    procedure InitializeRequest(NewNoOfCopies: Integer; NewShowInternalInfo: Boolean; NewLogInteraction: Boolean)
    begin
        NoOfCopies := NewNoOfCopies;
        ShowInternalInfo := NewShowInternalInfo;
        LogInteraction := NewLogInteraction;
    end;

  • mahmoud_algindy Profile Picture
    277 on at
    RE: How to default the Show Internal Information on Purchase Invoice print request page

    Thanks so much Daniele

  • Verified answer
    DAnny3211 Profile Picture
    9,276 Moderator on at
    RE: How to default the Show Internal Information on Purchase Invoice print request page

    hello

    you need this function to set those values in the report request page if you need to call the report from another BC object.

    however you can create a report extension like this if you want to set your flag to true

    reportextension 50100 PurchInvExte extends "Purchase - Invoice"

    {

       dataset

       {

       }

       requestpage

       {

           trigger OnOpenPage()

           begin

               InitializeRequest(0, true,true);

           end;

       }

    }

    check my answer if it helped you, thanks

    DAniele

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,312 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,025 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans