79 Commits

Author SHA1 Message Date
2d04077df0 added Paste queries when pasting into a ‘parent’ 2015-01-29 13:43:51 +00:00
Rich
746ac8f35d Added stored procedures and function to support transition report functionality 2015-01-22 22:25:13 +00:00
Rich
ca0d2d3843 Fixes logic for copy step
Fixes logic for 7 LPI to account for the End Message
2015-01-22 01:36:29 +00:00
7284fd86f2 Fixed a bug for RO Usage Report where RO Usages were not found in Word attachment sections when RO values where selected to generate the report rather than a RO group. 2015-01-15 21:28:58 +00:00
2363d304aa Fix for Search ROs and RO Usage report where when you select specific RO value, it will not be found in Word attachments. 2015-01-13 16:30:08 +00:00
ace837aa1d In vesp_SessionBegin. Added a command to delete Owners where the SessionID is not in the Sessions table. This fixes an issue that happens when PROMS is abnormally terminated and not allowed to clean up before exiting. 2015-01-08 21:07:24 +00:00
56007d4303 Copied over sql commands from PROMS2010.sql that were not in PROMSFixes (vefn_FixTransitionForCopy & vefn_FixROData);
for xml comparisons use nvarchar rather than varchar so that if data contains character codes above 255 a crash does not occur;
remove duplicate CopyItemAndChildren
2014-12-11 13:07:11 +00:00
Rich
d3e5f7321c Revised procedure DeleteItemAndChildren 2014-09-16 03:17:46 +00:00
Rich
5614e177a1 Removed Kewaunee Formats 2014-09-15 18:11:11 +00:00
Rich
18e8d73d70 Modified stored procedure CopyItemAndChildren to fix updating the SectionStart value stored in the procedure config which indicates the default section of a copied procedure. 2014-09-12 01:07:34 +00:00
Rich
d6aae18a46 Added code to update FloatingFoldout ItemID value when copying a procedure which contains FloatingFoldout data. 2014-09-09 00:43:04 +00:00
Rich
1baf690bc6 Modified CopyItemAndChildren to speed up copying items
Added 1 index on tblContents and 2 indexes on tblItems to speed up copying items
2014-08-28 02:39:53 +00:00
c21ca1547d Fixed recursion limit of 100 error that happened when inserting a transition in the 137th procedure of a large procedure set 2014-08-06 18:24:40 +00:00
Rich
a17c27c0a8 Added code to raise an error if trying to paste a step in reference to a step that has been deleted by another user (eg: paste before, paste after or paste replace)
Added handlers for new treeview events of NodeCopy and ClipboardStatus
Added exception handlers to handle the exception of trying to use a deleted step as a reference point for a paste operation (before, after or replace)
Added code to set the MyCopyStep property to the value of the new step added in a paste replace operation
2014-08-06 00:55:41 +00:00
Rich
059041c546 Raise an error if trying to copy a step that has been deleted. 2014-08-05 19:00:42 +00:00
Rich
69bbda7ed8 Added function vefn_CompareROIDs
Modified stored procedure getAffectedDRoUsages to utilize function
2014-07-22 17:46:56 +00:00
Rich
a16ea8a6ac Fixed CopyItemAndChildren so that change bars are not changed for copied procedures.
Changed logic so that VE-PROMS source code can be located in either 16Bit or 16-Bit folders
This strips prerequisite step references from procedure text when printing
Recursive transitions cannot be added to procedure text.  If you try to add a transition to a step that contains the text of the step, you will be told that this is not permitted.
Default Change IDs were not being properly updated.
Added footer line to the debug rulers when creating a PDF.
Removed Prerequisite Step references in the PDF bookmarks
2014-07-22 00:05:06 +00:00
Rich
8a5a8cc8b3 Modified stored procedures vesp_SessionBegin and vesp_SessionCanCheckOutItem to manage when an adminstrator can export or import a docversion from within PROMS. 2014-06-14 01:10:08 +00:00
Rich
9e059a37f5 Modified vesp_SessionBegin to delete inactive owner records and inactive session records for current user after 5 minutes of inactivity and for all other users after 15 minutes of inactivity during start of new session.
Added new stored procedure getOwnersByVersionID.
Added method to OwnerInfoList class named GetByVersionID
Utilized OwnerInfoList.GetByVersionID method
2014-05-30 01:13:55 +00:00
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