{"title":"Codeunit 7007 Price Asset List, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/7007-price-asset-list/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":7007,"name":"Price Asset List","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/7007-price-asset-list/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/7007-price-asset-list/source/","path":"src/Layers/W1/BaseApp/Pricing/Asset/PriceAssetList.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:7003":{"name":"Price Asset","url":"https://jonas-paprotka.de/ref/table/7003-price-asset/"},"codeunit:7007":{"name":"Price Asset List","url":"https://jonas-paprotka.de/ref/codeunit/7007-price-asset-list/"}},"procs":[{"name":"Init","line":15,"kind":"procedure","params":0,"steps":[[19,"write",7003,"DeleteAll"]]},{"name":"Add","line":56,"kind":"procedure","params":2,"steps":[[60,"ext","table",7003,"NewEntry",2],[61,"validate",7003,"Asset No."],[64,"call","AppendRelatedAssets",0],[65,"call","InsertAsset",0]]},{"name":"Add","line":68,"kind":"procedure","params":2,"steps":[[72,"ext","table",7003,"NewEntry",2],[73,"validate",7003,"Asset ID"],[74,"call","AppendRelatedAssets",0],[75,"call","InsertAsset",0]]},{"name":"Add","line":78,"kind":"procedure","params":1,"steps":[[80,"ext","table",7003,"NewEntry",2],[81,"call","AppendRelatedAssets",0],[82,"call","InsertAsset",0]]},{"name":"Add","line":85,"kind":"procedure","params":1,"steps":[[89,"call","AppendRelatedAssets",0],[90,"call","InsertAsset",0]]},{"name":"Add","line":93,"kind":"procedure","params":1,"steps":[[96,"ext","table",7003,"FillFromBuffer",1],[97,"call","AppendRelatedAssets",0],[98,"call","InsertAsset",0]]},{"name":"AppendRelatedAssets","line":101,"kind":"procedure","access":"local","params":0,"steps":[[105,"ext","table",7003,"PutRelatedAssetsToList",1],[106,"call","Append",1]]},{"name":"InsertAsset","line":109,"kind":"procedure","access":"local","params":0,"steps":[[111,"event","OnAddOnBeforeInsert",0],[112,"write",7003,"Insert",1]]},{"name":"GetValue","line":115,"kind":"procedure","params":1,"steps":[[127,"event","OnAfterGetValue",0]]},{"name":"Copy","line":130,"kind":"procedure","params":1,"steps":[[132,"call","Init",0],[133,"ext","codeunit",7007,"GetList",1]]},{"name":"Append","line":136,"kind":"procedure","params":1,"steps":[[144,"ext","codeunit",7007,"GetMinMaxLevel",1],[146,"ext","codeunit",7007,"First",2],[149,"write",7003,"Insert",1],[150,"ext","codeunit",7007,"Next",1]]},{"name":"First","line":160,"kind":"procedure","params":2,"steps":[[165,"call","GetRecordIfFound",2]]},{"name":"Next","line":168,"kind":"procedure","params":1,"steps":[[170,"call","GetRecordIfFound",2]]},{"name":"RemoveAtLevel","line":191,"kind":"procedure","params":2,"steps":[[197,"call","Remove",1]]},{"name":"Remove","line":200,"kind":"procedure","access":"local","params":1,"steps":[[207,"write",7003,"DeleteAll"]]}]}