---
id: change/bcapps/9417
type: change
title: '#9417 [ALAppExtensions #30221][Event Request] table 12137 "Purch. Withh. Contribution"'
summary: Two integration events added to the Purch. Withh. Contribution table enable partners to override the INPS calculation or populate custom fields during record creation without affecting the default behavior.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - table purch. withh. contribution
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:12:42.914Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: f39b7de6ec42740e73791da16ed0ba83296d3df5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9417
    title: 'microsoft/BCApps#9417: [ALAppExtensions #30221][Event Request] table 12137 "Purch. Withh. Contribution"'
    date: "2026-07-15"
    commit: f39b7de6ec42740e73791da16ed0ba83296d3df5
    t: null
    quote: Adds two integration events to table 12137 "Purch. Withh. Contribution"
links:
  learn: []
  objects:
    - object/table/12137-it
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9417
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9417
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-15T08:42:27Z"
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: 20
  deletions: 5
  al: 1
apps:
  - Base Application
objects_touched:
  - key: table/12137
    page: table/12137-it
    type: table
    id: 12137
    name: Purch. Withh. Contribution
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 640605
systems:
  - finance
quote: Adds two integration events to table 12137 "Purch. Withh. Contribution"
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #9417 [ALAppExtensions #30221][Event Request] table 12137 "Purch. Withh. Contribution"

> Two integration events added to the Purch. Withh. Contribution table enable partners to override the INPS calculation or populate custom fields during record creation without affecting the default behavior.

[Pull request](https://github.com/microsoft/BCApps/pull/9417) · merged into `main` (BC30) on 2026-07-15 by Explorer986 · 1 file (+20 -5), 1 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- OnValorizzaINPSOnBeforeCalcAssoggettato event with IsHandled guard allows partners to replace the Assoggettato calculation
- OnCreateRecordOnBeforeInsertPurchWithhContribution event fires before insert to let subscribers populate custom fields
- IsHandled defaults to false so standard calculation runs unchanged unless explicitly overridden
- No schema or data changes; low risk extension points

## AL objects touched

- [Table 12137 "Purch. Withh. Contribution"](../../objects/table/12137-it.md), Base Application (IT layer): modified

## Context

- Work items: AB#640605
- Labels: Team: Finance
- Systems: finance
- From the description: "Adds two integration events to table 12137 "Purch. Withh. Contribution""

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