Feature #1725
openWork Order #1754: WO2026-19
Task 16890: Copias certificadas: replicar proceso adoptado para SUMAC de Tribunal de Primera Instancia
0%
Updated by Estefany Santiago Trinidad 4 months ago
- Description updated (diff)
- Estimated time deleted (
45:00 h)
Updated by Repo Bot 4 months ago
- Status changed from Not Started to Pending Review
PR ready for review: adr-seedbury — Task 16890: Copias certificadas: replicar proceso adoptado para SUMAC de Tribunal de Primera Instancia → status: Pending Review
Updated by Repo Bot 4 months ago
PR ready for review: adr-seedbury — Task 16890: Copias certificadas: replicar proceso adoptado para SUMAC de Tribunal de Primera Instancia → status: Pending Review
Updated by Alejandro De Jesús Reyes 4 months ago
- Assignee set to Alejandro De Jesús Reyes
Updated by Estefany Santiago Trinidad 4 months ago
- Target version changed from SUMAC | Asuntos Prioridad 2 | Jun-2026 to TA | Ventana | Jun-22-2026
Updated by Estefany Santiago Trinidad 2 months ago
- Target version changed from TA | Ventana | Jun-22-2026 to TA | Asuntos | jul-2026
Updated by Estefany Santiago Trinidad 2 months ago
- Target version changed from TA | Asuntos | jul-2026 to TA | Bugs | Sep-2026
Updated by Repo Bot 2 months ago
- Status changed from Test Internally to Pending Review
PR ready for review: adr-seedbury — Task 16890: Copias certificadas: replicar proceso adoptado para SUMAC de Tribunal de Primera Instancia → status: Pending Review
Updated by Repo Bot 2 months ago
PR ready for review: EBS-SEEDBURY — Task 16890: Copias certificadas: replicar proceso adoptado para SUMAC de Tribunal de Primera Instancia → status: Pending Review
Updated by Edwin X Borrero 2 months ago
INSERT INTO catalogTypes (catalogTypeCode, catalogTypeDescription)
VALUES (72, 'certifiedCopyStatus')
INSERT INTO catalogValues (catalogValueCode, catalogValueDescription, catalogTypeCode, catalogTypeDescription, isLocked)
VALUES
(891, 'Pendiente de Pago', 72, 'certifiedCopyStatus', 1),
(892, 'Pendiente de Exención', 72, 'certifiedCopyStatus', 1),
(893, 'Exención Denegada', 72, 'certifiedCopyStatus', 1),
(894, 'Completado', 72, 'certifiedCopyStatus', 1)
CREATE TABLE certifiedCopyDetails (
certifiedCopyDetailId int IDENTITY(1,1) NOT NULL,
certifiedCopyId int NOT NULL,
certifiedCopyStatusCode int NOT NULL,
certifiedCopyStatusDescription varchar(250) COLLATE Modern_Spanish_CI_AS NOT NULL,
certifiedCopyDeniedReason varchar(250) COLLATE Modern_Spanish_CI_AS NULL,
dateCreated datetime DEFAULT getdate() NOT NULL,
creatorId int NOT NULL,
isDeleted bit DEFAULT 0 NOT NULL,
deleterId int NULL,
dateDeleted datetime NULL,
CONSTRAINT PK__certifiedCopyDetail PRIMARY KEY (certifiedCopyDetailId),
CONSTRAINT FK__certifiedCopyId FOREIGN KEY (certifiedCopyId) REFERENCES dbo.certifiedCopies(certifiedCopyId),
CONSTRAINT FK__certifiedCopyStatusCode FOREIGN KEY (certifiedCopyStatusCode) REFERENCES dbo.catalogValues(catalogValueCode),
CONSTRAINT FK__certifiedCopy_creator FOREIGN KEY (creatorId) REFERENCES dbo.persons(personId),
CONSTRAINT FK__certifiedCopy_deleter FOREIGN KEY (deleterId) REFERENCES dbo.persons(personId)
)
CREATE TABLE documents (
documentId int IDENTITY(1,1) NOT NULL,
dateCreated datetime DEFAULT getdate() NOT NULL,
creatorId int NOT NULL,
isDeleted bit DEFAULT 0 NOT NULL,
deleterId int NULL,
dateDeleted datetime NULL,
encoding1 uniqueidentifier DEFAULT newid() NOT NULL,
encoding2 uniqueidentifier DEFAULT newid() NOT NULL,
CONSTRAINT PK__documentId PRIMARY KEY (documentId),
CONSTRAINT FK__documents_creator FOREIGN KEY (creatorId) REFERENCES dbo.persons(personId),
CONSTRAINT FK__documents_deleter FOREIGN KEY (deleterId) REFERENCES dbo.persons(personId),
CONSTRAINT documents_unique UNIQUE (encoding1),
CONSTRAINT documents_unique_1 UNIQUE (encoding2)
)
CREATE TABLE documentDetails (
documentDetailId int IDENTITY(1,1) NOT NULL,
documentId int NOT NULL,
documentRoleCode int NOT NULL,
documentRoleDescription varchar(250) COLLATE Modern_Spanish_CI_AS NOT NULL,
documentTypeCode int NOT NULL,
documentTypeDescription varchar(250) COLLATE Modern_Spanish_CI_AS NOT NULL,
description varchar(250) COLLATE Modern_Spanish_CI_AS NOT NULL,
url varchar(250) COLLATE Modern_Spanish_CI_AS NULL,
fileExtension varchar(5) COLLATE Modern_Spanish_CI_AS NULL,
fileName varchar(250) COLLATE Modern_Spanish_CI_AS NULL,
hash varchar(250) COLLATE Modern_Spanish_CI_AS NULL,
isConfidential bit DEFAULT 0 NOT NULL,
orderPosition int NULL,
fileSize int NULL,
filePageCount int NULL,
dateCreated datetime DEFAULT getdate() NOT NULL,
creatorId int NOT NULL,
isDeleted bit DEFAULT 0 NOT NULL,
deleterId int NULL,
dateDeleted datetime NULL,
CONSTRAINT PK__documentDetailId PRIMARY KEY (documentDetailId),
CONSTRAINT FK__document_details_documentId FOREIGN KEY (documentId) REFERENCES dbo.documents(documentId),
CONSTRAINT FK__document_details_role FOREIGN KEY (documentRoleCode) REFERENCES dbo.catalogValues(catalogValueCode),
CONSTRAINT FK__document_details_type FOREIGN KEY (documentTypeCode) REFERENCES dbo.catalogValues(catalogValueCode),
CONSTRAINT FK__document_details_creator FOREIGN KEY (creatorId) REFERENCES dbo.persons(personId),
CONSTRAINT FK__document_details_deleter FOREIGN KEY (deleterId) REFERENCES dbo.persons(personId),
)
CREATE TABLE certifiedCopyExemptionDocument (
certifiedCopyExemptionDocumentId int IDENTITY(1,1) NOT NULL,
certifiedCopyId int NOT NULL,
documentId int NOT NULL,
dateCreated dateTime DEFAULT getdate() NOT NULL,
creatorId int NOT NULL,
isDeleted bit DEFAULT 0 NOT NULL,
CONSTRAINT PK__certifiedCopyExemptionDocumentId PRIMARY KEY (certifiedCopyExemptionDocumentId)
CONSTRAINT FK__certifiedCopyExemptionDocument_certifiedCopyId FOREIGN KEY (certifiedCopyId) REFERENCES dbo.certifiedCopies(certifiedCopyId),
CONSTRAINT FK__certifiedCopyExemptionDocument_documentId FOREIGN KEY (documentId) REFERENCES dbo.documents(documentId),
CONSTRAINT FK__certifiedCopyExemptionDocument_creatorId FOREIGN KEY (creatorId) REFERENCES dbo.persons(personId)
)
Updated by Alejandro De Jesús Reyes 2 months ago
Fix syntax errors
INSERT INTO catalogTypes
(catalogTypeCode, catalogTypeDescription)
VALUES
(72, 'certifiedCopyStatus')
INSERT INTO catalogValues
(catalogValueCode, catalogValueDescription, catalogTypeCode, catalogTypeDescription, isLocked)
VALUES
(891, 'Pendiente de Pago', 72, 'certifiedCopyStatus', 1),
(892, 'Pendiente de Exención', 72, 'certifiedCopyStatus', 1),
(893, 'Exención Denegada', 72, 'certifiedCopyStatus', 1),
(894, 'Completado', 72, 'certifiedCopyStatus', 1)
CREATE TABLE certifiedCopyDetails
(
certifiedCopyDetailId int IDENTITY(1,1) NOT NULL,
certifiedCopyId int NOT NULL,
certifiedCopyStatusCode int NOT NULL,
certifiedCopyStatusDescription varchar(250) COLLATE Modern_Spanish_CI_AS NOT NULL,
certifiedCopyDeniedReason varchar(250) COLLATE Modern_Spanish_CI_AS NULL,
dateCreated datetime DEFAULT getdate() NOT NULL,
creatorId int NOT NULL,
isDeleted bit DEFAULT 0 NOT NULL,
deleterId int NULL,
dateDeleted datetime NULL,
CONSTRAINT PK__certifiedCopyDetail PRIMARY KEY (certifiedCopyDetailId),
CONSTRAINT FK__certifiedCopyId FOREIGN KEY (certifiedCopyId) REFERENCES dbo.certifiedCopies(certifiedCopyId),
CONSTRAINT FK__certifiedCopyStatusCode FOREIGN KEY (certifiedCopyStatusCode) REFERENCES dbo.catalogValues(catalogValueCode),
CONSTRAINT FK__certifiedCopy_creator FOREIGN KEY (creatorId) REFERENCES dbo.persons(personId),
CONSTRAINT FK__certifiedCopy_deleter FOREIGN KEY (deleterId) REFERENCES dbo.persons(personId)
)
CREATE TABLE documents
(
documentId int IDENTITY(1,1) NOT NULL,
dateCreated datetime DEFAULT getdate() NOT NULL,
creatorId int NOT NULL,
isDeleted bit DEFAULT 0 NOT NULL,
deleterId int NULL,
dateDeleted datetime NULL,
encoding1 uniqueidentifier DEFAULT newid() NOT NULL,
encoding2 uniqueidentifier DEFAULT newid() NOT NULL,
CONSTRAINT PK__documentId PRIMARY KEY (documentId),
CONSTRAINT FK__documents_creator FOREIGN KEY (creatorId) REFERENCES dbo.persons(personId),
CONSTRAINT FK__documents_deleter FOREIGN KEY (deleterId) REFERENCES dbo.persons(personId),
CONSTRAINT documents_unique UNIQUE (encoding1),
CONSTRAINT documents_unique_1 UNIQUE (encoding2)
)
CREATE TABLE documentDetails
(
documentDetailId int IDENTITY(1,1) NOT NULL,
documentId int NOT NULL,
documentRoleCode int NOT NULL,
documentRoleDescription varchar(250) COLLATE Modern_Spanish_CI_AS NOT NULL,
documentTypeCode int NOT NULL,
documentTypeDescription varchar(250) COLLATE Modern_Spanish_CI_AS NOT NULL,
description varchar(250) COLLATE Modern_Spanish_CI_AS NOT NULL,
url varchar(250) COLLATE Modern_Spanish_CI_AS NULL,
fileExtension varchar(5) COLLATE Modern_Spanish_CI_AS NULL,
fileName varchar(250) COLLATE Modern_Spanish_CI_AS NULL,
hash varchar(250) COLLATE Modern_Spanish_CI_AS NULL,
isConfidential bit DEFAULT 0 NOT NULL,
orderPosition int NULL,
fileSize int NULL,
filePageCount int NULL,
dateCreated datetime DEFAULT getdate() NOT NULL,
creatorId int NOT NULL,
isDeleted bit DEFAULT 0 NOT NULL,
deleterId int NULL,
dateDeleted datetime NULL,
CONSTRAINT PK__documentDetailId PRIMARY KEY (documentDetailId),
CONSTRAINT FK__document_details_documentId FOREIGN KEY (documentId) REFERENCES dbo.documents(documentId),
CONSTRAINT FK__document_details_role FOREIGN KEY (documentRoleCode) REFERENCES dbo.catalogValues(catalogValueCode),
CONSTRAINT FK__document_details_type FOREIGN KEY (documentTypeCode) REFERENCES dbo.catalogValues(catalogValueCode),
CONSTRAINT FK__document_details_creator FOREIGN KEY (creatorId) REFERENCES dbo.persons(personId),
CONSTRAINT FK__document_details_deleter FOREIGN KEY (deleterId) REFERENCES dbo.persons(personId)
)
CREATE TABLE certifiedCopyExemptionDocument
(
certifiedCopyExemptionDocumentId int IDENTITY(1,1) NOT NULL,
certifiedCopyId int NOT NULL,
documentId int NOT NULL,
dateCreated dateTime DEFAULT getdate() NOT NULL,
creatorId int NOT NULL,
isDeleted bit DEFAULT 0 NOT NULL,
CONSTRAINT PK__certifiedCopyExemptionDocumentId PRIMARY KEY (certifiedCopyExemptionDocumentId),
CONSTRAINT FK__certifiedCopyExemptionDocument_certifiedCopyId FOREIGN KEY
(certifiedCopyId) REFERENCES dbo.certifiedCopies
(certifiedCopyId),
CONSTRAINT FK__certifiedCopyExemptionDocument_documentId FOREIGN KEY
(documentId) REFERENCES dbo.documents
(documentId),
CONSTRAINT FK__certifiedCopyExemptionDocument_creatorId FOREIGN KEY
(creatorId) REFERENCES dbo.persons
(personId)
)
Updated by Alejandro De Jesús Reyes 2 months ago
Updated by Estefany Santiago Trinidad 2 months ago
- Status changed from Test Internally to Closed
Updated by Estefany Santiago Trinidad about 2 months ago
- Target version changed from TA | Bugs | Sep-2026 to TA | Ventana | Sep-22-2026
Updated by Estefany Santiago Trinidad about 2 months ago
- Status changed from Closed to Testing
Updated by Estefany Santiago Trinidad 8 days ago
- Status changed from Testing to OAT: Not Passed
Updated by Repo Bot about 1 hour ago
- Status changed from OAT: Not Passed to Pending Review
PR ready for review: EBS-SEEDBURY — Task 16890: Copias certificadas: replicar proceso adoptado para SUMAC de Tribunal de Primera Instancia → status: Pending Review