Codeunit 6455 Serv. Sales-Post

Base Application, Microsoft.Sales.Posting

Source AL, 179 lines

src/Layers/W1/BaseApp/Service/ServSalesPost.Codeunit.allines 13 to 28 of 179, Copyright (c) Microsoft Corporation. MIT

codeunit 6455 "Serv. Sales-Post"{    Permissions = TableData "Service Item" = rimd;    SingleInstance = true;    var        SalesSetup: Record "Sales & Receivables Setup";        TempServiceItem2: Record "Service Item" temporary;        TempServiceItemComp2: Record "Service Item Component" temporary;        ServItemManagement: Codeunit ServItemManagement;    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Sales-Post", 'OnRunOnBeforeCheckAndUpdate', '', true, false)]    local procedure OnRunOnBeforeCheckAndUpdate()    begin        TempServiceItem2.DeleteAll();        TempServiceItemComp2.DeleteAll();

All 179 lines

Events 1 in 29

[IntegrationEvent] OnBeforeCreateServItemOnSalesInvoice(SalesHeader: Record "Sales Header"; var IsHandled: Boolean)new in 25