{"title":"Record.ReadIsolation([IsolationLevel]) Method","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/record/record-readisolation-method/","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/developer/methods-auto/record/record-readisolation-method, 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/developer/methods-auto/record/record-readisolation-method","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":"Gets or sets the read isolation level.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"Record.ReadIsolation([IsolationLevel]) Method","slug":"recordreadisolationisolationlevel-method","at":0,"chars":1602},{"level":2,"title":"Syntax","slug":"syntax","at":148,"chars":161},{"level":2,"title":"Parameters","slug":"parameters","at":309,"chars":190},{"level":2,"title":"Return Value","slug":"return-value","at":499,"chars":115},{"level":2,"title":"Remarks","slug":"remarks","at":614,"chars":146},{"level":2,"title":"Example","slug":"example","at":760,"chars":643},{"level":2,"title":"Related information","slug":"related-information","at":1403,"chars":199}],"text":"# Record.ReadIsolation([IsolationLevel]) Method\n> Version: _Available or changed with runtime version 11.0._\nGets or sets the read isolation level.\n## Syntax\n```al\n[ReadIsolation := ]  Record.ReadIsolation([ReadIsolation: IsolationLevel])\n```\n> NOTE\n> This method can be invoked using property access syntax.\n## Parameters\nRecord\nType: record-data-type\nAn instance of the record-data-type data type.\n*[Optional] ReadIsolation*\nType: ../isolationlevel/isolationlevel-option\nThe read isolation level.\n## Return Value\n*[Optional] ReadIsolation*\nType: ../isolationlevel/isolationlevel-option\nThe read isolation level.\n## Remarks\nFor more information about read isolation level on record instances, see Record instance isolation level<../../devenv-read-isolation>.\n## Example\nThe following example shows AL code with SQL isolation level hints annotated on database reads, with record instance isolation level used to override the transaction's isolation level.\n```al\nlocal procedure UsingReadIsolation()\nvar\n    cust: Record Customer;\n    otherCust: Record Customer;\n    curr: Record Currency;\nbegin\n    cust.FindFirst(); // READUNCOMMITTED\n\n    // Heighten isolation level for Customer table.\n    cust.LockTable();\n\n    // Explicitly select another isolation level than the transaction's.\n    otherCust.ReadIsolation := IsolationLevel::ReadUncommitted;\n\n    otherCust.FindSet(); // READUNCOMMITTED\nend;\n```\n## Related information\nRecord instance isolation level<../../devenv-read-isolation>\nrecord-data-type\nGetting Started with AL<../../devenv-get-started>\nDeveloping Extensions<../../devenv-dev-overview>"}