And what functionality in which version of Dynamics NAV is this about?
To my knowledge there is no standard functionality to send mail with work order attachments in NAV. So this must be custom functionality, in which case you are better of contacting the developer. Or you are talking about something else. [emoticon:c4563cd7d5574777a71c318021cbbcc8]
Have you tried running it with the debugger? It will show you exactly where in the code the problem occurs.
Otherwise as suggested before, if you are not the developer, then your better option is to contact your partner. Without knowing the actual code or the functionality, then it’s difficult to say what is wrong.
Thanks Erik and Palle for instant reply. I checked the code but nothing found wrong, in debugger upto last I am getting .pdf file. And sorry to not mentioned one point, if i save the attachment(.dat) as pdf it is saving as pdf file and all data is correct. so just compare both files in ‘Compare It’ tool files are identical except last line.