Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Report extension

Posted on by

Hi,

I'm developing an extension for Business Central in VS code and one issue is to change the behaviour of report 1306, need to have dataitem "Line" as temporary. Cannot find out how?

Cheers,

Eymi

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 68,539 Super User 2024 Season 2 on at
    RE: Report extension

    Hi, As mentioned by several experts above, there are also many restrictions in ReportExtension, you cannot modify UseTemporary property.

    pastedimage1646780126399v1.png

    So I agree with Teddy, recommend creating a new Report if you really want to do it.

    Hope this will help.

    Thanks.

    ZHU

  • Suggested answer
    TeddyH Profile Picture
    TeddyH 12,861 Moderator on at
    RE: Report extension

    Report extension is still limited on what it can do. I don't think you can use report extension for what you want to achieve.

    My suggestion is to duplicate and create a new report.

    After creating new report, you can use ReportManagement (refer to below link) to substitute the report automatically.

    thatnavguy.com/.../

  • Suggested answer
    JAngle Profile Picture
    JAngle 33,141 on at
    RE: Report extension

    Maybe add your own data item as you require. Add a currreport.skip to the standard one. If you can’t work around the constraints of a report extension consider a new report. Use a codeunit to substitute the report or set it in report selections

  • Suggested answer
    MahGah Profile Picture
    MahGah 15,419 on at
    RE: Report extension

    Hi

    If you have question about Report Extension maybe following videos can help. But if you have specific question about "dataitem" Line then I hope developers such as yzhums   TeddyH JAngle NorthW can provide info. 

    https://www.youtube.com/watch?v=HxixMUEqEmE

    www.youtube.com/watch

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,137 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans