---
id: change/bcapps/10488
type: change
title: "#10488 Add integration event before inserting the outgoing IC sales line buffer"
summary: An integration event now fires before each outgoing intercompany sales line buffer is inserted, allowing extensions to enrich line data before it enters the API payload.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit ic data exchange api
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:07:53.353Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 2a3fcaa84fb9d7a91afb3d2dbb4ce937104e77d0
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10488
    title: "microsoft/BCApps#10488: Add integration event before inserting the outgoing IC sales line buffer"
    date: "2026-08-21"
    commit: 2a3fcaa84fb9d7a91afb3d2dbb4ce937104e77d0
    t: null
    quote: extensions can enrich each outgoing sales line before it reaches the API payload
links:
  learn: []
  objects:
    - object/codeunit/561
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10488
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10488
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-21T18:23:41Z"
author: Explorer986
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: feature
behavior_change: false
breaking: false
files:
  count: 1
  additions: 6
  deletions: 0
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/561
    page: codeunit/561
    type: codeunit
    id: 561
    name: IC Data Exchange API
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 642176
systems:
  - development
quote: extensions can enrich each outgoing sales line before it reaches the API payload
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10488 Add integration event before inserting the outgoing IC sales line buffer

> An integration event now fires before each outgoing intercompany sales line buffer is inserted, allowing extensions to enrich line data before it enters the API payload.

[Pull request](https://github.com/microsoft/BCApps/pull/10488) · merged into `main` (BC30) on 2026-08-21 by Explorer986 · 1 file (+6 -0), 1 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- New event OnPostICSalesLineToICPartnerInboxOnBeforeBufferICInboxSalesLineInsert fires per sales line
- Event fires after TransferFields and before buffer insert in the outgoing IC flow
- Mirrors existing before-insert events for sales and purchase headers
- Extensions can now enhance outgoing IC sales lines at the API level
- Additive change with no impact on existing logic or data

## AL objects touched

- [Codeunit 561 "IC Data Exchange API"](../../objects/codeunit/561.md), Base Application: modified

## Context

- Work items: AB#642176
- Labels: Team: Finance
- Systems: development
- From the description: "extensions can enrich each outgoing sales line before it reaches the API payload"

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