Hello everybody,
I'm using Zetadocs Express and I would like to figure out the related table part.
Question 1: does this also work with the Archive Service (thus not with SharePoint installation)?
Question 2: I've added an action on the purchase order subform in order to be able to add documents on purchase line level:
IF GUIALLOWED THEN BEGIN
ZdRecRef.GETTABLE(Rec);
IF ZdRecRef.GET(ZdRecRef.RECORDID) AND (ZdRecRef.RECORDID <> ZdPrevRecID) THEN BEGIN
ZdPrevRecID := ZdRecRef.RECORDID;
ZdPage.SetRecordID(ZdRecRef.RECORDID);
ZdPage.RUN;
END;
END;
This code works fine. Now I want, after posting the receipt, to be able to find the linked documents from the purchase receipt line. I've added the following records in the mapping tables:
Zetadocs Record Mapping Header
Source table = 39, Target table = 121
Zetadocs Record Mapping Line
Source field 1 = 3, target field 1 = 65
Source field 2 = 4, target field 2 = 66
Next I added the same code as above to the posted purchase receipt subform. When I run the code, I cannot see the linked document. Can you please advise me how to do that, or is it not possible? I am using NAV 2015.
Thanks in advance,
Kind regards,
Rogier
*This post is locked for comments