#10369 Bug 640428: Fix Production BOM Comment Line TableRelation filters
Table relations in the Production BOM Comment Line table are corrected to properly filter by version. The Version Code field now shows all versions of a production BOM, and the BOM Line No. field correctly filters by both production BOM number and version code.
- 4files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-08-27 by ChethanT · 4 files (+216 -4), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Version Code field relation fixed: removed self-referential constraint, now shows all versions for the production BOM
- BOM Line No. field relation fixed: added missing version code filter to prevent selecting lines from different versions
- Library function CreateProductionBOMCommentLine reordered to validate version code before BOM line number
- Tests added to verify version lookup displays all versions and that invalid line numbers from other versions are rejected
- Addresses root cause that production BOM lines are partitioned by version but relations did not account for this
- Behaviour changes for users or extensions.
AL objects touched
- Table 99000776 “Production BOM Comment Line”, Base Application: modified
Context
- Work items: AB#640428
- Labels: Ownership: Manual, Team: SCM
- Systems: manufacturing
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).