Yes. It works, though I had to comment out a string which contained national characters like this, otherwise the was left in tmp folder and not attached.
fname = "tmp/" /*& USetStr(1818) & " " */ & IPr.SerNr & ".pdf";
Actually a new version of this bug is SL>>Reports>>Periodic customer statement "accumulates" amounts
Not sure why it was duplicated, I clicked "submit"only once....