Codeunit 99000854 Inventory Profile Offsetting

Base Application, Microsoft.Inventory.Tracking

Source AL, 6,143 lines

src/Layers/W1/BaseApp/Inventory/Tracking/InventoryProfileOffsetting.Codeunit.allines 26 to 41 of 6,143, Copyright (c) Microsoft Corporation. MIT

codeunit 99000854 "Inventory Profile Offsetting"{    Permissions = TableData "Reservation Entry" = id;    trigger OnRun()    begin    end;    var        ReqLine: Record "Requisition Line";        InventorySetup: Record "Inventory Setup";        TempSKU: Record "Stockkeeping Unit" temporary;        TempTransferSKU: Record "Stockkeeping Unit" temporary;        ReservEntry: Record "Reservation Entry";        TempTrkgReservEntry: Record "Reservation Entry" temporary;        TempItemTrkgEntry: Record "Reservation Entry" temporary;

All 6,143 lines

Events 215 in 29

[IntegrationEvent] OnAdjustPlanLineAfterValidateQuantity(var ReqLine: Record "Requisition Line"; var SupplyInventoryProfile: Record "Inventory Profile")17-29
[IntegrationEvent] OnAfterCalculatePlanFromWorksheet(var Item: Record Item)17-29
[IntegrationEvent] OnAfterForecastInitDemand(var InventoryProfile: Record "Inventory Profile"; ProductionForecastEntry: Record "Production Forecast Entry"; ItemNo: Code[20]; LocationCode: Code[10]; TotalForecastQty: Decimal)17-29
[IntegrationEvent] OnAfterGetRoutingFromProdOrder(var RequisitionLine: Record "Requisition Line")17-29
Pending, tag 27.0, obsolete since 27: Moved to codeunit MfgInvtProfileOffsetting
[IntegrationEvent] OnAfterInitSupply(var InventoryProfile: Record "Inventory Profile"; var StockkeepingUnit: Record "Stockkeeping Unit"; Item: Record Item)17-29
[IntegrationEvent] OnAfterTransToChildInvProfile(var ReservEntry: Record "Reservation Entry"; var ChildInvtProfile: Record "Inventory Profile")17-29
[IntegrationEvent] OnBeforeSupplyToInvProfile(var InventoryProfile: Record "Inventory Profile"; var Item: Record Item; var ToDate: Date; var ReservEntry: Record "Reservation Entry"; var NextLineNo: Integer)17-29

All 280 events in 17-29

Public procedures 34 in 29

CalculatePlanFromWorksheet(var Item: Record Item; ManufacturingSetup2: Record "Manufacturing Setup"; TemplateName: Code[10]; WorksheetName: Code[10]; OrderDate: Date; ToDate: Date; MRPPlanning: Boolean; RespectPlanningParm: Boolean)17-29
Pending, tag 27.0, obsolete since 27: Replaced by same procedure without parameter Manufacturing Setup
CheckForecastExist(var ForecastEntry: Record "Production Forecast Entry"; OrderDate: Date; ToDate: Date): Boolean17-29
FindReplishmentLocation(var ReplenishmentLocation: Code[10]; var Item: Record Item): Boolean17-29
AdjustReorderQty(OrderQty: Decimal; SKU: Record "Stockkeeping Unit"; SupplyLineNo: Integer; MinQty: Decimal): Decimal17-29
GetRouting(var ReqLine2: Record "Requisition Line")17-29changed in 27
GetComponents(var ReqLine2: Record "Requisition Line")17-29changed in 27

All 60 procedures in 17-29

Changes 1 in 29

List17181920212223242526272829
Procedures12122011322
Events242951152784312543211
[IntegrationEvent] OnMaintainPlanningLineOnBeforeCreateDemandInvtProfileForTransfer(var RequisitionLine: Record "Requisition Line"; var SupplyInventoryProfile: Record "Inventory Profile"; var TempTrackingReservationEntry: Record "Reservation Entry" temporary; var InventoryProfileLineNo: Integer; var IsHandled: Boolean)new in 29
added

All 350 changes in 17-29