Skip to main content

Notifications

Community site session details

Community site session details

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

Error: The Sustainability Setup does not exist. Identification fields and values: Primary Key=''

(1) ShareShare
ReportReport
Posted on by 74
Hi ,
 
We have upgrade from Navision to Business Central couple of weeks ago.
We are facing issues creating PO Invoice lines 

Error: The Sustainability Setup does not exist. Identification fields and values: Primary Key=''

 

Checked all Set uo configs, looks all is fine.

 

can some one guide me whats could be the issue

 

thanks

vijaya

  • Sacha E Profile Picture
    206 on at
    Error: The Sustainability Setup does not exist. Identification fields and values: Primary Key=''
    I had this same issue when doing our version testing to BC 25.0 - users could not see the lines on Purchase Orders or Purchase Invoices. I had to give them the Sustainability Read Permission Set so they could complete their testing and see the lines. I then ended up adding Object ID 6217 Sustainability Setup to a Permission Set that all our users have.
  • Suggested answer
    DC-18121620-0 Profile Picture
    2 on at
    Error: The Sustainability Setup does not exist. Identification fields and values: Primary Key=''
    Had this issue recently in a clone of our go live environment in Business Central and could not figure out why the error was coming up. It was happening for multiple users with different levels of permissions. When entering a purchase order or going into a purchase order you could not see any of the Purchase order lines at all. The only thing you saw where the lines were supposed to be was the Sustainability Setup does not exist. I tried a few things but what fixed it for me was.

    Navigate to Users inside of Business Central
    1. Navigate to Users inside of Business Central
    2. Click on the user you know if having the error
    3. Add these 3 permission sets to the specific user and save
    • SUSTAINABILITY ADMIN
    • SUSTAINABILITY EDIT
    • SUSTAINABILITY READ
    After I added those the user refreshed the page, and the error was gone and the purchase order lines were there, and they were able to add info into the fields as usual. I believe since it's a new feature this is a bug that Microsoft will fix in a minor release but adding these permission sets to the users that are getting the error fixed it for us for now as a workaround. It could be that you need only one of these permission sets to fix the error - have not tried to narrow it down, but for now since we are not using the feature and do not plan to this works for the users that need it.  Hope this helps someone!
  • VG-12111806-0 Profile Picture
    74 on at
    Error: The Sustainability Setup does not exist. Identification fields and values: Primary Key=''
    Thank you Khusbu,
     
    It means sustainability set up is installed and it needs uninstallation?
    any guide /document how to achieve this unchecking or uninstallation?
     
    thanks for the help in advance
     
  • Khushbu Rajvi. Profile Picture
    16,370 Super User 2025 Season 1 on at
    Error: The Sustainability Setup does not exist. Identification fields and values: Primary Key=''

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 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…

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 754

#2
YUN ZHU Profile Picture

YUN ZHU 698 Super User 2025 Season 1

#3
Mansi Soni Profile Picture

Mansi Soni 529

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans