Codeunit 5400 "Available Management"
Base Application · Microsoft.Inventory.Availability
Across versions
- BC23-24present
- BC251 events added
- BC26unchanged
- BC271 events added
- BC28-30unchanged
Neighbourhood 3 connected objects and pages
Base Application · Microsoft.Inventory.Availability · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnAfterCalcAvailableQty(var Item: Record Item; CalcAvailable: Boolean; PlannedOrderReceiptDate: Date; var AvailableQty: Decimal)(integration)OnAfterCalcExpectedQty(var Item: Record Item; CalcAvailable: Boolean; ExtraNetNeed: Decimal; var Available: Decimal; PlannedOrderReceiptDate: Date; var ExpectedQty: Decimal)(integration)OnBeforeCalcExpectedQtyOnHand(var Item: Record Item; CalcAvailable: Boolean; ExtraNetNeed: Decimal; var Available: Decimal; PlannedOrderReceiptDate: Date; var ExpectedQty: Decimal; var IsHandled: Boolean)(integration)OnBeforeCalcAvailableQty(var Item: Record Item; CalcAvailable: Boolean; PlannedOrderReceiptDate: Date; var AvailableQty: Decimal; var IsHandled: Boolean)(integration)OnCalcAvailableQtyOnAfterCalculation(var CopyOfItem: Record Item; var AvailableQty: Decimal)+ BC25 (integration)- subscribers: Codeunit 6450 “Serv. Integration Mgt.” OnCalcAvailableQtyOnAfterCalculation
OnCalcAvailableQtyOnAfterCalcFields(var CopyOfItem: Record Item; var ScheduledReceiptQty: Decimal)+ BC27 (integration)
Procedures
ExpectedQtyOnHand(var Item: Record Item; CalcAvailable: Boolean; ExtraNetNeed: Decimal; var Available: Decimal; PlannedOrderReceiptDate: Date): DecimalGetItemReorderQty(Item: Record Item; QtyAvailable: Decimal): Decimal
Plus 3 local procedures.
Triggers
OnRun
Called by
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” (1 call:
CalcAvailQuantities → ExpectedQtyOnHand) - Report 717 “Inventory - Reorders” (1 call:
CalcQuantities → GetItemReorderQty)
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: "Available Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.