{"title":"Codeunit 20446 Qlty. Disp. Neg. Adjust Inv., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/20446-qlty-disp-neg-adjust-inv/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":20446,"name":"Qlty. Disp. Neg. Adjust Inv.","app":"Quality Management","url":"https://jonas-paprotka.de/ref/codeunit/20446-qlty-disp-neg-adjust-inv/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/20446-qlty-disp-neg-adjust-inv/source/","path":"src/Apps/W1/Quality Management/app/src/Dispositions/InventoryAdjustment/QltyDispNegAdjustInv.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:20405":{"name":"Qlty. Inspection Header","url":"https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/"},"codeunit:20445":{"name":"Qlty. Inventory Availability","url":"https://jonas-paprotka.de/ref/codeunit/20445-qlty-inventory-availability/"},"codeunit:20437":{"name":"Qlty. Notification Mgmt.","url":"https://jonas-paprotka.de/ref/codeunit/20437-qlty-notification-mgmt/"},"table:20424":{"name":"Qlty. Disposition Buffer","url":"https://jonas-paprotka.de/ref/table/20424-qlty-disposition-buffer/"},"table:20400":{"name":"Qlty. Management Setup","url":"https://jonas-paprotka.de/ref/table/20400-qlty-management-setup/"},"codeunit:7304":{"name":"Whse. Jnl.-Register Batch","url":"https://jonas-paprotka.de/ref/codeunit/7304-whse-jnl-register-batch/"},"codeunit:23":{"name":"Item Jnl.-Post Batch","url":"https://jonas-paprotka.de/ref/codeunit/23-item-jnl-post-batch/"},"codeunit:20454":{"name":"Qlty. Item Journal Management","url":"https://jonas-paprotka.de/ref/codeunit/20454-qlty-item-journal-management/"},"table:7311":{"name":"Warehouse Journal Line","url":"https://jonas-paprotka.de/ref/table/7311-warehouse-journal-line/"},"table:83":{"name":"Item Journal Line","url":"https://jonas-paprotka.de/ref/table/83-item-journal-line/"}},"procs":[{"name":"PerformDisposition","line":65,"kind":"procedure","access":"internal","params":2,"steps":[[86,"event","OnBeforeProcessDisposition",1],[91,"ext","table",20405,"IsItemTrackingUsed",0],[92,"ext","table",20405,"GetFriendlyIdentifier",0],[94,"ext","codeunit",20445,"PopulateQuantityBuffer",3],[102,"ext","codeunit",20437,"NotifyDocumentCreationFailed",3],[109,"ext","table",20424,"GetFromLocationCode",0],[113,"ext","table",20400,"GetWarehouseInventoryAdjustmentJournalTemplate",0],[114,"ext","table",20400,"GetWarehouseInventoryAdjustmentJournalTemplate",0],[117,"call","CreateNegativeWarehouseAdjustmentLine",5],[130,"run","codeunit",7304],[135,"ext","codeunit",20437,"NotifyNegativeAdjustmentOccurred",3],[141,"ext","table",20400,"GetInventoryAdjustmentJournalTemplate",0],[142,"ext","table",20400,"GetInventoryAdjustmentJournalTemplate",0],[144,"call","CreateNegativeItemAdjustmentLine",5],[152,"ext","codeunit",23,"SetSuppressCommit",1],[154,"run","codeunit",23],[159,"ext","codeunit",20437,"NotifyNegativeAdjustmentOccurred",3],[166,"ext","codeunit",20437,"NotifyDocumentCreationFailed",3],[168,"event","OnAfterProcessDisposition",0]]},{"name":"CreateNegativeWarehouseAdjustmentLine","line":179,"kind":"procedure","access":"local","params":5,"steps":[[188,"event","OnBeforeCreateNegativeWarehouseAdjustmentLine",1],[193,"ext","table",20400,"GetWarehouseInventoryAdjustmentJournalTemplate",0],[193,"ext","table",20424,"GetFromLocationCode",0],[198,"ext","codeunit",20454,"CreateWarehouseJournalLine",5],[200,"ext","table",20405,"GetFriendlyIdentifier",0],[201,"write",7311,"Modify"]]},{"name":"CreateNegativeItemAdjustmentLine","line":212,"kind":"procedure","access":"local","params":5,"steps":[[221,"event","OnBeforeCreateNegativeItemAdjustmentLine",1],[225,"ext","table",20400,"GetInventoryAdjustmentJournalTemplate",0],[232,"ext","codeunit",20454,"CreateItemJournalLine",5],[233,"ext","table",20405,"GetFriendlyIdentifier",0],[234,"write",83,"Modify"]]}]}