Codeunit 20451 Qlty. Disp. Move Worksheet

Quality Management, Microsoft.QualityManagement.Dispositions.Move

Source AL, 298 lines

src/Apps/W1/Quality Management/app/src/Dispositions/Move/QltyDispMoveWorksheet.Codeunit.allines 18 to 33 of 298, Copyright (c) Microsoft Corporation. MIT

codeunit 20451 "Qlty. Disp. Move Worksheet" implements "Qlty. Disposition"{    EventSubscriberInstance = Manual;    var        TempCreatedWhseWorksheetLine: Record "Whse. Worksheet Line" temporary;        CreatedWarehouseActivityHeaderDocumentNo: Code[20];        WorksheetLineDescriptionTemplateLbl: Label 'Inspection [%3] changed bin from [%1] to [%2]', Comment = '%1 = From Bin code; %2 = To Bin code; %3 = the inspection';        UnableToChangeBinsBetweenLocationsBecauseDirectedPickAndPutErr: Label 'Unable to change location of the inventory from inspection %1 from location %2 to %3 because %2 is directed pick and put-away, you can only change bins with the same location.', Comment = '%1=the inspection, %2=from location, %3=to location';        MissingBinMoveBatchErr: Label 'There is missing setup on the Quality Management Setup Card defining the movement batches.';        OpenSetupActionLbl: Label 'Open Quality Management Setup';        RequestedInventoryMoveButUnableToFindSufficientDetailsErr: Label 'A worksheet movement for the inventory related to inspection %1 was requested, however insufficient inventory information is available to do this task.\\  Please verify that the inspection has sufficient details for the item, variant, lot, serial and package. \\ Make sure to define the quantity to move.', Comment = '%1=the inspection';        DocumentTypeWarehouseMovementLbl: Label 'Warehouse Movement';        NoWhseWkshErr: Label 'There is no Warehouse Worksheet for the specified template, worksheet name, and location. Ensure the correct worksheet is defined on the Quality Management Setup Card and the worksheet exists for location %1.', Comment = '%1=location';    /// <summary>

All 298 lines

Events 2 in 29

[IntegrationEvent] OnAfterCreateWarehouseWorksheetLine(QltyInspectionHeader: Record "Qlty. Inspection Header"; FromLocationCode: Code[10]; FromBinCode: Code[20]; ToBinCode: Code[20]; Quantity: Decimal; var WorksheetLineCreated: Boolean; var TempWarehouseEntry: Record "Warehouse Entry" temporary; var WkshWhseWorksheetLine: Record "Whse. Worksheet Line")new in 28
[IntegrationEvent] OnBeforeSetWhseWkshTrackingLines(QltyInspectionHeader: Record "Qlty. Inspection Header"; FromLocationCode: Code[10]; FromBinCode: Code[20]; ToBinCode: Code[20]; Quantity: Decimal; var WorksheetLineCreated: Boolean; WkshWhseWorksheetLine: Record "Whse. Worksheet Line"; var TempWarehouseEntry: Record "Warehouse Entry" temporary; var IsHandled: Boolean)new in 28

Public procedures 1 in 29

OpenQualityManagementSetup(ErrorInfo: ErrorInfo)new in 28

All 2 procedures in 28-29