Codeunit 9069 Check Sales Document Line

Base Application, Microsoft.Sales.Document

Source AL, 79 lines

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

codeunit 9069 "Check Sales Document Line"{    TableNo = "Sales Line";    trigger OnRun()    begin        RunCheck(Rec);    end;    var        SalesHeader: Record "Sales Header";#pragma warning disable AA0470        CannotDeleteItemIfSalesDocExistErr: Label 'You cannot delete %1 %2 because there is at least one outstanding Sales %3 that includes this item.', Comment = '1: Type, 2 Item No. and 3 : Type of document Order,Invoice';#pragma warning restore AA0470    /// <summary>

All 79 lines

Events 1 in 29

[IntegrationEvent] OnBeforeCheckSalesLines(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text; var IsHandled: Boolean)new in 25

Public procedures 1 in 29

SetSalesHeader(NewSalesHeader: Record "Sales Header")new in 20

All 2 procedures in 20-29

Changes 2 in 25

List17181920212223242526272829
Procedures1
Events1
internal CheckSalesLines(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text)new in 25
added
[IntegrationEvent] OnBeforeCheckSalesLines(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text; var IsHandled: Boolean)new in 25
added

All 2 changes in 20-29