Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -238,8 +238,8 @@ def pull_data_from_salesforce():
|
|
| 238 |
security_token=SALESFORCE_SECURITY_TOKEN
|
| 239 |
)
|
| 240 |
|
| 241 |
-
query_inventory = "SELECT Product_Name__c,
|
| 242 |
-
query_unbillable = "SELECT Product_Name__c,
|
| 243 |
|
| 244 |
response_inventory = sf.query_all(query_inventory)
|
| 245 |
response_unbillable = sf.query_all(query_unbillable)
|
|
|
|
| 238 |
security_token=SALESFORCE_SECURITY_TOKEN
|
| 239 |
)
|
| 240 |
|
| 241 |
+
query_inventory = "SELECT Product_Name__c, Current_Stocks__c, soldstock__c FROM Inventory_Management__c LIMIT 100"
|
| 242 |
+
query_unbillable = "SELECT Product_Name__c, Current_Stock__c, soldstock__c FROM Un_Billable__c LIMIT 100"
|
| 243 |
|
| 244 |
response_inventory = sf.query_all(query_inventory)
|
| 245 |
response_unbillable = sf.query_all(query_unbillable)
|