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

Announcements

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

How to create lines in General Journal for each customer?

(0) ShareShare
ReportReport
Posted on by 125

Hi 

I am trying to insert data using the Report in general journal line but when I open that page. data is not available in page. below the image.

pastedimage1662634684558v1.png

data is available in table. below the image.

pastedimage1662634805893v2.png

This is my code.

pastedimage1662634949825v3.png

What I need to do for data available in page. please help me

I have the same question (0)
  • Suggested answer
    Amit Baru Profile Picture
    3,037 on at
  • Suggested answer
    Nitin Verma Profile Picture
    21,748 Moderator on at

    Hi,

    I see, please see the below image and change accordingly.

    1. Confirm Template and Batch name is correctly defined and send LineNo as a parameter in that function (Red box)

    2. Use Genjournal.insert instead of modify() (Yellow box)

    pastedimage1662637360068v3.png

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,153 Moderator on at

    Where you say GenJournal.Modify();

    You should say GenJournal.Insert(true); instead.

    That should fix it.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,117 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 1,026 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans