{"title":"Table 123 Purch. Inv. Line, extension points 29","url":"https://jonas-paprotka.de/ref/table/123-purch-inv-line/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":"table","id":123,"name":"Purch. Inv. Line","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/123-purch-inv-line/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/123-purch-inv-line/source/","path":"src/Layers/W1/BaseApp/Purchases/History/PurchInvLine.Table.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:43":{"name":"Purch. Comment Line","url":"https://jonas-paprotka.de/ref/table/43-purch-comment-line/"},"table:1704":{"name":"Posted Deferral Header","url":"https://jonas-paprotka.de/ref/table/1704-posted-deferral-header/"},"codeunit:5826":{"name":"Matched Order Line Mgmt.","url":"https://jonas-paprotka.de/ref/codeunit/5826-matched-order-line-mgmt/"},"codeunit:408":{"name":"DimensionManagement","url":"https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/"},"codeunit:6503":{"name":"Item Tracking Doc. Management","url":"https://jonas-paprotka.de/ref/codeunit/6503-item-tracking-doc-management/"},"table:290":{"name":"VAT Amount Line","url":"https://jonas-paprotka.de/ref/table/290-vat-amount-line/"},"codeunit:6500":{"name":"Item Tracking Management","url":"https://jonas-paprotka.de/ref/codeunit/6500-item-tracking-management/"},"table:121":{"name":"Purch. Rcpt. Line","url":"https://jonas-paprotka.de/ref/table/121-purch-rcpt-line/"},"codeunit:5402":{"name":"Unit of Measure Management","url":"https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/"},"table:32":{"name":"Item Ledger Entry","url":"https://jonas-paprotka.de/ref/table/32-item-ledger-entry/"},"codeunit:1720":{"name":"Deferral Utilities","url":"https://jonas-paprotka.de/ref/codeunit/1720-deferral-utilities/"},"table:39":{"name":"Purchase Line","url":"https://jonas-paprotka.de/ref/table/39-purchase-line/"},"codeunit:5700":{"name":"User Setup Management","url":"https://jonas-paprotka.de/ref/codeunit/5700-user-setup-management/"}},"procs":[{"name":"Dimension Set ID.OnLookup","line":461,"kind":"trigger","steps":[[463,"call","ShowDimensions",0]]},{"name":"OnDelete","line":814,"kind":"trigger","steps":[[824,"write",43,"DeleteAll"],[826,"ext","table",1704,"DeleteHeader",6],[830,"ext","codeunit",5826,"DeleteMatchedLinesFromPostedPurchaseInvoice",1]]},{"name":"ShowDimensions","line":849,"kind":"procedure","params":0,"steps":[[851,"ext","codeunit",408,"ShowDimensionSet",2]]},{"name":"ShowItemTrackingLines","line":854,"kind":"procedure","params":0,"steps":[[858,"ext","codeunit",6503,"ShowItemTrackingForInvoiceLine",1],[858,"call","RowID1",0]]},{"name":"CalcVATAmountLines","line":861,"kind":"procedure","params":2,"steps":[[863,"write",290,"DeleteAll"],[868,"ext","table",290,"CopyFromPurchInvLine",1],[869,"ext","table",290,"InsertLine",0]]},{"name":"GetCaptionClass","line":881,"kind":"procedure","params":1,"steps":[[888,"call","GetFieldCaption",1],[890,"call","GetFieldCaption",1]]},{"name":"RowID1","line":893,"kind":"procedure","params":0,"steps":[[897,"ext","codeunit",6500,"ComposeRowID",6]]},{"name":"GetPurchRcptLines","line":901,"kind":"procedure","params":1,"steps":[[907,"write",121,"DeleteAll"],[922,"write",121,"Insert"]]},{"name":"CalcReceivedPurchNotReturned","line":926,"kind":"procedure","params":3,"steps":[[939,"call","GetItemLedgEntries",2],[957,"call","CalcQty",1],[962,"event","OnAfterCalcReceivedPurchNotReturned",0]]},{"name":"CalcQty","line":965,"kind":"procedure","access":"local","params":1,"steps":[[970,"ext","codeunit",5402,"QtyRndPrecision",0],[971,"event","OnAfterCalcQty",0]]},{"name":"GetItemLedgEntries","line":974,"kind":"procedure","params":2,"steps":[[982,"write",32,"DeleteAll"],[988,"event","OnGetItemLedgEntryOnShouldExit",0],[993,"call","FilterPstdDocLineValueEntries",1],[1004,"event","OnGetItemLedgEntriesOnBeforeTempItemLedgEntryInsert",0],[1005,"write",32,"Insert"]]},{"name":"ShowItemReceiptLines","line":1018,"kind":"procedure","params":0,"steps":[[1023,"call","GetPurchRcptLines",1]]},{"name":"ShowLineComments","line":1028,"kind":"procedure","params":0,"steps":[[1032,"ext","table",43,"ShowComments",3]]},{"name":"ShowShortcutDimCode","line":1035,"kind":"procedure","params":1,"steps":[[1037,"ext","codeunit",408,"GetShortcutDimensions",2]]},{"name":"InitFromPurchLine","line":1040,"kind":"procedure","params":2,"steps":[[1044,"call","HasTypeToFillMandatoryFields",0],[1051,"event","OnAfterInitFromPurchLine",0]]},{"name":"ShowDeferrals","line":1054,"kind":"procedure","params":0,"steps":[[1059,"event","OnBeforeShowDeferrals",1],[1063,"ext","codeunit",1720,"OpenLineScheduleView",7],[1065,"call","GetDocumentType",0]]},{"name":"FormatType","line":1080,"kind":"procedure","params":0,"steps":[[1085,"ext","table",39,"FormatTypeAsText",0]]},{"name":"IsCancellationSupported","line":1090,"kind":"procedure","params":0,"steps":[[1093,"event","OnAfterIsCancellationSupported",0]]},{"name":"SetSecurityFilterOnRespCenter","line":1096,"kind":"procedure","params":0,"steps":[[1102,"event","OnBeforeSetSecurityFilterOnRespCenter",1],[1106,"ext","codeunit",5700,"GetPurchasesFilter",0],[1108,"ext","codeunit",5700,"GetPurchasesFilter",0]]},{"name":"GetVATPct","line":1113,"kind":"procedure","access":"internal","params":0,"steps":[[1116,"event","OnAfterGetVATPct",0]]},{"name":"IsProdOrder","line":1119,"kind":"procedure","params":0,"steps":[[1121,"event","OnIsProdOrder",0]]}]}