Skip to main content

Notifications

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
 

  • Suggested answer
    YUN ZHU Profile Picture
    81,775 Super User 2025 Season 1 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,259 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,988 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans