{"title":"Codeunit 7023 Job Journal Line - Price, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/7023-job-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":7023,"name":"Job Journal Line - Price","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/7023-job-journal-line-price/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/7023-job-journal-line-price/source/","path":"src/Layers/W1/BaseApp/Projects/Project/Journal/JobJournalLinePrice.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:330":{"name":"Currency Exchange Rate","url":"https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/"},"table:210":{"name":"Job Journal Line","url":"https://jonas-paprotka.de/ref/table/210-job-journal-line/"}},"procs":[{"name":"SetLine","line":32,"kind":"procedure","params":2,"steps":[[43,"call","AddSources",0]]},{"name":"SetSources","line":51,"kind":"procedure","params":1,"steps":[[53,"ext","codeunit",7011,"Copy",1]]},{"name":"IsPriceUpdateNeeded","line":72,"kind":"procedure","params":3,"steps":[[89,"event","OnAfterIsPriceUpdateNeeded",0]]},{"name":"SetAssetSourceForSetup","line":104,"kind":"procedure","params":1,"steps":[[114,"call","GetAssetType",0],[116,"ext","codeunit",7011,"GetSourceGroup",1]]},{"name":"SetAssetSource","line":119,"kind":"procedure","access":"local","params":1,"steps":[[122,"call","GetAssetType",0]]},{"name":"GetAssetType","line":127,"kind":"procedure","params":0,"steps":[[139,"event","OnAfterGetAssetType",0]]},{"name":"CopyToBuffer","line":142,"kind":"procedure","params":1,"steps":[[147,"call","SetAssetSource",1],[150,"call","FillBuffer",1],[151,"ext","codeunit",7008,"Set",2]]},{"name":"FillBuffer","line":155,"kind":"procedure","access":"local","params":1,"steps":[[184,"validate",7007,"Currency Code"],[194,"call","IsDiscountAllowed",0],[196,"event","OnAfterFillBuffer",0]]},{"name":"AddSources","line":199,"kind":"procedure","access":"local","params":0,"steps":[[207,"event","OnBeforeAddSources",1],[212,"ext","codeunit",7011,"Init",0],[216,"ext","codeunit",7011,"Add",1],[218,"ext","codeunit",7011,"Add",2],[219,"ext","codeunit",7011,"Add",2],[222,"ext","codeunit",7011,"Add",2],[223,"ext","codeunit",7011,"Add",2],[225,"ext","codeunit",7011,"Add",2],[226,"ext","codeunit",7011,"Add",2],[229,"ext","codeunit",7011,"Add",1],[231,"ext","codeunit",7011,"AddJobAsSources",2]]},{"name":"SetPrice","line":234,"kind":"procedure","params":2,"steps":[[240,"event","OnBeforeSetPrice",1],[252,"ext","table",7001,"IsRealLine",0],[266,"ext","table",330,"ExchangeAmtFCYToLCY",4],[279,"event","OnAfterSetPrice",0]]},{"name":"ValidatePrice","line":282,"kind":"procedure","params":1,"steps":[[285,"validate",210,"Line Discount %"],[289,"validate",210,"Unit Price"],[293,"validate",210,"Direct Unit Cost (LCY)"],[296,"validate",210,"Direct Unit Cost (LCY)"],[297,"validate",210,"Unit Cost (LCY)"],[300,"validate",210,"Unit Cost"]]}]}