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
Legal API: provide endpoints to get + set/clear AR Reminder flag #27194
Its similar to adminFreeze so we need to introduce new filing to update any business data. No new endpoint required. @thorwolpert I am thinking of a generic filing called "businessSettings", where we can support more than one field to update. thoughts?
Should we create a new endpoint that could change "business settings" (phone, email, folio number, AR flag) that we would only use for the AR flag initially? (*)
Or, should we create a new "filing" to change business settings, that wouldn't appear on the ledger?
(*) business phone, email and folio number are currently managed in Auth but I've heard that we want to bring it into LEAR
any data we change on the business - we want on the ledger.
The dashboard will need some changes, I'm thinking like the other tables where we have filters, the default filter would be legal-filings - matching the current filing-history.
folio - afaik, is an account level thing, not tied to a business, but might be a default for the business.
business phone, email: are those for the business, or one of the accounts managing the businesses data?
@kialj876 can you review to understand if there is still a blocker and the need to sync back to COLIN. It looks like Severin and Thor will have that info.
@mstanton1 I think the account access model needs to be done before tackling these things, or at least marking this as "works for now, will need to be updated later".
the access model as significantly changed. Is the ar_indicator a business, or business-account setting? I think the later, or maybe the indicator is set for a list of emails?
eg. Expensive Tax Lawyer assign AR filing to less costly firm. Tax Lawyer is still maybe the primary email, but maybe the cheaper group should get the AR reminder as that has been delegated to them.
With the question 'is the ar_indicator a business, or business-account setting?' my thought is it would be a business setting. In COLIN we did not have the concept of account email, so emailed reminders went to the company email. The same company email field exists in the modernized system which we could leverage. If future enhancements are required based upon changes in access we could address those. However, access changes have shown challenging and due to the possible delays if we wait, I'm keep to keep moving.
@OlgaPotiagalova is this the direction your team was headed? @thorwolpert beyond possibility of re-work if model changes, did you have other concerns?
@severinbeauvais the business email addresses are distinct from account email address. There is no linkage. This is why it does not make sense to store the business centric email in AUTH.
For further clarity on design, Jacqueline will be best positioned to walk through when back, but with my team picking this up I'm confident they can work with her, drive this forward, and present back.
Good point @Mihai-QuickSilverDev . The work my team is doing is specific to moving the email into LEAR and then allowing opt out for reminders in the modernized system. Currently even when frozen legacy reminders go out. There is a ticket to turn those off but we should consult the business for feedback before moving forward with that. @dylan644 can you add a comment in that ticket to ensure there is business review / approval before anything is actioned?
@mstanton1 tickets(#30922, #30923) to turn off AR reminder emails for migration corps in legacy system have been created and flagged as requiring business + home team approval before work can start.
@mstanton1 There are going to be tens of thousands of migrated businesses that would be migrated, and would not have any account affiliation, until those individual users would create accounts and affiliate the businesses. However, the AR reminders should still go out, before that happens, when due. In this case the account # would be missing from that dual key. In fact, we could use these AR reminders to let them know that we moved to BCROS, and provide them with instructions on how to create an account, and affiliate their business (kind of a modified version of BAR).
in the case where there isn't any affiliation yet, i think we can find a way to fallback to whatever the AR flag setting was when we first migrated
yes, if one account has the AR Reminder Flag for a business enabled they would receive emails. If another account has the AR Reminder Flag for the same business disabled, they would not receive emails. High level design was provided in the epic but let me know if you have any concerns.
This will certainly expand the scope from 1 email per business to 1 email per business-account affiliation.
Is this related to the desire to move affiliations out of Auth and into LEAR? There's certainly some common ground here. cc: @seeker25
Kial + Melissa were looking at business contacts here: #30862
Closing as this work is covered elsewhere, aside from syncing back to COLIN which is unnecessary. Additional tickets were created to determine if we still send COLIN AR reminders for some period of time after migration to ensure clients who don't have accounts / email for their business in modern are still receiving notifications.
changed the title [-]Legal API: provide endpoint to set/clear AR Reminder flag[/-][+]Legal API: provide endpoint to get + set/clear AR Reminder flag[/+]on Dec 4, 2025
changed the title [-]Legal API: provide endpoint to get + set/clear AR Reminder flag[/-][+]Legal API: provide endpoints to get + set/clear AR Reminder flag[/+]on Dec 4, 2025
Activity
severinbeauvais commentedon Apr 14, 2025
Looks like some of this already exists.
Data migration: https://github.com/bcgov/lear/blob/7557ebb4d90d9b56ec0892961e93dcf0780a8c2f/data-tool/flows/custom_filer/filing_processors/incorporation_filing.py#L90
COLIN sync: https://github.com/bcgov/lear/blob/7557ebb4d90d9b56ec0892961e93dcf0780a8c2f/colin-api/src/colin_api/resources/filing.py#L269
Email reminder job: https://github.com/bcgov/lear/blob/7557ebb4d90d9b56ec0892961e93dcf0780a8c2f/jobs/email-reminder/email_reminder.py#L132
Legal API model: https://github.com/bcgov/lear/blob/7557ebb4d90d9b56ec0892961e93dcf0780a8c2f/legal-api/src/legal_api/models/business.py#L260
And maybe more.
severinbeauvais commentedon Apr 14, 2025
@vysakh-menon-aot FYI. See also the blocked UI ticket. Any thoughts to add?
vysakh-menon-aot commentedon Apr 15, 2025
Its similar to adminFreeze so we need to introduce new filing to update any business data. No new endpoint required. @thorwolpert I am thinking of a generic filing called "businessSettings", where we can support more than one field to update. thoughts?
severinbeauvais commentedon Apr 15, 2025
If we moved business phone/email change from Auth to LEAR, would it fit in with this Business Settings filing?
vysakh-menon-aot commentedon Apr 15, 2025
Yes
severinbeauvais commentedon Jun 12, 2025
@thorwolpert What are your thoughts...
Should we create a new endpoint that could change "business settings" (phone, email, folio number, AR flag) that we would only use for the AR flag initially? (*)
Or, should we create a new "filing" to change business settings, that wouldn't appear on the ledger?
(*) business phone, email and folio number are currently managed in Auth but I've heard that we want to bring it into LEAR
thorwolpert commentedon Jun 12, 2025
any data we change on the business - we want on the ledger.
The dashboard will need some changes, I'm thinking like the other tables where we have filters, the default filter would be legal-filings - matching the current filing-history.
folio - afaik, is an account level thing, not tied to a business, but might be a default for the business.
business phone, email: are those for the business, or one of the accounts managing the businesses data?
severinbeauvais commentedon Jun 13, 2025
This ticket is BLOCKED pending requirements and affiliations work.
Additional comments:
Ref: multi-tenant data discussion in Teams
mstanton1 commentedon Sep 23, 2025
@OlgaPotiagalova as discussed my team will pick this up.
@kialj876 can you review to understand if there is still a blocker and the need to sync back to COLIN. It looks like Severin and Thor will have that info.
thorwolpert commentedon Sep 23, 2025
@mstanton1 I think the account access model needs to be done before tackling these things, or at least marking this as "works for now, will need to be updated later".
the access model as significantly changed. Is the ar_indicator a business, or business-account setting? I think the later, or maybe the indicator is set for a list of emails?
eg. Expensive Tax Lawyer assign AR filing to less costly firm. Tax Lawyer is still maybe the primary email, but maybe the cheaper group should get the AR reminder as that has been delegated to them.
mstanton1 commentedon Sep 23, 2025
With the question 'is the ar_indicator a business, or business-account setting?' my thought is it would be a business setting. In COLIN we did not have the concept of account email, so emailed reminders went to the company email. The same company email field exists in the modernized system which we could leverage. If future enhancements are required based upon changes in access we could address those. However, access changes have shown challenging and due to the possible delays if we wait, I'm keep to keep moving.
@OlgaPotiagalova is this the direction your team was headed? @thorwolpert beyond possibility of re-work if model changes, did you have other concerns?
15 remaining items
mstanton1 commentedon Oct 1, 2025
@severinbeauvais the business email addresses are distinct from account email address. There is no linkage. This is why it does not make sense to store the business centric email in AUTH.
For further clarity on design, Jacqueline will be best positioned to walk through when back, but with my team picking this up I'm confident they can work with her, drive this forward, and present back.
argush3 commentedon Oct 1, 2025
@mstanton1 tickets(#30922, #30923) to turn off AR reminder emails for migration corps in legacy system have been created and flagged as requiring business + home team approval before work can start.
argush3 commentedon Oct 1, 2025
in the case where there isn't any affiliation yet, i think we can find a way to fallback to whatever the AR flag setting was when we first migrated
mstanton1 commentedon Oct 1, 2025
Thank you @argush3 !!!
seeker25 commentedon Oct 1, 2025
@severinbeauvais
Kial + Melissa were looking at business contacts here: #30862
mstanton1 commentedon Oct 2, 2025
Closing as this work is covered elsewhere, aside from syncing back to COLIN which is unnecessary. Additional tickets were created to determine if we still send COLIN AR reminders for some period of time after migration to ensure clients who don't have accounts / email for their business in modern are still receiving notifications.
[-]Legal API: provide endpoint to set/clear AR Reminder flag[/-][+]Legal API: provide endpoint to get + set/clear AR Reminder flag[/+][-]Legal API: provide endpoint to get + set/clear AR Reminder flag[/-][+]Legal API: provide endpoints to get + set/clear AR Reminder flag[/+]severinbeauvais commentedon Feb 12, 2026
I have create the following Teams group chat to get the final answers for this ticket/implementation:
https://teams.microsoft.com/l/chat/19:18c63d3d5c1c4b88bd67160e1c8564c5@thread.v2/conversations?context=%7B%22contextType%22%3A%22chat%22%7D