code change · fixInventoryofficial - Microsoftreviewed - checked by Opus

#13898 [29.x][ALL-E] Item Attributes (Decimal): Unable to Enter 0 After Clearing the Attribute Value to blank

Decimal item attributes now correctly handle entering 0 after clearing a value to blank, by excluding blank records from numeric lookups.

Pull request · merged into releases/29.x (BC29) on 2026-11-12 by sanjmaurya · 2 files (+77 -2), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Blank decimal attribute records were incorrectly matched when searching for value 0 due to default numeric values
  • Lookup logic now excludes blank attribute values when matching nonblank decimal values
  • Regression tests added to verify blank versus zero behavior and zero entry after clearing and reopening
  • Fixes inability to save decimal value 0 after clearing to blank on reopening the Item Attributes page
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#657351
  • Labels: Team: SCM
  • Systems: inventory

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

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).