| 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 |
|
|
|