Codeunit 9132 Check Prod. Order Document
Source AL, 125 lines
src/Layers/W1/BaseApp/Manufacturing/Document/CheckProdOrderDocument.Codeunit.allines 10 to 25 of 125, Copyright (c) Microsoft Corporation. MIT
codeunit 9132 "Check Prod. Order Document"{ var CannotChangeItemWithOutstandingDocumentLinesErr: Label 'You cannot delete %1 %2 because there are one or more outstanding production orders that include this item.', Comment = '%1 - Item, %2 - Item No.'; CannotChangeItemWithProductionComponentsErr: Label 'You cannot delete %1 %2 because there are one or more production order component lines that include this item with a remaining quantity that is not 0.', Comment = '%1 - Item, %2 - Item No.'; CannotDeleteItemIfProdBOMVersionExistsErr: Label 'You cannot delete %1 %2 because there are one or more certified production BOM version that include this item.', Comment = '%1 - Tablecaption, %2 - No.'; CannotDeleteItemIfCertifiedProdBOMLineExistsErr: Label 'You cannot delete %1 %2 because there are one or more certified Production BOM that include this item.', Comment = '%1 - Tablecaption, %2 - No.'; [EventSubscriber(ObjectType::Table, Database::Item, 'OnAfterCheckDocuments', '', true, false)] local procedure ItemOnBeforeCheckDocuments(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text); begin CheckProdOrderLines(Item, CurrentFieldNo, CheckFieldNo, CheckFieldCaption); CheckProdOrderComponents(Item, CurrentFieldNo, CheckFieldNo, CheckFieldCaption); CheckProdBOMLines(Item, CurrentFieldNo, CheckFieldNo, CheckFieldCaption); end;Events 3 in 29
| [IntegrationEvent] On | new in 25 |
| [IntegrationEvent] On | new in 25 |
| [IntegrationEvent] On | new in 25 |