Codeunit 99000811 Mfg. Delete Item Data

Base Application, Microsoft.Inventory.Costing

Source AL, 31 lines

src/Layers/W1/BaseApp/Manufacturing/Inventory/Costing/MfgDeleteItemData.Codeunit.allines 9 to 24 of 31, Copyright (c) Microsoft Corporation. MIT

codeunit 99000811 "Mfg. Delete Item Data"{    Permissions = tabledata "Production Order" = d,                  tabledata "Prod. Order Line" = d;    var        ProductionOrder: Record "Production Order";        ProdOrderLine: Record "Prod. Order Line";    [EventSubscriber(ObjectType::Report, Report::"Delete Item Data", 'OnAfterGetRecordOnAfterDeleteAll', '', true, false)]    local procedure OnAfterGetRecordOnAfterDeleteAll()    begin        ProductionOrder.DeleteAll();        ProdOrderLine.DeleteAll();    end;

All 31 lines