Ajay98 commited on
Commit
0690496
·
verified ·
1 Parent(s): b8ac090

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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", [])