RequirementsÂ
Jira Legacy | ||
---|---|---|
|
...
|
The last step in receiving/check-in flow is to update the status of PO Line to "Partially Received" or "Fully Received". It's possible that something may go wrong and status won't be updated even though the items were actually received.
So the mechanism to guarantee the status is up-to-date needs to be worked out.
High Level Investigation
From the technical side this means that there may be a discrepancy between the status of the PO line and the statuses of its associated pieces in the database. The following connections are possible between PO line with PARTIALLY_RECEIVED and FULLY_RECEIVED statuses and state of pieces:
...
Namely, creating cron-jobs can be effective, but it is difficult to implement and maintain, since it is necessary to install an extension on each database. Vert.X Periodic Timer seems to be the most efficient and easily implemented way, taking into account, however, the need to implement a way to coordinate instances to prevent unnecessary work in the case of a cluster. Separate Scheduler Application can be an efficient way without the lack of lack of consistency in cluster mode (mentioned for Vert.X Periodic Timer) but it should technically be implemented probably as a separate module.
...