You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Query to fetch the business for this migration Testing is
select
e.corp_num,
e.event_id,
cl.cars_docmnt_id,
cf.filedate,
cf.regiracf,
cb.accesnum,
cb.batchnum,
cb.boxrracf
from event e
join conv_ledger cl on e.event_id = cl.event_id
left outer join carsfile cf on cf.documtid = cl.cars_docmnt_id
left outer join carsbox cb on cb.documtid = cl.cars_docmnt_id
--join corporation c on e.corp_num = c.corp_num and c.corp_num = '{corp_num}'
where
cl.cars_docmnt_id is not null
SELECT
b.identifier AS corp_num,
f.id AS filing_id,
-- fields under meta_data.conversion
f.meta_data->'conversion'->>'accessionNumber' AS accession_number,
f.meta_data->'conversion'->>'batchNumber' AS batch_number,
f.meta_data->'conversion'->>'effectiveDate' AS effective_date,
f.meta_data->'conversion'->>'filedBy' AS filed_by,
f.meta_data->'conversion'->>'boxFiledBy' AS box_filed_by
FROM filings f
JOIN businesses b ON b.id = f.business_id
WHERE b.identifier IN ('BC0004022','BC0007712','BC0112322')
AND f.meta_data->'conversion' IS NOT NULL
ORDER BY b.identifier, f.id DESC;
Query to fetch the business for this migration Testing is
select
e.corp_num,
e.event_id,
cl.cars_docmnt_id,
cf.filedate,
cf.regiracf,
cb.accesnum,
cb.batchnum,
cb.boxrracf
from event e
join conv_ledger cl on e.event_id = cl.event_id
left outer join carsfile cf on cf.documtid = cl.cars_docmnt_id
left outer join carsbox cb on cb.documtid = cl.cars_docmnt_id
--join corporation c on e.corp_num = c.corp_num and c.corp_num = '{corp_num}'
where
cl.cars_docmnt_id is not null
Activity
vikas-gov commentedon Jul 31, 2025
Targeting to have feedback from DL by end of next week Aug 8
dylan644 commentedon Aug 18, 2025
@vysakh-menon-aot write up of the CARS tables analysis is in the files area of the Data Migration teams channel now
vysakh-menon-aot commentedon Aug 27, 2025
Test Note:
@vishnup0422
Find any corporation with cars data and migrate. Check for these fields in filing meta_data column under
conversionobjectRefer the analysis report for more details.
vishnup0422 commentedon Sep 2, 2025
QA Validations :
Query to fetch the business for this migration Testing is
vishnup0422 commentedon Sep 2, 2025
Migration to Test env : ( migrated 3 Crops for testing)
2:11:55.914 | INFO | Task run '3-Corp-Tombstone-Migrate-Task-Async-dfe' - 👷 Start migrating BC0112322...
12:11:55.932 | INFO | Task run '3-Corp-Tombstone-Migrate-Task-Async-d57' - 👷 Start migrating BC0007712...
12:11:55.938 | INFO | Task run '3-Corp-Tombstone-Migrate-Task-Async-74c' - 👷 Start migrating BC0004022...
vishnup0422 commentedon Sep 2, 2025
vishnup0422 commentedon Sep 2, 2025
In Test DB
vishnup0422 commentedon Sep 2, 2025
Migration of the AccessionNumber was not happening and Vysakh noticed a small code issue (spelling mistake)
moving back the ticket
vishnup0422 commentedon Sep 2, 2025
QA Validations :
Query to fetch the business for this migration Testing is
Migrated Buisness
'BC0004022','BC0007712','BC0112322'
vishnup0422 commentedon Sep 2, 2025