Codeunit 99000840 "Plng. Component-Reserve"
Base Application · Microsoft.Inventory.Planning
Across versions
- BC23present
- BC241 events added
- BC2512 procedures added, 4 procedures removed
- BC262 procedures changed, 1 procedures added
- BC271 events changed
- BC281 procedures removed
- BC292 procedures removed
- BC301 events removed
Neighbourhood 13 connected objects and pages
Base Application · Microsoft.Inventory.Planning · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | TableData “Reservation Entry” = rimd, TableData “Action Message Entry” = rd |
Events published
OnAfterCallItemTracking(var PlanningComponent: Record "Planning Component")(integration)OnVerifyChangeOnBeforeHasError(NewPlanningComponent: Record "Planning Component"; OldPlanningComponent: Record "Planning Component"; var HasError: Boolean; var ShowError: Boolean)(integration)OnSetSourceForReservationOnBeforeUpdateReservation(var ReservEntry: Record "Reservation Entry"; PlanningComponent: Record "Planning Component")+ BC25 Δ BC27 − BC30 (integration, obsolete 27.0)OnAfterInitFromProdPlanningComp(var TrackingSpecification: Record "Tracking Specification"; PlanningComponent: Record "Planning Component")+ BC25 (integration)OnCreateReservationOnBeforeCreateReservEntry(var PlanningComponent: Record "Planning Component"; var Quantity: Decimal; var QuantityBase: Decimal; var ReservationEntry: Record "Reservation Entry"; var FromTrackingSpecification: Record "Tracking Specification"; var IsHandled: Boolean; ExpectedReceiptDate: Date; Description: Text[100]; ShipmentDate: Date)+ BC24 (integration)OnUpdateDerivedTrackingOnAfterSetReservationEntryFilters(var ReservationEntry: Record "Reservation Entry"; PlanningComponent: Record "Planning Component")+ BC26 (integration)- subscribers: Codeunit 99000838 “Prod. Order Comp.-Reserve” OnUpdateDerivedTrackingOnAfterSetReservationEntryFilters
Event subscriptions
- OnGetQtyPerUOMFromSourceRecRef subscribes to Page “Reservation” OnGetQtyPerUOMFromSourceRecRef
- ReservationOnSetReservSource subscribes to Page “Reservation” OnSetReservSource
- ReservationOnDrillDownTotalQuantity subscribes to Page “Reservation” OnDrillDownTotalQuantity
- ReservationOnFilterReservEntry subscribes to Page “Reservation” OnFilterReservEntry
- ReservationOnRelatesToEntrySummary subscribes to Page “Reservation” OnAfterRelatesToSummEntry
- ItemLedgerEntryOnDrillDownTotalQuantity subscribes to Codeunit “Item Ledger Entry-Reserve” OnDrillDownTotalQuantity
- OnCreateReservation subscribes to Codeunit “Reservation Management” OnCreateReservation
- OnLookupDocument subscribes to Codeunit “Reservation Management” OnLookupDocument
- OnLookupLine subscribes to Codeunit “Reservation Management” OnLookupLine
- OnFilterReservFor subscribes to Codeunit “Reservation Management” OnFilterReservFor
- OnCalculateRemainingQty subscribes to Codeunit “Reservation Management” OnCalculateRemainingQty
- OnGetSourceRecordValue subscribes to Codeunit “Reservation Management” OnGetSourceRecordValue
- CheckSourceTypeSubtype subscribes to Codeunit “Create Reserv. Entry” OnCheckSourceTypeSubtype
- OnRevertDateToSourceDate subscribes to Codeunit “Reservation Engine Mgt.” OnRevertDateToSourceDate
- OnGetActivePointerFieldsOnBeforeAssignArrayValues subscribes to Codeunit “Reservation Engine Mgt.” OnGetActivePointerFieldsOnBeforeAssignArrayValues
- OnAfterCreateText subscribes to Codeunit “Reservation Engine Mgt.” OnCreateText
- ReservationEntryOnUpdateSourceCost subscribes to Table “Reservation Entry” OnUpdateSourceCost
Procedures
CreateReservation(PlanningComponent: Record "Planning Component"; Description: Text[100]; ExpectedReceiptDate: Date; Quantity: Decimal; QuantityBase: Decimal; ForReservEntry: Record "Reservation Entry")CreateBindingReservation(PlanningComponent: Record "Planning Component"; Description: Text[100]; ExpectedReceiptDate: Date; Quantity: Decimal; QuantityBase: Decimal)CreateReservationSetFrom(TrackingSpecification: Record "Tracking Specification")SetBinding(Binding: Enum "Reservation Binding")Caption(PlanningComponent: Record "Planning Component"): TextFindReservEntry(PlanningComponent: Record "Planning Component"; var ReservationEntry: Record "Reservation Entry"): BooleanVerifyChange(var NewPlanningComponent: Record "Planning Component"; var OldPlanningComponent: Record "Planning Component")VerifyQuantity(var NewPlanningComponent: Record "Planning Component"; var OldPlanningComponent: Record "Planning Component")TransferReservations(var OldPlanningComponent: Record "Planning Component"; var OldReservationEntry: Record "Reservation Entry"; TransferAll: Boolean; TransferQty: Decimal; QtyPerUOM: Decimal; SrcType: Integer; SrcSubtype: Option; SrcID: Code[20]; SrcBatchName: Code[10]; SrcProdOrderLine: Integer; SrcRefNo: Integer)Δ BC26DeleteLine(var PlanningComponent: Record "Planning Component")UpdateDerivedTracking(var PlanningComponent: Record "Planning Component")Block(SetBlocked: Boolean)CallItemTracking(var PlanningComponent: Record "Planning Component")BindToTracking(PlanningComponent: Record "Planning Component"; TrackingSpecification: Record "Tracking Specification"; Description: Text[100]; ExpectedDate: Date; ReservQty: Decimal; ReservQtyBase: Decimal)+ BC25InitFromProdPlanningComp(var TrackingSpecification: Record "Tracking Specification"; var PlanningComponent: Record "Planning Component")+ BC25
Plus 5 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 99000845 “Reservation Management” (12 calls:
DeleteLine → DeleteReservEntries,DeleteLine → SetItemTrackingHandling,DeleteLine → SetReservSource, …) - Codeunit 99000830 “Create Reserv. Entry” (5 calls:
CreateReservation → CreateReservEntry,CreateReservation → CreateReservEntryFor,CreateReservation → CreateReservEntryFrom, …) - Codeunit 5402 “Unit of Measure Management” (1 call:
InitFromProdPlanningComp → QtyRndPrecision) - Codeunit 99000841 “Item Ledger Entry-Reserve” (1 call:
ItemLedgerEntryOnDrillDownTotalQuantity → DrillDownTotalQuantity) - Page 517 “Requisition Lines” (1 call:
OnLookupDocument → (object))
Called by
- Table 99000829 “Planning Component” (5 calls:
BlockDynamicTracking → Block,OnDelete → DeleteLine,OnInsert → VerifyQuantity, …) - Codeunit 926 “Assembly Line-Reserve” (2 calls:
TransferPlanningCompToAsmLine → FindReservEntry,TransferPlanningCompToAsmLine → TransferReservations) - Codeunit 99000838 “Prod. Order Comp.-Reserve” (2 calls:
TransferPlanningCompToPOComp → FindReservEntry,TransferPlanningCompToPOComp → TransferReservations) - Codeunit 945 “Asm. Carry Out Action” (1 call:
AsmOrderChgAndReshedule → UpdateDerivedTracking) - Codeunit 99000809 “Planning Line Management” (1 call:
CheckMultiLevelStructure → BindToTracking) - Codeunit 99000815 “Reservation-Check Date Confl.” (1 call:
PlanningComponentCheck → FindReservEntry) - Codeunit 99000886 “Capable to Promise” (1 call:
BindToRequisition → BindToTracking)
Recent changes
- 2026-10-02 #12066 Bugs/remove asm inv mfg clean27 tags for wave2 2026 (main, BC30, obsoletion)
Deprecations
- procedure OnSetSourceForReservationOnBeforeUpdateReservation: Pending 27.0 (#if not CLEAN27), “This event is never raised.”
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: "Plng. Component-Reserve"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.