codeunitInventoryofficial - Microsoftderived - from the source, no model text

Codeunit 311 "Item-Check Avail."

Base Application · Microsoft.Inventory.Availability

Across versions

  1. BC23present
  2. BC243 events added, 1 events removed
  3. BC255 procedures added, 3 events added
  4. BC261 procedures added
  5. BC27unchanged
  6. BC285 procedures removed, 3 events removed
  7. BC29-30unchanged

Neighbourhood 23 connected objects and pages

Codeunit 1508 "Notification Lifecycle Handler" (calls, 11 links)Notification Lifecycle HandlerCodeunit 5790 "Available to Promise" (calls, 8 links)Available to PromiseCodeunit 1511 "Notification Lifecycle Mgt." (calls, 7 links)Notification Lifecycle Mgt.Codeunit 6620 "Copy Document Mgt." (calls, 7 links)Copy Document Mgt.Codeunit 6453 "Serv. Item Check Avail." (calls, 6 links)Serv. Item Check Avail.Table 901 "Assembly Line" (calls, 6 links)Assembly LineCodeunit 905 "Assembly Line Management" (calls, 3 links)Assembly Line ManagementCodeunit 246 "Item Jnl.-Explode BOM" (calls, 2 links)Item Jnl.-Explode BOMCodeunit 5402 "Unit of Measure Management" (calls, 2 links)Unit of Measure ManagementCodeunit 5701 "Item Subst." (calls, 2 links)Codeunit 63 "Sales-Explode BOM" (calls, 2 links)Sales-Explode BOMCodeunit 6460 "Serv. Notification Mgt." (calls, 2 links)Codeunit 87 "Blanket Sales Order to Order" (calls, 2 links)Blanket Sales Order to OrderTable 1003 "Job Planning Line" (calls, 2 links)Job Planning LineTable 210 "Job Journal Line" (calls, 2 links)Table 36 "Sales Header" (calls, 2 links)Sales HeaderTable 37 "Sales Line" (calls, 2 links)Sales LineTable 5741 "Transfer Line" (calls, 2 links)Table 83 "Item Journal Line" (calls, 2 links)Codeunit 5857 "Copy Invt. Document Mgt." (calls)Codeunit 99000872 "Sales Availability Mgt." (calls)Table 5851 "Invt. Document Line" (calls)Table 904 "Assemble-to-Order Link" (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.Inventory.Availability · BC23-30 · source at 4e6a307c · facts from BC29

Properties

Property Value
Permissions TableData “My Notifications” = rimd

Events published

  • OnAfterCalculate(var Item: Record Item; var InitialQtyAvailable: Decimal; OldItemNetChange: Decimal; QtyPerUnitOfMeasure: Decimal; var ContextInfo: Dictionary of [Text, Text]) (integration)
  • OnAfterConvertQty(ItemNo: Code[20]; Qty: Decimal; var QtyPerUnitOfMeasure: Decimal; var Result: Decimal) (integration)
  • OnAfterConvertQtyToBaseQty(ItemNo: Code[20]; QtyBase: Decimal; var QtyPerUnitOfMeasure: Decimal; var Result: Decimal) (integration)
  • OnAfterItemJnlLineShowWarning(var ItemJournalLine: Record "Item Journal Line"; var ItemNetChange: Decimal; var IsHandled: Boolean) (integration)
  • OnBeforeItemJnlCheckLine(var ItemJournalLine: Record "Item Journal Line"; var Rollback: Boolean; var IsHandled: Boolean) + BC28 (integration)
  • OnBeforeQtyAvailToPromise(var Item: Record Item; var CompanyInfo: Record "Company Information"; var InventoryQty: Decimal; var GrossReq: Decimal; var ReservedReq: Decimal; var OldItemNetResChange: Decimal; var SchedRcpt: Decimal; var ReservedRcpt: Decimal; var IsHandled: Boolean) (integration)
  • OnBeforeCreateAndSendNotification(ItemNo: Code[20]; UnitOfMeasureCode: Code[20]; InventoryQty: Decimal; GrossReq: Decimal; ReservedReq: Decimal; SchedRcpt: Decimal; ReservedRcpt: Decimal; CurrentQuantity: Decimal; CurrentReservedQty: Decimal; TotalQuantity: Decimal; EarliestAvailDate: Date; RecordId: RecordID; LocationCode: Code[10]; ContextInfo: Dictionary of [Text, Text]; var Rollback: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeRaiseUpdateInterruptedError(var IsHandled: Boolean; ContextInfo: Dictionary of [Text, Text]) (integration)
  • OnBeforeSalesLineCheck(SalesLine: Record "Sales Line"; var Rollback: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeSalesLineShowWarning(SalesLine: Record "Sales Line"; var IsWarning: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeSetFilterOnItem(var Item: Record Item; ItemNo: Code[20]; ItemVariantCode: Code[10]; ItemLocationCode: Code[10]; ShipmentDate: Date; UseOrderPromise: Boolean; var IsHandled: Boolean; UnitOfMeasureCode: Code[10]) (integration)
  • OnBeforeShowWarningForThisItem(Item: Record Item; var ShowWarning: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeShowWarningForThisItemOnBeforeItemGet(ItemNo: Code[20]; var ShowWarning: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeTransferLineCheck(TransferLine: Record "Transfer Line"; var Rollback: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeTransferLineShowWarning(TransferLine: Record "Transfer Line"; var IsWarning: Boolean; var IsHandled: Boolean) (integration)
  • OnAsmOrderLineShowWarningOnBeforeShowWarning(AssemblyLine: Record "Assembly Line"; var ContextInfo: Dictionary of [Text, Text]; OldAssemblyLine: Record "Assembly Line"; var OldItemNetChange: Decimal; var IsWarning: Boolean; var IsHandled: Boolean) (integration)
  • OnItemDocLineShowWarningOnBeforeShowWarning(InvtDocLine: Record "Invt. Document Line"; var ContextInfo: Dictionary of [Text, Text]; var OldItemNetChange: Decimal; var IsWarning: Boolean; var IsHandled: Boolean) (integration)
  • OnJobPlanningLineShowWarningOnBeforeShowWarning(JobPlanningLine: Record "Job Planning Line"; var ContextInfo: Dictionary of [Text, Text]; OldJobPlanningLine: Record "Job Planning Line"; var OldItemNetChange: Decimal; var IsWarning: Boolean; var IsHandled: Boolean) (integration)
  • OnSalesLineShowWarningOnBeforeShowWarning(SalesLine: Record "Sales Line"; var ContextInfo: Dictionary of [Text, Text]; OldSalesLine: Record "Sales Line"; var IsWarning: Boolean; var IsHandled: Boolean; var OldItemNetChange: Decimal) (integration)
  • OnTransferLineShowWarningOnBeforeShowWarning(TransLine: Record "Transfer Line"; var ContextInfo: Dictionary of [Text, Text]; OldTransLine: Record "Transfer Line"; var OldItemNetChange: Decimal; var IsWarning: Boolean; var IsHandled: Boolean) (integration)
  • OnCalculateOnBeforeCalcInitialQtyAvailable(Item: Record Item; var SchedRcpt: Decimal; var ReservedRcpt: Decimal; var GrossReq: Decimal; var ReservedReq: Decimal; OldItemNetResChange: Decimal; NewItemNetResChange: Decimal; ContextInfo: Dictionary of [Text, Text]; var InventoryQty: Decimal) + BC24 − BC24 (integration)
  • OnShowWarningOnAfterCalculate(ItemNo: Code[20]; InventoryQty: Decimal; ItemNetChange: Decimal; InitialQtyAvailable: Decimal; OldItemNetResChange: Decimal; var Result: Boolean; var IsHandled: Boolean) (integration)
  • OnAfterShowAndHandleAvailabilityPage(ItemNo2: Code[20]; UnitOfMeasureCode2: Code[10]; InventoryQty2: Decimal; GrossReq2: Decimal; ReservedReq2: Decimal; SchedRcpt2: Decimal; ReservedRcpt2: Decimal; CurrentQuantity2: Decimal; CurrentReservedQty2: Decimal; TotalQuantity2: Decimal; EarliestAvailDate2: Date; var Rollback: Boolean) (integration)
  • OnSalesLineShowWarningOnAfterFindingPrevSalesLineQtyWithinPeriod(SalesLine: Record "Sales Line"; OldSalesLine: Record "Sales Line"; var IsHandled: Boolean) (integration)
  • OnAsmOrderCalculateOnAfterFindingPrevAsmOrderCalculateWithinPeriod(AssemblyHeader: Record "Assembly Header"; OldAssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean) (integration)
  • OnJobPlanningLineShowWarningOnAfterFindingPrevJobPlanningLineQtyWithinPeriod(JobPlanningLine: Record "Job Planning Line"; OldJobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean) (integration)
  • OnSalesLineCheckOnAfterSalesLineShowWarning(var SalesLine: Record "Sales Line"; var Rollback: Boolean) + BC24 (integration)
  • OnAsmOrderLineShowWarningOnAfterFindPreviousAssemblyOrderLineWithinPeriod(AssemblyLine: Record "Assembly Line"; OldAssemblyLine: Record "Assembly Line"; var ShouldCheckQty: Boolean; var OldItemNetChange: Decimal; var OldItemNetResChange: Decimal) + BC24 (integration)

Event subscriptions

  • OnInitializingNotificationWithDefaultState subscribes to Page “My Notifications” OnInitializingNotificationWithDefaultState

Procedures

  • ItemJnlCheckLine(ItemJnlLine: Record "Item Journal Line"): Boolean
  • SalesLineCheck(SalesLine: Record "Sales Line"): Boolean
  • TransferLineCheck(TransLine: Record "Transfer Line"): Boolean
  • JobPlanningLineCheck(JobPlanningLine: Record "Job Planning Line"): Boolean
  • AssemblyLineCheck(AssemblyLine: Record "Assembly Line"): Boolean
  • ShowAsmWarningYesNo(var AsmHeader: Record "Assembly Header"; var AsmLine: Record "Assembly Line"): Boolean
  • ItemJnlLineShowWarning(ItemJnlLine: Record "Item Journal Line"): Boolean
  • SalesLineShowWarning(SalesLine: Record "Sales Line"): Boolean
  • ShowWarning(ItemNoArg: Code[20]; ItemVariantCodeArg: Code[10]; ItemLocationCodeArg: Code[10]; UnitOfMeasureCodeArg: Code[10]; QtyPerUnitOfMeasureArg: Decimal; NewItemNetChangeArg: Decimal; OldItemNetChangeArg: Decimal; ShipmentDateArg: Date; OldShipmentDateArg: Date): Boolean
  • TransferLineShowWarning(TransLine: Record "Transfer Line"): Boolean
  • JobPlanningLineShowWarning(JobPlanningLine: Record "Job Planning Line"): Boolean
  • AsmOrderLineShowWarning(AssemblyLine: Record "Assembly Line"): Boolean
  • AsmOrderCalculate(AssemblyHeader: Record "Assembly Header"; var InventoryQty2: Decimal; var GrossReq2: Decimal; var ReservedReq2: Decimal; var SchedRcpt2: Decimal; var ReservedRcpt2: Decimal)
  • FetchCalculation(var ItemNo2: Code[20]; var UnitOfMeasureCode2: Code[10]; var InventoryQty2: Decimal; var GrossReq2: Decimal; var ReservedReq2: Decimal; var SchedRcpt2: Decimal; var ReservedRcpt2: Decimal; var CurrentQuantity2: Decimal; var CurrentReservedQty2: Decimal; var TotalQuantity2: Decimal; var EarliestAvailDate2: Date)
  • RaiseUpdateInterruptedError()
  • ShowAndHandleAvailabilityPage(RecordId: RecordID): Boolean
  • ShowNotificationDetails(AvailabilityCheckNotification: Notification)
  • ShowWarningForThisItem(ItemNo: Code[20]): Boolean
  • InvtDocCheckLine(InvtDocLine: Record "Invt. Document Line"): Boolean
  • ItemDocLineShowWarning(InvtDocLine: Record "Invt. Document Line"): Boolean
  • GetItemAvailabilityNotificationId(): Guid
  • DeactivateNotification(SetupNotification: Notification)
  • SetUseOrderPromise(NewUseOrderPromise: Boolean)

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

No source states these links: they share an object, a model read them, or a person found the same subject.

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

Evidence 1 sources