Error while posting Sales Order & Purchase Order

tompynationtompynation Member Posts: 398
I keep getting the error:

You must specify Journal Template Name in Gen. Journal Line Journal Template Name ='',Journal Batch Name='',Line No.='0'.

Where should i fill this in?

Comments

  • kinekine Member Posts: 12,562
    It seems like some modification in the journal line table, which is not working when the journal line is filled in and posted on the fly (without template and batch)... Use debugger to find the code and check if it is not part of some customization...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • DaveTDaveT Member Posts: 1,039
    Hi Tompynation,

    Also check that you have journal templates setup - ( on Ver 5 ) Administration -> Financial Management -> General -> Journal Templates
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
  • tompynationtompynation Member Posts: 398
    No, there is no modification... This is a standard new database...

    I copied most of the setup from the Chronus database, but i guess i did something wrong cause i cant post any sales/purchase documents.

    It goes wrong here:
    CodeUnit 11 Gen. Jnl. - Check line

    RunCheck(GenJnlLine,JnlLineDim)
    ...
    TESTFIELD("Journal Template Name");



    @DaveT:
    Name Description Type Recurring Bal. Account Type Bal. Account No. No. Series Posting No. Series Source Code Reason Code Force Doc. Balance Copy VAT Setup to Jnl. Lines Allow VAT Difference Allow Posting From Allow Posting To
    ALGEMEEN Algemeen General No G/L Account FDB-ALG FDAGB Yes Yes No
    INK-CR Inkoopcreditnota Purchases No G/L Account DB-INKCR I-CN+ INKDAGB Yes Yes No
    INKOOP Inkoop Purchases No G/L Account FDB-INK I-FACT+ INKDAGB Yes Yes No
    VERK-CR Verkoopcreditnota Sales No G/L Account DB-VERKCR V-CN+ VRKDAGB Yes Yes No
    VERKOOP Verkoop Sales No G/L Account FDB-VRK V-FAC+ VRKDAGB Yes Yes No

    Something wrong with this journal templates?
Sign In or Register to comment.