Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Business Central - AL

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
 

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,698 Super User 2024 Season 2 on at
    Business Central - AL
    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans