Codeunit 9066 Check Purchase Document Line

Base Application, Microsoft.Purchases.Document

Source AL, 81 lines

src/Layers/W1/BaseApp/Purchases/Document/CheckPurchaseDocumentLine.Codeunit.allines 10 to 25 of 81, Copyright (c) Microsoft Corporation. MIT

codeunit 9066 "Check Purchase Document Line"{    TableNo = "Purchase Line";    trigger OnRun()    begin        RunCheck(Rec);    end;    var        PurchaseHeader: Record "Purchase Header";#pragma warning disable AA0074#pragma warning disable AA0470        Text000: Label 'You cannot delete %1 %2 because there is at least one outstanding Purchase %3 that includes this item.';#pragma warning restore AA0470#pragma warning restore AA0074

All 81 lines

Events 2 in 29

[IntegrationEvent] OnBeforeCheckPurchaseLines(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text; var IsHandled: Boolean)new in 25
[IntegrationEvent] OnCheckPurchLineOnAfterPurchLineSetFilters(Item: Record Item; var PurchaseLine: Record "Purchase Line"; CurrFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text)new in 25

Public procedures 1 in 29

SetPurchaseHeader(NewPurchaseHeader: Record "Purchase Header")new in 20

All 2 procedures in 20-29

Changes 3 in 25

List17181920212223242526272829
Procedures1
Events2
internal CheckPurchaseLines(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text)new in 25
added
[IntegrationEvent] OnBeforeCheckPurchaseLines(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text; var IsHandled: Boolean)new in 25
added
[IntegrationEvent] OnCheckPurchLineOnAfterPurchLineSetFilters(Item: Record Item; var PurchaseLine: Record "Purchase Line"; CurrFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text)new in 25
added

All 3 changes in 20-29