---
id: change/bcapps/9333
type: change
title: "#9333 [Main]-Bin content Block Movement does not prevent outbound posting for negative adjustments and sales orders"
summary: The posting logic for sales orders and negative adjustments now respects bin content block movement settings to prevent unauthorized outbound warehouse movements.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit sales-post
  - codeunit wms management
system: sales
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:11:56.474Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: b0a96ad95ba50516760fc8d7e1eafdc113fc2d7e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9333
    title: "microsoft/BCApps#9333: [Main]-Bin content Block Movement does not prevent outbound posting for negative adjustments and sales orders"
    date: "2026-07-22"
    commit: b0a96ad95ba50516760fc8d7e1eafdc113fc2d7e
    t: null
    quote: Bin content Block Movement does not prevent outbound posting for negative adjustments and sales orders
links:
  learn: []
  objects:
    - object/codeunit/80
    - object/codeunit/7302
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9333
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9333
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-22T11:07:54Z"
author: DeepsShukla
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 14
  additions: 230
  deletions: 18
  al: 13
apps:
  - Base Application
objects_touched:
  - key: codeunit/80
    page: codeunit/80
    type: codeunit
    id: 80
    name: Sales-Post
    app: Base Application
    status: modified
  - key: codeunit/7302
    page: codeunit/7302
    type: codeunit
    id: 7302
    name: WMS Management
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/BE/BaseApp/Sales/Posting/SalesPost.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/FI/BaseApp/Sales/Posting/SalesPost.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NO/BaseApp/Sales/Posting/SalesPost.Codeunit.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 639575
systems:
  - sales
  - warehouse
quote: Bin content Block Movement does not prevent outbound posting for negative adjustments and sales orders
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #9333 [Main]-Bin content Block Movement does not prevent outbound posting for negative adjustments and sales orders

> The posting logic for sales orders and negative adjustments now respects bin content block movement settings to prevent unauthorized outbound warehouse movements.

[Pull request](https://github.com/microsoft/BCApps/pull/9333) · merged into `main` (BC30) on 2026-07-22 by DeepsShukla · 14 files (+230 -18), 13 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Bin content blocks are now checked during sales order posting to restrict movements
- Negative inventory adjustments are prevented from bypassing bin movement restrictions
- Warehouse management logic updated to enforce bin content block rules consistently
- Changes applied across all localization layers (APAC, BE, CH, ES, FI, FR, GB, IT, NA, NO, RU, W1)
- Tests added to verify bin block movement restrictions work correctly
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 80 "Sales-Post"](../../objects/codeunit/80.md), Base Application: modified
- [Codeunit 7302 "WMS Management"](../../objects/codeunit/7302.md), Base Application: modified
- `src/Layers/BE/BaseApp/Sales/Posting/SalesPost.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/FI/BaseApp/Sales/Posting/SalesPost.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/NO/BaseApp/Sales/Posting/SalesPost.Codeunit.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#639575
- Labels: Team: SCM
- Systems: sales, warehouse
- From the description: "Bin content Block Movement does not prevent outbound posting for negative adjustments and sales orders"

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