{"title":"Table 175 Standard Vendor Purchase Code, extension points 29","url":"https://jonas-paprotka.de/ref/table/175-standard-vendor-purchase-code/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":175,"name":"Standard Vendor Purchase Code","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/175-standard-vendor-purchase-code/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/175-standard-vendor-purchase-code/source/","path":"src/Layers/W1/BaseApp/Purchases/Document/StandardVendorPurchaseCode.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":{"page:178":{"name":"Standard Vendor Purchase Codes","url":"https://jonas-paprotka.de/ref/page/178-standard-vendor-purchase-codes/"},"table:4":{"name":"Currency","url":"https://jonas-paprotka.de/ref/table/4-currency/"},"table:39":{"name":"Purchase Line","url":"https://jonas-paprotka.de/ref/table/39-purchase-line/"},"table:174":{"name":"Standard Purchase Line","url":"https://jonas-paprotka.de/ref/table/174-standard-purchase-line/"},"codeunit:408":{"name":"DimensionManagement","url":"https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/"},"codeunit:378":{"name":"Transfer Extended Text","url":"https://jonas-paprotka.de/ref/codeunit/378-transfer-extended-text/"}},"procs":[{"name":"InsertPurchLines","line":112,"kind":"procedure","params":1,"steps":[[126,"event","OnInsertPurchLinesOnBeforeApplyStdVendPurchCodes",1],[131,"ext","page",178,"GetSelected",1],[134,"call","ApplyStdCodesToPurchaseLines",2]]},{"name":"ApplyStdCodesToPurchaseLines","line":140,"kind":"procedure","params":2,"steps":[[149,"ext","table",4,"Initialize",1],[166,"event","OnApplyStdCodesToPurchaseLinesOnBeforeStdPurchLineFind",0],[172,"ext","table",39,"SetPurchHeader",1],[174,"validate",39,"Type"],[177,"event","OnApplyStdCodesToPurchaseLinesOnLoopStdPurchLine",1],[180,"validate",39,"No."],[184,"ext","table",174,"EmptyLine",0],[186,"validate",39,"No."],[188,"validate",39,"Variant Code"],[189,"validate",39,"Quantity"],[191,"validate",39,"Unit of Measure Code"],[193,"validate",39,"Description"],[197,"validate",39,"Direct Unit Cost"],[206,"call","CombineDimensions",2],[207,"event","OnBeforeApplyStdCodesToPurchaseLines",0],[208,"ext","table",174,"InsertLine",0],[209,"call","GetNextLineNo",1],[210,"write",39,"Insert",1],[211,"event","OnApplyStdCodesToPurchaseLinesOnAfterPurchLineInsert",0],[212,"call","InsertExtendedText",2],[216,"event","OnAfterApplyStdCodesToPurchaseLines",0]]},{"name":"CombineDimensions","line":219,"kind":"procedure","access":"local","params":2,"steps":[[228,"ext","codeunit",408,"GetCombinedDimensionSetID",3],[231,"event","OnAfterCombineDimensions",0]]},{"name":"InsertExtendedText","line":234,"kind":"procedure","params":1,"steps":[[240,"ext","codeunit",378,"PurchCheckIfAnyExtText",2],[241,"ext","codeunit",378,"InsertPurchExtText",1]]},{"name":"InsertExtendedText","line":244,"kind":"procedure","params":2,"steps":[[248,"ext","codeunit",378,"PurchCheckIfAnyExtText",3],[249,"ext","codeunit",378,"InsertPurchExtText",1]]},{"name":"SetFilterByAutomaticAndAlwaysAskCodes","line":262,"kind":"procedure","params":1,"steps":[[276,"event","OnAfterSetFilterByAutomaticAndAlwaysAskCodes",0]]}]}