Codeunit 311 Item-Check Avail.

Base Application, Microsoft.Inventory.Availability

Source AL, 922 lines

src/Layers/W1/BaseApp/Inventory/Availability/ItemCheckAvail.Codeunit.allines 19 to 34 of 922, Copyright (c) Microsoft Corporation. MIT

codeunit 311 "Item-Check Avail."{    Permissions = TableData "My Notifications" = rimd;    trigger OnRun()    begin    end;    var        AvailableToPromise: Codeunit "Available to Promise";        NotificationLifecycleMgt: Codeunit "Notification Lifecycle Mgt.";        UOMMgt: Codeunit "Unit of Measure Management";        AssemblyLineDueDateGlobal: Date;        ItemNo: Code[20];        UnitOfMeasureCode: Code[10];        ItemLocationCode: Code[10];

All 922 lines

Events 28 in 29

[IntegrationEvent] OnAfterCalculate(var Item: Record Item; var InitialQtyAvailable: Decimal; OldItemNetChange: Decimal; QtyPerUnitOfMeasure: Decimal; var ContextInfo: Dictionary of [Text, Text])17-29
[IntegrationEvent] OnAfterItemJnlLineShowWarning(var ItemJournalLine: Record "Item Journal Line"; var ItemNetChange: Decimal; var IsHandled: Boolean)17-29
[IntegrationEvent] 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)17-29
[IntegrationEvent] 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)17-29
[IntegrationEvent] OnBeforeSalesLineCheck(SalesLine: Record "Sales Line"; var Rollback: Boolean; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeSalesLineShowWarning(SalesLine: Record "Sales Line"; var IsWarning: Boolean; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeShowWarningForThisItem(Item: Record Item; var ShowWarning: Boolean; var IsHandled: Boolean)17-29

All 36 events in 17-29

Public procedures 23 in 29

ItemJnlCheckLine(ItemJnlLine: Record "Item Journal Line"): Boolean17-29
SalesLineCheck(SalesLine: Record "Sales Line"): Boolean17-29
TransferLineCheck(TransLine: Record "Transfer Line"): Boolean17-29
JobPlanningLineCheck(JobPlanningLine: Record "Job Planning Line"): Boolean17-29
AssemblyLineCheck(AssemblyLine: Record "Assembly Line"): Boolean17-29
ShowAsmWarningYesNo(var AsmHeader: Record "Assembly Header"; var AsmLine: Record "Assembly Line"): Boolean17-29

All 28 procedures in 17-29

Changes 9 in 28

List17181920212223242526272829
Procedures3155
Events56627434
ServiceInvLineCheck(ServInvLine: Record "Service Line"): Booleangone after 27
gone
ServiceInvLineShowWarning(ServLine: Record "Service Line"): Booleangone after 27
gone
internal RunOnBeforeServiceInvLineCheck(ServInvLine: Record "Service Line"; var Rollback: Boolean; var IsHandled: Boolean)25 to 27
gone
internal RunOnServiceInvLineShowWarningOnBeforeShowWarning(ServLine: Record "Service Line"; var ContextInfo: Dictionary of [Text, Text]; OldServLine: Record "Service Line"; var OldItemNetChange: Decimal; var IsWarning: Boolean; var IsHandled: Boolean)25 to 27
gone
internal RunOnServiceInvLineShowWarningOnAfterFindingPrevServiceLineQtyWithinPeriod(ServiceLine: Record "Service Line"; OldServiceLine: Record "Service Line"; var IsHandled: Boolean)25 to 27
gone
[IntegrationEvent] OnServiceInvLineShowWarningOnBeforeShowWarning(ServLine: Record "Service Line"; var ContextInfo: Dictionary of [Text, Text]; OldServLine: Record "Service Line"; var OldItemNetChange: Decimal; var IsWarning: Boolean; var IsHandled: Boolean)19 to 27
gone

All 51 changes in 17-29