{"title":"Codeunit 5061 SegHistoryManagement, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5061-seghistorymanagement/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":5061,"name":"SegHistoryManagement","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5061-seghistorymanagement/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5061-seghistorymanagement/source/","path":"src/Layers/W1/BaseApp/CRM/Segment/SegHistoryManagement.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:5078":{"name":"Segment History","url":"https://jonas-paprotka.de/ref/table/5078-segment-history/"},"table:5077":{"name":"Segment Line","url":"https://jonas-paprotka.de/ref/table/5077-segment-line/"},"table:5097":{"name":"Segment Criteria Line","url":"https://jonas-paprotka.de/ref/table/5097-segment-criteria-line/"}},"procs":[{"name":"InsertLine","line":18,"kind":"procedure","params":3,"steps":[[20,"call","InitLine",3],[22,"write",5078,"Insert"]]},{"name":"DeleteLine","line":25,"kind":"procedure","params":3,"steps":[[27,"call","InitLine",3],[29,"write",5078,"Insert"]]},{"name":"InitLine","line":32,"kind":"procedure","access":"local","params":3,"steps":[[42,"event","OnAfterInitLine",0]]},{"name":"GoBack","line":45,"kind":"procedure","params":1,"steps":[[73,"write",5077,"DeleteAll",1],[80,"validate",5077,"Contact No."],[81,"write",5077,"Insert",1],[86,"write",5078,"DeleteAll"],[92,"write",5097,"Delete"]]}]}