Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -236,7 +236,10 @@ def pull_data_from_salesforce():
|
|
| 236 |
security_token=SALESFORCE_SECURITY_TOKEN
|
| 237 |
)
|
| 238 |
|
| 239 |
-
query = "SELECT Product_Name__c, Modal_Name__c, Current_Stocks__c FROM Inventory_Management__c LIMIT 100"
|
|
|
|
|
|
|
|
|
|
| 240 |
response = sf.query_all(query)
|
| 241 |
|
| 242 |
records = response.get("records", [])
|
|
|
|
| 236 |
security_token=SALESFORCE_SECURITY_TOKEN
|
| 237 |
)
|
| 238 |
|
| 239 |
+
query = "SELECT Product_Name__c, Modal_Name__c, Current_Stocks__c, soldstock__c FROM Inventory_Management__c LIMIT 100"
|
| 240 |
+
query = "SELECT Product_Name__c, Modal_Name__c, Current_Stocks__c, soldstock__c FROM Un_Billable__c LIMIT 100"
|
| 241 |
+
|
| 242 |
+
|
| 243 |
response = sf.query_all(query)
|
| 244 |
|
| 245 |
records = response.get("records", [])
|