---
id: change/bcapps/13628
type: change
title: "#13628 [main] Bug 657281 [Drop Shipment] Your Reference, , Vendor Order No., and Vendor Shipment No. are blank on Posted Purchase Receipt Lines"
summary: Drop shipment receipts now correctly populate Your Reference, Vendor Order No., and Vendor Shipment No. fields on posted purchase receipt lines when automatically posted from sales orders.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit purch.-post
  - codeunit sales-post
system: sales
review:
  state: reviewed
  by: opus
  at: "2026-11-10T00:55:21.460Z"
  flags: []
generated:
  at: "2026-11-30T13:33:07.232Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 9090318a1bd88c432554a6ee4dc0b563b83833d5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13628
    title: "microsoft/BCApps#13628: [main] Bug 657281 [Drop Shipment] Your Reference, , Vendor Order No., and Vendor Shipment No. are blank on Posted Purchase Receipt Lines"
    date: "2026-11-09"
    commit: 9090318a1bd88c432554a6ee4dc0b563b83833d5
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/90
    - object/codeunit/80
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/design-details-item-tracking-posting-structure
      title: Design details - Item tracking posting structure
      label: possibly related
      why: touches Codeunit 80 "Sales-Post"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-snapshot-debugging
      title: Snapshot debugging
      label: possibly related
      why: touches Codeunit 80 "Sales-Post"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/sales-how-drop-shipment
      title: Make drop shipments
      label: possibly related
      why: Documents drop shipment purchase order and receipt posting where reference fields were blank.
      by: model
number: 13628
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13628
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-09T16:46:17Z"
author: MSNehaNawal
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 24
  additions: 218
  deletions: 1
  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/Purchases/Posting/PurchPost.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/GB/BaseApp/Purchases/Posting/PurchPost.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:
  - number: 13808
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/13808
fixes_issues: []
work_items:
  - 658063
systems:
  - sales
  - purchasing
quote: null
joined_against:
  major: "30"
  commit: f53bb0f1ecd89fde9f133f9dcaf5bf43cf5f2671
---

# #13628 [main] Bug 657281 [Drop Shipment] Your Reference, , Vendor Order No., and Vendor Shipment No. are blank on Posted Purchase Receipt Lines

> Drop shipment receipts now correctly populate Your Reference, Vendor Order No., and Vendor Shipment No. fields on posted purchase receipt lines when automatically posted from sales orders.

[Pull request](https://github.com/microsoft/BCApps/pull/13628) · merged into `main` (BC30) on 2026-11-09 by MSNehaNawal · 24 files (+218 -1), 22 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Fixes blank Your Reference, Vendor Order No. and Vendor Shipment No. on posted purchase receipt lines for drop shipments
- Applies when the purchase receipt is posted automatically from the sales order
- Changes Purch.-Post and Sales-Post in W1 and several country layers
- Adds tests in the SCM orders test codeunit (W1 and IT)
- 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/Purchases/Posting/PurchPost.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/GB/BaseApp/Purchases/Posting/PurchPost.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/NO/BaseApp/Sales/Posting/SalesPost.Codeunit.al`: modified, not in the BC30 snapshot

## Also merged into

- [#13808](https://github.com/microsoft/BCApps/pull/13808) into `releases/29.x` on 2026-11-20

## Context

- Work items: AB#658063
- Labels: Team: SCM
- Systems: sales, purchasing

## Possibly related

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

- [Design details - Item tracking posting structure](https://learn.microsoft.com/dynamics365/business-central/design-details-item-tracking-posting-structure) — possibly related: touches Codeunit 80 "Sales-Post"
- [Snapshot debugging](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-snapshot-debugging) — possibly related: touches Codeunit 80 "Sales-Post"
- [Make drop shipments](https://learn.microsoft.com/dynamics365/business-central/sales-how-drop-shipment) — possibly related: Documents drop shipment purchase order and receipt posting where reference fields were blank. (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).
