Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namex - Alteration - NR for Benefit to Limited Name Change is not working #18286

Closed
seeker25 opened this issue Oct 23, 2023 · 12 comments
Closed
Assignees
Labels
Names Team Name Request Name Examination Team

Comments

@seeker25
Copy link
Collaborator

seeker25 commented Oct 23, 2023

Working with Eve on this one, some weird results when fetching the name request for alteration types:

NR 5816323 - BC Benefit Company - BC to Benefit Conversion 
entity_type_cd: BC
legalType: BEN

NR 6500693 - BC Benefit Company - Benefit to BC Conversion
entity_type_cd: BC 
legalType: BEN      <---- THIS SHOULD BE BC

BC to Unlimited Liability Company Conversion (NR 7675982)
entity_type_cd: UL
legalType: ULC

NR 7597063 CCC - BC to CCC Conversion
entity_type_cd: CC
legalType: CC

The wrong legalType is coming back for Benefit -> BC, which is causing the error described in #18122

@seeker25
Copy link
Collaborator Author

@danaannab tagging you here so you're aware

@eve-git
Copy link
Collaborator

eve-git commented Oct 23, 2023

According to the request mappings, for BECR (Benefit to Limited Company alteration), the entity_type_cd is 'CR' and legal_type is 'BEN'
legal_type:
https://github.com/eve-git/namex/blob/main/api/namex/services/lookup/name_request_filing_actions.py#L128
entity_type:
https://github.com/eve-git/namex/blob/main/api/namex/services/name_request/utils.py#L100

@eve-git
Copy link
Collaborator

eve-git commented Oct 23, 2023

@eve-git
Copy link
Collaborator

eve-git commented Oct 23, 2023

in current code, entity_type_cd is from namerequest (UI) and legal_type is from namex (backend)

@eve-git eve-git added the Names Team Name Request Name Examination Team label Oct 24, 2023
@eve-git eve-git self-assigned this Oct 24, 2023
@seeker25
Copy link
Collaborator Author

Eve did an adjustment to the payload, I've added in another PR for LEAR - seems to be working again on DEV.

@eve-git
Copy link
Collaborator

eve-git commented Oct 24, 2023

@seeker25 Please let me know when to release. Thanks.

@eve-git
Copy link
Collaborator

eve-git commented Oct 24, 2023

@seeker25
Copy link
Collaborator Author

@eve-git I think LEAR updates every Tuesday in Test

@eve-git
Copy link
Collaborator

eve-git commented Oct 24, 2023

@seeker25 I will try to put it to the namex release on next Tuesday.

@eve-git
Copy link
Collaborator

eve-git commented Oct 25, 2023

steps to test UI:

  1. create a NR for alteration (Alter from one BC business type to another)
  2. choose a Beneficiary Corp and fill in "Find an existing business"
  3. go through the whole process, after payment, the NR should NOT show as a BC Benefit Company (as NR 4493724 in TEST), instead it should be a 'BC Limited Company'.

The test for API change is with Entity team.

@eve-git
Copy link
Collaborator

eve-git commented Oct 25, 2023

Deployed to DEV and TEST.

Ready for testing.

@oanyahuru
Copy link
Collaborator

Tested following the steps outlined, the new company shows up as a BC limited company

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Names Team Name Request Name Examination Team
Projects
None yet
Development

No branches or pull requests

4 participants