{"title":"Table 5104 Segment Interaction Language, extension points 29","url":"https://jonas-paprotka.de/ref/table/5104-segment-interaction-language/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":5104,"name":"Segment Interaction Language","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/5104-segment-interaction-language/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/5104-segment-interaction-language/source/","path":"src/Layers/W1/BaseApp/CRM/Segment/SegmentInteractionLanguage.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":{"table:5076":{"name":"Segment Header","url":"https://jonas-paprotka.de/ref/table/5076-segment-header/"},"table:5104":{"name":"Segment Interaction Language","url":"https://jonas-paprotka.de/ref/table/5104-segment-interaction-language/"},"table:5077":{"name":"Segment Line","url":"https://jonas-paprotka.de/ref/table/5077-segment-line/"},"table:5062":{"name":"Attachment","url":"https://jonas-paprotka.de/ref/table/5062-attachment/"},"codeunit:4100":{"name":"Temp Blob","url":"https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/"},"codeunit:5052":{"name":"AttachmentManagement","url":"https://jonas-paprotka.de/ref/codeunit/5052-attachmentmanagement/"}},"procs":[{"name":"Subject.OnValidate","line":51,"kind":"trigger","steps":[[59,"ext","table",5076,"SegLinesExist",0],[65,"write",5076,"Modify"],[66,"write",5104,"Modify"],[81,"write",5077,"ModifyAll"]]},{"name":"OnDelete","line":103,"kind":"trigger","steps":[[124,"write",5076,"Modify"],[147,"write",5077,"Modify"],[181,"write",5077,"Modify"],[185,"call","RemoveAttachment",1]]},{"name":"OnInsert","line":188,"kind":"trigger","steps":[[207,"ext","table",5077,"AttachmentInherited",0],[214,"write",5077,"Modify"],[217,"ext","table",5077,"AttachmentInherited",0],[224,"write",5077,"Modify"],[233,"write",5077,"Modify"]]},{"name":"OnRename","line":237,"kind":"trigger","steps":[[249,"write",5076,"Modify"],[260,"write",5077,"Modify"],[268,"ext","table",5077,"AttachmentInherited",0],[275,"write",5077,"Modify"],[284,"write",5077,"Modify"]]},{"name":"CreateAttachment","line":298,"kind":"procedure","params":0,"steps":[[307,"call","RemoveAttachment",1],[311,"ext","table",5062,"ImportAttachmentFromClientFile",3],[317,"write",5104,"Modify"],[319,"write",5104,"Insert",1],[320,"call","UpdateSegLineAttachment",1]]},{"name":"CreateWordTemplateAttachment","line":325,"kind":"procedure","access":"internal","params":2,"steps":[[335,"call","RemoveAttachment",1],[339,"ext","codeunit",4100,"CreateInStream",1],[340,"ext","table",5062,"ImportAttachmentFromStream",2],[346,"write",5104,"Modify"],[348,"write",5104,"Insert",1],[349,"call","UpdateSegLineWordTemplateAttachment",1]]},{"name":"OpenAttachment","line":355,"kind":"procedure","params":0,"steps":[[362,"ext","table",5062,"OpenAttachment",3]]},{"name":"CopyFromAttachment","line":366,"kind":"procedure","params":0,"steps":[[375,"call","RemoveAttachment",1],[382,"ext","codeunit",5052,"InsertAttachment",1],[385,"write",5104,"Modify"],[386,"call","UpdateSegLineAttachment",1]]},{"name":"ImportAttachment","line":392,"kind":"procedure","params":0,"steps":[[399,"call","RemoveAttachment",1],[402,"ext","table",5062,"ImportAttachmentFromClientFile",3],[404,"write",5104,"Modify"],[405,"call","UpdateSegLineAttachment",1]]},{"name":"ExportAttachment","line":411,"kind":"procedure","params":0,"steps":[[419,"ext","table",5062,"ExportAttachmentToClientFile",1]]},{"name":"RemoveAttachment","line":424,"kind":"procedure","params":1,"steps":[[431,"ext","table",5062,"RemoveAttachment",1],[433,"write",5104,"Modify"],[435,"call","UpdateSegLineAttachment",1]]},{"name":"UpdateSegLineAttachment","line":438,"kind":"procedure","access":"local","params":1,"steps":[[449,"write",5077,"ModifyAll"],[456,"write",5077,"Modify"]]},{"name":"UpdateSegLineWordTemplateAttachment","line":461,"kind":"procedure","access":"local","params":1,"steps":[[467,"write",5076,"Modify"]]}]}