Compare commits
6 Commits
B2026-025_
...
Revert-Cli
| Author | SHA1 | Date | |
|---|---|---|---|
| c2a5a8ec7d | |||
| ec823cab97 | |||
| 83f88b6df3 | |||
| 1e12c82be4 | |||
| 331de6ecfe | |||
| 9ccdaef354 |
@@ -24329,8 +24329,10 @@ BEGIN
|
||||
OR FromID in (Select ContentID from tblContents where deletestatus != 0 and ActionDTS < @dte)
|
||||
)
|
||||
PRINT 'Deleting Items and Parts'
|
||||
alter table tblParts nocheck constraint FK_Parts_Items
|
||||
delete from tblItems where deletestatus != 0 and DTS < @dte
|
||||
delete from tblParts where deletestatus != 0 and ItemID Not IN (Select ItemID from Items) and DTS < @dte
|
||||
alter table tblParts check constraint FK_Parts_Items
|
||||
PRINT 'Purging Parts with deleted Contents'
|
||||
DELETE from Child
|
||||
FROM tblParts AS Child
|
||||
@@ -24355,7 +24357,9 @@ BEGIN
|
||||
ON Itms.ItemID = tblItems.ItemID AND Itms.deletestatus = tblItems.deletestatus
|
||||
alter table tblItems check constraint FK_Items_Items
|
||||
PRINT 'Purging Contents'
|
||||
alter table tblEntries nocheck constraint FK_Entries_Contents
|
||||
delete from tblContents where deletestatus != 0 and ActionDTS < @dte
|
||||
alter table tblEntries check constraint FK_Entries_Contents
|
||||
PRINT 'Phase 3'
|
||||
delete from AnnotationAudits where DTS < @dte
|
||||
delete from ContentAudits where DTS < @dte
|
||||
@@ -24766,8 +24770,8 @@ BEGIN TRY -- Try Block
|
||||
DECLARE @RevDate varchar(255)
|
||||
DECLARE @RevDescription varchar(255)
|
||||
|
||||
set @RevDate = '02/18/2026 7:00 AM'
|
||||
set @RevDescription = 'Added Audit Ability for ChangeBars'
|
||||
set @RevDate = '03/12/2026 11:00 AM'
|
||||
set @RevDescription = 'Update to Purge Change History Tool'
|
||||
|
||||
Select cast(@RevDate as datetime) RevDate, @RevDescription RevDescription
|
||||
PRINT 'SQL Code Revision ' + @RevDate + ' - ' + @RevDescription
|
||||
|
||||
@@ -1668,18 +1668,8 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
Clipboard.Clear();
|
||||
|
||||
//Try to update the data object to persist beyond PROMS life
|
||||
//if can't, log it and use old method of scoping clipboard to PROMS life
|
||||
try
|
||||
{
|
||||
Clipboard.SetDataObject(myDO, true); // this saves the cleaned up information to the Windows clipboard
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_MyLog.Warn($"Error Setting Clipboard Object to Persist beyond PROMS. Clipboard will be scoped to PROMS. Error:{ex.Message}");
|
||||
Clipboard.SetDataObject(myDO); // this saves the cleaned up information to the Windows clipboard
|
||||
}
|
||||
}
|
||||
Clipboard.SetDataObject(myDO); // this saves the cleaned up information to the Windows clipboard
|
||||
}
|
||||
iData = Clipboard.GetDataObject();
|
||||
bool noEquationData = true;
|
||||
// part of bug B2017-117 we were running out of window handles when printing, found this similar use of
|
||||
|
||||
Reference in New Issue
Block a user