41
Views
4
Comments
Please tell me the reason for the error
Question

Hi All.

error output but i don't reason

why this error output ?


DB ? or Logic ? Please let me know answer.

2024-12-18 16-06-42
Junaid Syed

Hi,

Similar issue was reported on below link, and apparently this was happening because no record was submitted. Please check if same is the case with your code too.

https://www.outsystems.com/forums/discussion/43680/outsystems-dbo-osusr-xxxx-with-key-0-was-not-updated/

Another similar scenario here

https://www.outsystems.com/forums/discussion/69004/dbo-with-key-0-was-not-updated/

Hope it helps!

Junaid

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi,

If you update a record, the record identifier must have a value of an already existing record.

If you try to add a new record use Create or CreateOrUpdate entity action.

Regards,

Daniel

2023-10-27 12-06-14
Asiyah Munawwar

Hi  Hyosang lee ,

I think there's a problem in you update logic. Please share the OML file. So that i can help you out.

Thanks


2023-05-08 05-34-05
Piyali Saha

Hi Hyosang lee ,

According to me, the error you are getting is due to the record you are updating to database has ID equals to 0. As no record will be present there with ID 0 which will be updated hence this error is thrown.

Kindly, check your database updation logic to get rid of the error. If still the error persists you can also share your oml, I will be happy to help you out.

Thanks & Regards.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.