codeunitManufacturingofficial - Microsoftderived - from the source, no model text

Codeunit 99000838 "Prod. Order Comp.-Reserve"

Base Application · Microsoft.Manufacturing.Document

Across versions

  1. BC23present
  2. BC241 events added
  3. BC2526 procedures added, 7 procedures removed
  4. BC263 procedures added, 1 events added
  5. BC2729 procedures changed, 4 procedures added
  6. BC285 procedures removed, 1 procedures added
  7. BC29unchanged
  8. BC301 events removed

Neighbourhood 23 connected objects and pages

Codeunit 20524 "Subc. Prod. Order Comp. Ext." (event subscribers)Subc. Prod. Order Comp. Ext.Codeunit 20530 "Subc. Prod. Ord. Comp. Res." (event subscribers)Subc. Prod. Ord. Comp. Res.Codeunit 99000845 "Reservation Management" (calls, 22 links)Reservation ManagementCodeunit 99000830 "Create Reserv. Entry" (calls, 7 links)Create Reserv. EntryTable 5407 "Prod. Order Component" (calls, 7 links)Prod. Order ComponentCodeunit 99000831 "Reservation Engine Mgt." (calls, 3 links)Reservation Engine Mgt.Codeunit 99000766 "Mfg. Whse. Activity Post" (calls, 2 links)Mfg. Whse. Activity PostCodeunit 99000822 "Mfg. Item Jnl.-Post Line" (calls, 2 links)Mfg. Item Jnl.-Post LineCodeunit 99000840 "Plng. Component-Reserve" (calls, 2 links)Plng. Component-ReservePage 99000818 "Prod. Order Components" (calls, 2 links)Prod. Order ComponentsCodeunit 5407 "Prod. Order Status Management" (calls)Prod. Order Status ManagementCodeunit 99000787 "Create Prod. Order Lines" (calls)Create Prod. Order LinesCodeunit 99000841 "Item Ledger Entry-Reserve" (calls)Item Ledger Entry-ReserveCodeunit 99000849 "Mfg. ReservCheckDateConfl" (calls)Mfg. ReservCheckDateConflCodeunit 99000858 "Mfg. Get Demand To Reserve" (calls)Codeunit 99000891 "Mfg. Item Tracking Mgt." (calls)Codeunit 99000898 "Mfg. Item Substitution" (calls)Page 874 "Prod. Order Comp. Item FactBox" (calls)Page 99000813 "Planned Production Order" (calls)Page 99000829 "Firm Planned Prod. Order" (calls)Page 99000831 "Released Production Order" (calls)Page 99000912 "Simulated Production Order" (calls)Table 5405 "Production Order" (calls)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Manufacturing.Document · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions TableData “Reservation Entry” = rimd, TableData “Prod. Order Component” = rimd, TableData “Action Message Entry” = rm

Events published

  • OnAfterCallItemTracking(var ProdOrderComponent: Record "Prod. Order Component") (integration)
  • OnBeforeTransferPOCompToPOComp(var OldProdOrderComp: Record "Prod. Order Component"; var NewProdOrderComp: Record "Prod. Order Component") (integration)
  • OnBeforeTransferPOCompToItemJnlLineCheckILE(var ProdOrderComp: Record "Prod. Order Component"; var ItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean) + BC25 − BC25 (integration)
  • OnBeforeVerifyQuantity(var NewProdOrderComponent: Record "Prod. Order Component"; OldProdOrderComponent: Record "Prod. Order Component"; var ReservationManagement: Codeunit "Reservation Management"; var IsHandled: Boolean) (integration)
  • OnDeleteLineOnAfterDeleteReservEntries(var ProdOrderComponent: Record "Prod. Order Component") (integration)
  • OnVerifyChangeOnBeforeHasError(NewProdOrderComp: Record "Prod. Order Component"; OldProdOrderComp: Record "Prod. Order Component"; var HasError: Boolean; var ShowError: Boolean) (integration)
  • OnTransferPOCompToItemJnlLineCheckILEOnAfterTransferReservEntry(NewItemJnlLine: Record "Item Journal Line"; OldReservEntry: Record "Reservation Entry") (integration)
  • OnTransferPOCompToItemJnlLineCheckILEOnBeforeCheckTransferQty(var OldProdOrderComponent: Record "Prod. Order Component"; var NewItemJournalLine: Record "Item Journal Line"; var OldReservationEntry: Record "Reservation Entry"; var TransferQty: Decimal; var TrackedQty: Decimal) (integration)
  • OnTransferPOCompToItemJnlLineCheckILEOnBeforeTransferReservEntry(NewItemJnlLine: Record "Item Journal Line"; OldReservEntry: Record "Reservation Entry") (integration)
  • OnBeforeGetSourceValue(ReservEntry: Record "Reservation Entry"; var SourceRecRef: RecordRef; ReturnOption: Option "Net Qty. (Base)","Gross Qty. (Base)"; var ReturnValue: Decimal; var IsHandled: Boolean) (integration)
  • OnCallItemTrackingOnBeforeItemTrackingLinesRunModal(var ProdOrderComponent: Record "Prod. Order Component"; var ItemTrackingLines: Page "Item Tracking Lines") (integration)
  • OnBeforeAutoReserveProdOrderComp(ReservSummEntryNo: Integer; var RemainingQtyToReserve: Decimal; var RemainingQtyToReserveBase: Decimal; Description: Text[100]; AvailabilityDate: Date; var IsReserved: Boolean; Search: Text[1]; NextStep: Integer; CalcReservEntry: Record "Reservation Entry") + BC25 (integration)
  • OnSetSourceForReservationOnBeforeUpdateReservation(var ReservEntry: Record "Reservation Entry"; ProdOrderComp: Record "Prod. Order Component") + BC25 Δ BC27 − BC30 (integration, obsolete 27.0)
  • OnAfterInitFromProdOrderComp(var TrackingSpecification: Record "Tracking Specification"; ProdOrderComponent: Record "Prod. Order Component") + BC25 (integration)
  • OnCreateReservationOnBeforeCreateReservEntry(var ProdOrderComponent: Record "Prod. Order 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)
  • OnSetProdOrderCompOnBeforeUpdateReservation(var ReservEntry: Record "Reservation Entry"; ProdOrderComp: Record "Prod. Order Component") + BC26 (integration)

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
  • OnDrillDownTotalQuantity 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
  • OnUpdateStatistics subscribes to Codeunit “Reservation Management” OnUpdateStatistics
  • OnLookupReserved subscribes to Page “Reservation Entries” OnLookupReserved
  • OnAfterAutoReserveOneLine subscribes to Codeunit “Reservation Management” OnAfterAutoReserveOneLine
  • OnAutoReserveOnBeforeStopReservation subscribes to Codeunit “Reservation Management” OnAutoReserveOnBeforeStopReservation
  • OnAutoTrackOnCheckSourceType subscribes to Codeunit “Reservation Management” OnAutoTrackOnCheckSourceType
  • 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
  • OnBeforeSummEntryNo subscribes to Table “Reservation Entry” OnAfterSummEntryNo
  • ReservationEntryOnUpdateSourceCost subscribes to Table “Reservation Entry” OnUpdateSourceCost
  • OnReserveBindingOrder subscribes to Table “Requisition Line” OnReserveBindingOrder
  • OrderTrackingManagementOnSetSourceRecord subscribes to Codeunit “OrderTrackingManagement” OnSetSourceRecord
  • OnInsertOrderTrackingEntry subscribes to Codeunit “OrderTrackingManagement” OnInsertOrderTrackingEntry
  • OnGetSourceShipmentDate subscribes to Table “Tracking Specification” OnGetSourceShipmentDate
  • OnUpdateDerivedTrackingOnAfterSetReservationEntryFilters subscribes to Codeunit “Plng. Component-Reserve” OnUpdateDerivedTrackingOnAfterSetReservationEntryFilters
  • OnSetSourceForProdOrderComp subscribes to Codeunit “Reservation Management” OnSetSourceForProdOrderComp
  • OnReserveBindingOrderToPurch subscribes to Codeunit “Req. Wksh.-Make Order” OnReserveBindingOrderToPurch
  • OnInitPurchOrderLineOnBeforeUpdateQuantity subscribes to Codeunit “Req. Wksh.-Make Order” OnInitPurchOrderLineOnBeforeUpdateQuantity
  • OnAfterDeleteLine subscribes to Codeunit “Req. Line-Reserve” OnAfterDeleteLine
  • OnCalcResQtyOnProdOrderComp subscribes to Table “Item” OnCalcResQtyOnProdOrderComp

Procedures

  • CreateReservation(ProdOrderComponent: Record "Prod. Order Component"; Description: Text[100]; ExpectedReceiptDate: Date; Quantity: Decimal; QuantityBase: Decimal; ForReservationEntry: Record "Reservation Entry")
  • CreateBindingReservation(ProdOrderComponent: Record "Prod. Order Component"; Description: Text[100]; ExpectedReceiptDate: Date; Quantity: Decimal; QuantityBase: Decimal)
  • CreateReservationSetFrom(TrackingSpecification: Record "Tracking Specification")
  • SetBinding(Binding: Enum "Reservation Binding")
  • Caption(ProdOrderComponent: Record "Prod. Order Component"): Text
  • FindReservEntry(ProdOrderComponent: Record "Prod. Order Component"; var ReservationEntry: Record "Reservation Entry"): Boolean
  • GetReservedQtyFromInventory(ProdOrderComponent: Record "Prod. Order Component"): Decimal
  • GetReservedQtyFromInventory(ProductionOrder: Record "Production Order"): Decimal
  • ReservEntryExist(ProdOrderComponent: Record "Prod. Order Component"): Boolean
  • VerifyChange(var NewProdOrderComponent: Record "Prod. Order Component"; var OldProdOrderComponent: Record "Prod. Order Component")
  • VerifyQuantity(var NewProdOrderComponent: Record "Prod. Order Component"; var OldProdOrderComponent: Record "Prod. Order Component")
  • TransferPOCompToPOComp(var OldProdOrderComponent: Record "Prod. Order Component"; var NewProdOrderComponent: Record "Prod. Order Component"; TransferQty: Decimal; TransferAll: Boolean)
  • TransferPOCompToItemJnlLine(var OldProdOrderComponent: Record "Prod. Order Component"; var NewItemJournalLine: Record "Item Journal Line"; TransferQty: Decimal)
  • TransferPOCompToItemJnlLineCheckILE(var OldProdOrderComponent: Record "Prod. Order Component"; var NewItemJournalLine: Record "Item Journal Line"; TransferQty: Decimal; CheckApplFromItemEntry: Boolean)
  • DeleteLineConfirm(var ProdOrderComponent: Record "Prod. Order Component"): Boolean
  • DeleteLine(var ProdOrderComponent: Record "Prod. Order Component")
  • Block(SetBlocked: Boolean)
  • CallItemTracking(var ProdOrderComponent: Record "Prod. Order Component")
  • UpdateItemTrackingAfterPosting(ProdOrderComponent: Record "Prod. Order Component")
  • BindToTracking(ProdOrderComponent: Record "Prod. Order Component"; TrackingSpecification: Record "Tracking Specification"; Description: Text[100]; ExpectedDate: Date; ReservQty: Decimal; ReservQtyBase: Decimal) + BC25
  • InitFromProdOrderComp(var TrackingSpecification: Record "Tracking Specification"; var ProdOrderComp: Record "Prod. Order Component") + BC25
  • TransferPlanningCompToPOComp(var OldPlanningComponent: Record "Planning Component"; var NewProdOrderComponent: Record "Prod. Order Component"; TransferQty: Decimal; TransferAll: Boolean) + BC26

Plus 12 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.

Called by

Recent changes

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: "Prod. Order Comp.-Reserve"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources