Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #49041 All Revisions ] Back to Issue ]
Summary 0049041: JIRA 1919 - DIGIBOARD - It is not necessary to send call digiboard after switching a product from stocked product to non-stocked
Revision 2022-04-12 15:31 by timothee_catteeuw
Steps To Reproduce Correctly configure your stockserver by adding this configuration in openbravohw.properties file :
stockserver.digiboard.url = http://127.0.0.1/api/updateStocks [^]

restart the Hardware manager.

go to Webpos and login
open stock server screen
switch a product to stocked product and change its quantity
2 calls are done, example :
127.0.0.1 - - [12/Apr/2022:15:28:23 +0200] "GET /api/updateStocks?code=12671&quantite=00000 HTTP/1.1" 200 - "-" "Jetty/9.4.26.v20200117"
127.0.0.1 - - [12/Apr/2022:15:28:23 +0200] "GET /api/updateStocks?code=12671&quantite=00002 HTTP/1.1" 200 - "-" "Jetty/9.4.26.v20200117"

--> OK

switch the same product from stocked to non-stocked product

1 call is done like below
127.0.0.1 - - [12/Apr/2022:15:29:50 +0200] "GET /api/updateStocks?code=12671&quantite=00000 HTTP/1.1" 200 - "-" "Jetty/9.4.26.v20200117"

--> KO no call needed here
Revision 2022-04-12 15:30 by timothee_catteeuw
Steps To Reproduce Correctly configure your stockserver by adding this configuration in openbravohw.properties file :
stockserver.digiboard.url = http://127.0.0.1/api/updateStocks [^]

restart the Hardware manager.

go to Webpos and login
open stock server screen
switch a product to stocked product and change its quantity
2 calls are done, example :
127.0.0.1 - - [12/Apr/2022:15:28:23 +0200] "GET /api/updateStocks?code=12671&quantite=00000 HTTP/1.1" 200 - "-" "Jetty/9.4.26.v20200117"
127.0.0.1 - - [12/Apr/2022:15:28:23 +0200] "GET /api/updateStocks?code=12671&quantite=00002 HTTP/1.1" 200 - "-" "Jetty/9.4.26.v20200117"

--> OK

switch the same product from stocked to non-stocked product

1 call is done like below
127.0.0.1 - - [12/Apr/2022:15:29:50 +0200] "GET /api/updateStocks?code=12671&quantite=00000 HTTP/1.1" 200 - "-" "Jetty/9.4.26.v20200117"

--> KO no call are needed here


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker