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

Notifications

Announcements

No record found.

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,708 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,111 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

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,664

#2
YUN ZHU Profile Picture

YUN ZHU 960 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans