ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/NinoCode/Active_prgs/Evidox/AMCaseDatabaseDocCountReport.py
Revision: 720
Committed: Wed Jan 20 21:17:36 2021 UTC (5 years, 2 months ago) by nino.borges
Content type: text/x-python
File size: 852 byte(s)
Log Message:
Creates an excel spreadsheet report listing the document counts for each of a particular AMs cases.  Relativity only for now.

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     for clientName in caseMatrix.keys():
22     for caseName in caseMatrix[clientName]:
23     db = RelativityLib.CustomObjectTable(caseName,'Document')
24     print "%s | %s has %d documents"%(clientName, caseName, db.totalResultCount)
25    
26     db = ""
27    
28    
29