Report output is .CSV if you file the file it appears to be garbage

I have a NAV report (2017 on-Prem) that is set to save to a CSV file and placed on a seperate server from the NAV servers. When I run it manually it is fine. When we run the code unit that was created to run the Report the output looks like garbage. Towards the top of this garbage I have found the below bit of info that I can read.

xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument&quot; Target="/xl/workbook.xml" Id="rId2" /><Relationship Type="http://schemas.openxmlformats.org/package/2006/relationships/meatadata/core-properties&quot; Target="/docProps/core.xml" Id="rId4" /><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties&quot; Target="/docProps/app.xml"

I am not a developer so this means almost nothing to me. An image of the file in question is attached. I am stuck. I am not sure what to do.

Thank you in advance for any help.

Answers

  • PhoguePhogue Member Posts: 76
    Can you share the code used to run the report?
  • I cannot. It is in a code unit that I cannot edit. I do not have a developers license.
  • edoderooedoderoo Member Posts: 89
    I also do not have a dev-license (anymore). But most code I can see in the debugger. Be sure to check all 3 boxes in the "Break Rules" in de debugger, or create a report that will start your codeunit/etc, so you can put a break point before the code you want to see.
    IF User.Loves('Edo') THEN ok() ELSE currReport.genSkip;
  • edoderoo,
    I will try that.

    Thank you
Sign In or Register to comment.