{"title":"Table 1113 Cost Object, extension points 29","url":"https://jonas-paprotka.de/ref/table/1113-cost-object/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":1113,"name":"Cost Object","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/1113-cost-object/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/1113-cost-object/source/","path":"src/Layers/W1/BaseApp/CostAccounting/Account/CostObject.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:1100":{"name":"Cost Account Mgt","url":"https://jonas-paprotka.de/ref/codeunit/1100-cost-account-mgt/"},"table:1113":{"name":"Cost Object","url":"https://jonas-paprotka.de/ref/table/1113-cost-object/"},"codeunit:408":{"name":"DimensionManagement","url":"https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/"},"page:1123":{"name":"Chart of Cost Objects","url":"https://jonas-paprotka.de/ref/page/1123-chart-of-cost-objects/"}},"procs":[{"name":"Code.OnLookup","line":28,"kind":"trigger","steps":[[32,"ext","codeunit",1100,"LookupCostObjectFromDimValue",1]]},{"name":"Line Type.OnValidate","line":90,"kind":"trigger","steps":[[98,"call","ConfirmModifyIfEntriesExist",1]]},{"name":"Totaling.OnLookup","line":129,"kind":"trigger","steps":[[133,"call","LookupCostObjectFilter",1],[134,"validate",1113,"Totaling"]]},{"name":"OnDelete","line":165,"kind":"trigger","steps":[[168,"call","ConfirmDeleteIfEntriesExist",2]]},{"name":"EntriesExist","line":183,"kind":"procedure","access":"local","params":1,"steps":[[195,"ext","codeunit",408,"GetDimSetIDsForFilter",2],[196,"ext","codeunit",408,"GetDimSetFilter",0]]},{"name":"ConfirmDeleteIfEntriesExist","line":217,"kind":"procedure","params":2,"steps":[[219,"call","EntriesExist",1],[223,"write",1113,"DeleteAll"]]},{"name":"ConfirmModifyIfEntriesExist","line":226,"kind":"procedure","access":"local","params":1,"steps":[[232,"call","EntriesExist",1]]},{"name":"LookupCostObjectFilter","line":237,"kind":"procedure","params":1,"steps":[[243,"ext","page",1123,"GetSelectionFilter",0]]}]}