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 :
Business Central forum

Sales Quote print isn't working

(0) ShareShare
ReportReport
Posted on by 112

When I do the print from the sales quote card, there is an error occurred. 

2019_2D00_06_2D00_25_5F00_11_2D00_54_2D00_02.png

The Statement report does not have a DataItem that uses the table (Table 36 Sales Header) specified in the function SetTableView.

In other company instance, it is working. I created a new company, it also working there. But, in the current production instance, it is not working. 

I have the same question (0)
  • Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Is this a standard report or a customized one? If it's standard, I think it's buggy.

  • Rana Hamid Profile Picture
    112 on at

    Standard

  • I Gusti Made Ari Profile Picture
    3,600 on at

    Check your report selection setup , for Usage Sales Quote , make sure the report id is 204 ( Sales Quote report id for standard)

  • Rana Hamid Profile Picture
    112 on at

    Its not a basic question. Need advance solution.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    These are not basic answers. The error you show here seems to be related to a wrong report printed from Sales Quote. The code is trying to pass a Sales Header to a dataitem in the report that is not binded to the Sales Header table.

    I think that you're using the wrong report in Report Selection. If not, there's a problem in code. Please check Report Selection.

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,284 Super User 2025 Season 2 on at

    Are you sure that this is a 'standard' BC report ? if yes, go to Report Selection and check the Sales Quote. Chances are it is pointing to the wrong report number.

    if not standard, you might need to look at the extension code.

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 > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans