web
You’re offline. This is a read only version of the page.
close
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

Change of custom Layout for same report through EVENT

(0) ShareShare
ReportReport
Posted on by 134

Hi experts,

My question is if I want to run two different layouts for same report on the basis of some checkmark (boolean) on invoice ... how can i do that ??? I can't find an event that is used to switch layout..

Layout should automaticaly get attached on the base of that checkmark user should not manually change the layout .....

Thanks for your consideration

I have the same question (0)
  • Suggested answer
    Amit Profile Picture
    2,559 on at
  • Abdullah Khalid Profile Picture
    134 on at

    And how can we switch to other layout automatically.... like on basis of come check

  • Verified answer
    YUN ZHU Profile Picture
    95,595 Super User 2025 Season 2 on at

    Hi, You can specify the layout that needs to be run with code before the report is run.

    I hope the following information can give you some hints.

    Select a report layout before printing

    https://yzhums.com/25943/

    Thanks.

    ZHU

  • Abdullah Khalid Profile Picture
    134 on at

    Hi Yzhums,

    Your mentioned blog is helpful but what i want is to automatically attach layout on base of some check from invoice.... I don't want to get user input... I'm looking for an Event that has parameter of record and custom report layout which i can use to change layout....

    Thanks

  • Verified answer
    YUN ZHU Profile Picture
    95,595 Super User 2025 Season 2 on at

    Hi, my example is to let the user choose, but you can add some conditions, such as A condition use A Layout, B condition use B Layout, and then run the report.

    If you're looking for certain events, hopefully other experts can give you better advice.

    Thanks.

    ZHU

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,010

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,270 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans