Skip to main content

Notifications

Business Central forum
Suggested answer

Report Extension

Posted on by 39
 
I'm trying to introduce a new dataitem under the 'Sales Line' dataitem, but I've hit a snag with an error message. Pinpointing the missing piece or the error's location has proven challenging.
 
I'd greatly appreciate any insights or assistance the community can offer.
 
Thank you.
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 71,307 Super User 2024 Season 2 on at
    Report Extension
    Hi, hope the following helps as well.
     
    Thanks.
    ZHU
  • gdrenteria Profile Picture
    gdrenteria 10,600 Most Valuable Professional on at
    Report Extension
    Hi
    Additionally, I provide you with some links of interest regarding this topic.
    Best regards
    Gerardo
  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 58,880 Super User 2024 Season 2 on at
    Report Extension
    You have to use addafter instead of modify
    addafter("Sales Line")
    {
      dataitem()
    }
  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,746 Super User 2024 Season 1 on at
    Report Extension
    You must use the add keyword to add a table to the dataitem
    So this
     
    dataset
    {
    add(thetableyouwanttoadd)
    {
    }
    }

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,147 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans