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 :
Small and medium business | Business Central, N...
Suggested Answer

Splitting Cash Receipt Journal Line

(0) ShareShare
ReportReport
Posted on by 10

Hi Everyone,
we are using custom extension in the latest Business Central to split a Cash receipt journal line into multiple lines to separate the actual revenue vs the tax. The cash receipt journal line is added from a prepayment invoice. we were using the "OnBeforeInsertGenJLine" event to split the journal line into 2 using the 'Init' & 'Insert' functions on the 'Gen. Journal Line' record. This was all working fine until Business central got updated few weeks back and now this custom code does not work. It goes thru the code, but while posting it throws this error to the UI
"There is no Cust. Ledger Entry within the filter. Filters: Customer No.: XXXXX, Document Type: Invoice, Document No.: PP-INV00XXXX, Open: Yes"

Have anyone faced similar issue or is there a better way to split the journal lines on the cash receipt? 

Any suggestion is greatly appreciated!

Thank you.

  • Suggested answer
    Andy Sather Profile Picture
    Microsoft Employee on at

    Hello  - We currently do not have Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    community.dynamics.com/.../758

    dynamicsuser.net/.../developers

    I will open this up to the community in case they have something to add.

  • SrinathNS Profile Picture
    10 on at

    Thanks.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 645 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 432 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 248 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans