Codeunit 20446 Qlty. Disp. Neg. Adjust Inv.

Quality Management, Microsoft.QualityManagement.Dispositions.InventoryAdjustment

Source AL, 288 lines

src/Apps/W1/Quality Management/app/src/Dispositions/InventoryAdjustment/QltyDispNegAdjustInv.Codeunit.allines 22 to 37 of 288, Copyright (c) Microsoft Corporation. MIT

codeunit 20446 "Qlty. Disp. Neg. Adjust Inv." implements "Qlty. Disposition"{    var        WarehouseJournalLineDescriptionTemplateLbl: Label 'Inspection [%1] negative adjusted quantity', Comment = '%1 = Quality Inspection';        MissingBatchErr: Label 'There is missing setup on the Quality Management Setup Card defining the adjustment batch.';        WriteOffEntireItemTrackingErr: Label 'Reducing inventory using the item tracked quantity for inspection %1 was requested, however the item associated with this inspection does not require tracking.', Comment = '%1=the inspection';        CannotGetJournalBatchErr: Label 'Could not get journal batch %1,%2%3. Check the adjustment batch on the Quality Management Setup page.', Comment = '%1=template,%2=batch name,%3=location';        LocationLbl: Label ' Location: %1', Comment = '%1=location';        DocumentTypeLbl: Label 'Negative Adjustment';        NoAdjTemplateErr: Label 'No Adjustment Journal Template found. Ensure a valid adjustment template exists.';        DescriptionTxt: Label 'Inspection [%1] reduce inventory', Comment = '%1 = Quality Inspection';    /// <summary>    /// Creates a negative adjustment using the information from a given Quality Inspection.    /// </summary>    /// <param name="QltyInspectionHeader">The inspection that identifies the inventory to adjust.</param>

All 288 lines

Events 4 in 29

[IntegrationEvent] OnBeforeCreateNegativeItemAdjustmentLine(var QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempQuantityToActQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; var AdjustmentBatchName: Code[10]; var ItemJournalLine: Record "Item Journal Line"; var ReservationEntry: Record "Reservation Entry"; var IsHandled: Boolean)new in 28
[IntegrationEvent] OnBeforeCreateNegativeWarehouseAdjustmentLine(var QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempQuantityToActQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; var WarehouseNegativeAdjustmentBatch: Code[10]; var WarehouseJournalLine: Record "Warehouse Journal Line"; var WhseItemTrackingLine: Record "Whse. Item Tracking Line"; var IsHandled: Boolean)new in 28
[IntegrationEvent] OnBeforeProcessDisposition(var QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; var Changed: Boolean; var IsHandled: Boolean)new in 28
[IntegrationEvent] OnAfterProcessDisposition(var QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; var Changed: Boolean)new in 28