added improvements on set proces and minor other improvements
This commit is contained in:
@@ -124,26 +124,26 @@ BEGIN
|
||||
$action, deleted.*
|
||||
INTO @ARCHIVE;
|
||||
|
||||
INSERT INTO [dbo].[mfr__d_steps]
|
||||
SELECT [Id]
|
||||
,[MobileId]
|
||||
,[Version]
|
||||
,[Name]
|
||||
,[IsDone]
|
||||
,[HasError]
|
||||
,[TrackingId]
|
||||
,[Type]
|
||||
,[SortOrder]
|
||||
,[Data]
|
||||
,[DateModifiedOffline]
|
||||
,[ServiceRequestId]
|
||||
,[Description]
|
||||
,[Comment]
|
||||
,[InternalComment]
|
||||
,[ServiceObjectId]
|
||||
,[StepListTemplateId]
|
||||
,[ParentId]
|
||||
,[DateDeleted] = @now
|
||||
FROM @ARCHIVE
|
||||
WHERE [ActionType] IN ( 'DELETE', 'UPDATE' );
|
||||
--INSERT INTO [dbo].[mfr__d_steps]
|
||||
-- SELECT [Id]
|
||||
-- ,[MobileId]
|
||||
-- ,[Version]
|
||||
-- ,[Name]
|
||||
-- ,[IsDone]
|
||||
-- ,[HasError]
|
||||
-- ,[TrackingId]
|
||||
-- ,[Type]
|
||||
-- ,[SortOrder]
|
||||
-- ,[Data]
|
||||
-- ,[DateModifiedOffline]
|
||||
-- ,[ServiceRequestId]
|
||||
-- ,[Description]
|
||||
-- ,[Comment]
|
||||
-- ,[InternalComment]
|
||||
-- ,[ServiceObjectId]
|
||||
-- ,[StepListTemplateId]
|
||||
-- ,[ParentId]
|
||||
-- ,[DateDeleted] = @now
|
||||
-- FROM @ARCHIVE
|
||||
-- WHERE [ActionType] IN ( 'DELETE', 'UPDATE' );
|
||||
END
|
||||
Reference in New Issue
Block a user