Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -97,13 +97,13 @@ inventory_date = datetime.today().strftime('%Y-%m-%d')
|
|
97 |
apis = [
|
98 |
# fetch warehouse ID
|
99 |
{
|
100 |
-
"url": "http://193.203.162.39:
|
101 |
"params": {"query": warehouse_name, "userId": 164}
|
102 |
},
|
103 |
|
104 |
# Stock summary based on warehouse id
|
105 |
{
|
106 |
-
"url": "http://193.203.162.39:
|
107 |
"params": {"branchId": 343, "onDate": inventory_date, "warehouseId": warehouse_id}
|
108 |
}
|
109 |
]
|
|
|
97 |
apis = [
|
98 |
# fetch warehouse ID
|
99 |
{
|
100 |
+
"url": "http://193.203.162.39:8383/nxt-wms/userWarehouse/fetchWarehouseForUserId?",
|
101 |
"params": {"query": warehouse_name, "userId": 164}
|
102 |
},
|
103 |
|
104 |
# Stock summary based on warehouse id
|
105 |
{
|
106 |
+
"url": "http://193.203.162.39:8383/nxt-wms/transactionHistory/stockSummary?",
|
107 |
"params": {"branchId": 343, "onDate": inventory_date, "warehouseId": warehouse_id}
|
108 |
}
|
109 |
]
|