---
id: post/yzhums-com/74335
type: post
title: "Dynamics 365 Business Central: Make the same column editable or non-editable based on different conditions on the list page (Dynamic Editable Control for the Same Column)"
summary: Make a column editable or non-editable on a list page based on row-specific conditions using a Boolean field and the Editable property. This is useful when different rows need different edit permissions without showing error messages.
tier: community
language: en
tags:
  - list page
  - dynamic controls
  - field editable property
  - page extension
  - al code
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-26T06:39:50.979Z"
  flags: []
generated:
  at: "2026-10-28T08:47:18.430Z"
  pipeline: 0.2.0
  prompts:
    extract-post: 1
  input_hash: 4f58c4e5b3ecc77099cb68dfe2b992f6940fd99370c28f61ce3a0aecf9330816
evidence:
  - kind: blog
    url: https://yzhums.com/74335/
    title: "Dynamics 365 Business Central: Make the same column editable or non-editable based on different conditions on the list page (Dynamic Editable Control for the Same Column)"
    date: "2026-06-26"
    commit: null
    t: null
    quote: null
  - kind: blog
    url: https://yzhums.com/74335/
    title: "Dynamics 365 Business Central: Make the same column editable or non-editable based on different conditions on the list page (Dynamic Editable Control for the Same Column)"
    date: "2026-06-26"
    commit: null
    t: null
    quote: they want a specific column to be editable only for rows that meet certain conditions, and non-editable for all other rows.
  - kind: blog
    url: https://yzhums.com/74335/
    title: "Dynamics 365 Business Central: Make the same column editable or non-editable based on different conditions on the list page (Dynamic Editable Control for the Same Column)"
    date: "2026-06-26"
    commit: null
    t: null
    quote: the field should simply be non-editable from the start.
  - kind: blog
    url: https://yzhums.com/74335/
    title: "Dynamics 365 Business Central: Make the same column editable or non-editable based on different conditions on the list page (Dynamic Editable Control for the Same Column)"
    date: "2026-06-26"
    commit: null
    t: null
    quote: you just need to control the Editable property using a variable.
links:
  learn: []
  objects:
    - object/page/209
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  related:
    - to: post/yzhums-com/56521
      title: "Dynamics 365 Business Central: How to hide/disable New, Edit (Edit List), and Delete actions on the page"
      label: possibly related
      why: both name Page 209 "Units of Measure"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/Mexico/how-to-generate-electronic-invoices
      title: Generate Electronic Invoices in the Mexican Version [MX]
      label: possibly related
      why: names Page 209 "Units of Measure"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/Mexico/how-to-set-up-electronic-invoicing
      title: Set Up Electronic Invoicing - Mexico [MX]
      label: possibly related
      why: names Page 209 "Units of Measure"
      by: code
post_id: "74335"
source_id: yzhums-com
source_name: Dynamics 365 Lab - Yun Zhu
url: https://yzhums.com/74335/
published_at: "2026-06-26T01:39:05.000Z"
author: Yun Zhu
full_text: false
words: 359
quotes:
  - text: they want a specific column to be editable only for rows that meet certain conditions, and non-editable for all other rows.
    why_it_matters: Defines the core requirement for conditional field editability based on row-level conditions
  - text: the field should simply be non-editable from the start.
    why_it_matters: Explains that the solution must prevent editing without triggering validation errors
  - text: you just need to control the Editable property using a variable.
    why_it_matters: Provides the key implementation technique for achieving dynamic editability
code_objects_mentioned:
  - page Units of Measure
  - other UnitofMeasureListExt
  - other UnitofMeasureExt
systems:
  - development
versions_mentioned: []
preview:
  embeddable: true
  frame_url: null
  image: https://yzhums.com/wp-content/uploads/2026/06/Snipaste_2026-06-26_10-11-40.png
  image_alt: null
  image_w: null
  image_h: null
  site_name: Dynamics 365 Lab
  favicon: https://yzhums.com/wp-content/uploads/2020/08/cropped-logo-3-32x32.png
  probed_at: "2026-10-26T06:03:42.286Z"
---

# Dynamics 365 Business Central: Make the same column editable or non-editable based on different conditions on the list page (Dynamic Editable Control for the Same Column)

[Read the post](https://yzhums.com/74335/) · Dynamics 365 Lab - Yun Zhu (Yun Zhu, MVP) · 2026-06-26 · 359 words · tier community · reviewed (checked by Opus)

> Make a column editable or non-editable on a list page based on row-specific conditions using a Boolean field and the Editable property. This is useful when different rows need different edit permissions without showing error messages.

## Key points

- Use a variable bound to the Editable property to conditionally control field editability
- Update the variable in OnAfterGetRecord to reflect the condition for each row
- Update the variable in OnValidate when the condition field changes
- Fields remain non-editable from the start, no error messages required

## Quotes

- "they want a specific column to be editable only for rows that meet certain conditions, and non-editable for all other rows." (Defines the core requirement for conditional field editability based on row-level conditions)
- "the field should simply be non-editable from the start." (Explains that the solution must prevent editing without triggering validation errors)
- "you just need to control the Editable property using a variable." (Provides the key implementation technique for achieving dynamic editability)

## AL objects mentioned

As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.

- [page 209 "Units of Measure"](../../objects/page/209.md)
- other "UnitofMeasureListExt"
- other "UnitofMeasureExt"

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Dynamics 365 Business Central: How to hide/disable New, Edit (Edit List), and Delete actions on the page](../../posts/yzhums-com/56521.md) — possibly related: both name Page 209 "Units of Measure"
- [Generate Electronic Invoices in the Mexican Version \[MX\]](https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/Mexico/how-to-generate-electronic-invoices) — possibly related: names Page 209 "Units of Measure"
- [Set Up Electronic Invoicing - Mexico \[MX\]](https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/Mexico/how-to-set-up-electronic-invoicing) — possibly related: names Page 209 "Units of Measure"

## Context

- Features: Dynamic Editable Control, Conditional Field Editability, List Page Customization, Page Extensions, Table Extensions

Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.
