Open HRAGANBC opened 6 months ago
Need to incorporate Name and SIN updates on SIMS into error handling to resolve manually with CAS.
@CarlyCotton we will disable the "Retry" if there is already a pending record created.
@andrewsignori-aot That works. Can we be specific and say "Pending supplier verification" status?
User Story
As a Ministry user, I need to know if SIMS could not successfully verify and assign a supplier number and site, this could be due to an identified manual intervention requirement or due to an error with the request to CAS. This needs to provide me context in which this occurred so I know if I can retry or resolve it. Retrying involves asking SIMS to attempt the action again with the current information (eventually). Resolving means that I have reviewed CAS and SIMS, making any necessary updates in either system and SIMS will not need to attempt the action again. This information will be used to create UI or populate a report.
Acceptance Criteria
[ ] Update the CAS table column order, add new columns, update column names (ignore differences in the status label or formatting):
[ ] User should see the response message for any CAS error or manual intervention pre-validation error records.
[ ] If Manual Intervention is required the associated Error message based on the situation:
[ ] For error responses from CAS set the status to "Manual Intervention" include the Error Message received from CAS (it comes in as a string, multiple are split by bars. See CAS 2A)
[ ] Any of these errors should make the Supplier
isValid = false
and in cases where Supplier found but create Site failed, save any valid Supplier info[ ] Retry button means creating a new pending CAS request and is only available to the
business-administrator
group[ ] Include all error responses, including those from GetSupplier requests.
Business Context
Technical
errors
.