Open davemck513 opened 1 month ago
NOCDR
(change of directors)EVENT_ID
, but by other keys like MAILING_ADDR_ID
Created a helper tool to find out non-null columns in tables related to a particular filing type in COLIN. https://github.com/eason-pan-bc/data_mapping_analysis_tool
They are already in COLIN extract, but haven't been mapped to LEAR db | COLIN Table | COLIN Columns |
---|---|---|
EVENT | EVENT_TYP_CD | |
CORP_PARTY | PREV_PARTY_ID | |
LEDGER_TEXT | LEDGER_TEXT_DTS | |
LEDGER_TEXT | USER_ID |
NOTIFICATION
table: 99% sure that we can ignore, double check with Dylan again
FURNISH_REPORT
table: Dylan is having discussions on this
There are several columns in some tables DO NOT have been mapped out, but related to CoD filing in LEAR. | Table | Column | Notes |
---|---|---|---|
parties | EMAIL_ADDRESS in COPR_PARTY are all null | ||
addresses | delivery_instructions | not converting | |
addresses | address_type | MAILING_ADDR_ID, DELIVERY_ADDR_ID in CORP_PARTY | |
party_roles | party_id | ||
transaction | issued_at | e.g. 30.07.2019 19:43:20 947 | |
business | last_cod_date | ||
filings | id | ||
filings | filing_json | not exist in COLIN, since they were not using JSON | |
filings | payment_id | ||
filings | submitter_id | ||
filings | payment_completion_date | ||
filings | completion_date | ||
filings | source | if mapped from COLIN then it's "COLIN" | |
filings | parent_filing_id | ||
filings | payment_status_code | ||
filings | meta_data | not exist in COLIN, since they were not using JSON |
In this Google Sheet file, you will find 2 spreadsheets,
isExtracted
to indicate whether that column is in the COLIN extract or not.hasMappedOut
to indicate whether it's already been mapped out or not with some notes if possible.
Doc: CoD_filing_data_mapping@argush3 @chenhongjing to review
Company Number: BC1144712 Name of Company: 1144712 B.C. LTD. Company Email Address: eason.pan@gov.bc.ca You have the following company password for the above company. Company Password: test123456 BN_9: 985439009 BN_15: 985439009BC0001
9321796,9321798,9321802,9321816,9321817,9321818
REFERENCING_TABLE | REFERENCING_COLUMN (-> EVENT.EVENT_ID) |
---|---|
CORP_PARTY | START_EVENT_ID |
CORP_PARTY | END_EVENT_ID |
FILING | EVENT_ID |
LEDGER_TEXT | EVENT_ID |
NOTIFICATION | EVENT_ID |
PAYMENT | EVENT_ID |
FILING_USER | EVENT_ID |
FURNISH_REPORT | EVENT_ID |
MRAS_MESSAGE_OUTBOUND | STG_ID |
OFFICE | END_EVENT_ID |
OFFICE | START_EVENT_ID |
PAYMENT_STATE | EVENT_ID |
Main Table | Column in main table | Connected Table | column in connected table |
---|---|---|---|
CORP_PARTY | MAILING_ADDR_ID | ADDRESS | ADDR_ID |
CORP_PARTY | DELIVERY_ADDR_ID | ADDRESS | ADDR_ID |
FURNISH_REPORT | BATCH_ID | BATCH_REPORT_LOG | BATCH_ID |
NOTIFICATION | MAILING_ADDR_ID | ADDRESS | ADDR_ID |
great work @eason-pan-bc ! the CoD filing data mapping analysis spreadsheet, tool you created and notes were all very helpful. I think there are definitely some things I'll need to follow up with Dylan on before we get to the implementation of this filing.
I'm going to move this to done in the meantime.
This ticket is used to analyze whether we have the required tables and data in the COLIN db extract(postgres) and LEAR db to start updating the corps data pipeline to bring over Change of Directors for corps.