I have made a minor adjustment in the InventOnHand report. Printjobsettings methods are set so that the report always will be written as a file. The filename consists of date and time.
When I run this report this works fine, but when the report is put in the batch queue this doesn't work. The user's rights to write a file is ok. When the batch job starts the job's status turns to "Executing" but nothing happens. The status does not change to "Ended" and no file is written.