Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Gen. journal template error dons not exist

Posted on by 414

0285.1.png

Please tell me how to fix this.

*This post is locked for comments

  • Suggested answer
    Alexander Ermakov Profile Picture
    Alexander Ermakov 28,094 on at
    RE: Gen. journal template error dons not exist

    As other members suggested, you need to perform a setup somewhere to add a journal template as required by your customization. Best option is to use debugger to identify exact place where this setting needs to be done.

  • Suggested answer
    RE: Gen. journal template error dons not exist

    Hi,

    You code fails at recGenJournalTemplate.GET("Gen. Journal Template Code");

    In your Gen. Journal Template table, try to add a record, with the "Location Code".

    This way you can identify, whether this is the place it fails.

    Hope it helps.

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,137 Super User 2024 Season 2 on at
    RE: Gen. journal template error dons not exist

    seems code which is causing error is already commented.

    recGenJournalTemplate.GET("Gen. Journal Template Code");

    you need to use debugger to identify exact place of error.

    please contact partner

  • Mr D365 Profile Picture
    Mr D365 414 on at
    RE: Gen. journal template error dons not exist

    {

    //>> MGM_MIG_2009R2_to_2013R2_HZ11

    //ACXBASE Begin

    recGenJournalTemplate.GET("Gen. Journal Template Code");

    IF "Location Code" = '' THEN BEGIN

      IF recGenJournalTemplate."Location Code" <> '' THEN

         VALIDATE("Location Code", recGenJournalTemplate."Location Code");

      END;

    //ACXBASE END

    //<< MGM_MIG_2009R2_to_2013R2_HZ11

    }

    IF "No." = '' THEN BEGIN

     TestNoSeries;

     NoSeriesMgt.InitSeries(GetNoSeriesCode,xRec."No. Series","Posting Date","No.","No. Series");

    END;

    Please check this any problem in this code unit...?

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: Gen. journal template error dons not exist

    Check the setup or check by activating debugger or take help from developer/partner as this is customization

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Gen. journal template error dons not exist

    It is missing some kind of setup as part of your customization, as others mentioned easiet way to find this is run the debugger

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,137 Super User 2024 Season 2 on at
    RE: Gen. journal template error dons not exist

    you need to check using debugger..

    check Oninsert trigger..

  • Mr D365 Profile Picture
    Mr D365 414 on at
    RE: Gen. journal template error dons not exist

    For manual No also its giving same error

  • Suggested answer
    RE: Gen. journal template error dons not exist

    Hi,

    It is definitely a customization of some sort. Can you manually enter the No.?

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,137 Super User 2024 Season 2 on at
    RE: Gen. journal template error dons not exist

    it seems you have some customizations. please check or contact partner..

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans