codeunitInventoryofficial - Microsoftderived - from the source, no model text

Codeunit 99000845 "Reservation Management"

Base Application · Microsoft.Inventory.Tracking

Across versions

  1. BC23present
  2. BC243 events added, 2 events changed
  3. BC2514 procedures added, 11 events changed
  4. BC2614 events added, 7 procedures added
  5. BC276 events added, 1 events removed
  6. BC2811 procedures removed, 11 events removed
  7. BC296 events removed, 5 procedures removed
  8. BC30unchanged

Neighbourhood 94 connected objects and pages

Codeunit 99000837 "Prod. Order Line-Reserve" (event subscribers, 14 links)Prod. Order Line-ReserveCodeunit 99000842 "Service Line-Reserve" (event subscribers, 14 links)Service Line-ReserveCodeunit 926 "Assembly Line-Reserve" (event subscribers, 12 links)Codeunit 99000834 "Purch. Line-Reserve" (event subscribers, 12 links)Purch. Line-ReserveCodeunit 925 "Assembly Header-Reserve" (event subscribers, 11 links)Codeunit 99000832 "Sales Line-Reserve" (event subscribers, 11 links)Sales Line-ReserveCodeunit 99000838 "Prod. Order Comp.-Reserve" (event subscribers, 11 links)Codeunit 1032 "Job Planning Line-Reserve" (event subscribers, 10 links)Codeunit 5854 "Invt. Doc. Line-Reserve" (event subscribers, 8 links)Codeunit 99000836 "Transfer Line-Reserve" (event subscribers, 8 links)Codeunit 99000833 "Req. Line-Reserve" (event subscribers, 6 links)Codeunit 99000840 "Plng. Component-Reserve" (event subscribers, 6 links)Codeunit 99000830 "Create Reserv. Entry" (calls, 25 links)Create Reserv. EntryCodeunit 99000815 "Reservation-Check Date Confl." (calls, 24 links)Codeunit 99000838 "Prod. Order Comp.-Reserve" (calls, 22 links)Prod. Order Comp.-ReserveCodeunit 99000842 "Service Line-Reserve" (calls, 20 links)Service Line-ReserveCodeunit 926 "Assembly Line-Reserve" (calls, 18 links)Assembly Line-ReserveCodeunit 99000834 "Purch. Line-Reserve" (calls, 18 links)Codeunit 99000836 "Transfer Line-Reserve" (calls, 18 links)Transfer Line-ReserveCodeunit 1032 "Job Planning Line-Reserve" (calls, 17 links)Codeunit 925 "Assembly Header-Reserve" (calls, 17 links)Assembly Header-ReserveCodeunit 99000832 "Sales Line-Reserve" (calls, 17 links)Sales Line-ReserveCodeunit 5854 "Invt. Doc. Line-Reserve" (calls, 16 links)Codeunit 99000831 "Reservation Engine Mgt." (calls, 16 links)Reservation Engine Mgt.Codeunit 99000837 "Prod. Order Line-Reserve" (calls, 14 links)Codeunit 99000833 "Req. Line-Reserve" (calls, 12 links)Req. Line-ReserveCodeunit 99000835 "Item Jnl. Line-Reserve" (calls, 12 links)Codeunit 99000840 "Plng. Component-Reserve" (calls, 12 links)Plng. Component-ReserveCodeunit 99000844 "Job Jnl. Line-Reserve" (calls, 12 links)Codeunit 6500 "Item Tracking Management" (calls, 9 links)Codeunit 99000813 "Carry Out Action" (calls, 8 links)Codeunit 7307 "Whse.-Activity-Register" (calls, 7 links)Codeunit 7314 "Warehouse Availability Mgt." (calls, 6 links)Codeunit 937 "Asm. ReservCheckDateConfl" (calls, 6 links)Codeunit 945 "Asm. Carry Out Action" (calls, 6 links)Codeunit 99000849 "Mfg. ReservCheckDateConfl" (calls, 6 links)Page 498 "Reservation" (calls, 6 links)Page 504 "Available - Item Ledg. Entries" (calls, 6 links)Codeunit 22 "Item Jnl.-Post Line" (calls, 5 links)Codeunit 5407 "Prod. Order Status Management" (calls, 5 links)

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.Inventory.Tracking · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions TableData “Item Ledger Entry” = rm, TableData “Reservation Entry” = rimd, TableData “Action Message Entry” = rimd

Events published

Procedures

  • IsPositive(): Boolean
  • FormatQty(Quantity: Decimal): Decimal
  • SetCalcReservEntry(TrackingSpecification: Record "Tracking Specification"; var ReservEntry: Record "Reservation Entry")
  • SetOrderTrackingSurplusEntries(var TempReservEntry: Record "Reservation Entry" temporary)
  • SetReservSource(NewRecordVar: Variant)
  • SetReservSource(NewRecordVar: Variant; Direction: Enum "Transfer Direction")
  • SetReservSource(NewSourceRecRef: RecordRef)
  • SetReservSource(NewSourceRecRef: RecordRef; Direction: Enum "Transfer Direction")
  • SetExternalDocumentResEntry(ReservEntry: Record "Reservation Entry"; UpdReservation: Boolean)
  • UpdateReservation(EntryIsPositive: Boolean)
  • UpdateStatistics(var TempEntrySummary: Record "Entry Summary" temporary; AvailabilityDate: Date; HandleItemTracking2: Boolean)
  • AutoReserve(var FullAutoReservation: Boolean; Description: Text[100]; AvailabilityDate: Date; MaxQtyToReserve: Decimal; MaxQtyToReserveBase: Decimal)
  • AutoReserveOneLine(ReservSummEntryNo: Integer; var RemainingQtyToReserve: Decimal; var RemainingQtyToReserveBase: Decimal; Description: Text[100]; AvailabilityDate: Date)
  • InsertReservationEntries(var RemainingQtyToReserve: Decimal; var RemainingQtyToReserveBase: Decimal; ReservQty: Decimal; Description: Text[100]; ExpectedDate: Date; QtyThisLine: Decimal; QtyThisLineBase: Decimal; TrackingSpecification: Record "Tracking Specification"): Boolean
  • CreateReservation(Description: Text[100]; ExpectedDate: Date; Quantity: Decimal; QuantityBase: Decimal; TrackingSpecification: Record "Tracking Specification")
  • DeleteReservEntries(DeleteAll: Boolean; DownToQuantity: Decimal)
  • DeleteReservEntries(DeleteAll: Boolean; DownToQuantity: Decimal; var ReservEntry: Record "Reservation Entry")
  • CalculateRemainingQty(var RemainingQty: Decimal; var RemainingQtyBase: Decimal)
  • GetAvailabilityFilter(AvailabilityDate: Date): Text[80]
  • CopySign(FromValue: Decimal; var ToValue: Decimal)
  • ClearSurplus()
  • AutoTrack(TotalQty: Decimal)
  • MatchSurplus(var ReservEntry: Record "Reservation Entry"; var SurplusEntry: Record "Reservation Entry"; QtyToTrack: Decimal; SearchForSupply: Boolean; var AvailabilityDate: Date; TrackingPolicy: Enum "Order Tracking Policy"): Decimal
  • ModifyUnitOfMeasure()
  • MakeRoomForReservation(var ReservEntry: Record "Reservation Entry")
  • CollectTrackingSpecification(var TargetTrackingSpecification: Record "Tracking Specification" temporary): Boolean
  • SourceQuantity(var ReservEntry: Record "Reservation Entry"; SetAsCurrent: Boolean): Decimal
  • FilterReservFor(SourceRecRef: RecordRef; var ReservEntry: Record "Reservation Entry"; Direction: Enum "Transfer Direction"): Text
  • GetSourceRecordValue(var ReservEntry: Record "Reservation Entry"; SetAsCurrent: Boolean; ReturnOption: Option "Net Qty. (Base)","Gross Qty. (Base)"): Decimal
  • MarkReservConnection(var ReservEntry: Record "Reservation Entry"; TargetReservEntry: Record "Reservation Entry"): Decimal
  • IssueActionMessage(var SurplusEntry: Record "Reservation Entry"; UseGlobalSettings: Boolean; AllDeletedEntry: Record "Reservation Entry")
  • ModifyActionMessage(RelatedToEntryNo: Integer; Quantity: Decimal; DoDelete: Boolean)
  • FindDate(var ReservEntry: Record "Reservation Entry"; Which: Option "Earliest Shipment","Latest Receipt"; ReturnRecord: Boolean): Date
  • ClearActionMessageReferences()
  • SetItemTrackingHandling(Mode: Option "None","Allow deletion",Match)
  • DeleteItemTrackingConfirm(): Boolean
  • SetTrackingFromReservEntry(ReservEntry: Record "Reservation Entry")
  • SetTrackingFromWhseActivityLine(WhseActivityLine: Record "Warehouse Activity Line")
  • SetMatchFilter(var ReservEntry: Record "Reservation Entry"; var FilterReservEntry: Record "Reservation Entry"; SearchForSupply: Boolean; AvailabilityDate: Date)
  • LookupLine(SourceType: Integer; SourceSubtype: Integer; SourceID: Code[20]; SourceBatchName: Code[10]; SourceProdOrderLine: Integer; SourceRefNo: Integer)
  • LookupDocument(SourceType: Integer; SourceSubtype: Integer; SourceID: Code[20]; SourceBatchName: Code[10]; SourceProdOrderLine: Integer; SourceRefNo: Integer)
  • CalcIsAvailTrackedQtyInBin(ItemNo: Code[20]; BinCode: Code[20]; LocationCode: Code[10]; VariantCode: Code[10]; SourceType: Integer; SourceSubtype: Integer; SourceID: Code[20]; SourceBatchName: Code[10]; SourceProdOrderLine: Integer; SourceRefNo: Integer): Boolean
  • AutoReserveToShip(var FullAutoReservation: Boolean; Description: Text[100]; AvailabilityDate: Date; QuantityToShip: Decimal; QuantityToShipBase: Decimal)
  • ReservEntryPositiveTypeIsItemLedgerEntry(ReservationEntryNo: Integer): Boolean
  • DeleteDocumentReservation(TableID: Integer; DocType: Option; DocNo: Code[20]; HideValidationDialog: Boolean)
  • SetSkipUntrackedSurplus(NewSkipUntrackedSurplus: Boolean)
  • SetQtyToReserveDownToTrackedQuantity(ReservEntry: Record "Reservation Entry"; RowID: Text[250]; var QtyThisLine: Decimal; var QtyThisLineBase: Decimal)
  • SetReservedQtyDownToTrackedQuantity(ReservEntry: Record "Reservation Entry"; RowID: Text[250]; var ReserveQty: Decimal) + BC26
  • FindUnfinishedSpecialOrderSalesNo(ItemLedgerEntry: Record "Item Ledger Entry"): Code[20]
  • GetMinAbs(Value1: Decimal; Value2: Decimal): Decimal
  • GetSign(Value: Decimal): Integer
  • TestItemType(SourceRecRef: RecordRef)

Plus 42 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

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: "Reservation Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources