Skip to main content

Notifications

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 110

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. 

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    13,219 Moderator on at
    RE: Sales Quote print isn't working

    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.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,162 Most Valuable Professional on at
    RE: Sales Quote print isn't working

    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.

  • Rana Hamid Profile Picture
    110 on at
    RE: Sales Quote print isn't working

    Its not a basic question. Need advance solution.

  • I Gusti Made Ari Profile Picture
    3,594 on at
    RE: Sales Quote print isn't working

    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
    110 on at
    RE: Sales Quote print isn't working

    Standard

  • Stefano Demiliani Profile Picture
    37,162 Most Valuable Professional on at
    RE: Sales Quote print isn't working

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

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... 293,309 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,162 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans