Skip to content

Commit 581ca3c

Browse files
authored
Merge pull request #142 from openimis/feature/OTC-619
OTC-619: Bulk CN Request, if the GePG server throws an error. IMIS fails to delete those requested CN from DB
2 parents a93871c + d996959 commit 581ca3c

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

sql/base/1_schema_tables.sql

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,14 @@ CREATE TYPE [dbo].[xWards] AS TABLE(
690690
)
691691
GO
692692

693+
CREATE TYPE [dbo].[xBulkControlNumbers] AS TABLE(
694+
BillId INT,
695+
ProdId INT,
696+
OfficerId INT,
697+
Amount DECIMAL(18,2)
698+
)
699+
GO
700+
693701

694702
SET ANSI_NULLS ON
695703
GO

sql/migrations/1_migration_latest.sql

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9537,3 +9537,14 @@ IF COL_LENGTH(N'tblPremium', N'SourceVersion') IS NULL
95379537
ALTER TABLE tblPremium ADD SourceVersion NVARCHAR(15) NULL
95389538
GO
95399539

9540+
--OTC-619
9541+
IF TYPE_ID('xBulkControlNumbers') IS NULL
9542+
BEGIN
9543+
CREATE TYPE [dbo].[xBulkControlNumbers] AS TABLE(
9544+
BillId INT,
9545+
ProdId INT,
9546+
OfficerId INT,
9547+
Amount DECIMAL(18,2)
9548+
)
9549+
END
9550+
GO

0 commit comments

Comments
 (0)