Skip to content

Stock Out Report ​

Backlog fieldValue
Story IDINV-DASH-014
EpicInventory
Story typeDashboard
Review statusDraft - business analyst and business owner review required
Source evidenceInventory MFE route/form, Inventory.Apis controller, application command/query handlers, validators, domain entities, and posting services
Last source review2026-07-10

Purpose ​

Analyze outbound stock transactions and their item/tracking detail.

User stories ​

  • As a manager, I want to filter Stock Out activity by status, category, warehouse, and item so that I can analyze consumption and adjustments.
  • As an auditor, I want transaction, destination/reason, item, quantity, cost, tracking, and status detail.
  • As a user, I want to open/print a source Stock Out and export or print the report.

Acceptance criteria ​

  1. Filters support status, item category, warehouse, and item variant plus applicable document/date criteria.
  2. Results include document identity/date, warehouse, reason/source, item/variant, unit, quantity, cost/total, tracking, and status where applicable.
  3. Totals reconcile with displayed rows under the configured rounding policy.
  4. Source-document print opens the selected Stock Out.
  5. Export and report print use the same filters, scope, and localization as the screen.
  6. View, export, report-print, and source-document-print actions follow permissions.

Inputs and action behavior ​

Statuses, item categories, warehouses, item variants, From Date, and To Date are optional filters. An empty selection means all authorized matching values. Date range must be valid.

  • View: displays filtered detail and totals.
  • Print report: produces the aggregate filtered report.
  • Print source document: uses the selected Stock Out ID and requires source-document print permission.
  • Export: uses the same filters/sort and selected format.
  • No report action changes stock, cost, GL, status, or source records.

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
stock-out-reportStockOutReportComponentReport/printNo route-level permission/guard found in source windowFeature token matchapps/inventory/src/app/remote-entry/reports/reports.module.ts:51

Observed frontend fields and validation ​

ComponentControlObserved frontend ruleComponent source
StockOutReportComponentItemCategoryIdsVisible control; optional or API-dependentapps/inventory/src/app/remote-entry/reports/pages/stock-out-report/stock-out-report.component.ts
StockOutReportComponentitemVariantIdsVisible control; optional or API-dependentapps/inventory/src/app/remote-entry/reports/pages/stock-out-report/stock-out-report.component.ts
StockOutReportComponentstatusesVisible control; optional or API-dependentapps/inventory/src/app/remote-entry/reports/pages/stock-out-report/stock-out-report.component.ts
StockOutReportComponentwarehouseIdsVisible control; optional or API-dependentapps/inventory/src/app/remote-entry/reports/pages/stock-out-report/stock-out-report.component.ts

Observed frontend actions ​

ComponentClick action/handlerBusiness review requirementComponent source
StockOutReportComponentonViewReportOpen 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/inventory/src/app/remote-entry/reports/pages/stock-out-report/stock-out-report.component.ts
StockOutReportComponentopenItemSearchDialogOpen the item/lookup/tracking dialog with the current warehouse, item, UOM, and remaining quantity context; accepted values must return to the correct line and cancel must not mutate it.apps/inventory/src/app/remote-entry/reports/pages/stock-out-report/stock-out-report.component.ts
StockOutReportComponentprintReportGenerate the printout for the selected record and authorized branch/tenant; use posted/current values and surface print, template, ZATCA/ETA, or popup failures without changing transaction state.apps/inventory/src/app/remote-entry/reports/pages/stock-out-report/stock-out-report.component.ts
StockOutReportComponentrouteToJournalViewOpen 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/inventory/src/app/remote-entry/reports/pages/stock-out-report/stock-out-report.component.ts
StockOutReportComponentrouteToSourceDocumentViewOpen 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/inventory/src/app/remote-entry/reports/pages/stock-out-report/stock-out-report.component.ts
StockOutReportComponentrouteToStockOutViewOpen 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/inventory/src/app/remote-entry/reports/pages/stock-out-report/stock-out-report.component.ts

Page-specific frontend acceptance criteria ​

  1. stock-out-report - Report/print: Expose documented filters, validation, empty/loading/error states, authorized results, totals, drill-through, print, and export behavior where present. Security observed: No route-level permission/guard found in source window

Internal Documentation — Microtec