-
Notifications
You must be signed in to change notification settings - Fork 105
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
(refactor) Stock distribution #1854
Comments
Regarding transfers from depot to depot - I agree that this action should be clearly separated into an entrance and an exit. For the most basic version I propose that we simple allow generic exits and entries of stock to 'Depots' - without the need to tie these together into movements. This would involve:
I think with these two changes we can effectively separate stock movement into an exit and an entry - allowing the enterprise to have two clear documents and only adjusting stock levels when items actually arrive in the depot. |
This is how the transfer depot to depot can be performed : Stock Exit from depot AMain goal : The depot A should only update his stock User Interface : The user interface should not change Technical Information : The operation performed from the depot A for the transfer, will add record (s) to the Shadow Zone : Will we allow the transfer discard? Stock Entry from depot BMain Goal : The depot A will be responsible of updating his stock him self, and the user from the depot should record physical stock quantity received. User Interface : An option should be added to the stock entry page (Transfer Reception for example), when clicked by the user :
Technical Information :
Output : A receipt must b printed (PV de reception) to confirm the stock reception from depot X (where depot X is different than depot B) to depot B. Any thought ? |
@DedrickEnc This proposal sounds good to me - separating the entrance and the exit will allow enterprises to run this system much more flexibly. For the first version I do not think we need to have an idea of a 'uncompleted' movement - we could just show all of the movements to that depot with an option to show all movements to all tables. As long as the date and the ID of the movement is clearly shown users should be able to select the correct one. In the future we could potentially allow users to mark movements as 'complete'. This proposal sounds good to me 👍 |
@DedrickEnc,that was very well-written proposal! Just to be clear, between the comments by @sfount and @DedrickEnc ... can we still transfer an amount X into depot Y, even if no previous exits exist? |
1905: Refactor Stock distribution r=jniles This PR refactor the stock distribution page and closes #1854 Most of the work is about addressing points listed in #1854 and some refactor in order to reduce the code. A new component ```bhStockEntryExitType``` has been introduced to remove repeated code found in ```exit.html``` and ```entry.html``` for selecting the type of entry or exit. The main change is about stock distribution from depot to an other depot (Stock transfer) Now the stock transfer is a set of two processes which are a stock exit to depot and a stock entry from depot. Both of them are independent in other to avoid mistakes and guaranty the data integrity. Each time the stock in the depot will match the stock in the system.
TO PATIENT
Strange behavior when the user provide a bad patient code or name (mostly related to the component it self)
the code is ambigious, can't we find the good translation?
The module should load only lot which are not empty
The expiration date should be presented as a moment to help user guess easily
Is the amount necessary?If the quantity is exagerated, the amount content desapper and no way to submit but no message (confusing)No need of descritption on the receipt paper, because it for intern use the patient don't care about it
Instead of gestionnaire stock, let's use just pharmacy because this operation can be performed by an employee who is working at the pharmacy during this specific time. (???)
TO SERVICE
No description is needed for the receipt, it is for an internal use
Use pharmacy in signature field (???)
the expiration date should be a moment and not a date
TO DEPOT
The depot X user send items to depot Y and update his own depot state (decreasing his stock only)
The depot Y user see the transfer and confirm/ignore/update(?) it, so that, his own depot state is updated by him self (increasing stock only or nothing)
N.B :
PERTE
These points can be discussed to find which point to focus on
The text was updated successfully, but these errors were encountered: