Skip to main content

Notifications

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

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,029 Moderator on at
    RE: How to create lines in General Journal for each customer?

    Where you say GenJournal.Modify();

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

    That should fix it.

  • Suggested answer
    Nitin Verma Profile Picture
    21,565 Moderator on at
    RE: How to create lines in General Journal for each customer?

    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
    Amit Baru Profile Picture
    3,029 on at
    RE: How to create lines in General Journal for each customer?

    Hi,

    Pls use below link for more clarity

    https://erpconsultors.com/types-and-setup-of-voucher-in-d365-bc/

    https://erpconsultors.com/create-general-journals-in-d365-bc/

    Regards

    Amit Sharma

    www.erpconsultors.com

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans