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

stock line does not created upon finalisation of invoice #4968

Open
bijaySussol opened this issue Oct 14, 2022 · 6 comments
Open

stock line does not created upon finalisation of invoice #4968

bijaySussol opened this issue Oct 14, 2022 · 6 comments
Labels
6.0.0 Bug: production Bug was found or believed to be in a live release Docs: not needed Effort: medium Medium effort story/task, estimated 2-5 days Investigation Issues which require investigation Priority: high

Comments

@bijaySussol
Copy link
Contributor

Describe the bug

Client is on V6 version of mobile app.
As per the data is: The supplier invoice is on finalized status but there is no stock line attached against the trans line on a central server creating ledger issues on item

To reproduce

Steps to reproduce the behaviour:

  1. See me please, can share datafile as well

Expected behaviour

Stock line must be created upon finalization of Supplier invoice.

Proposed Solution

TDB

Version and device info

  • App version: V6.0.0 (Client are on)
  • Tablet model: Samsung
  • OS version: Android

Additional context

Add any other context about the problem here.

@bijaySussol bijaySussol added Priority: high Bug: production Bug was found or believed to be in a live release Effort: medium Medium effort story/task, estimated 2-5 days Docs: not needed Investigation Issues which require investigation 6.0.0 Status: To do labels Oct 14, 2022
@sworup
Copy link
Contributor

sworup commented Oct 14, 2022

@bijaySussol as you have mentioned the client is on v6.0.0... we are currently on v8.6.1.
Since, this issue looks such a major one and there are many clients creating supplier invoices. And none have complained. I suspect this issue is older version specific and probably might have been fixed already.
If we ask the client to updated to newer version, the issue might go away.

I will still investigate if this happens in current version though.

@bijaySussol
Copy link
Contributor Author

bijaySussol commented Oct 14, 2022

Probably..
Upgrading app itself is not fun to the client we are dealing with, they are very restrictive !
But i can request them if you can share the reason of happening this or something that they can think of upgrading the app.
Also, If there is a actual issue somewhere, then its better to get this nailed which probably be less likely else we probably would have got many request but itself itself looks weird and is Major.
So, If you can find out why this happened and is this been raised before and is fixed in some x release version that will help

Also, Need a update code to fix the data as well.

Few hints:

  • All the item line ID attached on affected trans line are in CAPS, if created from Mobile i think it should have be on all lowercase instance akguashdkasd8xxxxx
  • The supplier invoice is created from requisition order, so flow is
    • request order
    • Response order
    • Customer invoice on sender as stock transfer
    • Upon finalisation, Supplier invoice on the requesting site

And they use program ordering, just in case if you don't know

To test or setup locally, You will need:

  • Central server
  • 1 District store
  • 1 mobile store for which mentioned district store is the supplying store

Thanks @sworup looking forward to
Cheers

@sworup
Copy link
Contributor

sworup commented Oct 14, 2022

@bijaySussol I just did a quick test of creating a supplier invoice and finalising it in current v8.6.1 with latest mSupply and I can see the item_line. I did not use the client's data file thought but I do not think it would have mattered.

I think this bug has been fixed in the last 2 odd years since v6.

Will do a through test.

@bijaySussol
Copy link
Contributor Author

I think this bug has been fixed in the last 2 odd years since v6.

Please link the issue

@bijaySussol
Copy link
Contributor Author

@bijaySussol I just did a quick test of creating a supplier invoice and finalising it in current v8.6.1 with latest mSupply and I can see the item_line. I did not use the client's data file thought but I do not think it would have mattered.

I would suggest to use the client datafile as a setup coz the issue where this is mentioned has there own process or functionality.

@bijaySussol
Copy link
Contributor Author

@sworup :

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.0.0 Bug: production Bug was found or believed to be in a live release Docs: not needed Effort: medium Medium effort story/task, estimated 2-5 days Investigation Issues which require investigation Priority: high
Projects
None yet
Development

No branches or pull requests

3 participants