0% found this document useful (0 votes)
16 views2 pages

Data Type Validation

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views2 pages

Data Type Validation

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

In Oracle Primavera Unifier, you can apply validation rules to various data types to ensure that

the data entered or processed adheres to specific criteria or constraints. Validations help maintain
data integrity and enforce business rules within your forms and processes.

Common Data Types for Validation in Unifier

1. Text (String)
o Validation Examples:
 Length Constraints: Limit the number of characters.
 Pattern Matching: Validate format using regular expressions (e.g., email
addresses, phone numbers).
 Required Field: Ensure the field is not left empty.
2. Numeric
o Validation Examples:
 Range Constraints: Set minimum and maximum values.
 Decimal Places: Define the number of decimal places allowed.
 Required Field: Ensure a numeric value is provided.
3. Date
o Validation Examples:
 Date Range: Ensure dates fall within a specified range (e.g., start date
must be before end date).
 Date Format: Validate the date format (e.g., YYYY-MM-DD).
 Required Field: Ensure a date is provided.
4. Boolean (True/False)
o Validation Examples:
 Required Field: Ensure a value (True/False) is selected.
 Conditional Logic: Validate based on the value of the Boolean field (e.g.,
if True, then show additional fields).
5. Dropdown/List
o Validation Examples:
 Selection Constraints: Ensure that a valid option is selected from the list.
 Required Field: Ensure that an option is selected and not left blank.
6. Lookup (Reference Data)
o Validation Examples:
 Existence Check: Validate that the selected reference exists in the lookup
table.
 Required Field: Ensure that a valid lookup reference is chosen.
7. Attachment
o Validation Examples:
 File Type: Restrict file uploads to certain types (e.g., PDFs, images).
 File Size: Set limits on the size of files that can be attached.
 Required Field: Ensure that an attachment is provided if required.
8. Currency
o Validation Examples:
 Range Constraints: Set minimum and maximum currency values.
 Decimal Places: Define the number of decimal places for currency values.
 Required Field: Ensure a currency amount is provided.
9. Percentage
o Validation Examples:
 Range Constraints: Ensure that the percentage value is within the 0-
100% range.
 Decimal Places: Define the number of decimal places for percentage
values.
 Required Field: Ensure a percentage value is entered.

Applying Validation Rules

To apply validation rules in Unifier, follow these general steps:

1. Access Form or Process Configuration:


o Navigate to the form or Business Process (BP) configuration where you want to
apply validations.
2. Select Data Field:
o Choose the specific data field for which you want to set up validation.
3. Define Validation Rules:
o Configure the validation rules based on the data type. This might include setting
constraints, defining patterns, or specifying conditions.
4. Save and Test:
o Save the configuration and test the form or process to ensure that the validation
rules work as expected.
5. Deploy and Monitor:
o Deploy the updated form or process and monitor its use to ensure that validations
are correctly applied and data integrity is maintained.

Example Validations

 Text Field: Validate an email address by ensuring it matches a specific pattern.


 Numeric Field: Ensure that a budget amount is within a specified range.
 Date Field: Validate that a project's end date is after the start date.
 Dropdown Field: Ensure a valid selection is made from a predefined list of options.

Conclusion

Validations in Unifier are applied to various data types to enforce data integrity and business
rules. By configuring validation rules for text, numeric, date, boolean, dropdown, lookup,
attachment, currency, and percentage fields, you can ensure that data entered into your forms and
processes meets specific criteria and maintains consistency.

You might also like