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

The field identifier must be within the allowed range (AS0013) for market place.

(0) ShareShare
ReportReport
Posted on by 20

Hello everyone,

i got error white generating app file for market place.we already release one version that time 50000 field range is accepted now release new version that time give error like below screen shot.

Error message

The field identifier '50012' is not valid. It must be within the range '[70166825..70166898]', which is allocated to the application, and outside the range '[50000..99999]', which is allocated to per-tenant customization.

pastedimage1589456187099v2.jpeg

if you have any idea about this error please let me know.

  • Chris Greenwood Profile Picture
    62 on at
    RE: The field identifier must be within the allowed range (AS0013) for market place.

    It was 2 days ago.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: The field identifier must be within the allowed range (AS0013) for market place.

    You can test by yourself if the action you're doing is a breaking change or not by installing the previous version of your extension and then upgrade it to the new version by executing Start-NavAppDataUpgrade.

    However, I recently had a case with an app on AppSource where we had a codeunit with ID = X and we've changed them later with another ID (same AppSource range however). In AL the ID change should not be a breaking change, but maybe the validation checks for tables again. Is this a message that you had recently or in the past?

  • Chris Greenwood Profile Picture
    62 on at
    RE: The field identifier must be within the allowed range (AS0013) for market place.

    Thanks for your reply. I already tried to simply renumber the affected fields but I received this error back from the Technical Validation:

    1400.5.15 Destructive Code Changes

    Changes that break SQL such as renaming fields or tables, or changing data types, keys on tables, field or tables IDs, or other such changes are not allowed.

    (I guess this is not significant, but this error was reported only for the first field that I had renumbered, which was actually not in the range 50000..99999. The table also has fields in that range, which I had also renumbered. Presumably it reports only the first problem field).

    So I am going with your original suggestion of obsoleting and replacing the affected fields.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: The field identifier must be within the allowed range (AS0013) for market place.

    A little change from my response above: changing the field ID is not a breaking change, so you can rename the fields and submit a new update.

    However, so strange that the validation process has not automatically discovered this error in the past.

  • Harsh_Maheshwari Profile Picture
    20 on at
    RE: The field identifier must be within the allowed range (AS0013) for market place.

    this is bug from MS side so we have to do whole process again and write upgrade code unit.

  • Chris Greenwood Profile Picture
    62 on at
    RE: The field identifier must be within the allowed range (AS0013) for market place.

    This has happened to us as well. The BC15 version of our app was published to AppSource with some field IDs in the 50000..99999 range. Now when I recompile for BC16 I have hit the problem described above.

  • Suggested answer
    THE Italian Profile Picture
    on at
    RE: The field identifier must be within the allowed range (AS0013) for market place.

    docs.microsoft.com/.../devenv-upgrading-extensions

  • Harsh Maheshwari Profile Picture
    20 on at
    RE: The field identifier must be within the allowed range (AS0013) for market place.

    Thanks for quick Reply...can you send me link or any solution for data upgrade??

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: The field identifier must be within the allowed range (AS0013) for market place.

    Yes now you should obsolete the old field, create a new field in the correct range and create an upgrade codeunit where you move data from the old to the new field.

    It's the first time that I listen that a 50000 field is wrongly accepted on AppSource...

  • Harsh Maheshwari Profile Picture
    20 on at
    RE: The field identifier must be within the allowed range (AS0013) for market place.

    yes that's my question why MS accept first time..so now i have to create new field right??and write logic for upgrade...

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 Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

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

#1
YUN ZHU Profile Picture

YUN ZHU 628 Super User 2025 Season 1

#2
Mansi Soni Profile Picture

Mansi Soni 495

#3
Sagar Dangar, MCP Profile Picture

Sagar Dangar, MCP 395

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans