bcgov / bcgov/entity

Migrate businesses altered from BEN to BC - Before Directed Launch

Open
#27,334 1 comment 0 reactions 0 assignees View on GitHub
Entities - Data Migration
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

These businesses are partially in Lear (missing latest filings)

Find all businesses altered from (BEN, CBEN) -> (BC, ULC, CC, C, CUL, CCC) - Available in LaunchDarkly (entity-ui) - `businesses-to-manage-in-colin`

Approach to migrate BEN -> BC
```
-- Note: We cannot delete these businesses from Lear and reload from Colin, by doing that Lear won't be able create documents (may have missing data)
1. If latest event_id (COLIN) != latest event_id (LEAR) Then do this step
Option 1:
- Investigate if we can update `update_legal_filings` job to sync back (This is the easiest option if it works). Separate tickets created
https://app.zenhub.com/workspaces/entities---lorrie-65af11a89e89f5043c2911f6/issues/gh/bcgov/entity/27346
https://app.zenhub.com/workspaces/entities---lorrie-65af11a89e89f5043c2911f6/issues/gh/bcgov/entity/27482
Option 2:
- Load latest data to the primary tables
- Update end_transaction_id in version tables with the Tombstone filing

2. Remove the identifier from LaunchDarkly (entity-ui) - `businesses-to-manage-in-colin`
```

Note: Businesses involved in multiple conversion (BC1255957, BC0460007) from BC -> BEN and then BEN -> BC - (Before Directed Launch) - Need to include in both conversion scenario

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.