{"title":"Codeunit 99000864 Purchase Line Invt. Profile, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/99000864-purchase-line-invt-profile/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":99000864,"name":"Purchase Line Invt. Profile","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/99000864-purchase-line-invt-profile/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/99000864-purchase-line-invt-profile/source/","path":"src/Layers/W1/BaseApp/Purchases/Document/PurchaseLineInvtProfile.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:99000853":{"name":"Inventory Profile","url":"https://jonas-paprotka.de/ref/table/99000853-inventory-profile/"},"table:39":{"name":"Purchase Line","url":"https://jonas-paprotka.de/ref/table/39-purchase-line/"},"table:337":{"name":"Reservation Entry","url":"https://jonas-paprotka.de/ref/table/337-reservation-entry/"}},"procs":[{"name":"TransferInventoryProfileFromPurchaseLine","line":14,"kind":"procedure","params":3,"steps":[[20,"ext","table",99000853,"SetSource",6],[26,"ext","table",39,"SetReservationFilters",1],[27,"ext","table",99000853,"TransferBindings",2],[43,"ext","table",99000853,"ChangeSign",0],[52,"event","OnAfterTransferInventoryProfileFromPurchaseLine",0]]},{"name":"OnTransferToTrackingEntrySourceTypeElseCase","line":61,"kind":"procedure","access":"local","params":3,"steps":[[64,"ext","table",337,"SetSource",6]]},{"name":"OnAfterSupplyToInvProfile","line":85,"kind":"procedure","access":"local","params":5,"steps":[[87,"call","TransPurchaseLineToProfile",5]]},{"name":"TransPurchaseLineToProfile","line":90,"kind":"procedure","access":"local","params":5,"steps":[[94,"event","OnBeforeTransPurchLineToProfile",0],[95,"ext","table",39,"FindLinesWithItemToPlan",2],[97,"call","CheckInsertPurchLineToProfile",5],[100,"ext","table",39,"FindLinesWithItemToPlan",2],[102,"call","CheckInsertPurchLineToProfile",5]]},{"name":"CheckInsertPurchLineToProfile","line":106,"kind":"procedure","access":"local","params":5,"steps":[[111,"event","OnBeforeCheckInsertPurchLineToProfile",1],[116,"ext","table",39,"IsProdOrder",0],[117,"call","InsertPurchLineToProfile",5]]},{"name":"InsertPurchLineToProfile","line":120,"kind":"procedure","access":"local","params":5,"steps":[[125,"call","TransferInventoryProfileFromPurchaseLine",3],[128,"ext","table",99000853,"InsertSupplyInvtProfile",1]]}]}