Codeunit 20445 Qlty. Inventory Availability

Quality Management, Microsoft.QualityManagement.Integration.Inventory

Source AL, 650 lines

src/Apps/W1/Quality Management/app/src/Integration/Inventory/QltyInventoryAvailability.Codeunit.allines 19 to 34 of 650, Copyright (c) Microsoft Corporation. MIT

codeunit 20445 "Qlty. Inventory Availability"{    var        ThereIsNoSourceItemErr: Label 'There is no item or insufficient tracking defined on the inspection %1. Unable to perform the inventory related transaction. Please update the inspection with the item details and then try again.', Locked = true;        SampleSizeZeroErr: Label 'Using the sample size for inspection %1 was requested, however the sample size for the inspection is zero. You can change this by using a different quantity instruction, or by navigating to the inspection and setting the sample size.', Comment = '%1=the inspection', Locked = true;        NoSamplesToMoveErr: Label 'No samples meet the condition specified.', Locked = true;        SerialQuantityGreaterThanOneErr: Label '%1 (%2) cannot be greater than 1 when New Serial No. is requested.', Comment = '%1=quantity behavior, %2=quantity';        ZeroQuantityErr: Label 'Unable to use the disposition %1 on the inspection %2 for the item %3 because the quantity is zero.', Comment = '%1=the inspection, %2=the inspection, %3=the item';        InsufficientInventoryToAllocateErr: Label 'Unable to move the entire requested quantity for inspection %1 for item %2. There is not enough inventory available in eligible bins (short by %3). Put the remaining inventory away or reduce the quantity, and then try again.', Comment = '%1=the inspection, %2=the item, %3=the missing quantity';        SupplyFromLocationCodeNameLbl: Label 'Supply-from Location Code', Locked = true;        FromLocationCodeNameLbl: Label 'From Location Code', Locked = true;        LocationCodeNameLbl: Label 'Location Code', Locked = true;        FromProductionBinCodeNameLbl: Label 'From-Production Bin Code', Locked = true;        FromBinCodeNameLbl: Label 'From Bin Code', Locked = true;        TransferFromBinCodeNameLbl: Label 'Transfer-From Bin Code', Locked = true;        BinCodeNameLbl: Label 'Bin Code', Locked = true;

All 650 lines

Events 2 in 29

[IntegrationEvent] OnBeforePopulateBinContentBuffer(var QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; var TempQuantityQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; var TempExistingInventoryBinContent: Record "Bin Content" temporary; var IsHandled: Boolean)new in 28
[IntegrationEvent] OnAfterPopulateBinContentBuffer(var QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; var TempQuantityQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; var TempExistingInventoryBinContent: Record "Bin Content" temporary)new in 28