Skip to content

Van Sales Dashboard

Backlog fieldValue
Story IDAP-VAN-004
EpicVan Sales
Story typeBusiness workflow
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 distribution managers, I want to monitor devices, visits, transfers, and sales activity so that operational exceptions are visible.

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

Authorized distribution scope is required.

Optional or conditional

Date, salesperson, device, route, and status ranges are optional.

Action behavior

Widgets are read-only and navigate under target permissions.

Blocking rule or downstream effect

Totals must match underlying visits/transfers/sales reports.

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)DashboardComponentDashboardGuards: PolicyAuthGuardFeature token matchapps/distribution/src/app/remote-entry/dashboard/dashboard.module.ts:10

Observed frontend fields and validation

ComponentControlObserved frontend ruleComponent source
--No reactive formControlName controls were found for the routed components; review template-driven/shared child components.Route sources above

Observed frontend actions

ComponentClick action/handlerBusiness review requirementComponent source
--No direct (click) handler was found; review shared toolbar/table commands and form submission bindings.Route sources above

Page-specific frontend acceptance criteria

  1. (module default) - Dashboard: Load authorized summary values consistently with source reports, support exposed date/branch filters, and handle empty/error states. Security observed: Guards: PolicyAuthGuard

Internal Documentation — Microtec