---
id: change/bcapps/12551
type: change
title: "#12551 [Main]- Since Business Central 28.4, we have observed changed behaviour when the VAT Prod."
summary: Fixes a change in Sales Line behaviour around the VAT Prod. field that has been observed since Business Central 28.4. The same one-line change is made to table 37 Sales Line in 12 layers, and new tests are added for documents with prices including VAT.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - table sales line
system: sales
review:
  state: reviewed
  by: opus
  at: "2026-10-16T01:17:10.523Z"
  flags: []
generated:
  at: "2026-10-29T00:16:37.959Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 700ea70751a26728b23617f3943fea28c5527aef
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12551
    title: "microsoft/BCApps#12551: [Main]- Since Business Central 28.4, we have observed changed behaviour when the VAT Prod."
    date: "2026-10-15"
    commit: 700ea70751a26728b23617f3943fea28c5527aef
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/table/37
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 12551
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12551
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-15T22:28:14Z"
author: DeepsShukla
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 14
  additions: 96
  deletions: 12
  al: 12
apps:
  - Base Application
objects_touched:
  - key: table/37
    page: table/37
    type: table
    id: 37
    name: Sales Line
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/BE/BaseApp/Sales/Document/SalesLine.Table.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 652465
systems:
  - sales
quote: null
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #12551 [Main]- Since Business Central 28.4, we have observed changed behaviour when the VAT Prod.

> Fixes a change in Sales Line behaviour around the VAT Prod. field that has been observed since Business Central 28.4. The same one-line change is made to table 37 Sales Line in 12 layers, and new tests are added for documents with prices including VAT.

[Pull request](https://github.com/microsoft/BCApps/pull/12551) · merged into `main` (BC30) on 2026-10-15 by DeepsShukla · 14 files (+96 -12), 12 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Fixes a regression in Sales Line behaviour related to the VAT Prod. field, seen since version 28.4
- The same one-line change is applied to table 37 Sales Line in 12 layers
- Adds tests to the ERM Prices Incl. VAT Doc test codeunits for W1 and ES
- Behaviour changes for users or extensions.

## AL objects touched

- [Table 37 "Sales Line"](../../objects/table/37.md), Base Application: modified
- `src/Layers/BE/BaseApp/Sales/Document/SalesLine.Table.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#652465
- Labels: Team: SCM
- Systems: sales

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).
