Codeunit 20438 Qlty. Warehouse Integration

Quality Management, Microsoft.QualityManagement.Integration.Warehouse

Source AL, 235 lines

src/Apps/W1/Quality Management/app/src/Integration/Warehouse/QltyWarehouseIntegration.Codeunit.allines 18 to 33 of 235, Copyright (c) Microsoft Corporation. MIT

codeunit 20438 "Qlty. Warehouse Integration"{    Permissions =        tabledata "Qlty. Management Setup" = r,        tabledata "Qlty. Inspection Gen. Rule" = r,        tabledata "Qlty. Inspection Header" = r;    /// <summary>    /// Creates inspections for positive warehouse movement entries when an active automatic generation rule applies.    /// </summary>    /// <param name="WarehouseEntry">The registered warehouse entry.</param>    /// <param name="WarehouseJournalLine">The warehouse journal line that produced the entry.</param>    [InherentPermissions(PermissionObjectType::TableData, Database::"Qlty. Management Setup", 'R', InherentPermissionsScope::Permissions)]    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Whse. Jnl.-Register Line", 'OnAfterInsertWhseEntry', '', true, true)]    local procedure HandleOnAfterInsertWhseEntry(var WarehouseEntry: Record "Warehouse Entry"; var WarehouseJournalLine: Record "Warehouse Journal Line")    var

All 235 lines

Events 3 in 29

[IntegrationEvent] OnBeforeWarehouseAttemptCreateInspectionWithWhseJournalLine(var WarehouseEntry: Record "Warehouse Entry"; var WarehouseJournalLine: Record "Warehouse Journal Line"; var IsHandled: Boolean)new in 28
[IntegrationEvent] OnAfterWarehouseAttemptCreateInspectionWithWhseJournalLine(var HasInspection: Boolean; var QltyInspectionHeader: Record "Qlty. Inspection Header"; var WarehouseEntry: Record "Warehouse Entry"; var WarehouseJournalLine: Record "Warehouse Journal Line"; OptionalSourceVariant: Variant)new in 28
[IntegrationEvent] OnBeforeGetOptionalSourceVariantForWarehouseJournalLine(var WarehouseJournalLine: Record "Warehouse Journal Line"; var OptionalSourceRecordVariant: Variant; var Result: Boolean; var IsHandled: Boolean)new in 28