---
id: change/bcapps/10368
type: change
title: "#10368 Bug 614967: Skip mismatched TransferFields in posting"
summary: Sales and Purchase posting now skip fields with mismatched types when transferring from source to posted records, allowing posting to continue even when extension fields reuse the same field numbers with different data types.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit purch.-post
  - codeunit sales-post
system: purchasing
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:06:58.087Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: b41e6ea5bcf8a83d770ef68b5ad5d1cf3851468c
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10368
    title: "microsoft/BCApps#10368: Bug 614967: Skip mismatched TransferFields in posting"
    date: "2026-08-31"
    commit: b41e6ea5bcf8a83d770ef68b5ad5d1cf3851468c
    t: null
    quote: posting continues, compatible same-numbered fields are still transferred, and fields whose AL types do not match remain at the target record's default value
links:
  learn: []
  objects:
    - object/codeunit/90
    - object/codeunit/80
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10368
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10368
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-31T15:57:11Z"
author: ChethanT
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 22
  additions: 190
  deletions: 194
  al: 22
apps:
  - Base Application
objects_touched:
  - key: codeunit/90
    page: codeunit/90
    type: codeunit
    id: 90
    name: Purch.-Post
    app: Base Application
    status: modified
  - key: codeunit/80
    page: codeunit/80
    type: codeunit
    id: 80
    name: Sales-Post
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/BE/BaseApp/Sales/Posting/SalesPost.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/FI/BaseApp/Sales/Posting/SalesPost.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NO/BaseApp/Sales/Posting/SalesPost.Codeunit.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 614967
systems:
  - purchasing
  - sales
quote: posting continues, compatible same-numbered fields are still transferred, and fields whose AL types do not match remain at the target record's default value
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #10368 Bug 614967: Skip mismatched TransferFields in posting

> Sales and Purchase posting now skip fields with mismatched types when transferring from source to posted records, allowing posting to continue even when extension fields reuse the same field numbers with different data types.

[Pull request](https://github.com/microsoft/BCApps/pull/10368) · merged into `main` (BC30) on 2026-08-31 by ChethanT · 22 files (+190 -194), 22 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- TransferFields calls in Sales-Post and Purch.-Post now skip fields with mismatched types
- Posting continues instead of failing on extension field-number collisions
- Compatible same-numbered fields are still transferred
- Mismatched fields keep the target record's default value
- Applied to W1 and the localized copies of codeunits 80 and 90
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 90 "Purch.-Post"](../../objects/codeunit/90.md), Base Application: modified
- [Codeunit 80 "Sales-Post"](../../objects/codeunit/80.md), Base Application: modified
- `src/Layers/BE/BaseApp/Sales/Posting/SalesPost.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/FI/BaseApp/Sales/Posting/SalesPost.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/NO/BaseApp/Sales/Posting/SalesPost.Codeunit.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#614967
- Labels: Team: SCM
- Systems: purchasing, sales
- From the description: "posting continues, compatible same-numbered fields are still transferred, and fields whose AL types do not match remain at the target record's default value"

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