{"title":"Codeunit 20445 Qlty. Inventory Availability, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/20445-qlty-inventory-availability/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-30","object":{"type":"codeunit","id":20445,"name":"Qlty. Inventory Availability","app":"Quality Management","url":"https://jonas-paprotka.de/ref/codeunit/20445-qlty-inventory-availability/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/20445-qlty-inventory-availability/source/","path":"src/Apps/W1/Quality Management/app/src/Integration/Inventory/QltyInventoryAvailability.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:7302":{"name":"Bin Content","url":"https://jonas-paprotka.de/ref/table/7302-bin-content/"},"codeunit:20439":{"name":"Qlty. Item Tracking Mgmt.","url":"https://jonas-paprotka.de/ref/codeunit/20439-qlty-item-tracking-mgmt/"},"table:20405":{"name":"Qlty. Inspection Header","url":"https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/"},"table:20424":{"name":"Qlty. Disposition Buffer","url":"https://jonas-paprotka.de/ref/table/20424-qlty-disposition-buffer/"}},"procs":[{"name":"GetCurrentLocationOfTrackedInventory","line":50,"kind":"procedure","access":"internal","params":2,"steps":[[55,"call","InspectionHasSufficientItemDetails",5],[59,"write",7302,"DeleteAll"],[61,"call","ProcessBinMandatoryLocations",2],[63,"call","ProcessNonBinMandatoryLocations",2]]},{"name":"ProcessBinMandatoryLocations","line":75,"kind":"procedure","access":"local","params":2,"steps":[[95,"write",7302,"Insert"]]},{"name":"ProcessNonBinMandatoryLocations","line":105,"kind":"procedure","access":"local","params":2,"steps":[[134,"write",7302,"Insert"]]},{"name":"GetFromDetailsFromInspectionSource","line":146,"kind":"procedure","access":"internal","params":2,"steps":[[180,"call","GetFromLocationAndBinBasedOnNamingConventions",4],[182,"call","ResolveBinsFromBinContent",3],[192,"write",7302,"Insert"],[203,"write",7302,"Insert"]]},{"name":"ResolveBinsFromBinContent","line":214,"kind":"procedure","access":"local","params":3,"steps":[[242,"call","IsReceiveBin",2],[248,"write",7302,"Insert"]]},{"name":"GetFromLocationAndBinBasedOnNamingConventions","line":263,"kind":"procedure","access":"local","params":4,"steps":[[276,"ext","codeunit",20439,"GetItemTrackingCode",2]]},{"name":"InspectionHasSufficientItemDetails","line":407,"kind":"procedure","access":"local","params":5,"steps":[[415,"ext","table",20405,"GetFriendlyIdentifier",0]]},{"name":"GetQuantityToHandleFromInspection","line":430,"kind":"procedure","access":"local","params":4,"steps":[[449,"call","GetPassOrFailSamplesCount",2]]},{"name":"PopulateQuantityBuffer","line":480,"kind":"procedure","access":"internal","params":3,"steps":[[494,"write",20424,"DeleteAll"],[496,"event","OnBeforePopulateBinContentBuffer",1],[501,"call","GetCurrentLocationOfTrackedInventory",2],[503,"call","GetFromDetailsFromInspectionSource",2],[517,"write",7302,"Insert"],[528,"call","GetQuantityToHandleFromInspection",4],[540,"call","CheckIfShouldSkipBinContent",5],[559,"call","GetQuantityToHandleFromInspection",4],[582,"write",20424,"Insert"],[590,"event","OnAfterPopulateBinContentBuffer",0]]},{"name":"ErrorIfFromBinIsReceiveBin","line":599,"kind":"procedure","access":"internal","params":3,"steps":[[601,"call","IsReceiveBin",2],[602,"ext","table",20405,"GetFriendlyIdentifier",0]]}]}