---
id: change/bcapps/11673
type: change
title: "#11673 #[MAIN]-Not enough inventory available at vendor location for this order"
summary: India Localization subcontracting receipt now prevents duplicate component consumption that occurred when both standard manufacturing posting and the Delivery Challan process posted consumption simultaneously.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit subcontracting post
  - codeunit subcontracting subscribers
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:04:15.699Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 133295ec62e94c9f491f59c2394a519935934f58
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11673
    title: "microsoft/BCApps#11673: #[MAIN]-Not enough inventory available at vendor location for this order"
    date: "2026-09-22"
    commit: 133295ec62e94c9f491f59c2394a519935934f58
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/18466-in
    - object/codeunit/18469-in
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11673
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11673
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-22T12:41:14Z"
author: v-ajaztabrez
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 13
  deletions: 16
  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/18469
    page: codeunit/18469-in
    type: codeunit
    id: 18469
    name: Subcontracting Subscribers
    app: INGST
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 649464
systems:
  - finance
quote: null
joined_against:
  major: "30"
  commit: a4406cfa9e57437fedc49c53c327a199a854491e
---

# #11673 #[MAIN]-Not enough inventory available at vendor location for this order

> India Localization subcontracting receipt now prevents duplicate component consumption that occurred when both standard manufacturing posting and the Delivery Challan process posted consumption simultaneously.

[Pull request](https://github.com/microsoft/BCApps/pull/11673) · merged into `main` (BC30) on 2026-09-22 by v-ajaztabrez · 2 files (+13 -16), 2 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Component consumption was posted twice: once by standard manufacturing flow and once by India Localization Delivery Challan process
- Solution assigns Subcontracting Order No. to identify India-specific output journal lines and suppresses automatic flushing for these lines
- Preserves normal production flushing for other scenarios while preventing inventory errors from doubled consumption
- Fixes incorrect posting behavior that could cause 'not enough inventory' errors at production location
- Maintains output posting, capacity posting, vendor-location consumption, and item tracking functionality
- Behaviour changes for users or extensions.

## AL objects touched

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

## Context

- Work items: AB#649464
- Labels: Team: Finance
- Systems: finance

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