Example 01 - External Validation - Customer

<< Click to Display Table of Contents >>

Navigation:  IMS version 22.6 & 22.9 > IMS Admin - User Guide 22.6 & 22.9 > External Validations  >

Example 01 - External Validation - Customer

 

In this exercise, an SQL statement will be added to the external validation instance that will ensure  the

Customer Type field is selected and not remain empty when a new Customer object is added to IMS.

 

Start by opening a new Create new ExternalValidation popup window - instructions on this are in the

previous section.

 

Fill in the following data into the popup form as below.

 

06EVcustomerPopup

 

 

Name

CUSTOMER_TYPE_MANDATORY

EntityName

CUSTOMER

Action

ADDED

Sql

select 'customer type is mandatory'  from dual where nvl([customertypeid],'0') = 0

 

Click on the Save icon in the lower left corner.

 

The next step is to test the validation by creating a new Customer object and omit completing the

CustomerType field  

 

07EVexercise01_instructions

The result should show the validation message at the lower right corner of the screen

 

08EVexercise01_message