Codeunit 6452 "Serv. Availability Mgt."
Base Application · Microsoft.Service.Document
Across versions
- BC23-24not present
- BC25added
- BC261 events added
- BC271 events added
- BC2826 procedures changed, 1 procedures added
- BC29-30unchanged
Neighbourhood 12 connected objects and pages
Base Application · Microsoft.Service.Document · BC25-30 · source at ea08af5e · facts from BC29
Events published
OnAfterTransferToOrderPromisingLine(var OrderPromisingLine: Record "Order Promising Line"; var ServiceLine: Record "Service Line")(integration)OnBeforeShowItemAvailFromServLine(var Item: Record Item; var ServLine: Record Microsoft.Service.Document."Service Line")(integration)OnAfterTransferFromServiceNeed(var InventoryEventBuffer: Record "Inventory Event Buffer"; ServiceLine: Record Microsoft.Service.Document."Service Line")(integration)OnBeforeUpdateServOrderAvail(var AvailabilityAtDate: Record "Availability at Date"; var Item: Record Item; var IsHandled: Boolean)(integration)OnSetServiceHeaderOnAfterFilterServiceLine(var ServiceLine: Record "Service Line"; var ServiceHeader: Record "Service Header")+ BC26 (integration)OnSetServiceHeaderOnBeforeProcessServiceLine(var ServiceLine: Record "Service Line"; var OrderPromisingLine: Record "Order Promising Line"; var IsHandled: Boolean)+ BC27 (integration)
Event subscriptions
- OnSetSourceRecord subscribes to Codeunit “AvailabilityManagement” OnSetSourceRecord
- OnCalcCapableToPromiseLine subscribes to Codeunit “AvailabilityManagement” OnCalcCapableToPromiseLine
- OnGetRequestedDeliveryDate subscribes to Codeunit “AvailabilityManagement” OnGetRequestedDeliveryDate
- OnUpdateSourceLine subscribes to Codeunit “AvailabilityManagement” OnUpdateSourceLine
- OnCreateReservationsOnCalcNeededQuantity subscribes to Codeunit “AvailabilityManagement” OnCreateReservationsOnCalcNeededQuantity
- OnCreateReservationsOnBindToTracking subscribes to Codeunit “AvailabilityManagement” OnCreateReservationsOnBindToTracking
- OnCancelReservations subscribes to Codeunit “AvailabilityManagement” OnCancelReservations
- OnLookupDemandNo subscribes to Page “Demand Overview” OnLookupDemandNo
- OnSourceTypeTextOnFormat subscribes to Page “Demand Overview” OnSourceTypeTextOnFormat
- OnGetDemandDates subscribes to Codeunit “Calc. Availability Overview” OnGetDemandDates
- OnGetDemandEntries subscribes to Codeunit “Calc. Availability Overview” OnGetDemandEntries
- OnCheckItemInRange subscribes to Codeunit “Calc. Availability Overview” OnCheckItemInRange
- OnDemandExist subscribes to Codeunit “Calc. Availability Overview” OnDemandExist
- OnValidateRequestedDeliveryDate subscribes to Table “Order Promising Line” OnValidateRequestedDeliveryDate
- OnValidatePlannedDeliveryDate subscribes to Table “Order Promising Line” OnValidatePlannedDeliveryDate
- OnValidateEarliestDeliveryDate subscribes to Table “Order Promising Line” OnValidateEarliestDeliveryDate
- OnOpenPageOnSetSource subscribes to Page “Order Promising Lines” OnOpenPageOnSetSource
- OnAfterGetDocumentEntries subscribes to Codeunit “Calc. Item Availability” OnAfterGetDocumentEntries
- OnAfterGetSourceReferences subscribes to Codeunit “Calc. Item Availability” OnAfterGetSourceReferences
- OnAfterShowDocument subscribes to Codeunit “Calc. Item Availability” OnAfterShowDocument
- OnLookupAvailableInventory subscribes to Table “Availability Info. Buffer” OnLookupAvailableInventory
- OnAfterCalcItemPlanningFields subscribes to Codeunit “Item Availability Forms Mgt” OnAfterCalcItemPlanningFields
- OnTransferToPeriodDetailsElseCase subscribes to Codeunit “Calc. Inventory Page Data” OnTransferToPeriodDetailsElseCase
- OnAfterMakeEntries subscribes to Page “Item Availability Line List” OnAfterMakeEntries
- OnAfterLookupEntries subscribes to Page “Item Availability Line List” OnAfterLookupEntries
- OnAfterCalculateAvailability subscribes to Codeunit “Available to Promise” OnAfterCalculateAvailability
- OnCalcQtyOnServiceOrder subscribes to Table “Item” OnCalcQtyOnServiceOrder
Procedures
SetServiceHeader(var OrderPromisingLine: Record "Order Promising Line"; var ServiceHeader: Record "Service Header"; var CaptionText: Text)TransferToOrderPromisingLine(var OrderPromisingLine: Record "Order Promising Line"; var ServiceLine: Record "Service Line")ShowItemAvailabilityFromServLine(var ServLine: Record "Service Line"; AvailabilityType: Enum "Item Availability Type")ShowServiceLines(var Item: Record Item)TransferFromServiceNeed(var InventoryEventBuffer: Record "Inventory Event Buffer"; ServiceLine: Record "Service Line")
Plus 5 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 353 “Item Availability Forms Mgt” (7 calls:
ShowItemAvailabilityFromServLine → FilterItem,ShowItemAvailabilityFromServLine → ShowItemAvailabilityByBOMLevel,ShowItemAvailabilityFromServLine → ShowItemAvailabilityByEvent, …) - Codeunit 99000842 “Service Line-Reserve” (3 calls:
OnCreateReservationsOnBindToTracking → BindToTracking,OnUpdateSourceLine → ReservQuantity,TransferFromServiceNeed → ReservQuantity) - Codeunit 5830 “Calc. Availability Overview” (2 calls:
OnGetDemandDates → InsertAvailabilityEntry,OnGetDemandEntries → InsertAvailabilityEntry) - Codeunit 99000831 “Reservation Engine Mgt.” (2 calls:
OnCancelReservations → CancelReservation,OnCancelReservations → InitFilterAndSortingFor) - Codeunit 99000845 “Reservation Management” (2 calls:
OnUpdateSourceLine → AutoReserve,OnUpdateSourceLine → SetReservSource) - Codeunit 99000886 “Capable to Promise” (2 calls:
OnCalcCapableToPromiseLine → CalcCapableToPromiseDate,OnCalcCapableToPromiseLine → RemoveReqLines) - Codeunit 99000889 “AvailabilityManagement” (2 calls:
OnOpenPageOnSetSource → SetSourceRecord,SetServiceHeader → InsertPromisingLine) - Codeunit 5530 “Calc. Item Availability” (1 call:
TryGetServOrderDemandEntries → InsertEntry) - Codeunit 5790 “Available to Promise” (1 call:
UpdateServOrderAvail → UpdateGrossRequirement) - Page 5972 “Posted Service Credit Memo” (1 call:
OnAfterShowDocument → (object)) - Page 5975 “Posted Service Shipment” (1 call:
OnAfterShowDocument → (object)) - Page 5978 “Posted Service Invoice” (1 call:
OnAfterShowDocument → (object))
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: "Serv. Availability Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.