---
id: object/codeunit/8510
type: object
title: Codeunit 8510 "Over-Receipt Mgt."
summary: Codeunit 8510 "Over-Receipt Mgt." in Base Application (Microsoft.Purchases.Document). 14 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC24-25, BC28.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: 27e1f023581c4037a72dc39e05e6df281a60ccf6c32e9d3f0bf0e3d5107a7e6a
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/Document/OverReceiptMgt.Codeunit.al
    title: src/Layers/W1/BaseApp/Purchases/Document/OverReceiptMgt.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 8510
name: Over-Receipt Mgt.
namespace: Microsoft.Purchases.Document
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 20
  events: 4
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 4
  called_by: 10
  implements: 0
---

# Codeunit 8510 "Over-Receipt Mgt."

> Codeunit 8510 "Over-Receipt Mgt." in Base Application (Microsoft.Purchases.Document). 14 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC24-25, BC28.

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

## Events published

- `OnBeforeVerifyOverReceiptQuantity(PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)` (integration)
- `OnIsOverReceiptAllowed(var OverReceiptAllowed: Boolean)` (integration)
- `OnGetDefaultOverReceiptCode(PurchaseLine: Record "Purchase Line"; var DefaultOverReceipCode: Code[20]; var IsHandled: Boolean)` (integration)
- `OnVerifyOverReceiptQuantityOnAfterCalcShouldCallError(PurchaseLine: Record "Purchase Line"; OverReceiptQtyBase: Decimal; MaxOverReceiptQtyAllowed: Decimal; var ShouldCallError: Boolean)` (integration)

## Procedures

- `IsOverReceiptAllowed(): Boolean`
- `IsQuantityUpdatedFromWarehouseOverReceipt(PurchaseLine: Record "Purchase Line"): Boolean`
- `IsOverReceiptPendingOnWarehouseReceiptLine(PurchaseLine: Record "Purchase Line"): Boolean`
- `IsQuantityUpdatedFromInvtPutAwayOverReceipt(PurchaseLine: Record "Purchase Line"): Boolean`
- `UpdatePurchaseLineOverReceiptQuantityFromWarehouseReceiptLine(WarehouseReceiptLine: Record "Warehouse Receipt Line")`
- `UpdatePurchaseLineOverReceiptQuantityFromWarehouseReceiptLine(WarehouseReceiptLine: Record "Warehouse Receipt Line"; CalledFromFieldNo: Integer)` (internal)
- `UpdatePurchaseLineOverReceiptQuantityFromWarehouseActivityLine(WarehouseActivityLine: Record "Warehouse Activity Line")`
- `UpdatePurchaseLineOverReceiptQuantityFromWarehouseActivityLine(WarehouseActivityLine: Record "Warehouse Activity Line"; CalledFromFieldNo: Integer)` (internal)
- `VerifyOverReceiptQuantity(PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line")`
- `GetDefaultOverReceiptCode(PurchaseLine: Record "Purchase Line"): Code[20]`
- `RecallOverReceiptNotification(PurchaseHeaderRecordId: RecordId)`
- `ShowOverReceiptNotificationFromLine(DocumentNo: Code[20])`
- `ShowOverReceiptNotificationFromOrder(DocumentNo: Code[20])`
- `SetMaxAllowedOverReceiptQtyOnPurchaseLine(ErrorInfo: ErrorInfo)` (internal)

Plus 2 local procedures.

## Triggers

OnRun

## 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 5775 "Whse. Management"](../codeunit/5775.md) (3 calls: `IsOverReceiptPendingOnWarehouseReceiptLine → SetSourceFilterForWhseRcptLine`, `IsQuantityUpdatedFromInvtPutAwayOverReceipt → SetSourceFilterForWhseActivityLine`, `IsQuantityUpdatedFromWarehouseOverReceipt → SetSourceFilterForWhseRcptLine`)
- [Codeunit 1511 "Notification Lifecycle Mgt."](../codeunit/1511.md) (2 calls: `RecallOverReceiptNotification → RecallNotificationsForRecord`, `ShowOverReceiptNotification → SendNotification`)
- [Codeunit 5402 "Unit of Measure Management"](../codeunit/5402.md) (2 calls: `VerifyOverReceiptQuantity → CalcBaseQty`, `VerifyOverReceiptQuantity → RoundQty`)
- [Codeunit 28 "Error Message Management"](../codeunit/28.md) (1 call: `VerifyOverReceiptQuantity → BuildActionableErrorInfo`)

## Called by

- [Codeunit 5992 "Purchases Warehouse Mgt."](../codeunit/5992.md) (2 calls: `PurchaseLineVerifyChange → IsQuantityUpdatedFromInvtPutAwayOverReceipt`, `PurchaseLineVerifyChange → IsQuantityUpdatedFromWarehouseOverReceipt`)
- [Codeunit 90 "Purch.-Post"](../codeunit/90.md) (2 calls: `CheckOverReceipt → IsOverReceiptAllowed`, `PostUpdateOrderLine → IsOverReceiptPendingOnWarehouseReceiptLine`)
- [Table 39 "Purchase Line"](../table/39.md) (2 calls: `OverReceiptProcessing → GetDefaultOverReceiptCode`, `OverReceiptProcessing → IsOverReceiptAllowed`)
- [Page 26 "Vendor Card"](../page/26.md) (1 call: `SetOverReceiptControlsVisibility → IsOverReceiptAllowed`)
- [Page 30 "Item Card"](../page/30.md) (1 call: `SetOverReceiptControlsVisibility → IsOverReceiptAllowed`)
- [Page 50 "Purchase Order"](../page/50.md) (1 call: `ShowOverReceiptNotification → ShowOverReceiptNotificationFromOrder`)
- [Page 54 "Purchase Order Subform"](../page/54.md) (1 call: `SetOverReceiptControlsVisibility → IsOverReceiptAllowed`)
- [Page 5769 "Whse. Receipt Subform"](../page/5769.md) (1 call: `SetOverReceiptControlsVisibility → IsOverReceiptAllowed`)
- [Table 5767 "Warehouse Activity Line"](../table/5767.md) (1 call: `OverReceiptProcessing → IsOverReceiptAllowed`)
- [Table 7317 "Warehouse Receipt Line"](../table/7317.md) (1 call: `OverReceiptProcessing → IsOverReceiptAllowed`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-25, BC28

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: "codeunit", object_name: "Over-Receipt Mgt.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
