Hello,
we have a webservice published for a page, and we want to change a value of the primary key for a certain record.
Is it possible, that this is not possible? : )
I can change any other field with an OData patch command, but he seems to ignore all the fields that are included in primary keys.
I understand that this has some danger attached to it, if you change primary key values.
Is there a workaround for this situation?
thank you in advance
0
Answers
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/
Be careful with this method as it will not maintain referential integrity - I.e. If there are other tables with fields referring to the primary key field(s) of your table then these values would not get changed (like they would with a rename)
Zaid Tariq
Dynamics NAV/365 BC Developer at Dynamics 360
please like / agree / verify my answer, if was helpful.