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

Business Central - AL

(0) ShareShare
ReportReport
Posted on by

This error is showing, when trying to use the trigger onValidate() for item No. in item journals:

If requesting support, please provide the following details to help troubleshooting:

The Item Journal Line does not exist. Identification fields and values: Journal Template Name='ITEM',Journal Batch Name='DEFAULT',Line No.='0'

Internal session ID:
57bf6a53-5096-4d97-85fe-6201d0375822

Application Insights session ID:
7b5e427e-fd61-4177-9280-4ba8f6966e97

Client activity id:
beed67f9-223f-4ed4-bda7-4b7586a35c51

Time stamp on error:
2024-01-23T11:15:14.7438222Z

User telemetry id:
1f7929a4-1841-4195-9f67-372d0b546ae9

AL call stack:
/HCB Item Journal Ext/(TableExtension 50401)./Item No. - OnAfterValidate/(Trigger) line 25 - FixedAssetsProject by Default Publisher
 

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,595 Super User 2025 Season 2 on at
    Hi, I don't know what your specific code is. I simply tested it and didn't encounter the problem you mentioned.
     
    The only thing to note is that the DelayedInsert property of the page is true, so if you execute rec.modify, this error may occur. Because the data has not been inserted yet.
     
    Hope this helps.
    Thanks.
    ZHU

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 3,010

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,270 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans