{"title":"Table 5640 Main Asset Component, extension points 29","url":"https://jonas-paprotka.de/ref/table/5640-main-asset-component/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":5640,"name":"Main Asset Component","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/5640-main-asset-component/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/5640-main-asset-component/source/","path":"src/Layers/W1/BaseApp/FixedAssets/FixedAsset/MainAssetComponent.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":{"codeunit:5616":{"name":"Depreciation Calculation","url":"https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/"},"table:5600":{"name":"Fixed Asset","url":"https://jonas-paprotka.de/ref/table/5600-fixed-asset/"},"table:5612":{"name":"FA Depreciation Book","url":"https://jonas-paprotka.de/ref/table/5612-fa-depreciation-book/"}},"procs":[{"name":"FA No..OnValidate","line":31,"kind":"trigger","steps":[[36,"event","OnBeforeValidateFANo",1],[42,"call","LockFixedAsset",0],[45,"call","CreateError",2],[49,"call","CreateError",2],[54,"call","CreateError",2],[57,"call","CreateError",2],[58,"call","UpdateMainAsset",2],[64,"ext","codeunit",5616,"FAName",2]]},{"name":"OnDelete","line":90,"kind":"trigger","steps":[[95,"event","OnBeforeOnDelete",1],[99,"call","LockFixedAsset",0],[102,"call","UpdateMainAsset",2]]},{"name":"UpdateMainAsset","line":133,"kind":"procedure","access":"local","params":2,"steps":[[145,"write",5600,"Modify",1],[146,"call","UpdateFADeprBooks",1],[157,"write",5600,"Modify",1],[158,"call","UpdateFADeprBooks",1],[163,"write",5600,"Modify",1],[164,"call","UpdateFADeprBooks",1]]},{"name":"UpdateFADeprBooks","line":168,"kind":"procedure","access":"local","params":1,"steps":[[176,"write",5612,"Modify",1]]},{"name":"CreateError","line":180,"kind":"procedure","access":"local","params":2,"steps":[[185,"ext","codeunit",5616,"FAName",2]]}]}