426 Commits

Author SHA1 Message Date
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
d60a7c79b2 Fixed status message 2013-03-14 14:40:57 +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
767e9762e0 Corrected comment
Added Ordinal to vefn_SiblingItems
2013-02-28 15:46:22 +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
635b88de4d Exit on SQL script failure
Added error handling to RunScript method
Exit on SQL script failure
Changed vefn_ChronologyReport
Changed how check for prior existence of rofst
2013-02-08 23:47:21 +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
414378e0f3 Fixed logic to support text library documents
A couple more fixes to paste dashes from Adobe
2012-12-06 21:29:55 +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
75e4d4767e Fixed code to hanlde empty ProcessOnlyInLocation field. 2012-12-05 12:07:02 +00:00
Rich
55bb5f8c95 Added ProcName attribute with value to History node of ConfigInfo xml
For multi unit data, added Applicability attribute with value to MasterSlave node of ConfigInfo xml
2012-12-04 22:41:01 +00:00
Rich
f7c9dde072 Added ProcName attribute with value to History node of ConfigInfo xml
For multi unit data, added Applicability attribute with value to MasterSlave node of ConfigInfo xml
Added private method AddApplicability to Loader class
Removed blank line
2012-12-04 22:40:30 +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
4a7496482a Added ProcName attribute with value to History node of ConfigInfo xml
Added RevDate attribute with value to Procedure node of ConfigInfo xml
Added ReviewDate attribute with value to Procedure node of ConfigInfo xml
Changed how procedure applicability obtained from procedure APL file
For multi unit data added slave node to ConfigInfo xml
For multi unit data added Rev attribute with value, RevDate attribute with value and ReviewDate attribute with value to selected slave node of ConfigInfo xml
2012-12-04 22:38:19 +00:00
Rich
de08f24053 Added code to assure consistent case of node names of xml generated in AddNode method of PrivateProfile class
Added code to assure consistent case of attribute names of xml generated in AddParam method of PrivateProfile class
2012-12-04 22:37:17 +00:00
Rich
cd3e0af534 Added call to AddSlaveUnits method of ConfigInfo class when processing proc.ini file in Loader class
Added private methods AddSlaveUnits, GetUnitNames and GetMasterDir to Loader	class
2012-12-04 22:35:48 +00:00
Rich
7d1f4f4200 Added RevDate and ReviewDate properties to FixItem class
Added applicability and procedureset elements to ConfigFile class when
processing proc.ini file
Added masterdir attribute to ConfigFile class when processing proc.ini file
Replaced direct call to database with CSLA Command object in ClearData method of Loader class
2012-12-04 22:35:07 +00:00
Rich
81a2ad1267 Added public properties MultiUnitCount, Old2NewApple and New2OldApple to Loader class
Added relating slave index to specific unit
2012-12-04 22:33:38 +00:00
Rich
03d49ce2df Changed how Loader class processes 16-bit APL files
Added ReviewDate property to ProcInfo class
Changed how RevDate and ReviewDate values obtained from 16-bit data
Added AddSlaveNode and AddSlaveItem methods to ConfigInfo class
Added validity check to verify Procedure Set Path and Process Only In Location are in synch
2012-12-04 22:32:34 +00:00
Rich
6b959e09cb Fixed logic to eliminate errors when annotation is added 2012-11-16 20:14:51 +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
754d4a8651 use the ordinal step number instead of the step tab if the transition is to a non-numbered step 2012-11-14 19:16:43 +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
127a917e1e Added new property "Process Only In Location" to limit the datasets that are converted when "Only Process this Procedure Set" is false. 2012-11-05 21:56:10 +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
59b765e6d8 Added new property "Process Only In Location" to limit the datasets that are converted when "Only Process this Procedure Set" is false.
Save the RevDate from the SET.DBF file.
2012-11-05 21:54:31 +00:00
a319e2d487 If the RO.FST does not exist in the working draft folder, then grab it out of the RO folder 2012-10-31 18:42:50 +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
Rich
2ae02cce49 Added logic to present a message if the "Load 16Bit Approval" fails due to missing data. 2012-10-31 15:54:02 +00:00
Rich
9ca05aa9e4 The rev number is being brought in as is and the Revision Date is being taken from the procedure set file.
Added limits to the process to Create Approved data, so that errors will not occur when processing a zipped Approved set.
2012-10-31 15:53:31 +00:00
62334a105d 2012-10-30 14:14:23 +00:00
1a65b51312 fixed syntax error 2012-10-26 14:38:22 +00:00
75ee5c4141 2012-10-26 10:13:05 +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
c5e45bbe3f Bug fix B2012-270, GoTo button in PROMS could not find RO Table for viewing in the RO Editor 2012-10-24 16:08:34 +00:00
05713fc653 2012-10-08 16:43:00 +00:00
314046cd77 2012-10-04 11:11:06 +00:00
Rich
d1e10d79c2 Improved RO Search Performance
Improved Annotation Search Performance
Changed SQL to always do a drop and create rather than an ALTER
Changed SQL to always give a status after a CREATE
2012-09-28 18:40:57 +00:00
e8033fe6d4 2012-09-27 10:26:36 +00:00
cf599335a2 - added stored procedure for use in creating RO Usage Reports 2012-09-13 19:53:05 +00:00
f8040e9a52 2012-09-12 12:59:25 +00:00
99b6a97fd3 2012-09-12 12:58:40 +00:00
aeb64e2479 2012-09-12 12:56:00 +00:00