Announcements
Hello,
I created a solution that works perfect in Sandbox.
When I try to push to production I get the following error -
Package validation failed due to the following error(s): (11,21): error PTE0002: Field 'Shipping Agent Service Code' has an ID of [5794]. It must be between within the range '[50000..99999]'.
Here is the code -
Any Thoughts?
Thanks,
Dustin
Hi, you need to change the field id to 50000~99999 range.
This is a bit different from the idea in NAV. In NAV, we always add the same ID as the standard, which can automatically transfer data when TransferFields is run.
But now in SaaS, if you need to add fields to standard tables, you cannot use IDs from 1 to 49999 range, because Microsoft may use them at any time in future versions.
PS: There is no limit for your new table, you can use 1~49999.
Hope this info will help.
Thanks.
ZHU
I think it might work in a sandbox because there is simply less validation going on there.
But as Kim says. All the Per Tenant Extensions must be in the 50000 to 99999 range also when it comes to new fields added and objects added.
Seems like its fussing about the line that has field (5794; "shipp...............
If you are adding the shipping agent service code field to you're new table, you have to use a different field number int he 50000..99999 range.
Not sure how this can work in Sandbox and not production though.
André Arnaud de Cal...
294,125
Super User 2025 Season 1
Martin Dráb
232,871
Most Valuable Professional
nmaenpaa
101,158
Moderator