Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Zetadocs very slow to load on one page

Posted on by Microsoft Employee

We are using Zetadocs Express in NAV 2013 R2 .  It works beautifully except in one page recently, the Posted Sales Invoice page. When opened it takes roughly 5 minutes to open. I have pinned it to being Zetadocs, as disabling the addin the page loads straight away. 

I checked the Zetadocs log on the tier server and found that while the page is loading the below section repeats many times.  I see the first line highlighted in red, so I added the key fields into the Zetadocs Key FIeld table, however that didn't change the error.  And besides that, the one in red below it "Invalid record mapping detected, source field is empty" seems more important.  I think I need to add some mapping in the Zetadocs Record Mapping Line table, but I don't understand how.  Has anyone come across this?

-----

29/09/15- 2:58:35 PM-DEBUG-C9041209.GetRecordLink(Sales Shipment Line: SSHIPP273911,400000)
29/09/15- 2:58:35 PM-DEBUG-C9041210.GetPrimaryKeyFields(Sales Shipment Line: SSHIPP273911,400000)
29/09/15- 2:58:35 PM-DEBUG-C9041210.GetPrimaryKeyForTable(111)
29/09/15- 2:58:35 PM-DEBUG-C9041210.GetPrimaryKeyForTable(111) Primary Key: Document No.,Line No.
29/09/15- 2:58:35 PM-DEBUG-C9041210.GetPrimaryKeyFields() No primary key fields saved for table: 111 returning: Document No.,Line No.
29/09/15- 2:58:35 PM-DEBUG-C9041209.GetFieldValue(Document No.)
29/09/15- 2:58:35 PM-DEBUG-C9041209.GetFieldValue(Line No.)
29/09/15- 2:58:35 PM-DEBUG-C9041210.GetCompanyID(MHIAA_LIVE_NAV7)
29/09/15- 2:58:35 PM-DEBUG-C9041209.GetRelatedRecordLinks(Sales Shipment Line: SSHIPP273911,400000)
29/09/15- 2:58:35 PM-DEBUG-C9041210.GetRecordMappingsForRecord(Sales Shipment Line: SSHIPP273911,400000)
29/09/15- 2:58:35 PM-DEBUG-C9041209.GetRecordLinkFromStaticMapping(Sales Shipment Line: SSHIPP273911,400000)
29/09/15- 2:58:35 PM-DEBUG-C9041210.GetCompanyID(MHIAA_LIVE_NAV7)
29/09/15- 2:58:35 PM-DEBUG-C9041209.GetRecordLinkFromStaticMapping(Sales Shipment Line: SSHIPP273911,400000)
29/09/15- 2:58:35 PM-DEBUG-C9041210.GetCompanyID(MHIAA_LIVE_NAV7)
29/09/15- 2:58:35 PM-WARNING-C9041209.GetRecordLinksFromStaticMapping() Invalid record mapping detected, source field is empty

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Zetadocs very slow to load on one page

    Thank you that SDK guide was extremely helpful.  I wish I had that a long time ago.  I didn't even know Zetadocs could be made to reference lines.

    So the issue was, event though the error was "No primary key fields saved for table: 111", I needed to also define the keys for Sales Shipment Header (110) in the Zetadocs Key Fields table.   Then the page opens very quickly and issue is gone. Thanks again.

    Untitled-picture.png

  • Suggested answer
    Miguel Llorca Profile Picture
    Miguel Llorca User Group Leader on at
    RE: Zetadocs very slow to load on one page

    I recommend you to contact David Cole ( community.dynamics.com/.../david-cole ). That should be a config issue.

    Good luck!

  • Verified answer
    keoma Profile Picture
    keoma 32,675 on at
    RE: Zetadocs very slow to load on one page

    here is a posting about a similar issue and same error message. seems to be a config issue: community.dynamics.com/.../77292

    also read http://download.equisys.com/pub/NAV/v7.0/Documentation/Zetadocs%20for%20NAV%20SDK%20Guide.pdf

    starting with page 54.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans