---
id: object/report/7391
type: object
title: Report 7391 "Whse. Get Bin Content"
summary: Report 7391 "Whse. Get Bin Content" in Base Application (Microsoft.Warehouse.Structure). 9 public procedures, 18 events. Present since at least BC23, still in BC30, changed in BC25-27, BC30.
tier: official
language: en
tags:
  - report
  - base application
versions:
  introduced: null
  last_changed: "30"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: bcb948cd2925ae61dcc553426169833613e55f8ce12e685b961a41a8e920d820
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Warehouse/Structure/WhseGetBinContent.Report.al
    title: src/Layers/W1/BaseApp/Warehouse/Structure/WhseGetBinContent.Report.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/12293
object_type: report
object_id: 7391
name: Whse. Get Bin Content
namespace: Microsoft.Warehouse.Structure
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "25"
  - "26"
  - "27"
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 35
  events: 18
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 1
  calls: 4
  called_by: 0
  implements: 0
---

# Report 7391 "Whse. Get Bin Content"

> Report 7391 "Whse. Get Bin Content" in Base Application (Microsoft.Warehouse.Structure). 9 public procedures, 18 events. Present since at least BC23, still in BC30, changed in BC25-27, BC30.

Base Application · Microsoft.Warehouse.Structure · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Warehouse/Structure/WhseGetBinContent.Report.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Whse. Get Bin Content |

## Events published

- `OnAfterInsertItemJnlLine(var ItemJournalLine: Record "Item Journal Line"; BinContent: Record "Bin Content")` (integration)
- `OnAfterInitializeItemJournalLine(var ItemJournalLine: Record "Item Journal Line"; var ItemJournalTemplate: Record "Item Journal Template"; var ItemJournalBatch: Record "Item Journal Batch")` (integration)
- `OnAfterInsertTempTrackingSpec(var TempTrackingSpecification: Record "Tracking Specification" temporary; WarehouseEntry: Record "Warehouse Entry")` (integration)
- `OnAfterBinContentOnPostDataItem(ItemJournalLine: Record "Item Journal Line"; TransferHeader: Record "Transfer Header"; InternalMovementHeader: Record "Internal Movement Header"; DestinationType2: Option MovementWorksheet,WhseInternalPutawayHeader,ItemJournalLine,TransferHeader,InternalMovementHeader)` (integration)
- `OnBinContenOnAfterGetRecordOnAfterCalcShouldSkipReportForQty(var BinContent: Record "Bin Content"; var ShouldSkipReportForQty: Boolean; DestinationType2: Enum "Warehouse Destination Type 2"; WhseWorksheetLine: Record "Whse. Worksheet Line"; WhseInternalPutawayLine: Record "Whse. Internal Put-away Line"; ItemJournalLine: Record "Item Journal Line"; TransferLine: Record "Transfer Line"; InternalMovementLine: Record "Internal Movement Line"; PostingDate: Date; DocumentNo: Code[20])` (integration)
- `OnBinContentOnAfterGetRecordOnDestinationTypeElseCase(QtyToEmptyBase: Decimal; var BinContent: Record "Bin Content"; DestinationType2: Enum "Warehouse Destination Type 2")` (integration)
- `OnInsertTempTrackingSpecOnAfterAssignTracking(var TempTrackingSpecification: Record "Tracking Specification" temporary; WarehouseEntry: Record "Warehouse Entry")` (integration)
  - subscribers: [Codeunit 6516 "Package Management"](../codeunit/6516.md) WhseGetBinContentOnInsertTempTrackingSpecOnAfterAssignTracking
- `OnBeforeGetItemTracking(var BinContent: Record "Bin Content"; var IsHandled: Boolean; QtyToEmptyBase: Decimal; DestinationType2: Enum "Warehouse Destination Type 2"; var ItemJournalLine: Record "Item Journal Line"; var TransferLine: Record "Transfer Line")` (integration, obsolete 27.0)
- `OnBeforeInsertInternalMovementLine(var InternalMovementLine: Record "Internal Movement Line"; BinContent: Record "Bin Content")` (integration)
- `OnBeforeInsertTransferLine(var TransferLine: Record "Transfer Line"; BinContent: Record "Bin Content")` (integration)
- `OnBeforeInsertWIPLine(var WhseInternalPutAwayLine: Record "Whse. Internal Put-away Line"; BinContent: Record "Bin Content")` (integration)
- `OnBeforeInsertWWLine(var WhseWorksheetLine: Record "Whse. Worksheet Line"; BinContent: Record "Bin Content")` (integration)
- `OnGetItemTrackingOnDestinationTypeCaseElse(DestinationType2: Enum "Warehouse Destination Type 2"; BinContent: Record "Bin Content"; WarehouseEntry: Record "Warehouse Entry"; TrackedQtyToEmptyBase: Decimal)` (integration, obsolete 27.0)
- `OnGetItemTrackingOnAfterWarehouseEntrySetFilters(var WarehouseEntry: Record "Warehouse Entry"; var BinContent: Record "Bin Content")` (integration, obsolete 27.0)
- `OnInsertItemJournalLineOnBeforeInsert(var ItemJournalLine: Record "Item Journal Line"; BinContent: Record "Bin Content")` (integration)
- `OnInsertItemJournalLineOnBeforeValidateEntryType(var ItemJournalLine: Record "Item Journal Line"; var BinContent: Record "Bin Content"; var ItemLedgerEntryType: Enum "Item Ledger Entry Type"; ItemJournalTemplate: Record "Item Journal Template"; ItemJournalBatch: Record "Item Journal Batch")` (integration)
- `OnInsertItemJournalLineOnBeforeValidateNewLocationCode(var ItemJournalLine: Record "Item Journal Line"; var BinContent: Record "Bin Content"; var IsHandled: Boolean)` (integration)
- `OnInsertItemJournalLineOnBeforeValidateNewBinCode(var ItemJournalLine: Record "Item Journal Line"; BinContent: Record "Bin Content"; var IsHandled: Boolean)` (integration)

## Procedures

- `SetParameters(WhseWorksheetLine2: Record "Whse. Worksheet Line"; WhseInternalPutawayHeader2: Record "Whse. Internal Put-away Header"; DestinationType: Enum "Warehouse Destination Type 2")`
- `InitializeItemJournalLine(ItemJournalLine2: Record "Item Journal Line")`
- `InitializeTransferHeader(TransferHeader2: Record "Transfer Header")`
- `InitializeInternalMovement(InternalMovementHeader2: Record "Internal Movement Header")`
- `GetItemTracking(var BinContent: Record "Bin Content"; var WarehouseEntry: Record "Warehouse Entry"; var TotalTrackedQtyBase: Decimal; var TempTrackingSpecification: Record "Tracking Specification" temporary)`
- `GetLocation(LocationCode: Code[10]; var Location: Record Location)` (protected)
- `InsertTempTrackingSpecification(WarehouseEntry: Record "Warehouse Entry"; QtyOnBin: Decimal; var TempTrackingSpecification: Record "Tracking Specification" temporary)` (protected)
- `CalcQtyUOM(QtyBase: Decimal; QtyPerUOM: Decimal): Decimal` (protected)
- `GetQtyToEmptyBase(ItemTrackingSetup: Record "Item Tracking Setup"): Decimal` (protected)

Plus 8 local procedures.

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 5402 "Unit of Measure Management"](../codeunit/5402.md) (1 call: `CalcQtyUOM → QtyRndPrecision`)
- [Codeunit 6500 "Item Tracking Management"](../codeunit/6500.md) (1 call: `GetItemTracking → GetWhseItemTrkgSetup`)
- [Codeunit 99000835 "Item Jnl. Line-Reserve"](../codeunit/99000835.md) (1 call: `GetItemTracking → RegisterBinContentItemTracking`)
- [Codeunit 99000836 "Transfer Line-Reserve"](../codeunit/99000836.md) (1 call: `GetItemTracking → RegisterBinContentItemTracking`)

## Recent changes

- 2026-10-05 [#12293 Remove CLEAN27 from Warehouse](../../changes/bcapps/12293.md) (main, BC30, obsoletion)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC25-27, BC30

## Deprecations

- procedure OnBeforeGetItemTracking: Pending 27.0, "The GetItemTracking method has been refactored to use a query-based approach for improved performance. While this event publisher remains available, please verify that your subscriber logic continues to function as expected with the updated implementation."
- procedure OnGetItemTrackingOnAfterWarehouseEntrySetFilters: Pending 27.0, "The GetItemTracking method has been refactored to use a query-based approach for improved performance. While this event publisher remains available, please verify that your subscriber logic continues to function as expected with the updated implementation."
- procedure OnGetItemTrackingOnDestinationTypeCaseElse: Pending 27.0, "The GetItemTracking method has been refactored to use a query-based approach for improved performance. While this event publisher remains available, please verify that your subscriber logic continues to function as expected with the updated implementation."

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "report", object_name: "Whse. Get Bin Content")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
