Rammohan0504 commited on
Commit
928086f
·
verified ·
1 Parent(s): 9411567

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -201,6 +201,7 @@ def generate_dpr(files):
201
 
202
  # Update the DPR record with the PDF URL
203
  if pdf_url:
 
204
  sf.Daily_Progress_Reports__c.update(dpr_record_id, {
205
  'PDF_URL__c': pdf_url # Storing the PDF URL correctly
206
  })
 
201
 
202
  # Update the DPR record with the PDF URL
203
  if pdf_url:
204
+ # Store the generated URL in the 'PDF_URL__c' field of the Daily Progress Report record
205
  sf.Daily_Progress_Reports__c.update(dpr_record_id, {
206
  'PDF_URL__c': pdf_url # Storing the PDF URL correctly
207
  })