Hi
When a PQ or PO is send for appoval occationally all users of this particular client gets the the below mentioned error message.
"The file C:\ Documents Settings\ User\ Local Settings\ Temp\ AppTemplate.HTM already exists"
When the mentioned file is deleted the approval works as usual.
Btw apprval notifications are also setup in the system.
What may be causing this error?
Thanks!
0
Comments
What version are you using ? It sounds like the template it creates to send the email is not being deleted, if all users have different machines perhaps it is the template on the server ?
We are using Dynamics NAV 5.0 SP1.
It does not delete this temp file after it has been created.
Next time it tries to export the file into the same folder and with the same name, though, you should not get any error... there is a prompt that tells the user the file already exists and asks him whether he wants to replace it or not, but this is only shown when second parameter is TRUE (using the CommonDialog), not when the second parameter is FALSE.
AppSetup.CALCFIELDS("BLOB Field");
TempPath := TEMPORARYPATH + 'AppTemplate.HTM';
AppSetup."BLOB Field".EXPORT(TempPath,FALSE);
I've tried this with Blob fields and with files that already exist and I got no error...
I ever experienced this error. This error is happen when you check the option tab in the Approval Setup form, i.e. send the email notification when approval, etc. happed.
If you do not need this email notification, just check it off.
Andwian