lafi-business-group / lafi-sa.issues

Issue only repo for public. Please report all issues of lafi-sa.com in this repo
https://www.lafi-sa.com
0 stars 0 forks source link

<<TOP URGENT>> Stocks are not showing #10

Closed sabinsp09 closed 4 years ago

sabinsp09 commented 4 years ago

Describe the bug Stocks are not showing even after successful Stock Upload. To Reproduce Steps to reproduce the behavior:

  1. Upload Stock List under any branch head
  2. Stills Stocks Shows "Out of Stock"
sabinsp09 commented 4 years ago

Test .xlsx For your reference

sabinsp09 commented 4 years ago

To Reproduce Steps to reproduce the behavior:

1- Sign in with "sabins@lafi-sa.com" (Stock Upload option for Sahari Branch) 2-GO to Dashboard> Inventory > Upload Stock 3 Upload the given file for test purpose 4- message displayes with No Errors found. 5- Check the Stock Status. 6- Still it says " Out of Stock" Test .xlsx

azharakbar commented 4 years ago

@sabinsp09 Is this reproducible in newTest ? Pls check and confirm

Always mention this information in any issue raised by any staff

sabinsp09 commented 4 years ago

Is this reproducible in newTest ? Yes. It is reproducible in new test. tested in the New test and same issue araising.

This issue noticed from yesterday as most of the stocks displays out of stock. I tried myself to update and same error of " out of stock" occurred.

azharakbar commented 4 years ago

I reset all stocks to zero and checked the stock of CID-410CM by loigging in as sabins@lafi-sa.com

It was zero ..

I uploaded the Test.xlsx given by you and checked, it was 30 beside Sahari Branch

Hence, i was not able to reproduce,

If there is some mistake in my steps pls inform @sabinsp09

sabinsp09 commented 4 years ago

sabins@lafi-sa.com is mapped to sahari branch. If we try to upload the test file. the Stock should show 30 qty, but it says zero. But the stock upload is getting successful and no errors.

sabinsp09 commented 4 years ago

Actually this is not any error of stock uploads. The stocks were there, and suddenly disappeared and now shows "Out of Stock" is the issue. Why this happened?

azharakbar commented 4 years ago

@sabinsp09 i have cleared stocks of all items in new_test, can u check by uploading the test sheet? And confirm whats the result

sabinsp09 commented 4 years ago

Still the same. After Stock updation, it shows "Out of Stock "

azharakbar commented 4 years ago

@sabinsp09 You uploaded the test.xl which was sent to me right ?

sabinsp09 commented 4 years ago

Yes dear. Just test with that one item.

azharakbar commented 4 years ago

@sabinsp09 image

It seems correct

sabinsp09 commented 4 years ago

Let me check in newtest

sabinsp09 commented 4 years ago

Oof. Now i understood the issue. Its while searching and checking the stock status. image

azharakbar commented 4 years ago

@sabinsp09 Tell me the reproducing steps

sabinsp09 commented 4 years ago

1-Sign in with sabins@lafi-sa.com 2- Search for the item CID-410CM 3- Stock shows Out of Stock"

azharakbar commented 4 years ago

all others are correct ?

sabinsp09 commented 4 years ago

Yes. Stock are correct except while searching. I checked in the Original Data base also. its the same issue. The stock uploaded in the Morning are showing correctly. But not through Search Option.

azharakbar commented 4 years ago

is the issue same in mainLine and newTest @sabinsp09 ? Pls confirm in both places ..

sabinsp09 commented 4 years ago

Yes. Confirm.

azharakbar commented 4 years ago

RCA Usage of undefined variable in getItemStock model function This got into mainLine code because of an unmerged performace change for SpecialOffers optimization

Solution Updated the variable name to correct ones and updated the code change in required branch [specialOfferFix]

azharakbar commented 4 years ago

@sabinsp09 Fix is done, pls check and confirm

sabinsp09 commented 4 years ago

Checked and Working Fine right now.