60 Commits

Author SHA1 Message Date
Rich
dd7f3a4148 Added getRoUsagesForDocVersion and modified vesp_ListTables3 stored procedures
Updated how RO values are updated as a result of issues identified by Calvert data
Modified code to handle non-standard characters in StepType variable.
Chnaged how transitions are updated to utilize methods of Content and ContentInfo classes
2014-05-14 02:07:03 +00:00
Rich
2eadfd8ed6 Change to the recursive limit on a number of procedures to support > 1000 procedures per Working Draft set 2014-04-07 21:21:48 +00:00
Rich
a5790a4963 Updated restoreDeletedItem stored procedure to include updating the docversions table when restoring a deleted item
Changed name of database server for Bodine’s new computer
2014-03-06 02:43:16 +00:00
Rich
651266e7c8 Added code to correct 16-bit applicability conversion to 32-bit applicability 2014-03-04 02:03:42 +00:00
Rich
13550d1b19 Fixed Copy Procedure 2014-02-21 17:10:46 +00:00
Rich
e0fbaa29f5 Modified vefn_CanTransitionBeCreated to allow transitions to a step with no applicability 2014-02-13 02:57:45 +00:00
Rich
a99d33e065 Modified getRevisionsByItemIDandUnitID and getRevisionsByItemID stored procedures
Add changes to Byron/Braidwood formats
2014-01-20 04:22:22 +00:00
Rich
fcee3fae8d Added Procedure and Section support to the SQL tbale function vefn_FindAffectedTransitions. 2014-01-17 21:15:44 +00:00
Rich
d058e4b585 Added missing fields ContentID and Config to query. 2013-12-18 22:26:40 +00:00
Rich
15e33d2320 Fixed logic in vefn_GetROTokens to find RO Tokens for testing. 2013-12-02 21:35:11 +00:00
Rich
500c5d224c Fixed logic in vefn_GetROTokens to find RO Tokens for testing. 2013-11-27 21:07:12 +00:00
Rich
6ae55e3780 Fixed logic to properly find RO Tokens in text.
Fixed logic when searching for annotations so that the results can be selected.
2013-11-27 15:43:53 +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
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
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
e507230fd9 turned off the AutoClose and AutoShrink database options 2013-08-20 19:52:59 +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
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
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
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
Rich
f77a704f6c Added getJustFormat, vesp_TurnChangeManagerOFF and vesp_TurnChangeManagerON stored procedures 2013-04-19 13:53:39 +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
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
Rich
49077fccb5 Added logic to keep this script from running in the system databases.
Added warning messages if changes exist to fmtxml or promsfixes.sql.
2013-03-14 20:42:06 +00:00
Rich
07fbc295d1 Added Stored Procedure to sort folders alphabetically
vesp_ResetFolderManualOrderAlphabetical
2013-03-14 14:41:36 +00:00
Rich
23b9f54614 Fixed logic to find dashes 2013-03-13 21:47:27 +00:00
Rich
23ad3d8d7b Made a few fixes to the Text Search Function
Created a Stored Procedure to move Procedures, Sections and Steps
Added set files to READ/WRITE if they are READ ONLY.
2013-03-12 14:59:13 +00:00
Rich
4abaceac23 Corrected comment
Added Ordinal to vefn_SiblingItems
Added Stored Procedure vesp_SortProcedures to sort procedures within a DocVersion
Added Error Handler in Range.Text
Corrected logic in FindRO to return a null when an RO is not found.
2013-02-28 15:47:52 +00:00
Rich
e2797d2e2d Corrected the size of the input variable (List of Procedure Sets) so that all of the requested data sets will be searched 2013-02-20 19:50:26 +00:00
Rich
a2d30b72e1 Logic change to get Children in the correct order in the treeview and editor 2013-02-05 23:38:16 +00:00
Rich
676ec9fb30 Revised vefn_getChronology to speed up performance 2013-01-09 20:32:21 +00:00
d02d29f0e1 B2012-371 Fixed the bug with inserting an outside transition – needed stored procedure vefn_ParentItems 2012-12-13 22:54:58 +00:00
Rich
5302c8a95f Improved getAnnotationAuditsChronologyByItemIDandUnitID execution speed
Improved getContentAuditsChronologyByItemIDandUnitID execution speed
Improved getContentAuditsSummaryByItemIDandUnitID execution speed
2012-12-05 20:57:02 +00:00
Rich
31d6e47b51 Added the following Stored Procedures to support master slave data
getAnnotationAuditsChronologyByItemIDandUnitID
	getContentAuditsChronologyByItemIDandUnitID
	getContentAuditsSummaryByItemIDandUnitID
	getCurrentRevisionByItemIDandUnitID
	getDocumentByLibDoc
	getRevisionByItemIDandRevisionNumberAndUnitID
	getRevisionsByItemIDandUnitID
	vesp_CanTransitionBeCreated
	vesp_ListItemAndChildrenByUnit
	vesp_WillTransitionsBeValid
Added the following Functions to support master slave data
	ve_GetItemApplicability
	ve_GetItemDerivedApplicability
	ve_GetParentItem
	vefn_CanTransitionBeCreated
	vefn_GetVersionIDByItemID
	vefn_WillTransitionBeValidFrom
	vefn_WillTransitionBeValidTo
2012-12-04 22:39:47 +00:00
Rich
77338c048d Added vefn_GetMyChronology user function
Fixed getContentAuditsChronologyByItemID stored procedure
Fixed getContentAuditsSummaryByItemID stored procedure
Fixed getAnnotationAuditsChronologyByItemID stored procedure
2012-11-13 16:08:14 +00:00
1bdf8af02d Bug fix B2012-298 Error on past procedure before or after Added a MAXRECURSION statement to fix the problem.
Added “Copy Of” to new the procedure numbers when we copy and paste a procedure.
2012-11-09 20:39:35 +00:00
Rich
173dd85ccf Added "OPTION (MAXRECURSION 10000) to all recursive queries. Remove Change Manager stored procedure "getItemAuditsByItemID" 2012-11-05 21:55:27 +00:00
Rich
bbcb9c6935 Fixed search logic for empty search string. Improves performance.
Fixed logic to restore a deleted step.  If the first step is deleted and restored, the change manager fails.
Fixed numerous queries to give proper values if either the number or the number or the title is null.
Added testing examples to vefn_FixSearchString
2012-10-31 15:54:52 +00:00
62334a105d 2012-10-30 14:14:23 +00:00
1a65b51312 fixed syntax error 2012-10-26 14:38:22 +00:00
29f2d79fed include copyright notice for each stored procedure, function, and trigger
added VEREV3PI “WOG - Emergency Response Guidelines Rev. 2 for NSP”
2012-10-25 18:47:22 +00:00
Rich
eed947c044 PROMSFixes.Sql - Changed logic in Stored Procedures and functions to Properly format PATH when the Procedure Number includes a Decimal Point
vefn_SiblingAndChildrenItems
	vesp_SearchItemAndChildren
	vesp_GetROUsagesByProcedure
	vesp_SearchROItemAndChildren
	vefn_SiblingAndChildrenItemsByProc
	Removed duplicate vesp_SearchROItemAndChildren
2012-10-25 17:04:23 +00:00
314046cd77 2012-10-04 11:11:06 +00:00