Codeunit 20446 "Qlty. Disp. Neg. Adjust Inv."
Quality Management · Microsoft.QualityManagement.Dispositions.InventoryAdjustment
Across versions
- BC23-28not present
- BC29present
- BC30changed
Neighbourhood 3 connected objects and pages
Quality Management · Microsoft.QualityManagement.Dispositions.InventoryAdjustment · BC29-30 · source at 4e6a307c · facts from BC29
Events published
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)(integration): Occurs before a negative item adjustment line is created and can replace the default creation.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)(integration): Occurs before a negative warehouse adjustment line is created and can replace the default creation.OnBeforeProcessDisposition(var QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; var Changed: Boolean; var IsHandled: Boolean)(integration): Occurs before the disposition has taken place, allowing the opportunity to extend or replace the functionality.OnAfterProcessDisposition(var QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; var Changed: Boolean)(integration): Occurs after the disposition has taken place.
Procedures
PerformDisposition(var QltyInspectionHeader: Record "Qlty. Inspection Header"; OptionalSpecificQuantity: Decimal; QltyQuantityBehavior: Enum "Qlty. Quantity Behavior"; OptionalSourceLocationFilter: Text; OptionalSourceBinFilter: Text; PostingBehavior: Enum "Qlty. Item Adj. Post Behavior"; Reason: Code[10]): Boolean(internal): Creates a negative adjustment using the information from a given Quality Inspection.PerformDisposition(var QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary): Boolean(internal): Creates a negative adjustment using the information from a given Quality Inspection.
Plus 2 local procedures.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 20454 “Qlty. Item Journal Management” (2 calls:
CreateNegativeItemAdjustmentLine → CreateItemJournalLine,CreateNegativeWarehouseAdjustmentLine → CreateWarehouseJournalLine)
Called by
- Codeunit 20424 “Qlty. Workflow Response” (1 call:
HandleOnExecuteWorkflowResponse → PerformDisposition) - Page 20414 “Qlty. Inspections API” (1 call:
CreateNegativeAdjustment → PerformDisposition)
Implements
Recent changes
- 2026-08-20 #10270 [Quality Management] Repair and improve XML documentation of procedures (main, BC30, refactor)
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Process items that failed a quality inspection — possibly related: Codeunit creates negative adjustments for items failing quality inspection as part of disposition handling. (model-linked)
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Qlty. Disp. Neg. Adjust Inv."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.