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.