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

PPR Lien - Amend and Cancel Transport Permit #21012

Closed
LizGovier opened this issue Apr 25, 2024 · 8 comments
Closed

PPR Lien - Amend and Cancel Transport Permit #21012

LizGovier opened this issue Apr 25, 2024 · 8 comments
Assignees
Labels

Comments

@LizGovier
Copy link
Collaborator

LizGovier commented Apr 25, 2024

  • Reference Designs

  • Race condition is caught
    (similar ticket Verify - Conditions Restricting Transfers on Manufactured Homes (all Transfer Types)  #18330)

  • No PPR lien restrictions for staff. Verified.

  • Qualified suppliers are blocked if the PPR registration type is LT, ML, or MN. Verified with LT reg type.

  • Qualified suppliers are blocked on submission if a PPR lien LT, ML, MN registration type is created after the MHR registration starts. Verified

  • Qualified suppliers are not blocked for other PPR registration types. Verified with SA reg type.

@LizGovier LizGovier changed the title Verify - Lien Verify - Lien (Amend and Cancel Transport Permit Apr 25, 2024
@doug-lovett doug-lovett self-assigned this May 30, 2024
@doug-lovett
Copy link
Collaborator

@chdivyareddy not sure with verify tickets if you retest or just move to Done?

@chdivyareddy
Copy link
Collaborator

@doug-lovett I'll retest this and move it to done once completed, thanks!

@doug-lovett
Copy link
Collaborator

doug-lovett commented May 30, 2024

@chdivyareddy thanks, moving to in progress after reviewing the design.

@doug-lovett
Copy link
Collaborator

LT lien verification:
Verification Notes:

  1. Log in as a QS in DEV BCREG0062.
  2. Find a MHR with no existing PPR lien and an existing active Transport Permit 108336.
  3. Create a PPR lien (LT, ML, MN reg type) with the MH as serial collateral (MHR number 108336).
  4. Verify in the UI the Amend/Cancel Permit button is disabled.

Screenshot 2024-05-30 at 10.36.58 AM.png

  1. In the API verify the lien check prevents the QS amend/cancel transport permit request and returns an error:
    POST https://bcregistry-dev.apigee.net/mhr/api/v1/permits/108336
{
  "amendment": true,
  "clientReferenceId": "UT-AMEND-PERMIT-QS-001",
  "ownLand": true,
  "attentionReference": "James Irving",
  "landStatusConfirmation": true,
  "submittingParty": {
    "businessName": "ABC UT TEST COMPANY",
    "address": {
      "street": "222 SUMMER STREET",
      "city": "VICTORIA",
      "region": "BC",
      "country": "CA",
      "postalCode": "V8W 2V8"
    },
    "emailAddress": "[email protected]"
  },
  "newLocation": {
    "locationType": "OTHER",
    "lot": "1224",
    "plan": "12",
    "landDistrict": "PEACE RIVER",
    "address": {
      "street": "8312 GALLAGHER LK FRONTAGE RD",
      "city": "FORT ST. JOHN",
      "region": "BC",
      "country": "CA",
      "postalCode": " "
    },
    "leaveProvince": false
  }
}

POST https://bcregistry-dev.apigee.net/mhr/api/v1/admin-registrations/108336

{
  "clientReferenceId": "UT-CANCEL-PERMIT-MAN",
  "attentionReference": "JAMES IRVING",
  "documentType": "CANCEL_PERMIT",
  "submittingParty": {
    "businessName": "ABC TEST COMPANY",
    "address": {
      "street": "222 SUMMER STREET",
      "city": "VICTORIA",
      "region": "BC",
      "country": "CA",
      "postalCode": "V8W 2V8"
    },
    "emailAddress": "[email protected]"
  }
}

Response Error:

{"errorMessage": "API backend third party service error.", "rootCause": "detail:[Additional validation: This registration is not allowed to complete as an outstanding Personal Property Registry lien exists on the manufactured home. ],message:003: Registration request data validation errors. "}

@doug-lovett doug-lovett changed the title Verify - Lien (Amend and Cancel Transport Permit PPR Lien - Amend and Cancel Transport Permit May 30, 2024
@chdivyareddy
Copy link
Collaborator

Hey @doug-lovett , LT and ML validations looks expected, but for the MN registration type 'Cancel transport permit' validation is not displayed as expected. I'm seeing a 401 authorization failure error. Please take a look, thanks!!

I'm using the BCREG0062 account (ID: 3248) in DEV using MHR 100377 for MN registration type.

image.png

@doug-lovett
Copy link
Collaborator

doug-lovett commented May 30, 2024

@chdivyareddy did 3248 create the transport permit for MHR 100377? You will see an authorization error with a cancel transport permit if the account did not create the permit. I just checked and staff created the permit.

@chdivyareddy
Copy link
Collaborator

@doug-lovett , oh...got it, transport permit was created by staff for MHR 100377, will try with the same account, thank you!

@chdivyareddy
Copy link
Collaborator

chdivyareddy commented May 30, 2024

Verified in DEV!

MHR 108292 - Maintenance Lien
MHR 107812 - Manufactured Home Notice
MHR 108336 - Land Tax Deferment Lien

image.png

image.png

image.png

TEST:
MHR 108043 - Land Tax Deferment Lien
MHR 108105 - Maintenance Lien
MHR 108107 - Manufactured Home Notice

image.png

@PCC199 PCC199 closed this as completed Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants