bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 58 forks source link

Name Request - Verify business state and business type when validating the incorporation number #5460

Open JohnamLane opened 4 years ago

JohnamLane commented 4 years ago

Is your feature request related to a problem? Please describe the problem & source of request. A call is being made to CPRD for a variety of request types, but no validation is taking place.

Describe the solution you'd like - Expected Behaviour When a client completes certain request types, they must enter their corp_num (a.k.a. incorporation number or registration number) We should use this number to look them up in CPRD and verify the following:

Describe alternatives you've considered You can remove the integration altogether, but then clients may request an NR for the wrong type, or for a historical company.

sienna-oldaccountdontuse commented 3 years ago

TOday we experienced a weird issue in test, where when you enter a valid number into the corp numb field (of an xpro registration) and the system checks the database for a match - the field gives a validation error, "please enter a valid corp num" or something. But it is a valid number! Then you try again in 30 seconds or so, and it magically works. Seems like that check in the database is really slow?