Skip to content

Stock In Report

Backlog fieldValue
Story IDINV-DASH-013
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 inbound stock transactions and their item/tracking detail.

User stories

  • As a manager, I want to filter Stock In activity by status, category, warehouse, item, and other document criteria.
  • As an auditor, I want transaction, source, item, quantity, cost, tracking, and status detail.
  • As a user, I want to open/print a source Stock In and export or print the report.

Acceptance criteria

  1. Filters are validated and applied within the user's authorized scope.
  2. Results include document identity/date, source, warehouse, 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 In, not only the aggregate report.
  5. Export and report print use the same filters 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 In ID and requires source-document print permission.
  • Export: uses the same filters/sort and selected format.
  • No action in the report posts, edits, or deletes Stock In.

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

Observed frontend fields and validation

ComponentControlObserved frontend ruleComponent source
StockInReportComponentItemCategoryIdsVisible control; optional or API-dependentapps/inventory/src/app/remote-entry/reports/pages/stock-in-report/stock-in-report.component.ts
StockInReportComponentitemVariantIdsVisible control; optional or API-dependentapps/inventory/src/app/remote-entry/reports/pages/stock-in-report/stock-in-report.component.ts
StockInReportComponentstatusesVisible control; optional or API-dependentapps/inventory/src/app/remote-entry/reports/pages/stock-in-report/stock-in-report.component.ts
StockInReportComponentwarehouseIdsVisible control; optional or API-dependentapps/inventory/src/app/remote-entry/reports/pages/stock-in-report/stock-in-report.component.ts

Observed frontend actions

ComponentClick action/handlerBusiness review requirementComponent source
StockInReportComponentonViewReportOpen 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-in-report/stock-in-report.component.ts
StockInReportComponentopenItemSearchDialogOpen 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-in-report/stock-in-report.component.ts
StockInReportComponentprintReportGenerate 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-in-report/stock-in-report.component.ts
StockInReportComponentrouteToJournalViewOpen 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-in-report/stock-in-report.component.ts
StockInReportComponentrouteToSourceDocumentViewOpen 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-in-report/stock-in-report.component.ts
StockInReportComponentrouteToStockInViewOpen 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-in-report/stock-in-report.component.ts

Page-specific frontend acceptance criteria

  1. stock-in-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