web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Business Central forum

The name '"Sales Header"' does not exist in the current contextAL(AL0118)

(0) ShareShare
ReportReport
Posted on by

Hey guys,

since I have converted the old report from C/SIDE (report 205) through the Txt2AL, I get the following error messages:

The name '"Sales Header"' does not exist in the current contextAL(AL0118)

Error_5F00_SalesHeader.PNG

I know, that there is no "Sales Header". Also in the standard report is no one...

The dataitem is the "Sales Header"...

Dataitem.PNG

I could download the symbols nad I have installed the al language package through VSIX: al-3.0.124247.vsix

That is the version of BC I am using:

BC_5F00_Version.PNG

Do you have any ideas?!

Thank you!

Categories:
I have the same question (0)
  • Verified answer
    Hannes Holst Profile Picture
    5,767 on at

    The name of DataItem is "DataItem6640".

    Replace all occurences with the name and you should be fine.

    Or you can change the name to "Sales Header" which would have the same effect.

    The results of the Txt2AL tool do need some post audit always...

  • Verified answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,284 Super User 2025 Season 2 on at

    Currently the Sales Header is being renamed as DataItem6640. If you change the DataItem6640 to "Sales Header", that should fix the reference issue.

  • Community Member Profile Picture
    on at

    THANK YOU :)

  • Community Member Profile Picture
    on at

    THANK YOU SO MUCH :)

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans