Skip to content

Printable Templates

Backlog fieldValue
Story IDAP-TPL-002
EpicDynamic Templates
Story typeMaster data / configuration
Review statusDraft - business analyst and business owner review required
Source evidenceAppsPortal.Apis controller, application command/query handlers, validators, domain entities, and matching MFE workflow where available
Last source review2026-07-10

User story

As application administrators, I want to create and maintain business-document print templates so that printed documents match company and regulatory needs.

Acceptance criteria

  1. Only authorized users can view or execute the feature's actions.
  2. Required business data, active dependencies, tenant/branch scope, and current document state are validated.
  3. Invalid requests return actionable validation errors without applying a partial change.
  4. Search, list, view, print, and export operations use the same authorized business scope.
  5. Material create, edit, status, approval, posting, reversal, and integration actions are auditable where applicable.
  6. Financial or stock effects are applied atomically and no more than once.

Business rules

Required

Document type, localized template identity, valid markup/layout, and active/default state are required.

Optional or conditional

Branding, conditional sections, images, copies, and alternate templates are optional.

Action behavior

Publish affects future print generation; posted-document data snapshots remain the source values.

Blocking rule or downstream effect

Unsafe markup, missing required placeholders, or multiple defaults in one scope are rejected.

Frontend page coverage

The following UI coverage is sourced from the pulled MFE route configuration. A Module-level supporting artifact mapping is evidence of a reachable screen, but requires BA confirmation that it belongs to this story rather than a more specific feature story.

Route/pageComponentModeRoute permission/guardMapping confidenceSource
(module default)PrintableTemplatesListComponentReport/printPermission: AppTemplatesPermissions.PrintableTemplates_List; Guards: PolicyAuthGuardFeature token matchapps/templates/src/app/remote-entry/printable-templates/printable-templates-routing.module.ts:19
(module default)PrintableTemplatesMainComponentReport/printPermission: AppTemplatesPermissions.PrintableTemplates_List; Guards: PolicyAuthGuardFeature token matchapps/templates/src/app/remote-entry/printable-templates/printable-templates-routing.module.ts:11
addPrintableTemplatesSelectComponentReport/printPermission: AppTemplatesPermissions.PrintableTemplates_Add; Guards: PolicyAuthGuardFeature token matchapps/templates/src/app/remote-entry/printable-templates/printable-templates-routing.module.ts:29
add/:screenConfigId/:screenReportBuilderComponentReport/printPermission: AppTemplatesPermissions.PrintableTemplates_Add; Guards: PolicyAuthGuardFeature token matchapps/templates/src/app/remote-entry/printable-templates/printable-templates-routing.module.ts:39
add/:screenConfigId/:screen/:presetIdReportBuilderComponentReport/printPermission: AppTemplatesPermissions.PrintableTemplates_Add; Guards: PolicyAuthGuardFeature token matchapps/templates/src/app/remote-entry/printable-templates/printable-templates-routing.module.ts:51
edit/:templateId/:screenConfigIdReportBuilderComponentReport/printPermission: AppTemplatesPermissions.PrintableTemplates_Edit; Guards: PolicyAuthGuardFeature token matchapps/templates/src/app/remote-entry/printable-templates/printable-templates-routing.module.ts:63
edit/:templateId/:screenConfigId/:presetIdReportBuilderComponentReport/printPermission: AppTemplatesPermissions.PrintableTemplates_Edit; Guards: PolicyAuthGuardFeature token matchapps/templates/src/app/remote-entry/printable-templates/printable-templates-routing.module.ts:75
printable-templatesLazy-loaded routeReport/printGuards: PolicyAuthGuardFeature token matchapps/templates/src/app/remote-entry/routes.ts:38
view/:templateId/:screenConfigIdReportBuilderComponentReport/printPermission: AppTemplatesPermissions.PrintableTemplates_View; Guards: PolicyAuthGuardFeature token matchapps/templates/src/app/remote-entry/printable-templates/printable-templates-routing.module.ts:87
view/:templateId/:screenConfigId/:presetIdReportBuilderComponentReport/printPermission: AppTemplatesPermissions.PrintableTemplates_View; Guards: PolicyAuthGuardFeature token matchapps/templates/src/app/remote-entry/printable-templates/printable-templates-routing.module.ts:99

Observed frontend fields and validation

ComponentControlObserved frontend ruleComponent source
ReportBuilderComponentalignmentVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentbackgroundColorVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentboldVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentcolorVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentcolumnKeyVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentdescriptionVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentfontColorVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentfontFamilyVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentfontSizeVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentfooterEmailVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentfooterWebsiteVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentheaderBackgroundColorVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentheaderBoldVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentheaderFontColorVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentheaderFontFamilyVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentheaderFontSizeVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentisDefaultVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentisDescendingVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentitalicVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentnameRequired in component validatorapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentnotesVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentnumberFormatVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentopacityVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentoperatorVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentpageNameVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentshowClientNameVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentshowCompanyInfoVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentshowCustomerInfoVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentshowDateVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentshowFooterVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentshowFooterLogoVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentshowInvoiceNoVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentshowLogoVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentshowMainInfoVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentshowQrVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentshowRefundNoVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentshowStatusVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentsignatureEnabledVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentsignatureLabelVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponenttextVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponenttypeVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentvalueVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentvalueToVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentwidthVisible control; optional or API-dependentapps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts

Observed frontend actions

ComponentClick action/handlerBusiness review requirementComponent source
PrintableTemplatesListComponentonAddDocument the enabled state, permission, input context, resulting API or navigation effect, success refresh, and concrete failure behavior for this handler.apps/templates/src/app/remote-entry/printable-templates/pages/printable-templates-list/printable-templates-list.component.ts
PrintableTemplatesListComponentonDeleteAvailable only in deletable states with Delete permission; identify the record in confirmation, call delete once, remove/refresh the list row on success, and retain the row with the API reason on failure.apps/templates/src/app/remote-entry/printable-templates/pages/printable-templates-list/printable-templates-list.component.ts
PrintableTemplatesListComponentonEditOpen the identified editable record only with Edit permission; posted/locked records remain blocked by route or action state and list context must be recoverable on return.apps/templates/src/app/remote-entry/printable-templates/pages/printable-templates-list/printable-templates-list.component.ts
PrintableTemplatesListComponentonViewOpen the authorized record in view mode with its status, totals, lines, source and generated-document links; handle deleted, forbidden, and missing records without exposing stale data.apps/templates/src/app/remote-entry/printable-templates/pages/printable-templates-list/printable-templates-list.component.ts
PrintableTemplatesSelectComponentonCancelLeave or close without persisting; warn when the current form has unsaved changes and restore the prior list/filter context.apps/templates/src/app/remote-entry/printable-templates/pages/printable-templates-select/printable-templates-select.component.ts
PrintableTemplatesSelectComponentonSelectDataSourceOpen the correct originating document type and ID only when a source link exists and its module view permission is available.apps/templates/src/app/remote-entry/printable-templates/pages/printable-templates-select/printable-templates-select.component.ts
PrintableTemplatesSelectComponentonSelectTemplateDocument the enabled state, permission, input context, resulting API or navigation effect, success refresh, and concrete failure behavior for this handler.apps/templates/src/app/remote-entry/printable-templates/pages/printable-templates-select/printable-templates-select.component.ts
ReportBuilderComponentaddAggregationRowDocument the enabled state, permission, input context, resulting API or navigation effect, success refresh, and concrete failure behavior for this handler.apps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentaddColumnRowDocument the enabled state, permission, input context, resulting API or navigation effect, success refresh, and concrete failure behavior for this handler.apps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentaddFilterRowDocument the enabled state, permission, input context, resulting API or navigation effect, success refresh, and concrete failure behavior for this handler.apps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentaddGroupRowDocument the enabled state, permission, input context, resulting API or navigation effect, success refresh, and concrete failure behavior for this handler.apps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentaddSortRowDocument the enabled state, permission, input context, resulting API or navigation effect, success refresh, and concrete failure behavior for this handler.apps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentprintPreviewOpen the authorized record in view mode with its status, totals, lines, source and generated-document links; handle deleted, forbidden, and missing records without exposing stale data.apps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentremoveAggregationAvailable only in deletable states with Delete permission; identify the record in confirmation, call delete once, remove/refresh the list row on success, and retain the row with the API reason on failure.apps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentremoveColumnAvailable only in deletable states with Delete permission; identify the record in confirmation, call delete once, remove/refresh the list row on success, and retain the row with the API reason on failure.apps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentremoveFilterAvailable only in deletable states with Delete permission; identify the record in confirmation, call delete once, remove/refresh the list row on success, and retain the row with the API reason on failure.apps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentremoveGroupAvailable only in deletable states with Delete permission; identify the record in confirmation, call delete once, remove/refresh the list row on success, and retain the row with the API reason on failure.apps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentremoveSortAvailable only in deletable states with Delete permission; identify the record in confirmation, call delete once, remove/refresh the list row on success, and retain the row with the API reason on failure.apps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentresetPreviewZoomOpen the authorized record in view mode with its status, totals, lines, source and generated-document links; handle deleted, forbidden, and missing records without exposing stale data.apps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponenttoggleColumnStyleDocument the enabled state, permission, input context, resulting API or navigation effect, success refresh, and concrete failure behavior for this handler.apps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponenttoggleSectionDocument the enabled state, permission, input context, resulting API or navigation effect, success refresh, and concrete failure behavior for this handler.apps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentzoomInPreviewOpen the authorized record in view mode with its status, totals, lines, source and generated-document links; handle deleted, forbidden, and missing records without exposing stale data.apps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts
ReportBuilderComponentzoomOutPreviewOpen the authorized record in view mode with its status, totals, lines, source and generated-document links; handle deleted, forbidden, and missing records without exposing stale data.apps/templates/src/app/remote-entry/report-templates/pages/report-builder/report-builder.component.ts

Page-specific frontend acceptance criteria

  1. (module default) - Report/print: Expose documented filters, validation, empty/loading/error states, authorized results, totals, drill-through, print, and export behavior where present. Security observed: Permission: AppTemplatesPermissions.PrintableTemplates_List; Guards: PolicyAuthGuard
  2. add - Report/print: Expose documented filters, validation, empty/loading/error states, authorized results, totals, drill-through, print, and export behavior where present. Security observed: Permission: AppTemplatesPermissions.PrintableTemplates_Add; Guards: PolicyAuthGuard
  3. add/:screenConfigId/:screen - Report/print: Expose documented filters, validation, empty/loading/error states, authorized results, totals, drill-through, print, and export behavior where present. Security observed: Permission: AppTemplatesPermissions.PrintableTemplates_Add; Guards: PolicyAuthGuard
  4. add/:screenConfigId/:screen/:presetId - Report/print: Expose documented filters, validation, empty/loading/error states, authorized results, totals, drill-through, print, and export behavior where present. Security observed: Permission: AppTemplatesPermissions.PrintableTemplates_Add; Guards: PolicyAuthGuard
  5. edit/:templateId/:screenConfigId - Report/print: Expose documented filters, validation, empty/loading/error states, authorized results, totals, drill-through, print, and export behavior where present. Security observed: Permission: AppTemplatesPermissions.PrintableTemplates_Edit; Guards: PolicyAuthGuard
  6. edit/:templateId/:screenConfigId/:presetId - Report/print: Expose documented filters, validation, empty/loading/error states, authorized results, totals, drill-through, print, and export behavior where present. Security observed: Permission: AppTemplatesPermissions.PrintableTemplates_Edit; Guards: PolicyAuthGuard
  7. printable-templates - Report/print: Expose documented filters, validation, empty/loading/error states, authorized results, totals, drill-through, print, and export behavior where present. Security observed: Guards: PolicyAuthGuard
  8. view/:templateId/:screenConfigId - Report/print: Expose documented filters, validation, empty/loading/error states, authorized results, totals, drill-through, print, and export behavior where present. Security observed: Permission: AppTemplatesPermissions.PrintableTemplates_View; Guards: PolicyAuthGuard
  9. view/:templateId/:screenConfigId/:presetId - Report/print: Expose documented filters, validation, empty/loading/error states, authorized results, totals, drill-through, print, and export behavior where present. Security observed: Permission: AppTemplatesPermissions.PrintableTemplates_View; Guards: PolicyAuthGuard

Internal Documentation — Microtec