Codeunit 99000862 Sales Line Invt. Profile

Base Application, Microsoft.Sales.Document

Source AL, 226 lines

src/Layers/W1/BaseApp/Sales/Document/SalesLineInvtProfile.Codeunit.allines 13 to 28 of 226, Copyright (c) Microsoft Corporation. MIT

codeunit 99000862 "Sales Line Invt. Profile"{    // Inventory Profile    /// <summary>    /// Transfers inventory profile data from a sales line for supply planning.    /// </summary>    /// <param name="InventoryProfile">The inventory profile record to populate.</param>    /// <param name="SalesLine">The sales line to transfer from.</param>    /// <param name="TrackingReservationEntry">The tracking reservation entry for bindings.</param>    procedure TransferInventoryProfileFromSalesLine(var InventoryProfile: Record "Inventory Profile"; var SalesLine: Record "Sales Line"; var TrackingReservationEntry: Record "Reservation Entry")    var        ReservationEntry: Record "Reservation Entry";        AutoReservedQty: Decimal;    begin        SalesLine.TestField(Type, SalesLine.Type::Item);

All 226 lines

Events 11 in 29

[IntegrationEvent] OnAfterTransferInventoryProfileFromSalesLine(var InventoryProfile: Record "Inventory Profile"; var SalesLine: Record "Sales Line")new in 25
[IntegrationEvent] OnBeforeTransSalesLineToProfile(var InventoryProfile: Record "Inventory Profile"; var Item: Record Item; var SalesLine: Record "Sales Line")new in 25
[IntegrationEvent] OnTransSalesLineToProfileOnBeforeProcessLine(SalesLine: Record "Sales Line"; var ShouldProcess: Boolean; var Item: Record Item)new in 25
[IntegrationEvent] OnAfterFindLinesWithItemToPlan(var SalesLine: Record "Sales Line"; var IsHandled: Boolean; var InventoryProfile: Record "Inventory Profile"; var Item: Record Item; var LineNo: Integer)new in 25
[IntegrationEvent] OnTransSalesLineToProfileOnBeforeTransferFromSalesLineOrder(var Item: Record Item; var SalesLine: Record "Sales Line")new in 25
[IntegrationEvent] OnTransSalesLineToProfileOnAfterTransferFromSalesLineOrder(var Item: Record Item; var SalesLine: Record "Sales Line"; var InventoryProfile: Record "Inventory Profile")new in 25
[IntegrationEvent] OnTransSalesLineToProfileOnAfterInsertInventoryProfileFromOrder(var Item: Record Item; var SalesLine: Record "Sales Line"; var InventoryProfile: Record "Inventory Profile")new in 25

All 11 events

Public procedures 1 in 29

TransferInventoryProfileFromSalesLine(var InventoryProfile: Record "Inventory Profile"; var SalesLine: Record "Sales Line"; var TrackingReservationEntry: Record "Reservation Entry")new in 25