Codeunit 94 Blnkt Purch Ord. to Ord. (Y/N)

Base Application, Microsoft.Purchases.Document

Source AL, 62 lines

src/Layers/W1/BaseApp/Purchases/Document/BlnktPurchOrdtoOrdYN.Codeunit.allines 9 to 24 of 62, Copyright (c) Microsoft Corporation. MIT

codeunit 94 "Blnkt Purch Ord. to Ord. (Y/N)"{    TableNo = "Purchase Header";    trigger OnRun()    var        ConfirmManagement: Codeunit "Confirm Management";        SkipMessage: Boolean;    begin        if IsOnRunHandled(Rec) then            exit;        Rec.TestField("Document Type", Rec."Document Type"::"Blanket Order");        if not ConfirmManagement.GetResponseOrDefault(Text000, true) then            exit;

All 62 lines

Events 2 in 29

[IntegrationEvent] OnAfterCreatePurchOrder(var PurchaseHeader: Record "Purchase Header"; var SkipMessage: Boolean)17-29
[IntegrationEvent] OnBeforeRun(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)17-29