Project

General

Profile

Actions

Feature #1722

open

Task 22228: Regrabaciones: Pagos de múltiples señalamientos

Added by Estefany Santiago Trinidad 6 months ago. Updated 12 days ago.

Status:
Internal Test: Pass
Priority:
Normal
Category:
-
Start date:
06/08/2026
Due date:
% Done:

0%

Estimated time:
70:00 h


Related issues 1 (1 open — 0 closed)

Related to Work Order #1723: WO2026-16Not Started06/08/2026

Actions
Actions #1

Updated by Estefany Santiago Trinidad 6 months ago

Actions #2

Updated by Edwin X Borrero 6 months ago

  • Status changed from Not Started to In Progress
  • Assignee set to Edwin X Borrero
Actions #3

Updated by Repo Bot 5 months ago

  • Status changed from In Progress to Pending Review

PR ready for review: EBS-SEEDBURY — Task 22228: Regrabaciones: Pagos de múltiples señalamientos → status: Pending Review

Actions #4

Updated by Repo Bot 5 months ago

PR ready for review: EBS-SEEDBURY — Task 22228: Regrabaciones: Pagos de múltiples señalamientos → status: Pending Review

Actions #5

Updated by Repo Bot 5 months ago

PR ready for review: EBS-SEEDBURY — Task 22228: Regrabaciones: Pagos de múltiples señalamientos → status: Pending Review

Actions #6

Updated by Edwin X Borrero 5 months ago

Cambios de base de datos

ALTER TABLE SUMACEventRecordingDetails 
ADD Duration VARCHAR(255)

ALTER TABLE SUMACEventRecordingDetails
DROP COLUMN CourtFeeTypeCode

ALTER TABLE SUMACEventRecordingRequestDetails 
ADD CourtFeeTypeCode INT

ALTER TABLE SUMACEventRecordingRequest 
ADD RecordId INT
Actions #7

Updated by Eduardo Valladares Pacheco 4 months ago

  • Status changed from Pending Review to Internal Test: Not Passed
Actions #8

Updated by Estefany Santiago Trinidad 3 months ago

  • Target version changed from SUMAC | Asuntos Prioridad 2 | Jun-2026 to TPI Admin | Nuevos Requerimientos | Sept
Actions #9

Updated by Edwin X Borrero 2 months ago

  • Status changed from Internal Test: Not Passed to Pending Review
Actions #10

Updated by Repo Bot 2 months ago

Changes requested by mgm-seedbury on PR #379

Actions #11

Updated by Repo Bot 2 months ago

Changes requested by mgm-seedbury on PR #462

Actions #12

Updated by Repo Bot about 2 months ago

  • Status changed from Pending Review to Approved

Approved by mgm-seedbury on PR #379 → status: Approved

Actions #13

Updated by Repo Bot about 2 months ago

Approved by mgm-seedbury on PR #436 → status: Approved

Actions #14

Updated by Repo Bot about 2 months ago

Approved by CLD-Seedbury on PR #462 → status: Approved

Actions #15

Updated by Repo Bot about 2 months ago

  • Status changed from Approved to Test Internally

Merged into Development via PR #462 → status: Test Internally

Actions #16

Updated by Estefany Santiago Trinidad about 2 months ago

  • Target version changed from TPI Admin | Nuevos Requerimientos | Sept to TPI Admin | Entrega | 16-oct-2026
Actions #17

Updated by Estefany Santiago Trinidad about 2 months ago

  • Status changed from Test Internally to Testing
Actions #18

Updated by Repo Bot about 2 months ago

  • Status changed from Testing to Test Internally

Merged into Development via PR #379 → status: Test Internally

Actions #19

Updated by Repo Bot about 2 months ago

Merged into Development via PR #436 → status: Test Internally

Actions #20

Updated by Estefany Santiago Trinidad about 1 month ago

  • Status changed from Test Internally to OAT: Not Passed
Actions #21

Updated by Estefany Santiago Trinidad about 1 month ago

  • Status changed from OAT: Not Passed to Internal Test: Not Passed
Actions #22

Updated by Edwin X Borrero about 1 month ago

Scripts para arreglar los requests viejos de regrabaciones

-- Update todas las duraciones a '00:00:00'
UPDATE SUMACEventRecordingDetails
SET Duration = '00:00:00'
WHERE Duration IS NULL;

-- Asignar un RecordId a los requests
BEGIN TRANSACTION;

DECLARE @date datetime = GETDATE();
DECLARE @userId uniqueidentifier = '00000000-0000-0000-0000-000000000000';

DECLARE @Map TABLE (EventRecordingRequestId int NOT NULL, NewRecordId int NOT NULL);

MERGE SUMACRecord AS t
USING (
    SELECT err.EventRecordingRequestId
    FROM SUMACEventRecordingRequest err
    WHERE err.RecordId IS NULL
    AND err.IsHidden = 0
) AS src
ON 1 = 0
WHEN NOT MATCHED THEN
    INSERT (ObjectTypeCode, IsHidden, CreatedDate, CreatedBy, ModifiedDate, ModifiedBy)
    VALUES (2021, 0, @date, @userId, @date, @userId)
OUTPUT src.EventRecordingRequestId, inserted.RecordId INTO @Map (EventRecordingRequestId, NewRecordId);

UPDATE err
SET err.RecordId = m.NewRecordId, err.ModifiedDate = @date, err.ModifiedBy = @userId
FROM SUMACEventRecordingRequest err
JOIN @Map m ON m.EventRecordingRequestId = err.EventRecordingRequestId;

SELECT COUNT(*) AS RowsLinked FROM @Map;

-- COMMIT TRANSACTION;
-- ROLLBACK TRANSACTION;
Actions #23

Updated by Edwin X Borrero about 1 month ago

Edwin X Borrero wrote in #note-22:

Scripts para arreglar los requests viejos de regrabaciones

-- Update todas las duraciones a '00:00:00'
UPDATE SUMACEventRecordingDetails
SET Duration = '00:00:00'
WHERE Duration IS NULL;

-- Asignar un RecordId a los requests
BEGIN TRANSACTION;

DECLARE @date datetime = GETDATE();
DECLARE @userId uniqueidentifier = '00000000-0000-0000-0000-000000000000';

DECLARE @Map TABLE (EventRecordingRequestId int NOT NULL, NewRecordId int NOT NULL);

MERGE SUMACRecord AS t
USING (
    SELECT err.EventRecordingRequestId
    FROM SUMACEventRecordingRequest err
    WHERE err.RecordId IS NULL
    AND err.IsHidden = 0
) AS src
ON 1 = 0
WHEN NOT MATCHED THEN
    INSERT (ObjectTypeCode, IsHidden, CreatedDate, CreatedBy, ModifiedDate, ModifiedBy)
    VALUES (2021, 0, @date, @userId, @date, @userId)
OUTPUT src.EventRecordingRequestId, inserted.RecordId INTO @Map (EventRecordingRequestId, NewRecordId);

UPDATE err
SET err.RecordId = m.NewRecordId, err.ModifiedDate = @date, err.ModifiedBy = @userId
FROM SUMACEventRecordingRequest err
JOIN @Map m ON m.EventRecordingRequestId = err.EventRecordingRequestId;

SELECT COUNT(*) AS RowsLinked FROM @Map;

-- COMMIT TRANSACTION;
-- ROLLBACK TRANSACTION;

Después de correr el transaction, debe salirte el número de records que se van a cambiar. Si está correcto, correr el COMMIT TRANSACTION, si no el ROLLBACK TRANSACTION

Actions #24

Updated by Estefany Santiago Trinidad about 1 month ago

  • Status changed from Internal Test: Not Passed to Test Internally
Actions #25

Updated by Repo Bot about 1 month ago

  • Status changed from Test Internally to Pending Review

PR ready for review: EBS-SEEDBURY — Task 22228: Regrabaciones: Pagos de múltiples señalamientos → status: Pending Review

Actions #26

Updated by Repo Bot about 1 month ago

  • Status changed from Pending Review to Approved

Approved by CLD-Seedbury on PR #562 → status: Approved

Actions #27

Updated by Repo Bot about 1 month ago

  • Status changed from Approved to Test Internally

Merged into Development via PR #562 → status: Test Internally

Actions #28

Updated by Estefany Santiago Trinidad 27 days ago

  • Status changed from Test Internally to OAT: Not Passed
Actions #29

Updated by Repo Bot 26 days ago

  • Status changed from OAT: Not Passed to Pending Review

PR ready for review: KWG-Seedbury — Task 22228: Regrabaciones: Pagos de múltiples señalamientos → status: Pending Review

Actions #30

Updated by Repo Bot 25 days ago

  • Status changed from Pending Review to Approved

Approved by mgm-seedbury on PR #468 → status: Approved

Actions #31

Updated by Repo Bot 18 days ago

  • Status changed from Approved to Test Internally

Merged into Development via PR #468 → status: Test Internally

Actions #32

Updated by Estefany Santiago Trinidad 12 days ago

  • Status changed from Test Internally to Internal Test: Pass
Actions

Also available in: Atom PDF