Codeunit 20450 Qlty. Disp. Internal Move

Quality Management, Microsoft.QualityManagement.Dispositions.Move

Source AL, 187 lines

src/Apps/W1/Quality Management/app/src/Dispositions/Move/QltyDispInternalMove.Codeunit.allines 20 to 35 of 187, Copyright (c) Microsoft Corporation. MIT

codeunit 20450 "Qlty. Disp. Internal Move" implements "Qlty. Disposition"{    var        InternalMovementLineDescriptionTemplateLbl: Label 'Inspection [%3] changed bin from [%1] to [%2]', Comment = '%1 = From Bin Code; %2 = To Bin Code; %3 = the inspection';        DocumentTypeInternalMovementLbl: Label 'Internal Movement';        DocumentTypeWarehouseInventoryMovementLbl: Label 'Inventory Movement';    /// <summary>    /// Creates internal movement lines and optionally converts them to an inventory movement.    /// </summary>    /// <param name="QltyInspectionHeader">The inspection that identifies the inventory to move.</param>    /// <param name="TempInstructionQltyDispositionBuffer">The disposition instructions containing source bins, destination bin, quantities, and posting behavior.</param>    /// <returns>True if at least one internal movement line was created; otherwise, false.</returns>    internal procedure PerformDisposition(var QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary) DidSomething: Boolean    var        QltyManagementSetup: Record "Qlty. Management Setup";

All 187 lines

Events 2 in 29

[IntegrationEvent] OnBeforeSetInternalMovementTrackingLines(QltyInspectionHeader: Record "Qlty. Inspection Header"; InternalMovementHeader: Record "Internal Movement Header"; var PrevInternalMovementLine: Record "Internal Movement Line"; var InternalMovementLine: Record "Internal Movement Line"; FromBinCode: Code[20]; var Quantity: Decimal; var TempWarehouseEntry: Record "Warehouse Entry" temporary; var IsHandled: Boolean)new in 28
[IntegrationEvent] OnAfterCreateInternalMovementLine(QltyInspectionHeader: Record "Qlty. Inspection Header"; InternalMovementHeader: Record "Internal Movement Header"; var InternalMovementLine: Record "Internal Movement Line"; FromBinCode: Code[20]; var Quantity: Decimal)new in 28