Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Unable to receive the attachemnt

(1) ShareShare
ReportReport
Posted on by 1,893

Dear All,

I have developed the code for save the report in pdf format.

...pdf created and it saved on automatically c:\temp....

Also I have used the functionality to send this attachment to concern person. email functionality is not working here. so i have not receive any mail.

Note: ye existing order sheet ka pdf nahi create kar reha hai...ye aaj tak jitne order sheet bane hai...sabka pdf bana de reha hai...pdf ka size bhi 8.50 mb tak ho reha hai..

manish

*This post is locked for comments

  • manish.yadav Profile Picture
    1,893 on at
    RE: Unable to receive the attachemnt

    done, problem resolved.

    please close this thread.

    manish

  • Verified answer
    Binesh Profile Picture
    7,885 on at
    RE: Unable to receive the attachemnt

    Filter your data as per page you filter before saving report in pdf format, and pass filter record to report.

    Like:

    RecVar.Reset;

    RecVar.SETRANGE("No.",Docno);

    IF RecVar.FINDFIRST THEN BEGIN

       ReportVariable.SETTABLEVIEW(RecVar);

       IF NOT ReportVariable.SAVEASPDF(path) THEN

           ERROR('pdf not created');

    ......

    .....

    ...

    END;

    ------------------

    For Mail, you have to setup SMTP Mail page.

    Also

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics NAV (Archived)

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2

#1
mmv Profile Picture

mmv 2

#1
Amol Salvi Profile Picture

Amol Salvi 2

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans