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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Error while posting Gen. Posting Type must not be in Gen. Journal Line Journal Template Name='',Journal Batch Name='',Line No.='1000'.

(0) ShareShare
ReportReport
Posted on by 155

Hi all

 

I am getting following error when posting a sales order in 6.0sp1 IN version 29626 build

 

Gen. Posting Type must not be   in Gen. Journal Line Journal Template Name='',Journal Batch Name='',Line No.='1000'.

 

I wrote message to know what the gl account  as show below

 

Codeunit 11 Gen. Jnl.-Check Line\RunCheck(GenJnlLine,JnlLineDim)

 

 

 

 

  IF "Account No." <> '' THEN BEGIN

 

    CASE "Account Type" OF

 

      "Account Type"::"G/L Account":

 

        BEGIN

 

          IF ("Gen. Bus. Posting Group" <> '') OR ("Gen. Prod. Posting Group" <> '') OR

 

             ("VAT Bus. Posting Group" <> '') OR ("VAT Prod. Posting Group" <> '')

 

          THEN

 

            Message('%1 %2',"Account No.","Gen. Posting Type");

 

            TESTFIELD("Gen. Posting Type");

 

I note that GL account no and checked but I found that  "Gen. Posting type " is not null. I changed to Null also I am getting same error. 

 

   am I missing some thing or is it a bug

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Neville Foyn Profile Picture
    4,320 on at

    Hi

    The posting type cannot be blank if you are posting a sale, it needs to be sale

    This could be because the GL account you ave selected is set to blank, Try setting the GL account you are using on the lines to "Sale" and that may sort out the issue

    Also the values are copied onto the sales order when you create it so just updating the GL wont fix the problem, you will need to delete the order and re-create it

  • smshyd Profile Picture
    155 on at

    Hi Mr.Neville Foyn

            Thanks for reply.   I have changed to  sales ,purchase and empty but it is giving same error. Later I found that it is used in  Freight in structure(indian functionality) For the freight account there should not be any gen.Posting type or gen.prod or business posting groups and vat  bus. and prod posting groups

    when I removed It get posted.

  • Neville Foyn Profile Picture
    4,320 on at

    Glad you got it sorted :)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
TAHER_El_Mehdi Profile Picture

TAHER_El_Mehdi 2

#1
sliderxb Profile Picture

sliderxb 2

#1
broberts Profile Picture

broberts 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans