link (Ctrl+L) external documents in NAV 4.0

vyankuvyanku Member Posts: 791
Can we link external documents in nav 4.0?
My client want to attach some scaned documents related to perticular customer.
How can I attached it to that customer?

Comments

  • krikikriki Member, Moderator Posts: 9,110
    That functionality is not standard in NAV 4.0, but it is from 5.0.
    You can
    1) Create new functionality (tables,forms,...) to support it.
    2) do a technical upgrade to 5.0 and take the code needed to have that functionality
    3) do a complete upgrade to 5.0 and it will be standard.

    I would go for 3.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • SavatageSavatage Member Posts: 7,142
    You can try suggestion 1 too.
    1 Table & 1 Form
    http://savatage99.googlepages.com/Custo ... hments.txt

    Then add a command button on the customer's card
    "See Attachments"
    PushAction:RunObject
    RunObject:Form Customer Linked Attachments
    RunFormLink:Customer No.=FIELD(No.)

    you can add/remove and open them.
    Click on the "Attachment" line to add a new one.
    Click on the Open column to run it.

    Not just for 4.0
  • krikikriki Member, Moderator Posts: 9,110
    Savatage wrote:
    You can try suggestion 1 too.
    1 Table & 1 Form
    http://savatage99.googlepages.com/Custo ... hments.txt

    Then add a command button on the customer's card
    "See Attachments"
    PushAction:RunObject
    RunObject:Form Customer Linked Attachments
    RunFormLink:Customer No.=FIELD(No.)

    you can add/remove and open them.
    Click on the "Attachment" line to add a new one.
    Click on the Open column to run it.

    Not just for 4.0
    Why not create a How-to? Or a download? :wink:
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • SavatageSavatage Member Posts: 7,142
    I only did it in 3 minutes - I'd figure someone had a better way or better code.
  • DRBDRB Member Posts: 105
    I was just wondering if it just stores the path of the attachment file or the file itself is stored in Navision DB?..for me it seems just the path.....I may be worng
    -Dhan Raj Bansal
    Linkedin Profile: http://in.linkedin.com/in/dhanrajbansal
  • vyankuvyanku Member Posts: 791
    Thanks Savatage .
    This is what I am trying to do. =D>
    Thank you very much its workig fine . \:D/ :whistle:
  • SavatageSavatage Member Posts: 7,142
    edited 2008-02-11
    DRB wrote:
    I was just wondering if it just stores the path of the attachment file or the file itself is stored in Navision DB?..for me it seems just the path.....I may be worng

    Just to answer it stores the whole thing
    example/
    S:\My Data Sources\MailAddresses.xls
    or
    M:\Accounts Payable\Catalog\Vendor Catalog Info.RPT
    etc etc
    the path & filename

    The file is not stored in the navision DB cause the post was about external documents.

    Glad it works for you..It came about by a suggestion by Denster. I wanted to clean up how i accessed my Crystal Report and since you can't use Hyperlink with menu items - this was the next choice.
    http://www.mibuso.com/forum/viewtopic.php?t=23298
    It's just a bonus that you can save almost anything here from JPG, BMP, XLS, DOC, PDF, web link..etc as long as you have the application to open the file type installed on your pc..it's all good :D
  • SavatageSavatage Member Posts: 7,142
    FYI add another field to the table & add to the key
    perhaps call it "Type" as an option field

    With options of Item, Customer, Vendor, Whatever

    Then you can use this same table to hold all outside links not just Customer Links.

    Just add this filter to your command button
    Customer - on Customer Card
    Vendor - on vendor Card
    Item - on Item card
    etc

    With an account # field for cust /vend or item to link
Sign In or Register to comment.