Codeunit 20407 Qlty. Manufactur. Integration

Quality Management, Microsoft.QualityManagement.Integration.Manufacturing

Source AL, 658 lines

src/Apps/W1/Quality Management/app/src/Integration/Manufacturing/QltyManufacturIntegration.Codeunit.allines 21 to 36 of 658, Copyright (c) Microsoft Corporation. MIT

codeunit 20407 "Qlty. Manufactur. Integration"{    Permissions =        tabledata "Qlty. Management Setup" = r,        tabledata "Qlty. Inspection Gen. Rule" = r,        tabledata "Qlty. Inspection Header" = r;    var        QltyTraversal: Codeunit "Qlty. Traversal";    /// <summary>    /// We subscribe to OnAfterPostOutput to see if we need to create an inspection related to the output.    /// This will get called a minimum of 1 per output journal line, and 'n' times per item tracking line.    /// For example, if you have an item journal line that has 2 item tracking lines, this will get called twice, where the ItemLedgerEntry    /// will change on each subsequent call.    /// </summary>

All 658 lines

Events 6 in 29

[IntegrationEvent] OnBeforeProductionAttemptCreatePostAutomaticInspection(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ItemLedgerEntry: Record "Item Ledger Entry"; var ProdOrderLine: Record "Prod. Order Line"; var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean)new in 28
[IntegrationEvent] OnAfterProductionAttemptCreateAutomaticInspection(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ItemLedgerEntry: Record "Item Ledger Entry"; var ProdOrderLine: Record "Prod. Order Line"; var ItemJournalLine: Record "Item Journal Line")new in 28
[IntegrationEvent] OnBeforeProductionAttemptCreateReleaseAutomaticInspection(var ProductionOrder: Record "Production Order"; var IsHandled: Boolean)new in 28
[IntegrationEvent] OnAfterProductionAttemptCreateReleaseAutomaticInspection(var ProductionOrder: Record "Production Order"; CreatedAtLeastOneInspectionForRoutingLine: Boolean; CreatedAtLeastOneInspectionForOrderLine: Boolean; CreatedInspectionForProdOrder: Boolean; ListOfInspectionIds: List of [RecordId])new in 28
[IntegrationEvent] OnBeforeProductionHandleOnAfterPostOutput(var ItemLedgerEntry: Record "Item Ledger Entry"; var ProdOrderLine: Record "Prod. Order Line"; var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean)new in 28
[IntegrationEvent] OnBeforeProductionHandleOnAfterChangeStatusOnProdOrder(var FromProductionOrder: Record "Production Order"; var ToProductionOrder: Record "Production Order"; var IsHandled: Boolean)new in 28