{"title":"Codeunit 20439 Qlty. Item Tracking Mgmt., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/20439-qlty-item-tracking-mgmt/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":20439,"name":"Qlty. Item Tracking Mgmt.","app":"Quality Management","url":"https://jonas-paprotka.de/ref/codeunit/20439-qlty-item-tracking-mgmt/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/20439-qlty-item-tracking-mgmt/source/","path":"src/Apps/W1/Quality Management/app/src/Integration/Inventory/QltyItemTrackingMgmt.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":{"codeunit:99000830":{"name":"Create Reserv. Entry","url":"https://jonas-paprotka.de/ref/codeunit/99000830-create-reserv-entry/"},"table:83":{"name":"Item Journal Line","url":"https://jonas-paprotka.de/ref/table/83-item-journal-line/"},"table:337":{"name":"Reservation Entry","url":"https://jonas-paprotka.de/ref/table/337-reservation-entry/"},"table:20400":{"name":"Qlty. Management Setup","url":"https://jonas-paprotka.de/ref/table/20400-qlty-management-setup/"},"codeunit:6500":{"name":"Item Tracking Management","url":"https://jonas-paprotka.de/ref/codeunit/6500-item-tracking-management/"},"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/"},"table:6550":{"name":"Whse. Item Tracking Line","url":"https://jonas-paprotka.de/ref/table/6550-whse-item-tracking-line/"}},"procs":[{"name":"CreateItemJournalLineReservationEntry","line":39,"kind":"procedure","access":"internal","params":2,"steps":[[51,"event","OnBeforeCreateItemJournalLineReservationEntry",1],[65,"call","GetExpirationDate",6],[67,"ext","codeunit",99000830,"SetNewExpirationDate",1],[93,"ext","codeunit",99000830,"SetNewTrackingFromItemJnlLine",1],[96,"call","SetItemTrackingFlag",1],[101,"ext","codeunit",99000830,"SetInbound",1],[101,"ext","table",83,"IsInbound",0],[102,"ext","codeunit",99000830,"CreateReservEntryFor",10],[106,"ext","codeunit",99000830,"SignFactor",1],[115,"ext","codeunit",99000830,"CreateEntry",8],[117,"ext","codeunit",99000830,"GetLastEntry",1],[119,"call","CopyReservationEntryItemTracking",2],[121,"event","OnAfterCreateItemJournalLineReservationEntry",0]]},{"name":"CopyReservationEntryItemTracking","line":129,"kind":"procedure","access":"local","params":2,"steps":[[145,"write",337,"Modify"]]},{"name":"SetItemTrackingFlag","line":152,"kind":"procedure","access":"local","params":1,"steps":[[156,"ext","table",337,"GetItemTrackingEntryType",0]]},{"name":"HandleOnTemplateSelectionSetFilter","line":167,"kind":"procedure","access":"local","params":2,"steps":[[173,"ext","table",20400,"GetSetupRecord",0]]},{"name":"HandleOnTemplateSelectionOnAfterSetFilters","line":226,"kind":"procedure","access":"local","params":3,"steps":[[232,"ext","table",20400,"GetSetupRecord",0]]},{"name":"GetExpirationDate","line":304,"kind":"procedure","access":"local","params":6,"steps":[[317,"ext","codeunit",6500,"GetWhseExpirationDate",5]]},{"name":"GetIsWarehouseTracked","line":325,"kind":"procedure","access":"internal","params":1,"steps":[[329,"call","GetItemTrackingCode",2]]},{"name":"DeleteAndRecreatePurchaseReturnOrderLineTracking","line":363,"kind":"procedure","access":"internal","params":3,"steps":[[372,"ext","table",20405,"IsItemTrackingUsed",1],[396,"write",337,"DeleteAll"],[397,"call","CreatePurchaseReturnReservationEntries",6]]},{"name":"CreateOutboundTransferLineReservationEntries","line":406,"kind":"procedure","access":"internal","params":3,"steps":[[436,"call","GetExpirationDate",6],[444,"ext","codeunit",99000830,"SetNewExpirationDate",1],[456,"call","SetItemTrackingFlag",1],[458,"ext","codeunit",99000830,"SetDates",2],[460,"ext","codeunit",99000830,"CreateReservEntryFor",10],[464,"ext","codeunit",99000830,"SignFactor",1],[473,"ext","codeunit",99000830,"CreateEntry",8],[476,"ext","codeunit",99000830,"GetLastEntry",1],[478,"call","CopyReservationEntryItemTracking",2]]},{"name":"CreatePurchaseReturnReservationEntries","line":490,"kind":"procedure","access":"internal","params":6,"steps":[[500,"event","OnBeforeCreatePurchaseReturnReservationEntries",1],[534,"write",337,"DeleteAll"],[555,"ext","codeunit",99000830,"CreateReservEntryFor",10],[558,"ext","codeunit",99000830,"SetDates",2],[560,"ext","codeunit",99000830,"CreateEntry",8]]},{"name":"CreateWarehouseJournalLineReservationEntry","line":570,"kind":"procedure","access":"internal","params":4,"steps":[[577,"event","OnBeforeCreateWarehouseJournalLineReservationEntry",1],[583,"call","GetExpirationDate",2],[583,"ext","table",20424,"GetFromLocationCode",0],[591,"call","GetIsWarehouseTracked",1],[598,"ext","table",6550,"GetLastEntryNo",0],[601,"validate",6550,"Location Code"],[602,"validate",6550,"Source Type"],[603,"validate",6550,"Source ID"],[604,"validate",6550,"Source Batch Name"],[605,"validate",6550,"Source Ref. No."],[606,"validate",6550,"Item No."],[607,"validate",6550,"Variant Code"],[608,"validate",6550,"Lot No."],[609,"validate",6550,"Serial No."],[610,"validate",6550,"Package No."],[612,"validate",6550,"Expiration Date"],[614,"validate",6550,"Quantity (Base)"],[615,"validate",6550,"Qty. to Handle (Base)"],[619,"validate",6550,"New Lot No."],[621,"validate",6550,"New Serial No."],[623,"validate",6550,"New Package No."],[625,"validate",6550,"New Expiration Date"],[626,"write",6550,"Insert",1],[628,"event","OnAfterCreateWarehouseJournalLineReservationEntry",0]]}]}