Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Low stock task creation #93

Open
1 task
dubdabasoduba opened this issue Jun 16, 2021 · 0 comments
Open
1 task

Low stock task creation #93

dubdabasoduba opened this issue Jun 16, 2021 · 0 comments
Assignees

Comments

@dubdabasoduba
Copy link
Member

dubdabasoduba commented Jun 16, 2021

Context

  • We have some stock that is tied to the ANC & PNC modules of the brac-hnpp app. We would like to create tasks to alert the SK/CHWs that they need to restock any time the stock id below 5.

Tech Implementation requirements

  • Create a task every time a stock is below 5 items. This task should only be created once i.e. do not create a task for every time number below 5 is recorded if we already have an unclosed task for the same stock.

Task status lifecycle

  • Ready -- This is assigned after task creation
  • Complete -- This means the task is completed. Only assigned when the stock value is above the minimum number. This can be found on the ANC forms or the Stock check pages in the app.
  • Failed -- This means the task was not handled within a given period and the business status changed to expired.

Task business status lifecycle

  • Stock Requested -- Assigned immediately after a task is created
  • Restocked -- Assigned immediately a task is completed
  • Expired -- Agree to a given period that this task can be open. After that period the task is marked as Expired

Task Details

  • The code for this category is Low Stock Level
  • The focus is as follows
    • ANC Low stock level
    • PNC Low stock level
  • The description for both should have the remaining stock count.
  • The owner of the tasks is the logged-in SK
  • The tasks can only be closed once restocking happens.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants