---
id: change/bcapps/11208
type: change
title: "#11208 [Master]-Purchase invoice lines of type G/L Account where enabling 'Prices Including VAT' and changing the VAT Prod. Posting Group causes recalculation of the Direct Unit Cost Incl. VAT and Line Amount - Related to Bug  632380"
summary: Fixed an issue where changing the VAT product posting group on G/L account lines in purchase invoices with prices including VAT incorrectly recalculated the direct unit cost and line amount.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - table purchase line
system: purchasing
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:05:14.684Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 6d571665cf14641c951ed1e79cf35674333c0efd
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11208
    title: "microsoft/BCApps#11208: [Master]-Purchase invoice lines of type G/L Account where enabling 'Prices Including VAT' and changing the VAT Prod. Posting Group causes recalculation of the Direct Unit Cost Incl. VAT and Line Amount - Related to Bug  632380"
    date: "2026-09-14"
    commit: 6d571665cf14641c951ed1e79cf35674333c0efd
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/table/39
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11208
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11208
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-14T19:23:22Z"
author: neeleshsinghal
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 16
  additions: 39
  deletions: 47
  al: 14
apps:
  - Base Application
objects_touched:
  - key: table/39
    page: table/39
    type: table
    id: 39
    name: Purchase Line
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 649414
systems:
  - purchasing
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #11208 [Master]-Purchase invoice lines of type G/L Account where enabling 'Prices Including VAT' and changing the VAT Prod. Posting Group causes recalculation of the Direct Unit Cost Incl. VAT and Line Amount - Related to Bug  632380

> Fixed an issue where changing the VAT product posting group on G/L account lines in purchase invoices with prices including VAT incorrectly recalculated the direct unit cost and line amount.

[Pull request](https://github.com/microsoft/BCApps/pull/11208) · merged into `main` (BC30) on 2026-09-14 by neeleshsinghal · 16 files (+39 -47), 14 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- One-line change in the Purchase Line table about VAT recalculation for G/L Account lines
- Targets lines with Prices Including VAT when the VAT Prod. Posting Group changes
- Tests in ERM Prices Incl. VAT Doc updated for W1 and ES
- Applied in W1 and 13 localized Base Application layers
- Behaviour changes for users or extensions.

## AL objects touched

- [Table 39 "Purchase Line"](../../objects/table/39.md), Base Application: modified

## Context

- Work items: AB#649414
- Labels: Team: SCM
- Systems: purchasing

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