---
id: change/bcapps/14373
type: change
title: "#14373 [MAIN] Subcontracting Receipt Extensibility Events."
summary: Integration events are added to subcontracting receipt posting in the India GST application, enabling partners and customers to extend and adapt the posting flow without changing core design.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit subcontracting post
  - codeunit subcontracting post batch
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-11-21T00:56:52.498Z"
  flags: []
generated:
  at: "2026-12-01T00:17:57.990Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 2261a28d72ab6b7bc7f6db180d2bc46f5de30e41
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14373
    title: "microsoft/BCApps#14373: [MAIN] Subcontracting Receipt Extensibility Events."
    date: "2026-11-20"
    commit: 2261a28d72ab6b7bc7f6db180d2bc46f5de30e41
    t: null
    quote: Integration events are added so that partners or customers who want different behavior can extend the flow in their own extension.
links:
  learn: []
  objects:
    - object/codeunit/18466-in
    - object/codeunit/18467-in
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/types-of-events-for-extensibility
      title: Types of events for extensibility
      label: possibly related
      why: Documents extensibility events including OnBefore/OnAfter patterns for adding functionality to posting operations.
      by: model
number: 14373
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14373
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-20T16:15:15Z"
author: v-ajaztabrez
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: feature
behavior_change: false
breaking: false
files:
  count: 2
  additions: 45
  deletions: 7
  al: 2
apps:
  - INGST
objects_touched:
  - key: codeunit/18466
    page: codeunit/18466-in
    type: codeunit
    id: 18466
    name: Subcontracting Post
    app: INGST
    status: modified
  - key: codeunit/18467
    page: codeunit/18467-in
    type: codeunit
    id: 18467
    name: Subcontracting Post Batch
    app: INGST
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 14377
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/14377
fixes_issues: []
work_items:
  - 660170
systems:
  - finance
quote: Integration events are added so that partners or customers who want different behavior can extend the flow in their own extension.
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #14373 [MAIN] Subcontracting Receipt Extensibility Events.

> Integration events are added to subcontracting receipt posting in the India GST application, enabling partners and customers to extend and adapt the posting flow without changing core design.

[Pull request](https://github.com/microsoft/BCApps/pull/14373) · merged into `main` (BC30) on 2026-11-20 by v-ajaztabrez · 2 files (+45 -7), 2 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Four extensibility events added to codeunits 18466 and 18467 for subcontracting receipt posting
- OnBeforePostPurchOrder and OnBeforeCreatePostedReceipt events in Subcontracting Post with IsHandled support
- OnRecieveBackCompOnBeforePostItemJnlLine event for raw material return journal line posting
- OnBeforePostPurchOrderLine event in Subcontracting Post Batch for each subcontracting line
- Posting behavior unchanged when no subscribers are present

## AL objects touched

- [Codeunit 18466 "Subcontracting Post"](../../objects/codeunit/18466-in.md), INGST (IN layer): modified
- [Codeunit 18467 "Subcontracting Post Batch"](../../objects/codeunit/18467-in.md), INGST (IN layer): modified

## Also merged into

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

## Context

- Work items: AB#660170
- Labels: Team: Finance
- Systems: finance
- From the description: "Integration events are added so that partners or customers who want different behavior can extend the flow in their own extension."

## Possibly related

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

- [Types of events for extensibility](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/types-of-events-for-extensibility) — possibly related: Documents extensibility events including OnBefore/OnAfter patterns for adding functionality to posting operations. (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).
