web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Gen. journal template error dons not exist

(0) ShareShare
ReportReport
Posted on by 444

0285.1.png

Please tell me how to fix this.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Alexander Ermakov Profile Picture
    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
    Nareshwar Raju Vaneshwar Profile Picture
    5,596 on at
    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
    60,939 Super User 2025 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

  • S Shambhu Profile Picture
    444 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
    18,698 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
    50,080 Super User 2025 Season 2 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
    60,939 Super User 2025 Season 2 on at
    RE: Gen. journal template error dons not exist

    you need to check using debugger..

    check Oninsert trigger..

  • S Shambhu Profile Picture
    444 on at
    RE: Gen. journal template error dons not exist

    For manual No also its giving same error

  • Suggested answer
    Nareshwar Raju Vaneshwar Profile Picture
    5,596 on at
    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
    60,939 Super User 2025 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Saurav.Dhyani Profile Picture

Saurav.Dhyani 2 Super User 2025 Season 2

#2
RK-25090803-0 Profile Picture

RK-25090803-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans