{"title":"Codeunit 7028 Res. Journal Line - Price, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/7028-res-journal-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":7028,"name":"Res. Journal Line - Price","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/7028-res-journal-line-price/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/7028-res-journal-line-price/source/","path":"src/Layers/W1/BaseApp/Projects/Resources/Journal/ResJournalLinePrice.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:167":{"name":"Job","url":"https://jonas-paprotka.de/ref/table/167-job/"},"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:207":{"name":"Res. Journal Line","url":"https://jonas-paprotka.de/ref/table/207-res-journal-line/"}},"procs":[{"name":"SetLine","line":30,"kind":"procedure","params":2,"steps":[[38,"ext","table",167,"GetPriceCalculationMethod",0],[39,"ext","table",167,"GetCostCalculationMethod",0],[43,"call","AddSources",0]]},{"name":"SetSources","line":51,"kind":"procedure","params":1,"steps":[[53,"ext","codeunit",7011,"Copy",1]]},{"name":"SetAssetSourceForSetup","line":87,"kind":"procedure","params":1,"steps":[[97,"call","GetAssetType",0],[99,"ext","codeunit",7011,"GetSourceGroup",1]]},{"name":"SetAssetSource","line":102,"kind":"procedure","access":"local","params":1,"steps":[[105,"call","GetAssetType",0]]},{"name":"CopyToBuffer","line":115,"kind":"procedure","params":1,"steps":[[120,"call","SetAssetSource",1],[123,"call","FillBuffer",1],[124,"ext","codeunit",7008,"Set",2]]},{"name":"FillBuffer","line":128,"kind":"procedure","access":"local","params":1,"steps":[[148,"validate",7007,"Currency Code"],[158,"call","IsDiscountAllowed",0],[160,"event","OnAfterFillBuffer",0]]},{"name":"AddSources","line":163,"kind":"procedure","access":"local","params":0,"steps":[[167,"ext","codeunit",7011,"Init",0],[170,"ext","codeunit",7011,"Add",1],[172,"ext","codeunit",7011,"Add",1],[174,"ext","codeunit",7011,"AddJobAsSources",2]]},{"name":"SetPrice","line":177,"kind":"procedure","params":2,"steps":[[182,"event","OnBeforeSetPrice",1],[199,"event","OnAfterSetPrice",0]]},{"name":"ValidatePrice","line":202,"kind":"procedure","params":1,"steps":[[207,"validate",207,"Unit Price"],[209,"validate",207,"Unit Cost"]]}]}