---
id: change/bcapps/14358
type: change
title: "#14358 [29.x]- 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)"
summary: Inserting price list lines through Edit in Excel no longer fails with a Product No. error when the row includes a Unit of Measure Code. The CopyRecTo procedures in the Price List Line table now use the current record, not the outdated xRec, for new lines or OData clients. The web client is unchanged.
tier: official
language: en
tags:
  - fix
  - releases/29.x
  - bc29
  - table price list line
system: development
review:
  state: reviewed
  by: opus
  at: "2026-11-30T15:07:53.891Z"
  flags: []
generated:
  at: "2026-12-01T00:17:57.990Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 0cf83209e19c2e1b5cab4c1333c4066bff9557c3
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14358
    title: "microsoft/BCApps#14358: [29.x]- 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)"
    date: "2026-11-30"
    commit: 0cf83209e19c2e1b5cab4c1333c4066bff9557c3
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/table/7001
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/across-work-with-excel
      title: View and Edit Business Central Data in Excel
      label: possibly related
      why: Edit in Excel functionality for Business Central lists including validation and publishing.
      by: model
number: 14358
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14358
kind: pr
base_branch: releases/29.x
major: "29"
merged_at: "2026-11-30T13:09:49Z"
author: DhavalMore88
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - From Fork
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 331
  deletions: 4
  al: 2
apps:
  - Base Application
objects_touched:
  - key: table/7001
    page: table/7001
    type: table
    id: 7001
    name: Price List Line
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 657858
systems:
  - development
quote: null
joined_against:
  major: "29"
  commit: 0dc52b8d714a7f2d847ee8414cac3108b663d9aa
---

# #14358 [29.x]- 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)

> Inserting price list lines through Edit in Excel no longer fails with a Product No. error when the row includes a Unit of Measure Code. The CopyRecTo procedures in the Price List Line table now use the current record, not the outdated xRec, for new lines or OData clients. The web client is unchanged.

[Pull request](https://github.com/microsoft/BCApps/pull/14358) · merged into `releases/29.x` (BC29) on 2026-11-30 by DhavalMore88 (community contribution) · 3 files (+331 -4), 2 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Added a local IsODataClient() procedure to the Price List Line table in the W1 and APAC layers
- Both CopyRecTo overloads use the current record when the line is new or the client is OData/ODataV4, and xRec otherwise
- Under OData, xRec stayed blank, so validating Unit of Measure Code checked an empty Product No. and failed
- Edit in Excel now validates against the values sent in the row
- Added test UnitOfMeasureCodeOnInsertLineViaOData to codeunit 134123 Price List Line UT
- Behaviour changes for users or extensions.

## AL objects touched

- [Table 7001 "Price List Line"](../../objects/table/7001.md), Base Application: modified

## Context

- Work items: AB#657858
- 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.

- [View and Edit Business Central Data in Excel](https://learn.microsoft.com/dynamics365/business-central/across-work-with-excel) — possibly related: Edit in Excel functionality for Business Central lists including validation and publishing. (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).
