Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e1630bd358 | ||
|
|
bbbb58df34 | ||
|
|
d46f037a9b | ||
|
|
a58ef4ecdd |
No files matched your search
@@ -18903,9 +18903,9 @@ GO
|
|||||||
From vwRofstData_RofstDefaultValues rdv
|
From vwRofstData_RofstDefaultValues rdv
|
||||||
Where rdv.RofstID = @RofstID
|
Where rdv.RofstID = @RofstID
|
||||||
And ((@Value is null)
|
And ((@Value is null)
|
||||||
Or (@SearchTypeID = 1 And rdv.[value] like @Value + '%') -- Starts With
|
Or (@SearchTypeID = 1 And REPLACE(rdv.[value], '@HSP(', '') like @Value + '%') -- Starts With
|
||||||
Or (@SearchTypeID = 2 And rdv.[value] like '%' + @Value) -- Ends With
|
Or (@SearchTypeID = 2 And REPLACE(rdv.[value], '@HSP(', '') like '%' + @Value) -- Ends With
|
||||||
Or (@SearchTypeID = 3 And rdv.[value] like '%' + @Value + '%') -- Contains
|
Or (@SearchTypeID = 3 And REPLACE(rdv.[value], '@HSP(', '') like '%' + @Value + '%') -- Contains
|
||||||
Or (@SearchTypeID = 4 And rdv.[value] = @Value)) -- Exact Match
|
Or (@SearchTypeID = 4 And rdv.[value] = @Value)) -- Exact Match
|
||||||
Order By rdv.[value] Asc, rdv.roid Asc
|
Order By rdv.[value] Asc, rdv.roid Asc
|
||||||
Option (Recompile);
|
Option (Recompile);
|
||||||
@@ -25224,8 +25224,8 @@ BEGIN TRY -- Try Block
|
|||||||
DECLARE @RevDate varchar(255)
|
DECLARE @RevDate varchar(255)
|
||||||
DECLARE @RevDescription varchar(255)
|
DECLARE @RevDescription varchar(255)
|
||||||
|
|
||||||
set @RevDate = '10/7/2026 9:30 AM'
|
set @RevDate = '11/16/2026 9:30 AM'
|
||||||
set @RevDescription = 'Added Reports for Duplicate Acc Page IDs in ROs'
|
set @RevDescription = 'Added Support for Hard Space in RO Search'
|
||||||
|
|
||||||
Select cast(@RevDate as datetime) RevDate, @RevDescription RevDescription
|
Select cast(@RevDate as datetime) RevDate, @RevDescription RevDescription
|
||||||
PRINT 'SQL Code Revision ' + @RevDate + ' - ' + @RevDescription
|
PRINT 'SQL Code Revision ' + @RevDate + ' - ' + @RevDescription
|
||||||
|
|||||||
@@ -2469,7 +2469,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
DialogResult rslt = DialogResult.No;
|
DialogResult rslt = DialogResult.No;
|
||||||
|
|
||||||
SectionConfig secCfg = itemInfo.ActiveSection.MyConfig as SectionConfig;
|
SectionConfig secCfg = itemInfo.ActiveSection.MyConfig as SectionConfig;
|
||||||
if (copyItemInfo.HasEnhancedLinkedStep && secCfg.MyEnhancedDocuments.Count > 0)
|
if (copyItemInfo.HasEnhancedLinkedStep && secCfg.MyEnhancedDocuments.Count > 0 && IsValidTypeToCopybackground(itemInfo, copyItemInfo))
|
||||||
rslt = FlexibleMessageBox.Show("The step you are copying contains linked background documents." +
|
rslt = FlexibleMessageBox.Show("The step you are copying contains linked background documents." +
|
||||||
"\r\n\r\nDo you also wish to make a copy of the background documents?",
|
"\r\n\r\nDo you also wish to make a copy of the background documents?",
|
||||||
"Paste background documents", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
"Paste background documents", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||||
@@ -2618,6 +2618,13 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// B2026-094
|
||||||
|
// When you paste a Caution, Note, or high level step that has background information tied to it
|
||||||
|
// into a substep or an RNO step
|
||||||
|
// PROMS should NOT paste the background information
|
||||||
|
public static bool IsValidTypeToCopybackground(ItemInfo itemInfo, ItemInfo copyItemInfo) => (!copyItemInfo.IsCaution && !copyItemInfo.IsNote && !copyItemInfo.IsHigh) || (!itemInfo.IsInRNO && !itemInfo.IsSubStep);
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
private static bool HandleSqlExceptionOnCopy(Exception ex)
|
private static bool HandleSqlExceptionOnCopy(Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user