Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

How to create a hperlink for attached documents in sales orders?

(0) ShareShare
ReportReport
Posted on by 1,865

Dear Experts,

Is there any possibility to save a hperlink for attached documents in sales orders, and send it to its next documents(Production Order) for further reference. Because we don't want to share the sales order to production department, only want to share the attached "EXCEL Sheet". 

7674.test01.png

*This post is locked for comments

  • manish.yadav Profile Picture
    manish.yadav 1,865 on at
    RE: How to create a hperlink for attached documents in sales orders?

    As per my screen shot I have added a link in my sales order. How can I display it in report.

    To resolve it, i have develop the new report, and add the data item...but there is no effect.

    8463.test02.png

    8463.test02.png

  • Suggested answer
    Andrey Baludin Profile Picture
    Andrey Baludin 3,941 on at
    RE: How to create a hperlink for attached documents in sales orders?

    Variable with type RecordRef

  • manish.yadav Profile Picture
    manish.yadav 1,865 on at
    RE: How to create a hperlink for attached documents in sales orders?

    Here what is "RecRef"....

  • manish.yadav Profile Picture
    manish.yadav 1,865 on at
    RE: How to create a hperlink for attached documents in sales orders?

    We are using the  Incoming Documents Utility but my requirement is I want to show the attached file in production order related to its Sales Order.

  • Suggested answer
    GDP Profile Picture
    GDP 272 on at
    RE: How to create a hperlink for attached documents in sales orders?

    If you are using NAV 2016 then you can also use Incoming Documents Utility.

  • manish.yadav Profile Picture
    manish.yadav 1,865 on at
    RE: How to create a hperlink for attached documents in sales orders?

    Let me try. i will give you the feedback asap.

  • Suggested answer
    Andrey Baludin Profile Picture
    Andrey Baludin 3,941 on at
    RE: How to create a hperlink for attached documents in sales orders?

    Hi!

    You can get record link next way:

    SalesHeader.GET("Document Type", "No.");

    If SalesHeader.HASLINKS THEN BEGIN

     RecRef.GETTABLE(SalesHeader);

     RecordLink.SETFILTER("Record ID", FORMAT(RecRef.RECORDID));

     If RecordLink.FINDFIRST then

       RecURL := RecordLink.URL1;

    END;

    Record Link is a table 2000000068

    After that pass RecURL to your report

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: How to create a hperlink for attached documents in sales orders?

    This is stored in Record Link table. You need to write custom code for transferring that data.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,436 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans