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
{{ message }}
Repository navigation
ULC/CCC/BC data mapping - business states analysis #14691
In COLIN, there are 23 different states including D1, D2, withdrawn, limited rest, his amalg, his cont in etc. for the corps to be brought over to LEAR.
Analysis needs to be done to determine whether additional states need to be added. some states in legacy system may possibly be represented via dynamic calculations in new system
@thorwolpert Hi Thor, I think that we might kindly need your help with this ticket. Restoration filings work, on-going right now, requires the Back End to validate which corporations can be restored and which not, based on how they became historical. For example, historical because of amalgamation cannot be restored.
@thorwolpert can you take a look at this when you have a minute and let me know if what I've written here makes sense?
Some analysis was done to determine if there are any obvious issues with bringing over corps data from COLIN as it relates to business states. The business state RFC for LEAR was used as a reference point as to how the COLIN states and operational states will be represented in LEAR.
Analysis details:
In COLIN, there is an operational state(CORP_OP_STATE table) and a state(CORP_STATE table). The operational state can be represented by the three (ACTIVE, LIQUIDATION, HISTORICAL) business states we have in LEAR right now. As for the other COLIN state (corp state), these can be represented by a combination of dynamic calculations (represented as warning structures or business properties like good standing) for a business, the filing type or using the filing type that transitioned a business into its current state.
There are still some details that need to be fleshed out for filings like the ones below. These details will be worked out as we implement the filings in LEAR.
Involuntary dissolution - this is currently a manual process that transitions a business to D1 to D2 based on some conditions. Uncertain as to how this changes in LEAR and how we will represent the involuntary dissolution process from a data and process perspective. Will the manual process become an automated process in LEAR?
Liquidation - how does this process look? do we need additional business states for the liquidation steps or will we be able to just use the business state of “LIQUIDATION” and determine which step in the liquidation process a business is in via some dynamic calculations?
Answers to address specific concerns that @Mihai-QuickSilverDev had around how we will represent the COLIN business in LEAR if we don’t bring over the state entries in the COLIN corp_state table specifically.
How do we tell if a corp is restorable?
The legal api will provide a list of filings that a business can currently file. The BE will be able to determine this for scenarios where a corp is non-restorable by checking things like the state and the filing that put the business in its current business state. For example if an amalgamation filing put a corp into a historical business state, the api would not return the restoration filing as an actionable filing in the business response.
How would you determine if a business is currently in limited restoration?
The “stateFilling” property in the business object can be used to determine this. The “stateFiling” property references the filing that resulted in the current business state transition. If a business is ACTIVE and the stateFiling references a limited restoration then you have determined the business in limited restoration. We may want to make this easier for the API consumer to determine things like the filing type or the from/to business state of a state filing.
thor wolpert @thor
We should probably add to, or create a detailed RFC to capture the design/outcome.
The COLIN state table is kind of a mixture (the lack of patterns is the pattern)
There are 2 Business States - Active / Historic.
There are some internal operational states that actually are linked, but no machine actionable link. You have to know it or code it in elsewhere.
Some operational states block the transitions between active <-> historical
A somewhat simple state machine, either as a linked table in the DB, or in linked dictionaries in the code would make that a lot easier to manage
RFC has been approved. We have decided that this will be used as a starting point for how we will represent COLIN business states in LEAR. We will refine the finer details and design as we start implementation.
Activity
Mihai-QuickSilverDev commentedon Jan 5, 2023
@thorwolpert Hi Thor, I think that we might kindly need your help with this ticket. Restoration filings work, on-going right now, requires the Back End to validate which corporations can be restored and which not, based on how they became historical. For example, historical because of amalgamation cannot be restored.
argush3 commentedon Jan 10, 2023
@thorwolpert can you take a look at this when you have a minute and let me know if what I've written here makes sense?
Some analysis was done to determine if there are any obvious issues with bringing over corps data from COLIN as it relates to business states. The business state RFC for LEAR was used as a reference point as to how the COLIN states and operational states will be represented in LEAR.
Analysis details:
In COLIN, there is an operational state(CORP_OP_STATE table) and a state(CORP_STATE table). The operational state can be represented by the three (ACTIVE, LIQUIDATION, HISTORICAL) business states we have in LEAR right now. As for the other COLIN state (corp state), these can be represented by a combination of dynamic calculations (represented as warning structures or business properties like good standing) for a business, the filing type or using the filing type that transitioned a business into its current state.
There are still some details that need to be fleshed out for filings like the ones below. These details will be worked out as we implement the filings in LEAR.
Answers to address specific concerns that @Mihai-QuickSilverDev had around how we will represent the COLIN business in LEAR if we don’t bring over the state entries in the COLIN corp_state table specifically.
How do we tell if a corp is restorable?
The legal api will provide a list of filings that a business can currently file. The BE will be able to determine this for scenarios where a corp is non-restorable by checking things like the state and the filing that put the business in its current business state. For example if an amalgamation filing put a corp into a historical business state, the api would not return the restoration filing as an actionable filing in the business response.
How would you determine if a business is currently in limited restoration?
The “stateFilling” property in the business object can be used to determine this. The “stateFiling” property references the filing that resulted in the current business state transition. If a business is ACTIVE and the stateFiling references a limited restoration then you have determined the business in limited restoration. We may want to make this easier for the API consumer to determine things like the filing type or the from/to business state of a state filing.
argush3 commentedon Jan 10, 2023
In discussing with Thor, I will be creating a detailed RFC to flesh things out in more detail. cc: @Mihai-QuickSilverDev @severinbeauvais @davemck513
argush3 commentedon Feb 3, 2023
RFC has been approved. We have decided that this will be used as a starting point for how we will represent COLIN business states in LEAR. We will refine the finer details and design as we start implementation.