Sales Quote print isn't working

ranahamidranahamid Member Posts: 1
edited 2019-06-25 in Navision Financials
When I do the print from the sales quote card, there is an error occurred.

The Statement report does not have a DataItem that uses the table (Table 36 Sales Header) specified in the function SetTableView.
53edu8vkfuf6.png
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.

Answers

  • Sachin_Sachin_ Member Posts: 67
    Hello @ranahamid ,

    This error occurs when you're trying to call a report with a wrong table in the filter.

    When you make a call to a report, for example from a form/page, then you are able to use SETTABLEVIEW to filter the report with the value from the record. For example you can filter on the item you're currently using the SETTABLEVIEW. But if the report you're calling doesn't have Item as a DataItem, then you will get the above error.

    So in order You need to check where the report is called from and the code used to call it.
Sign In or Register to comment.