---
id: change/bcapps/14429
type: change
title: '#14429 [29.x]-Purchase Credit Memo – "Get Return Shipment Lines" fails for Non-Inventory items with "corrective credit memo can only reverse the original posted invoice" error (regression from Bug 636861)'
summary: Using 'Get Return Shipment Lines' on a purchase credit memo no longer fails for non-inventory items with the error that a corrective credit memo can only reverse the original posted invoice. This fixes a regression introduced by Bug 636861.
tier: official
language: en
tags:
  - fix
  - releases/29.x
  - bc29
  - table purchase line
system: purchasing
review:
  state: reviewed
  by: opus
  at: "2026-11-27T01:03:39.784Z"
  flags: []
generated:
  at: "2026-12-01T00:17:57.990Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: a39069ff43098adfba1b83570e2aa491ce897d68
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14429
    title: 'microsoft/BCApps#14429: [29.x]-Purchase Credit Memo – "Get Return Shipment Lines" fails for Non-Inventory items with "corrective credit memo can only reverse the original posted invoice" error (regression from Bug 636861)'
    date: "2026-11-26"
    commit: a39069ff43098adfba1b83570e2aa491ce897d68
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/table/39
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/purchasing-how-process-purchase-returns-cancellations
      title: Process returns or cancellations
      label: possibly related
      why: Documents purchase credit memos and return orders for vendor invoices
      by: model
number: 14429
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14429
kind: pr
base_branch: releases/29.x
major: "29"
merged_at: "2026-11-26T15:42:45Z"
author: neeleshsinghal
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: 21
  additions: 980
  deletions: 0
  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:
  - 660363
systems:
  - purchasing
quote: null
joined_against:
  major: "29"
  commit: 34e1078527c84ba7c885b871a9be47229ba9e4f4
---

# #14429 [29.x]-Purchase Credit Memo – "Get Return Shipment Lines" fails for Non-Inventory items with "corrective credit memo can only reverse the original posted invoice" error (regression from Bug 636861)

> Using 'Get Return Shipment Lines' on a purchase credit memo no longer fails for non-inventory items with the error that a corrective credit memo can only reverse the original posted invoice. This fixes a regression introduced by Bug 636861.

[Pull request](https://github.com/microsoft/BCApps/pull/14429) · merged into `releases/29.x` (BC29) on 2026-11-26 by neeleshsinghal (community contribution) · 21 files (+980 -0), 14 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- 'Get Return Shipment Lines' on purchase credit memos works again for non-inventory items
- Removes the wrongly raised 'corrective credit memo can only reverse the original posted invoice' error
- Fixes a regression introduced by the fix for Bug 636861
- The Purchase Line table is changed in W1 and all country layers
- Tests added to O365 Correct Purchase Invoice in several 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#660363
- Labels: ADO: Sync, From Fork, Team: SCM
- Systems: purchasing

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Process returns or cancellations](https://learn.microsoft.com/dynamics365/business-central/purchasing-how-process-purchase-returns-cancellations) — possibly related: Documents purchase credit memos and return orders for vendor invoices (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).
