Skip to content

Commit 12c55c3

Browse files
authored
Merge pull request #46 from data-solution-automation-engine/45-v2-has-typo-in-column-name-in-post-deploy-script
45 v2 has typo in column name in post deploy script
2 parents bf35ff2 + ddff7a1 commit 12c55c3

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

Direct_Framework/DeploymentScripts/3-PostDeployment/omd_metadata.INTERNAL_PROCESSING_STATUS.sql

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ SET NOCOUNT ON;
1919

2020
DECLARE @tblMerge TABLE(
2121
[INTERNAL_PROCESSING_STATUS_CODE] NVARCHAR (100) NOT NULL PRIMARY KEY CLUSTERED,
22-
[INTERNAL_PROCESSING_STATUS_DESCRIPTION] NVARCHAR (4000) NULL
22+
[INTERNAL_PROCESSING_STATUS_CODE_DESCRIPTION] NVARCHAR (4000) NULL
2323
);
2424

25-
INSERT INTO @tblMerge([INTERNAL_PROCESSING_STATUS_CODE], [INTERNAL_PROCESSING_STATUS_DESCRIPTION])
25+
INSERT INTO @tblMerge([INTERNAL_PROCESSING_STATUS_CODE], [INTERNAL_PROCESSING_STATUS_CODE_DESCRIPTION])
2626
VALUES
2727
(N'Abort', N'This exception case indicates that the instance in question was executed, but that another instance of the same Batch or Module is already running (see also the equivalent Execution Status Code for additional detail). This is one of the checks performed before the regular process (Module and/or Batch) can continue. If this situation occurs, all processing should stop; no data should be processed. The process will use the Internal Processing Status `Abort` to trigger the Module/Batch `Abort` event which sets the Execution Status Code to `Cancelled`, ending the process gracefully.'),
2828
(N'Cancel', N'The instance evaluation has determined that it is not necessary to run this process (see also the equivalent Execution Status Code for additional detail). As with Abort, if the Internal Process Status code is `Cancel` then all further processing should stop after the Execution Status Code has also been updated to `Cancel`.'),
@@ -34,11 +34,11 @@ USING @tblMerge AS src
3434
ON TARGET.[INTERNAL_PROCESSING_STATUS_CODE] = src.[INTERNAL_PROCESSING_STATUS_CODE]
3535
WHEN MATCHED THEN
3636
UPDATE
37-
SET [INTERNAL_PROCESSING_STATUS_DESCRIPTION] = src.[INTERNAL_PROCESSING_STATUS_DESCRIPTION]
37+
SET [INTERNAL_PROCESSING_STATUS_CODE_DESCRIPTION] = src.[INTERNAL_PROCESSING_STATUS_CODE_DESCRIPTION]
3838
WHEN NOT MATCHED THEN
3939
INSERT ([INTERNAL_PROCESSING_STATUS_CODE]
40-
,[INTERNAL_PROCESSING_STATUS_DESCRIPTION])
40+
,[INTERNAL_PROCESSING_STATUS_CODE_DESCRIPTION])
4141
VALUES ([INTERNAL_PROCESSING_STATUS_CODE]
42-
,[INTERNAL_PROCESSING_STATUS_DESCRIPTION]);
42+
,[INTERNAL_PROCESSING_STATUS_CODE_DESCRIPTION]);
4343

4444
GO

Direct_Framework/DeploymentScripts/3-PostDeployment/omd_metadata.NEXT_RUN_STATUS.sql

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
SET NOCOUNT ON;
1818

1919
DECLARE @tblMerge TABLE(
20-
[NEXT_RUN_STATUS_CODE] NVARCHAR (100) NOT NULL PRIMARY KEY CLUSTERED,
21-
[NEXT_RUN_STATUS_CODE_DESCRIPTION] NVARCHAR (4000) NULL
20+
[NEXT_RUN_STATUS_CODE] NVARCHAR (100) NOT NULL PRIMARY KEY CLUSTERED,
21+
[NEXT_RUN_DESCRIPTION] NVARCHAR (4000) NULL
2222
);
2323

24-
INSERT INTO @tblMerge([NEXT_RUN_STATUS_CODE], [NEXT_RUN_STATUS_CODE_DESCRIPTION])
24+
INSERT INTO @tblMerge([NEXT_RUN_STATUS_CODE], [NEXT_RUN_DESCRIPTION])
2525
VALUES
2626
(N'Cancel', N'Administrators can manually set this code to for the Next Run Status (i.e. this will not be automatically set by the DIRECT controls) to force a one-off skip of the instance.'),
2727
(N'Proceed', N'The `Proceed` code will direct the next run of the Batch/Module to continue processing. This is the default value. Each process step will evaluate the Internal Process Status Code and continue only if it was set to `Proceed`. After the rollback has been completed the `Proceed` value is the code that is required to initiate the main process.'),
@@ -32,11 +32,11 @@ USING @tblMerge AS src
3232
ON TARGET.[NEXT_RUN_STATUS_CODE] = src.[NEXT_RUN_STATUS_CODE]
3333
WHEN MATCHED THEN
3434
UPDATE
35-
SET [NEXT_RUN_STATUS_CODE_DESCRIPTION] = src.[NEXT_RUN_STATUS_CODE_DESCRIPTION]
35+
SET [NEXT_RUN_DESCRIPTION] = src.[NEXT_RUN_DESCRIPTION]
3636
WHEN NOT MATCHED THEN
3737
INSERT ([NEXT_RUN_STATUS_CODE]
38-
,[NEXT_RUN_STATUS_CODE_DESCRIPTION])
38+
,[NEXT_RUN_DESCRIPTION])
3939
VALUES ([NEXT_RUN_STATUS_CODE]
40-
,[NEXT_RUN_STATUS_CODE_DESCRIPTION]);
40+
,[NEXT_RUN_DESCRIPTION]);
4141

4242
GO

0 commit comments

Comments
 (0)