0

Pulling in Links With Record Link Table

Hello -

I am using Dynamics NAV + Jet and trying to create a report that pulls in links from the record link table. I have no issue pulling in the first link attached to a purchase invoice, but if an invoice has 2 or more links, I can't pull them in. Here is the function I am using:

=NL("First","Record Link","URL1","Record ID","Purch. Inv. Header: "&$H15) – this one successfully pulls in the link. H15 references the PI number.

How would I write a function to pull in the second/third/fourth links for the same PI? I tried:
=NL("Last","Record Link","4 URL2","Record ID","Purch. Inv. Header: "&$H15)
&
=NL("First","Record Link","4 URL2","Record ID","Purch. Inv. Header: "&$H15) - But neither works, even when I know the PI has a second link.

Would I need to use NL(Rows)? I tried:
=NL("Rows","Record Link","3 URL1","10 Created","1/1/14..1/31/14","Document No.","PI*") - which seems to pull in all of the first links, but then I can't figure out how to reference which PI number the links belong to! This does not work: =NL("First","2000000068 Record Link","14055650 Document No.","3 URL1",$D23), where D23 references the link from NL Rows.

And when I enter in
=NL("Rows","Record Link","4 URL2","10 Created","1/1/14..1/31/14","14055650 Document No.","PI*") to try to pull in all second links, nothing appears (even though I know some of the PIs do have two links).

3 comments

Please sign in to leave a comment.