Skip to content

BAR corps batch 2 - migration pre-screen + dry run #31982

Closed

Description

@argush3

TARGET PROD MIGRATION DATE: Thursday, January 15th, 2026.

We would like to migrate all BAR businesses that mostly fit the same selection criteria used for batch 1.

We will just exclude the filter on last AR filing date i.e. exclude and months_since_last_bar_filing between 9 and 12 from the query against mv_legacy_corps_data

Selection criteria to use:

from mv_legacy_corps_data
where 1 = 1
  and group_name is null
  and is_active = true
  and is_frozen = false
  and migrated = false
  and has_officers = false
  and meets_main_criteria = true
  and has_3rd_party = false
  and email_used_count = 1
  and director_count = 1
  and has_bar_filing = true
  and bar_account_id is not null
  and address_all_any_bad_count = 0
  and meets_share_criteria = true
  -- note that there we also filter on BR accounts that have a mailing address.  we use a manual process to determine this as we don't have this properly in the mv_legacy_corps_data view

Tasks

  • Load latest BAR data for COLIN extract views and backup tracking tables
  • Pull down latest COLIN extract
  • Determine BAR businesses that are eligible for migration. Ask Argus how to filter on BR accounts that have a mailing address
  • Create batch in COLIN extract migration tables in preparation for migration
  • Dry run in dev/test. Note: link businesses to new accounts in dev/test. Argus will create the accounts and provide account ids here for both environments
  • Generate initial migration status spreadsheet for business so they have pending migration batch info moved to Generate latest migration status spreadsheet #31947

Link to the sequence of events for migration : https://bcgov.sharepoint.com/:x:/r/teams/07717/Shared%20Documents/Entities%20-%20Data%20Migration/On-Boarding%20-%20BAR/BAR-%20Business%20Onboarding.xlsx?d=wd52bebe10c49429ba25f72f6d6025f20&csf=1&web=1&e=OQfb9q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Entities - Data Migration

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions