---
id: change/bcapps/9864
type: change
title: "#9864 [Extensibility Request] issue 29078: Add OnBeforeTestTransferLine event"
summary: An OnBeforeTestTransferLine integration event was added to the TestTransferLine procedure on the Transfer Header table, enabling extensions to observe or extend transfer line testing logic.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - table transfer header
system: inventory
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:09:56.755Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 154fef6dbfe72f45a4f031949f8b598e5aaebe34
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9864
    title: "microsoft/BCApps#9864: [Extensibility Request] issue 29078: Add OnBeforeTestTransferLine event"
    date: "2026-08-10"
    commit: 154fef6dbfe72f45a4f031949f8b598e5aaebe34
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/table/5740
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9864
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9864
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-10T23:41:03Z"
author: AleksandricMarko
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
  - event-request
change_class: code
change_kind: feature
behavior_change: false
breaking: false
files:
  count: 4
  additions: 28
  deletions: 0
  al: 4
apps:
  - Base Application
objects_touched:
  - key: table/5740
    page: table/5740
    type: table
    id: 5740
    name: Transfer Header
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/RU/BaseApp/Inventory/Transfer/TransferHeader.Table.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 598042
systems:
  - inventory
quote: null
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #9864 [Extensibility Request] issue 29078: Add OnBeforeTestTransferLine event

> An OnBeforeTestTransferLine integration event was added to the TestTransferLine procedure on the Transfer Header table, enabling extensions to observe or extend transfer line testing logic.

[Pull request](https://github.com/microsoft/BCApps/pull/9864) · merged into `main` (BC30) on 2026-08-10 by AleksandricMarko · 4 files (+28 -0), 4 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- New OnBeforeTestTransferLine event raised at the start of TestTransferLine on the Transfer Header table
- Lets add-on developers hook into the transfer line item tracking quantity check
- Added in W1 and mirrored to the RU, NA and IT layers
- Event name follows the convention for events at the start of a procedure

## AL objects touched

- [Table 5740 "Transfer Header"](../../objects/table/5740.md), Base Application: modified
- `src/Layers/RU/BaseApp/Inventory/Transfer/TransferHeader.Table.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#598042
- Labels: Team: SCM, event-request
- Systems: inventory

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