No documents in document capture screen in Pre-registration

Problem

After entering the data and clicking on the continue button on the pre-registration demographic screen, there is no documents visible in the document screen in the drop down. After debugging you might see an error message stating document category and document type mapping is not found.

Error Code: KER-MSD-150
Error Message: Document Category- Document Type mapping not found

Solution

This error might occur if there is a mismatch in applicant type code in applicant valid documents table and the the code defined in applicanttype-api or proper data is not are not available in applicant valid documents table.

  1. Data should be available in,

    1. Applicant Valid Documents table in master database should have active mappings for applicant type, document type and document category.

    2. Documents Category table in master database should have active data which has been mapped in Applicant Valid Documents.

    3. Document Type table in master database should have active data which has been mapped in Applicant Valid Documents.

  2. The applicant type code in Applicant Valid Documents table in master database should be as per the code mentioned in kernel-applicanttype-api.

In case of platform the applicant type codes in kernel-applicanttype-api start from 001, 002, 003 to 016. Hence we have 16 different types of applicants in platform.
In case you are changing code to have more applicant types then you need to populate data in applicant valid document table for new types of applicants.