121 Commits

Author SHA1 Message Date
16133ccab1 Added method to remove all word section PDFs during the update RO values process
More live feedback to the user when updating RO values, faster Update RO Values logic, merged the refresh ROs logic with the update ROs logic, save date/time of completed RO Update
Logic to get the RO figure file name
2017-06-20 16:27:17 +00:00
Rich
aa21c16ebb Changed ROImage to use GetJustROImage so that the ROFST lookup is not loaded for each ROImage. 2017-05-24 13:00:33 +00:00
8b5e7e01ad B2017-060 the update of RO usages of an imported procedure, if RO was not found in the ROUsage table, the import would be aborted instead of converting the invalid RO to text
B2017-060 the update of RO usages of an imported procedure, if RO was not found in the ROUsage table, the import would be aborted instead of converting the invalid RO to text.
Part of B2017-060 fix were we need to prevent the content text from being disposed when Item is used in a Using statement.
2017-03-24 14:29:39 +00:00
Rich
32cf8e2f3c Added Command Timeout to each query that did not have a specified timeout 2017-03-01 15:42:00 +00:00
Rich
b5f4a0751e Added Command Timeout to each query that did not have a specified timeout
Added SQLTimeout Property (Default 30 Seconds) which is 1/20 of the DefaultTimeout (Default 600 seconds)
2017-03-01 15:41:15 +00:00
3a2759470d check for null reference when deleting a source step that has associated enhanced (found during fix for B2016-228)
B2016-228: when creating section/procedure enhanced items, set ‘Number’
B2016-228: when modifying source section or procedure, save ‘Number’ also
B2016-198: User hold point no longer overwrites the ‘INIT/DATE’ signoff heading
2016-11-29 13:52:43 +00:00
e689dc2ba0 Embedded images 2016-10-17 14:25:30 +00:00
1ba918cfd8 Added logic to use “{DB}” as the connection Initial Catalog setting which will be replaced with the specified database name from the \DB command line switch 2016-09-02 14:05:33 +00:00
0245c9fe7a Fix to import Transitions in Grids (tables) and handle the dash characters
Added a Set method to MyGrid
2016-08-31 18:40:25 +00:00
Rich
d46ee4e39c Keep special characters for Enhanced Document Text 2016-08-11 19:31:52 +00:00
65ad595afc Enabled insert Next and Previous on the Figure substep type (B2016-111)
Set the cursor focus to the Find Text box when Find/Replace is first started (B2016-107)
Added a Cancel button to the “Reopen Last Database” dialog, which will exit PROMS
2016-05-13 18:58:14 +00:00
5d8d79e32c Fix B2016-045, B2016-083 & 084: Procedure number hyphen representation, create non-existing annotation type & don’t import if user does not overwrite/copy existing procedure.
Fix B2016-083: Added a method ‘GetByNameOrCreate’ that will create the Annotation type if it doesn’t exist
2016-03-22 14:57:47 +00:00
Rich
c2649727e1 Added Class to support Purge of Disconnected Data
Allow Display of the SQL Code Revision
2016-02-26 16:09:50 +00:00
d7643f4721 logic to save word sections with resolved RO values for exporting the approved procedure
Better memory management and commented out debug statements to help evaluate memory usage
2016-02-18 15:31:19 +00:00
Rich
697fbf98f8 Show the amount of time it takes to complete a search
Remove Debug Messages
Eliminate crash due to SQL connections
The location for search result was changed from bullets to meaningful values.
2016-02-12 20:00:10 +00:00
006d194d01 Fix B2016-034: New Procedure/New Word Section creation causes new procedure to disappear from tree view 2016-02-12 16:35:15 +00:00
Rich
9e170362cc Added option to Remove Trailing Hard Returns and Manual Page Breaks
Added Server and Database to Window Caption (Title)
2016-01-20 20:17:16 +00:00
6366af8b47 Enhanced Document support
Null check
Move DisplayText.cs to CSLA
Enhanced Documents – don’t allow ‘Save’ RO on enhanced step
Enhanced Documents windowing
Enhanced Documents remove unnecessary options
Enhanced Documents – don’t allow ‘Save’ transition on enhanced step
Enhanced Documents/Insert,Delete,Paste
2016-01-20 16:43:23 +00:00
Rich
03303d785c New Enhanced Document Properties
DB Command Line Parameter now supports server name and ItemIDs.
Added File extension parameter to Make Document
2015-10-27 13:30:46 +00:00
6ad07dcf50 Comment text didn’t have // in front of it, causing a build error. 2015-09-14 14:30:52 +00:00
Rich
b39fc7a048 Open a MessageBox and provide a message if a connection fails. This handles incorrected values for the server name, the database name, or anything else (including security) which would cause a connection to fail. 2015-09-14 13:30:01 +00:00
Rich
551b71e525 Save Enhanced Document Properties
Support new Properties Step_SourceToBackground, Step_BackgroundToSource, Step_SourceToDeviation, Step_DeviationToSource
2015-09-12 15:45:06 +00:00
Jim
f005316849 Modified code to support structure changes to treeview nodes 2015-05-16 17:02:26 +00:00
3053c892a1 Use ‘GetJustStage’ for Stage & StageInfo gets of data.
Provide methods to use ‘GetJustStage’ from application
Use ‘GetJustFormat’ for format infos
2015-02-17 17:30:47 +00:00
Rich
34bfdba7b2 Added code to store the xml representation of the approved version of the procedure in the database for future support of temp mods, etc. 2015-02-05 03:53:29 +00:00
Rich
25719bf869 Added code to Track DB Usage. Uses the StackTrace to find which object and method are being used when the database is being used.
Added Profile debug
2015-01-19 20:50:15 +00:00
Rich
3a7667d9b7 Use new generic property (ActiveDatabase) to access the current database name. About Screen
Use new generic property (ActiveDatabase) to access the current database name.  Name of Export File
Use new generic property (ActiveDatabase) to access the current database name.  Name of Error Log FIle.
Added new generic property (ActiveDatabase) to access the current database name.
2014-09-03 19:37:24 +00:00
Rich
b84141f9e5 Added Command Line support to set the server so that we don't need to duplicate the executable folder to create versions that use the local database or SQL2008. 2014-09-02 18:30:17 +00:00
Rich
34ae254319 Added code to assure length of OldStepSequence does not exceed 32 characters 2014-07-03 02:46:02 +00:00
Rich
600dcc0121 Added ability to get RO usage list by DocVersion and Procedure 2014-05-14 02:11:54 +00:00
Rich
e8fbd9d30b Print Speed-up 2014-04-10 21:39:17 +00:00
4e445bbe20 Page Num Transition (for grids) 2014-01-22 12:06:56 +00:00
15e744eb2c Fixed logic to display a menu of databases when {MENU} is the Initial Catalog in DBConnection.xml file 2014-01-09 17:04:31 +00:00
Rich
3dcf918262 Changed GroupName column length to 100 as part of validation rules. 2013-11-25 04:43:27 +00:00
Rich
831f90c8d6 Generated standard CSLA code. 2013-11-20 23:09:01 +00:00
Rich
1f2c18bdf1 For all of the following modules, changed DefaultUserID and DefaultUsrID properties to use vlnSettings value rather than environment variable value. This is needed to support multiuser and security updates but does not affect the non-multiuser and security version of PROMS. 2013-11-20 22:54:15 +00:00
Rich
62c7377c35 For all of the following modules, changed DefaultUserID and DefaultUsrID properties to use vlnSettings value rather than environment variable value. This is needed to support multiuser and security updates but does not affect the non-multiuser and security version of PROMS. 2013-11-20 15:24:24 +00:00
Rich
0945b75d11 Added error handling when a folder is moved to a location which would cause there to be two sub-folders with the same name. 2013-09-09 15:52:35 +00:00
5a81462bf7 B2013-153 fixed: fix getting Count of associated objects.
Cleanup for getting Counts of associated objects.
2013-08-27 15:54:10 +00:00
5d5533b232 Cleanup for getting Counts of associated objects. 2013-08-27 15:52:51 +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
f8a3adcd32 Bug fix B2013-079 – Users can now use “{MENU}” in the DBConnection.xml file
so that they can specify a database in a PROMS shortcut (ex  VEPROMS.EXE \DB=VEPROMS_xxx)
2013-04-08 14:21:01 +00:00
Rich
c63d792953 Added reference to System.Collections.Generic
Added PurgeDataCommand class based on CSLA CommandBase class
Added CanTransitionBeCreatedCommand class based on CSLA CommandBase class
Added WillTransitionsBeValidCommand class based on CSLA CommandBase class
Added InvalidTransition class
Added ProposedTransition class
Changed NodeText_Changed method to support multi unit
Added BigNum class to support applicability for multi unit
2012-12-04 23:01:33 +00:00
Rich
45fc9edcd3 Added logic to create annotations for transitions to un-numbered steps
Moved code to extension
2012-11-15 16:58:57 +00:00
c0d0c3d08e commented out test coding to save for now.
use the ordinal step number instead of the step tab if the transition is to a non-numbered step
added bool to track if the new transition is to a non-numbered step
2012-11-14 19:17:58 +00:00
Rich
1df947bdf8 Restored logic to check cache so that the same item is not added repeatedly
Eliminate AddToCache in the factory constructor.  This was causing the same item to be added to the cache repeatedly.
2012-11-05 22:02:57 +00:00
2e18286a17 2012-10-04 11:18:29 +00:00
fbe393828c 2012-09-12 13:08:37 +00:00
Rich
fab1e8935e The check to see if the iteminfo was already in the cache was using a rediculous amount of time. I removed the check and added erro handling. 2012-07-25 21:43:42 +00:00
Rich
7bcfafcc8b Move frmErrors when frmLoader is moved
Shutoff SpellCheck for StepRTB
Use using for temporary StepRTB
Use using for vlnFlexGrid
Added debug output to track StepRTBs and vlnFlexGrids in memory
Limit bottom margin to 0 or above
Dispose of roImage after it is done being used
Dispose of Figure after it is done being used.
Use GetJustRODB so that images are not loaded.
Added ErrorHandler if annotation is deleted after a search
Track create, dispose and finalize
Add static variable to control if SpellCheck is used
Use using for temporary StepRTB
Lazy Load SelectionStack
Clean-up on Dispose
Track create, dispose and finalize
Make MyCopyInfo Lazy Loaded
Use using for temporary StepRTB
Add Dispose method for TableCellEditor
Cleanup on Dispose
Only kill MSWord instances that are invisible
2012-07-13 18:34:57 +00:00