#13622 [Main]- Edit in Excel insert fails on Price List Lines (Page 7001) — Unit of Measure Code validated before Product No. is set causing NavTestFieldException on Price Asset (Table 7003)
Fixed a bug where inserting price list lines through Edit in Excel failed when a Unit of Measure Code was provided, because validation occurred against empty previous values instead of the current row data.
- 3files
- 2AL files
- 1objects
Pull request · merged into main (BC30) on 2026-11-18 by DhavalMore88 (community contribution) · 3 files (+263 -4), 2 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Edit in Excel inserts to Price List Lines now validate against the current row values, not stale previous record state
- Added IsODataClient() check to distinguish OData requests from other clients
- Modified CopyRecTo procedures to use current record for new lines or OData clients
- Prevents NavTestFieldException on Price Asset when Unit of Measure Code is set without Product No. being established first
- Added unit test UnitOfMeasureCodeOnInsertLineViaOData to verify the fix
- Behaviour changes for users or extensions.
AL objects touched
- Table 7001 “Price List Line”, Base Application: modified
Context
- Work items: AB#657859
- Labels: ADO: Sync, From Fork, Team: SCM
- Systems: development
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Controlling Edit in Excel on list pages — possibly related: Documents Edit in Excel functionality on list pages including Price List Lines. (model-linked)
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).