Removed PDF info from Document and Document Config
Added DebugStatus to MSWordToPDF Class Removed PDF info from Document Config Moved PDF info from Documents to PDFs Table Added MSWordPageCount Property Delete PDFs when RO Value Changes in a related document
This commit is contained in:
@@ -247,14 +247,16 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
foreach (DROUsageInfo droUsg in affected)
|
||||
{
|
||||
using (Document document = Document.Get(droUsg.DocID))
|
||||
{
|
||||
if (document.DocPdf != null)
|
||||
{
|
||||
document.DocPdf = null;
|
||||
document.Save();
|
||||
}
|
||||
}
|
||||
//using (Document document = Document.Get(droUsg.DocID))
|
||||
//{
|
||||
Pdf.DeleteAll(droUsg.DocID);
|
||||
// Delete PDFs
|
||||
//if (document.DocPdf != null)
|
||||
//{
|
||||
// document.DocPdf = null;
|
||||
// document.Save();
|
||||
//}
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user