{"title":"Page 9996 Word Template Selection Wizard, extension points 29","url":"https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/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":"page","id":9996,"name":"Word Template Selection Wizard","app":"System Application","url":"https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/9996-word-template-selection-wizard/source/","path":"src/System Application/App/Word Templates/src/WordTemplateSelectionWizard.Page.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:4100":{"name":"Temp Blob","url":"https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/"},"codeunit:9987":{"name":"Word Template","url":"https://jonas-paprotka.de/ref/codeunit/9987-word-template/"},"codeunit:9988":{"name":"Word Template Impl.","url":"https://jonas-paprotka.de/ref/codeunit/9988-word-template-impl/"},"page:9995":{"name":"Word Template Creation Wizard","url":"https://jonas-paprotka.de/ref/page/9995-word-template-creation-wizard/"},"codeunit:9560":{"name":"Document Sharing","url":"https://jonas-paprotka.de/ref/codeunit/9560-document-sharing/"}},"procs":[{"name":"EditDocument.OnDrillDown","line":112,"kind":"trigger","steps":[[118,"ext","codeunit",4100,"HasValue",0],[122,"ext","codeunit",4100,"CreateInStream",1],[123,"ext","codeunit",9987,"Load",1],[125,"ext","codeunit",9987,"Load",1],[126,"ext","codeunit",9987,"Merge",4],[128,"ext","codeunit",4100,"CreateOutStream",1],[129,"ext","codeunit",9987,"GetDocument",1],[132,"ext","codeunit",4100,"HasValue",0]]},{"name":"SetFilters.OnDrillDown","line":159,"kind":"trigger","steps":[[165,"ext","codeunit",9988,"SetFiltersOnRecord",1]]},{"name":"Finish.OnAction","line":281,"kind":"trigger","steps":[[285,"call","MergeTemplate",1],[288,"ext","codeunit",9987,"DownloadDocument",0]]},{"name":"New.OnAction","line":377,"kind":"trigger","steps":[[382,"ext","page",9995,"SetTableNo",1]]},{"name":"OnOpenPage","line":398,"kind":"trigger","steps":[[408,"ext","codeunit",9560,"ShareEnabled",1]]},{"name":"MergeTemplate","line":416,"kind":"procedure","access":"protected","params":1,"steps":[[423,"ext","codeunit",4100,"Length",0],[424,"ext","codeunit",4100,"CreateInStream",1],[425,"ext","codeunit",4100,"CreateOutStream",1],[427,"ext","codeunit",4100,"CreateInStream",1],[428,"ext","codeunit",9987,"Load",1],[429,"ext","codeunit",9987,"Merge",2],[430,"ext","codeunit",4100,"CreateOutStream",1],[431,"ext","codeunit",9987,"GetDocument",1],[434,"ext","codeunit",9987,"Load",1],[435,"ext","codeunit",9987,"Merge",4],[436,"ext","codeunit",4100,"CreateOutStream",1],[437,"ext","codeunit",9987,"GetDocument",1]]},{"name":"SetTemplate","line":446,"kind":"procedure","params":1,"steps":[[454,"ext","codeunit",9987,"Load",1],[455,"ext","codeunit",9987,"GetTableId",0]]},{"name":"GetDocumentStream","line":522,"kind":"procedure","access":"internal","params":1,"steps":[[524,"ext","codeunit",4100,"CreateInStream",1]]}]}