426 Commits

Author SHA1 Message Date
196111b836 handle NULL reference exception 2013-11-25 17:56:50 +00:00
Rich
cc62d25333 Added vefn_GetROTokens to find tokens in Documents.DocAscii
Added vefn_GetVersionNames to get Folder names for DocVersions (Working Drafts)
2013-11-25 14:15:47 +00:00
Rich
d7da2e454d Added stored procedure vesp_ResetSecurity 2013-11-25 04:41:16 +00:00
Rich
4994f19997 Added getDRoUsagesByROIDsAndVersions and getRoUsagesByROIDsAndVersions to speed-up RO Value Update process.
Added logic to speed up RO Value Update Process.
Added logic to keep SvgImages from failing if the ImagePath is null.
2013-11-22 16:39:32 +00:00
Rich
46a70899bd Add code to stop the process of loading data and notify the user when there is a problem with the 16-bit data, especially proc.ini files.
Added improvements to the code to better handle proc.ini files when they are part of a multi unit site, especially case sensitivity of elements of the proc.ini file.
The changes involve all of the stored procedures, functions and table changes to support multiuser and security configuration of PROMS.
2013-11-20 22:58:38 +00:00
daef4a2a8e Don't add '0' after section numbers for Catawba & McGuire 2013-11-20 12:57:42 +00:00
Rich
99792ab13e Added code to allow storing approved pdf's into database for multiunit sites. 2013-11-14 21:28:25 +00:00
60e2116d0d Added logic to process a forward slash in 16-bit data being converted for PROMS 2013-10-30 18:18:33 +00:00
Rich
883392a51a Search was failing when searching for a space, if the data contained a hardspace.
Added Version into ErrorLog for the Session Begin
Fix transition text in Background Documents to say "5" rather than "EOP STEP 5:"
2013-10-14 15:46:25 +00:00
Rich
18ca100f95 Set annotation id to "Migration" for Migration Errors. 2013-09-25 21:22:40 +00:00
Rich
928c390c42 Change code that documents when a SQL script is run to record it as info rather than error.
When a PDF is created from MSWord, PROMS checks to see if an addin is loaded for MSWord 2007.  The registry key has been changed to be generically applicable to multiple operating systems.  Specifically this will now work for MSWord 2007 on Windows 7.
2013-09-25 15:56:53 +00:00
e47df68f83 fix DB crash when zcontents data for field is too large 2013-09-10 12:44:59 +00:00
1d3a653e1a Added additional folder names for Robinson Data to match menu file in 16-bit VE-PROMS 2013-09-05 13:03:44 +00:00
0d7455804b Convert '^' to delta correctly. 2013-08-29 14:18:37 +00:00
Rich
891615bbc1 Added Logic to handle and report Transition Conversion errors.
Corrected logic to translate TranType 2 transitions when Range location is less than the To location.
Corrected logic for translating dates.
2013-08-27 17:14:24 +00:00
65b32ab930 Fixed the script that turns off AutoShrink and Autoclose so that it can be run from the SQL Management Studio. 2013-08-27 15:49:24 +00:00
4dcef78c4f Added code to handle bad column mode information in the 16-bit Set.dbf file. 2013-08-23 12:29:58 +00:00
3fa8a7e9be fixed a TimeSpan overflow error where it added time spent on datasets that were not processed (happens when merging databases) and resulted in a number that made no sense for the time function, causing the program to stop 2013-08-20 19:53:42 +00:00
e507230fd9 turned off the AutoClose and AutoShrink database options 2013-08-20 19:52:59 +00:00
702980a0e4 Improved calculation to determine if word section is portrait or landscape, based on docstyle's pagelength, topmargin & pagewidth 2013-08-20 11:14:41 +00:00
78cf6ccdfd If error parsing string for default plant format name if subformat from curset.dat, use parent format 2013-08-20 11:13:50 +00:00
fea3d9b1ed Removed trailing backslashes on data paths when processing data to merge
We were not generating the proper extension for some of the 16-bit rtf attachment file names.
2013-08-09 20:51:14 +00:00
Rich
681d94d304 Modified vesp_ListItemAndChildrenByUnit to fix content parts count when no content parts exist due to applicability settings 2013-07-23 04:05:10 +00:00
a0a226e26e 2013-07-10 14:35:42 +00:00
Rich
78add0ccd2 Added a missing MAXRECURSION 10000
Changed Through Transition Format and User Interface
Added Automatic Print Options to shutoff DebugText (/NT), DebugPagination (/NP) and Compare (/NC)
Added logic to allow the use of the default path for PDFs.
Update the Print_PDFLocation property of the Working Draft when the user changes the value on the Working Draft property page.  Fixed Bug B2013-117
Set the date/time stamp for the Document based upon the current time.
Make sure that the output is set to Final without revisions and comments before ROs are replaced.
Added function to restore valid previous version of MSWord document if the current version is not a valid document.
Check for Null to eliminate errors.
Removed Unused field DocPDF
Support MSWord document restore function.
Add check for Transition Node count before updating values.
Restore latest valid MSWord document if the current version is not valid.
Eliminate File Commands so that the user can only close the MSWord section, and then verify if the changes to the document will be saved.
2013-07-01 17:39:15 +00:00
5bf264804c Added comments 2013-06-27 12:43:34 +00:00
a3a428bcd0 2013-06-21 14:38:02 +00:00
5c213e8f35 2013-06-21 14:30:25 +00:00
5166867b4a Added logic to allow a merge of 16-bit data into a 32-bit database. Also tried to add an update formats for all database, but isn’t working yet, so I commented the logic out for now. 2013-06-21 12:23:31 +00:00
1d6fb249c7 2013-06-14 14:19:50 +00:00
ca50815d38 added check for existence of DBF file before trying to process the procedure. Added message to error log stating that the DBF file was not found 2013-06-14 13:35:07 +00:00
1cc722cb67 Fixed logic to handle a user (sub) format as the procedure set default format
added more robust logic to handle outside transitions
supporting logic to add an additional annotation when multiple possibilities for an outside transition is possible
2013-06-12 19:00:37 +00:00
Rich
f03615dd7d Added IsLandscape property to WordDocument class
Utilized IsLandscape property to set WordDocument orientation
2013-06-11 18:40:11 +00:00
Rich
4885c21734 Used landscape parameter in call to SaveWordDoc in MigrateLibDoc method
Added new table function vefn_GetVersionFormatItems
Used comparison of DocStyle PageWidth to PageLength to determine value for landscape parameter in call to SaveSectionDocument
Added ability to disable checkoffs for a section based on 16-bit data
2013-06-11 18:39:39 +00:00
Rich
d099c1a881 Added boolean parameter to SaveSectionDocument and SaveWordDoc methods to support landscape word documents 2013-06-11 18:38:13 +00:00
Rich
ebccc32e4e Fixed logic to find ROs in procedure text. 2013-05-23 20:40:09 +00:00
Rich
e9f746a883 Logic to determine if a transition was acceptable was running into a limit. The limit was removed.
Changed logic so that Compare Check Box is visible if the PDF Output folder contains a folder named "Compare".
Pagination within a step was changed to more accurately fill a page taking account for continue messages at the top and bottom of the page.
Logic was added to try to find a place to break a step, if the minimum break location cannot be found using the standard logic.
Added YTopMost output to debug text on compare PDFs.
2013-05-21 15:37:19 +00:00
26ce21ccb9 connect library documents for procedures that have many sections (step/sequence was non-alpha) 2013-05-14 12:48:42 +00:00
63ebe985f1 2013-05-14 12:48:08 +00:00
e4f0e892d3 2013-04-23 13:37:37 +00:00
da370ae7f2 Convert back quote to a degree in (16-bit Ter Editor) / MSWord sections 2013-04-19 19:16:43 +00:00
Rich
f77a704f6c Added getJustFormat, vesp_TurnChangeManagerOFF and vesp_TurnChangeManagerON stored procedures 2013-04-19 13:53:39 +00:00
Rich
c24fd83bdf Added overloaded method RunScript to allow for executing a sql command from DataLoader
Made call to vesp_TurnChangeManagerOFF prior to converting a database and a call to vesp_TurnChangeManagerON after converting a database to improve adding 16-bit data to an existing 32-bit database
Made call to vesp_TurnChangeManagerOFF prior to fixing transitions and a call to vesp_TurnChangeManagerON after fixing transitions to improve adding 16-bit data to an existing 32-bit database
Modified PartialMatch method to handle cases when XTSETID.DBF entry for abbyproc does not have the .prc extension
Modified ExactMatch method to handle cases when XTSETID.DBF entry for abbyproc does not have the .prc extension
Added stored procedure stubs for vesp_TurnChangeManagerOFF and vesp_TurnChangeManagerON
2013-04-19 13:53:08 +00:00
Rich
a7c689f23a Modified getAnnotationAuditsChronologyByItemIDandUnitID to use derived applicability
Modified getContentAuditsSummaryByItemIDandUnitID to use derived applicability
Modified getContentAuditsChronologyByItemIDandUnitID to use derived applicability
2013-04-10 14:18:57 +00:00
Rich
1941ab1f2b Fixed Search Annoations. The code was looking for Items which contained annotations rather than looking for the annotations. The results would list all of the annotations for items that matched the search criteria rather than just the annotations that matched the search criteria.
The stored procedure "DeleteAnnotationType" was changed to delete any related records in the table tblAnnotations.  This allows the user to delete annotation types that are no longer is use.
The drag function for Folders, Procedures, Sections and Steps was changed to require the user to press the Control and Shift keys when dragging, thus making it more difficult to accidently move items in the Tree View.
2013-04-09 14:20:58 +00:00
Rich
55f918c150 Added logic to only process RO value updates for the specified DocVersion. 2013-04-08 19:26:16 +00:00
Rich
268df16b6e Modified vefn_GetMyChronology to include datetime parameter
Modified getContentAuditsChronologyByItemID to include datetime parameter
Modified vefn_ChronologyReport to include datetime parameter
Modified getAnnotationAuditsChronologyByItemID to include datetime parameter
Modified getContentAuditsSummaryByItemID to include datetime parameter
2013-04-08 14:37:56 +00:00
Rich
6046f905b1 Modified getAnnotationAuditsChronologyByItemID to include datetime parameter
Modified vefn_GetMyChronology to include datetime parameter
Modified getContentAuditsChronologyByItemID to include datetime parameter
Modified getContentAuditsSummaryByItemID to include datetime parameter
Modified vefn_ChronologyReport to include datetime parameter
2013-04-08 14:37:21 +00:00
Rich
3dac6dd926 Modified vefn_ChronologyReport to include datetime parameter
Modified vefn_GetMyChronology to include datetime parameter
Modified getContentAuditsChronologyByItemID to include datetime parameter
Modified getContentAuditsSummaryByItemID to include datetime parameter
Modified getAnnotationAuditsChronologyByItemID to include datetime parameter
Modified getAnnotationAuditsChronologyByItemIDandUnitID to include datetime parameter
Modified getContentAuditsChronologyByItemIDandUnitID to include datetime parameter
Modified getContentAuditsSummaryByItemIDandUnitID to include datetime parameter
2013-04-08 14:36:44 +00:00
Rich
d2796abac7 Added logic to trigger to allow an unused library document to be deleted. 2013-03-27 17:05:01 +00:00