{"title":"Codeunit 5876 Phys. Invt. Rec.-Finish, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5876-phys-invt-rec-finish/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":5876,"name":"Phys. Invt. Rec.-Finish","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5876-phys-invt-rec-finish/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5876-phys-invt-rec-finish/source/","path":"src/Layers/W1/BaseApp/Inventory/Counting/Recording/PhysInvtRecFinish.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:5878":{"name":"Phys. Invt. Record Line","url":"https://jonas-paprotka.de/ref/table/5878-phys-invt-record-line/"},"table:5875":{"name":"Phys. Invt. Order Header","url":"https://jonas-paprotka.de/ref/table/5875-phys-invt-order-header/"},"table:5876":{"name":"Phys. Invt. Order Line","url":"https://jonas-paprotka.de/ref/table/5876-phys-invt-order-line/"},"table:5877":{"name":"Phys. Invt. Record Header","url":"https://jonas-paprotka.de/ref/table/5877-phys-invt-record-header/"}},"procs":[{"name":"OnRun","line":15,"kind":"trigger","steps":[[20,"event","OnBeforeOnRun",1],[23,"call","Code",0],[26,"event","OnAfterOnRun",0]]},{"name":"Code","line":45,"kind":"procedure","params":0,"steps":[[49,"event","OnBeforeCode",0],[62,"event","OnCodeOnBeforeNoPhysInvtRecordLineError",1],[93,"ext","table",5878,"EmptyLine",0],[95,"event","OnCodeOnBeforeCheckPhysInvtRecordLine",1],[101,"call","CheckLocationDirectedPutAwayAndPick",0],[113,"event","OnBeforeGetSamePhysInvtOrderLine",1],[116,"ext","table",5875,"GetSamePhysInvtOrderLine",6],[128,"validate",5876,"Item No."],[129,"validate",5876,"Variant Code"],[130,"validate",5876,"Location Code"],[131,"validate",5876,"Bin Code"],[133,"event","OnBeforePhysInvtOrderLineInsert",0],[134,"ext","table",5876,"CreateDimFromDefaultDim",0],[135,"write",5876,"Insert",1],[141,"write",5878,"Modify"],[146,"event","OnBeforePhysInvtOrderLineModify",0],[147,"write",5876,"Modify"],[151,"event","OnCodeOnBeforeSetStatusToFinished",0],[153,"write",5877,"Modify"],[155,"event","OnAfterCode",0]]},{"name":"CheckLocationDirectedPutAwayAndPick","line":158,"kind":"procedure","access":"local","params":0,"steps":[[163,"event","OnBeforeCheckLocationDirectedPutAwayAndPick",1]]}]}