Skip to content

Create test data for Voluntary Dissolutions #9976

Closed

Description

TO DO

Create the following in any environment. Use Jupyter Notebooks? Or SQL?

  • 1 corp in good standing
  • 4 corps NOT in good standing (NIGS)
  • 1 co-op in good standing
  • 4 co-ops NOT in good standing (NIGS)
  • Build way to Riyaz to be able to re-set the data

@riyazuddinsyed to define which accounts he would like these entities attached to

Testing notes for Riyaz

Each NIGS will be tested with a payment method

  • PAD
  • Online Banking
  • CC
  • BCOL

Activity

  1. jdyck-fw commented on Jan 12, 2022

    @jdyck-fw
    Contributor

    Anyone can do this using the notebooks.

  2. self-assigned this
    on Jan 14, 2022
  3. argush3 commented on Jan 25, 2022

    @argush3
    Contributor

    Data created in DEV

    Coops
    NR 0462365 (XYZ 2022.01.24 22.12.06 TEST) -> CP1002513 (in good standing)
    NR 9076169 (XYZ 2022.01.24 22.21.44 TEST) -> CP1002514 (not in good standing)
    NR 4009628 (XYZ 2022.01.24 22.23.46 TEST) -> CP1002515 (not in good standing)
    NR 0558427 (XYZ 2022.01.24 22.24.52 TEST) -> CP1002516 (not in good standing)
    NR 5637675 (XYZ 2022.01.24 22.25.37 TEST) -> CP1002517 (not in good standing)

    Corps(BEN)
    NR 1641445 (XYZ 2022.01.24 22.29.10 TEST) -> BC0870910 (in good standing)
    NR 5019581 (XYZ 2022.01.24 22.30.14 Test) -> BC0870911 (not in good standing)
    NR 8825651 (XYZ 2022.01.24 22.32.27 TEST) -> BC0870912 (not in good standing)
    NR 2941066 (XYZ 2022.01.24 22.33.20 TEST) -> BC0870913(not in good standing)
    NR 2401541 (XYZ 2022.01.24 22.34.22 TEST) -> BC0870914 (not in good standing)

    Data created in TEST

    Coops
    NR 1354487(XYZ 2022.01.24 19.54.28 TEST) -> CP1002416 (in good standing)
    NR 6429397(XYZ 2022.01.24 19.59.04 TEST) -> CP1002417 (not in good standing)
    NR 6743965(XYZ 2022.01.24 20.00.15 TEST) -> CP1002418 (not in good standing)
    NR 4401709(XYZ 2022.01.24 20.01.38 TEST) -> CP1002419 (not in good standing)
    NR 6104705(XYZ 2022.01.24 20.02.48 TEST) -> CP1002420 (not in good standing)

    Corps (BEN)
    NR 9437827 (XYZ 2022.01.24 20.29.34 TEST) -> BC0936288 (in good standing)
    NR 8185619 (XYZ 2022.01.24 20.31.05 TEST) -> BC0936318 (not in good standing)
    NR 5835646 (XYZ 2022.01.24 20.32.07 TEST) -> BC0936319 (not in good standing)
    NR 9314795 (XYZ 2022.01.24 20.32.53 TEST) -> BC0936320 (not in good standing)
    NR 5681432 (XYZ 2022.01.24 20.33.44 TEST) -> BC0936321 (not in good standing)`

  4. argush3 commented on Jan 25, 2022

    @argush3
    Contributor

    @riyazuddinsyed - test data has been created in DEV and TEST. Details on specific businesses created can be found in the previous comment. With the existing data you can just use the notebooks to update a businesses good standing status or to reset/delete a dissolution filing related data. But really you have the ability to use the notebooks to create as many businesses as you want from scratch using the NR and create coop/corps notebooks.

    The following are some scenarios you can test along with steps required to test. Let me know if you have any questions. Note: before testing these scenarios, ensure initial notebook setup is done. Setup details can be found here

    Scenario 1 - Update good standing state for an existing business
    1. Port forward to lear database.
    2. Start up notebook
    3. Confirm environment/config values are filled out and correct according to environment of interest. Ping me if you need config values for Dev or Test. In particular, ensure the lear database config is correct.
    4. Open notebook depending on whether business is a Corp(XXXX_create_ben_voluntary_dissolution_XXXXX.ipynb) or Coop(XXXX_create_coop_voluntary_dissolution_XXXXX.ipynb)
    5. Provide identifier in setup section. Uncomment if commented out. i.e. identifier = ‘CP1000006'
    6. Run code snippet under Update good standing section. If there are errors , try running the db.session.rollback() snippet first.
    7. Verify good standing status by checking if able to file a voluntary dissolution via the UI.

    Scenario 2 - Reset/delete voluntary dissolution data for an existing business
    1. Port forward to lear database.
    2. Start up notebook
    3. Confirm environment/config values are filled out and correct according to environment of interest. Ping me if you need config values for Dev or Test. In particular, ensure the lear database config is correct.
    4. Open notebook depending on whether business is a Corp(XXXX_create_ben_voluntary_dissolution_XXXXX.ipynb) or Coop(XXXX_create_coop_voluntary_dissolution_XXXXX.ipynb)
    5. Provide identifier in setup section. Uncomment if commented out. i.e. identifier = ‘CP1000006'
    6. File a voluntary dissolution for the business of interest from the UI.
    7. Run code snippet under Data Reset section. If there are errors , try running the db.session.rollback() snippet first.
    8. Verify business no longer HISTORICAL and is active via the UI.

    Scenario 3 - Create new NR and incorporate a new business with new NR
    For reference purposes, a snapshot of some elements of this scenario for COOP creation has been included in the screenshots for the Notebook PR. This may be helpful to see how the notebook output should look on a successful run.
    1. Port forward to lear database.
    2. Start up notebook
    3. Confirm environment/config values are filled out and correct according to environment of interest. Ping me if you need config values for Dev or Test. In particular, ensure the lear database config is correct.
    4. Open create nr notebook(XXXX_create_nr_XXXXX.ipynb)
    5. Update values for entity_type and email in setup section with appropriate values.
    6. Run all code snippets in notebook. Note: make sure to make a payment via browser in Create/Update payment transaction section.
    7. Wait a few minutes for NR to be ready.
    8. Open notebook depending on whether NR created was for a Corp(XXXX_create_ben_voluntary_dissolution_XXXXX.ipynb) or a Coop(XXXX_create_coop_voluntary_dissolution_XXXXX.ipynb)
    9. Update values for account, nr_num(use nr num created in create nr notebook), email in setup section with appropriate values
    10. Run all code snippets in notebook sequentially up to and including Get business identifier section. If the business needs to not be in good standing, the Update good standing snippet can be run too.
    11. Verify newly created business exists and has been associate to the provided account via the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions