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

Community site session details

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

The name does not exist in the current context

(0) ShareShare
ReportReport
Posted on by 10

Error:

The request for path /UAT/dev/apps?SchemaUpdateMode=forcesync&DependencyPublishingOption=default failed with code UnprocessableEntity. Reason: Extension compilation failed Objects/Reports/Rep....al(128,43): error AL0118: The name '"Pack Size"' does not exist in the current context

The field '"Pack Size" is on another extension. I have added dependencies.

1. This field can be pick up from VSC

pastedimage1615574111969v1.png

2. This field can be viewed on table.

pastedimage1615574276873v2.png

3. not error if move codes to one extension,

I have the same question (0)
  • Suggested answer
    Jack Davies Profile Picture
    120 on at
    RE: The name does not exist in the current context

    I've had the same issue with a version 15 (cumulative update 03) installation - it was an issue with the executables .. an install of cumulative update 10 of v15 resolved the issue (with zero code changes to the app). Microsoft didn't publish (in the list of fixes) anything re this issue however their internal notes did have this logged as an issue that they resolved (I believe they only publish info re the fixes that are logged by the community (anything they find themselves they fix but don't announce)).

    Update to the latest cumulative update and try your apps again

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 4,304

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,045

#3
Sumit Singh Profile Picture

Sumit Singh 2,970

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans