{"title":"Codeunit 7027 Std. Item Jnl. Line - Price, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/7027-std-item-jnl-line-price/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":7027,"name":"Std. Item Jnl. Line - Price","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/7027-std-item-jnl-line-price/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/7027-std-item-jnl-line-price/source/","path":"src/Layers/W1/BaseApp/Inventory/Journal/StdItemJnlLinePrice.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:7011":{"name":"Price Source List","url":"https://jonas-paprotka.de/ref/codeunit/7011-price-source-list/"},"codeunit:7008":{"name":"Price Calculation Buffer Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/7008-price-calculation-buffer-mgt/"},"table:7007":{"name":"Price Calculation Buffer","url":"https://jonas-paprotka.de/ref/table/7007-price-calculation-buffer/"},"table:7001":{"name":"Price List Line","url":"https://jonas-paprotka.de/ref/table/7001-price-list-line/"},"table:753":{"name":"Standard Item Journal Line","url":"https://jonas-paprotka.de/ref/table/753-standard-item-journal-line/"}},"procs":[{"name":"SetLine","line":29,"kind":"procedure","params":2,"steps":[[41,"call","AddSources",0]]},{"name":"SetSources","line":49,"kind":"procedure","params":1,"steps":[[51,"ext","codeunit",7011,"Copy",1]]},{"name":"IsPriceUpdateNeeded","line":70,"kind":"procedure","params":3,"steps":[[89,"event","OnAfterIsPriceUpdateNeeded",0]]},{"name":"SetAssetSourceForSetup","line":102,"kind":"procedure","params":1,"steps":[[107,"call","GetAssetType",0],[109,"ext","codeunit",7011,"GetSourceGroup",1]]},{"name":"SetAssetSource","line":112,"kind":"procedure","access":"local","params":1,"steps":[[115,"call","GetAssetType",0]]},{"name":"CopyToBuffer","line":125,"kind":"procedure","params":1,"steps":[[130,"call","SetAssetSource",1],[133,"call","FillBuffer",1],[134,"ext","codeunit",7008,"Set",2]]},{"name":"FillBuffer","line":138,"kind":"procedure","access":"local","params":1,"steps":[[147,"validate",7007,"Currency Code"],[157,"call","IsDiscountAllowed",0],[159,"event","OnAfterFillBuffer",0]]},{"name":"AddSources","line":162,"kind":"procedure","access":"local","params":0,"steps":[[166,"ext","codeunit",7011,"Init",0],[169,"ext","codeunit",7011,"Add",1],[171,"ext","codeunit",7011,"Add",1]]},{"name":"SetPrice","line":175,"kind":"procedure","params":2,"steps":[[180,"event","OnBeforeSetPrice",1],[189,"ext","table",7001,"IsRealLine",0],[196,"event","OnAfterSetPrice",0]]},{"name":"ValidatePrice","line":199,"kind":"procedure","params":1,"steps":[[202,"validate",753,"Unit Amount"]]}]}