ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/NinoCode/Active_prgs/Evidox/AMCaseDatabaseDocCountReport.py
Revision: 746
Committed: Thu Apr 15 20:11:16 2021 UTC (4 years, 11 months ago) by nino.borges
Content type: text/x-python
File size: 859 byte(s)
Log Message:
Updated to be compatible with python3, which made the bak files.

File Contents

# User Rev Content
1 nino.borges 720 """
2    
3     AMCaseDatabaseDocCountReport
4    
5     Created by
6     Emanuel Borges
7     09.21.2020
8    
9     Creates an excel spreadsheet report listing the document counts for each of a particular AMs cases. Relativity only for now.
10    
11     """
12    
13     import RelativityLib, ExcelLib
14    
15     if __name__ == '__main__':
16     accountManagerName = 'Dana Connealy'
17     caseMatrix = {'Sokoloff Stern':['Lee-Mercer'],
18     'Kenney & Sams, P.C.':['Delta Mechanical Contractors - Alares Construction'],
19     'Duffy Sweeney':['VIVE Solutions - Turino Group']
20     }
21 nino.borges 746 for clientName in list(caseMatrix.keys()):
22 nino.borges 720 for caseName in caseMatrix[clientName]:
23     db = RelativityLib.CustomObjectTable(caseName,'Document')
24 nino.borges 746 print("%s | %s has %d documents"%(clientName, caseName, db.totalResultCount))
25 nino.borges 720
26     db = ""
27    
28    
29