Chapter 4. Viewing the Mortgage_Process data objects

Data objects are the building blocks for the rule assets that you create. Data objects are custom data types implemented as Java classes in specified packages of your project. These custom data types determine what data your assets and your decision services are based on.

This tutorial uses the following data objects:

  • Applicant
  • Application
  • Property
  • ValidationErrorDO

4.1. Viewing the Applicant data object

Follow these steps to familiarize yourself with the predefined Applicant data object, which contains information about the applicant. This is the basic information required to apply for the loan in this tutorial.

Procedure

  1. In Business Central, click MenuDesignProjects, and click Mortgage_Process.
  2. Enter Applicant.java in the project’s asset search box, press Enter, and click the Applicant data object.
  3. Review the Applicant data object values.

    field data applicant dm

4.2. Viewing the Application data object

Follow these steps to familiarize yourself with the predefined Application data object, which contains information about the mortgage details, such as the down payment and the mortgage amount.

Procedure

  1. In Business Central, click MenuDesignProjects, and click Mortgage_Process.
  2. Enter Application.java in the project’s asset search box, press Enter, and click the Application data object.
  3. Review the Application data object values.

    field data application

4.3. Viewing the Property data object

Follow these steps to familiarize yourself with the predefined Property data object, which contains information about the property details, such as the property age and price.

Procedure

  1. In Business Central, click MenuDesignProjects, and click Mortgage_Process.
  2. Enter Property.java in the project’s asset search box, press Enter, and click the Property data object.
  3. Review the Property data object values.

    field data property

4.4. Viewing the ValidationErrorDO data object

Follow these steps to familiarize yourself with the predefined ValidationErrorDO data object, which specifies the cause of an application error.

Procedure

  1. In Business Central, click MenuDesignProjects, and click Mortgage_Process.
  2. Enter ValidationErrorDO.java in the project’s asset search box, press Enter, and click the ValidationErrorDO data object.
  3. Review the ValidationErrorDO data object values.

    field data val error