{"title":"IsUpdated operation","url":"https://jonas-paprotka.de/docs/dev-itpro/webservices/isupdated-operation/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/webservices/isupdated-operation, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/webservices/isupdated-operation","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Discover Dynamics 365 Business Central's IsUpdated Operation - check object updates, manage concurrency, and prevent record change failures.","date":"2023-12-22","meta":{"topic":"article"},"outline":[{"level":2,"title":"Method signature","slug":"method-signature","at":293,"chars":49},{"level":2,"title":"Parameters","slug":"parameters","at":342,"chars":149},{"level":2,"title":"Results","slug":"results","at":491,"chars":144},{"level":2,"title":"Faults","slug":"faults","at":635,"chars":216},{"level":2,"title":"Usage example","slug":"usage-example","at":851,"chars":774},{"level":2,"title":"Related information","slug":"related-information","at":1625,"chars":44}],"text":"Checks if an object has been updated since the key was obtained. This operation returns true if the object has been updated by any user; otherwise, false. Concurrency management prevents a record being changed if it has been subsequently updated. This check proactively prevents that failure.\n## Method signature\n`bool IsUpdated(string key)`\n## Parameters\nParameter|Description\nkey|Type: String<br /><br /> The bookmark of the record, including both primary key and concurrency information.\n## Results\nResult name|Description\nIsUpdated_Result|Type: Boolean<br /><br /> Returns true if and only if another user has modified the record.\n## Faults\nSOAP fault message|Description\n\\[*record name*\\] \\[*field*\\] \\[*value*\\] doesn't exist.|Indicates that the record has been deleted by another user or process after it has been retrieved for this operation.\n## Usage example\n```c#\nusing System;\nusing System.Collections.Generic;\nusing System.Text;\n\nnamespace ConsoleApplication\n{\n    // Imports newly generated web service proxy.\n    using WebService;\n\n    class Program\n    {\n       static void Main(string[] args)\n           {\n              // Creates instance of service and sets credentials.\n              Customer_Service service = new Customer_Service();\n              service.UseDefaultCredentials = true;\n\n              Customer cust = new Customer();\n              cust.Name = \"Customer Name\";\n              service.Create(ref cust);\n              cust = service.Read(cust.No);\n              if (!service.IsUpdated(cust.Key))\n           {\n              // Add code here to modify record.\n           }\n        }\n    }\n}\n```\n## Related information\nbasic-page-operations"}