Page 9996 "Word Template Selection Wizard"
System Application · System.Integration.Word
Across versions
- BC23-30present
Neighbourhood 4 connected objects and pages
System Application · System.Integration.Word · captioned “Apply Word Template” · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Apply Word Template |
| Extensible | false |
| SourceTable | Word Template |
| PageType | NavigatePage |
| Permissions | tabledata “Word Template” = rm |
Fields on this page
Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control’s own, else the bound field’s (marked).
| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Templates | Code | Code | Specifies the code of the template. |
| Name | Name | Specifies the name of the template. | |
| Entity | Table Caption | Specifies the entity the template is asscociated with. | |
| SelectOutput | Output format | SaveFormat |
Specifies the format of the final document. |
| Split documents | SplitDocuments |
Specifies whether one document per record should be created or one document for all Records. | |
| Edit | EditHelp | EditLbl |
Tooltip for editing.. |
| EditDocument | EditDocumentTxt |
Open Word for editing merged document. | |
| Filters | FilterHelp | FilterHelpLbl |
Tooltip for filter.. |
| SetFilters | SetFiltersLbl |
Select filters on the entity | |
| FilterDetails | Filters | Filters |
Specifies the filters to be applied on the record. |
| NoFilterDetails | No filter are set on the entity. | label | — |
| Overview | Entity | RecordName |
Specifies the entity to be used when applying the template. |
| Filters | Filters |
Specifies the filters to be applied on the record. | |
| No. of Entities | Format(NumberOfRecords) |
Specifies how many entities the template will be applied to. | |
| Template Code | Code | Specifies code of the template to apply. | |
| Template Name | Name | Specifies the name of the template to apply. | |
| Output format | SaveFormat |
Specifies the format of the final document. | |
| Split documents | SplitDocuments |
Specifies whether one document per record should be created or one document for all entities. |
Actions
| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Finish | ||
| Next | |||
| Back | |||
| New Template | Create a new Word template |
Procedures
IsDocSaveFormat(): BooleanMergeTemplate(var WordTemplates: Codeunit "Word Template")(protected)SetTemplate(WordTemplate: Record "Word Template"): Sets the template to apply. If not set, the user will be prompted to choose a template as part of the wizard.SetData(RecordVariant: Variant): Sets the record to be used when applying the template.SetData(Dict: Dictionary of [Integer, Text])(internal): Set the entities that user can select to create the word templateGetDocumentFormat(): Text(internal): Get the document format.GetDocumentStream(var InStream: InStream)(internal): Get the word template stored in the Blob.SaveAsDocumentStream()(internal): Save the word template into a Blob, that can then be retrived by a stream.WasDialogCompleted(): Boolean(internal): Returns if the user completed the dialog to add a word template.SetIsUnknownSource()(internal): Ensures that user is presented with the overview tab if the wizard is run without a source record.
Triggers
OnAfterGetRecord, OnOpenPage
Relations
- source table Table 9988 “Word Template”
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 9987 “Word Template” (5 calls:
MergeTemplate → GetDocument,MergeTemplate → Load,MergeTemplate → Merge, …) - Codeunit 4100 “Temp Blob” (4 calls:
GetDocumentStream → CreateInStream,MergeTemplate → CreateInStream,MergeTemplate → CreateOutStream, …) - Codeunit 9560 “Document Sharing” (1 call:
OnOpenPage → ShareEnabled)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "page", object_name: "Word Template Selection Wizard"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.