Confirmation message for initiating a requisition when the previous period requisition is not finished

Description

User Story
As a storeroom manager, I want to initiate a regular requisition for this reporting period, but if there are any regular requisitions from a previous processing period with any status other than APPROVED, then I want to get a confirmation, so that I can cancel my action and prevent bad data.
... OR so that I can contact someone to finish/approve the previous period's regular requisition.

The confirmation message will read:

PERIOD (A)-NAME has not received final approval. Initializing a requisition for PERIOD (B)-NAME can result in inaccurate data.

Are you sure you want to initialize a requisition for PERIOD-NAME?
(Cancel) (Proceed)

Background
This ticket is about exposing information to users to help prevent the data integrity errors from DONE. It also prevents the "bad data" situation where Period B's requisition is initiated and pulls in a snapshot of Beginning Balance and previous period Consumption from Requisition A, even while Requisition A is still being edited and changing.

Tech Design is TBD and requires Team ILL.

Acceptance Criteria

  • TBD

Assignee

Unassigned

Reporter

Sam Im

Epic Link

Components

Priority

Major
Configure