Hello,
I have a problem in NAV 2013 (no R2). In NAV 2013R2 I can use the new function GETURL, and I can send it in a mail and it works ok. But in NAV 2013 (no R2) this functions doesn't exist. So, I need the same functionality.
I use the following code to do the same:
RecRef.OPEN(DATABASE::"Purchase Header");
RecRef.SETPOSITION(Rec.GETPOSITION);
BookMarkText := FORMAT(RecRef.RECORDID, 0, 10);
In the body email I pass the next hyperlink:
DynamicsNAV:////runpage?page=51&bookmark=BookMarkText
But it doesn't work.
I can't open the record. It opens the NAV Client, but it shows an error: "Record can not be find".
Any idea for doing the same that the GETURL function??
Thanks a lot!!