Record links in journals not copied to Posted (GL Entries)

hery_halimhery_halim Member Posts: 53
edited 2014-07-29 in NAV Three Tier
Hi Friends,

I am using a record links in general journal, but when i did a posting, i can't find the attached links in Posted Journal Entries(GL Entries).

I thought this may be a bugs in Navision 2013 R2?

I search for hotfix but i didn't find any related to this case.

Any help would be appreciated.

Thanks before

Comments

  • mohana_cse06mohana_cse06 Member Posts: 5,504
    Yes, its a common request from Customers.

    we copied record links to vendor Ledger Entries using below code in PostVend() function of Codeunit 12
    //MPA BEGIN
      IF HASLINKS THEN
        VendLedgEntry.COPYLINKS(GenJnlLine);
      //MPA END
    

    You can apply the same logic to GLEntries I guess
  • hery_halimhery_halim Member Posts: 53
    Hi mohana,

    I see. So that's by design.

    And I tried your solution, it works perfectly

    Thanks
  • BardurKnudsenBardurKnudsen Member, Microsoft Employee Posts: 137
    True. This is by design. When we originally implemented the RecordLinks feature, we assumed that the most relevant place to use record links was in sales and purchase documents, and we piggy-backed on the Copy Comment Lines to ... setup in the sales & receivables setup and purchase & payables setup. The reason is that the 'HASLINKS' command costs a database query, which can be costly if you do it for each (journal-)line. For documents it is only the links to the header, that are copied, which is less costly.
    Bardur Knudsen
    Microsoft - Dynamics NAV
Sign In or Register to comment.