Overview
This scenario ensures that once attributes are populated, they become locked to prevent unauthorized modifications. Some attributes can be conditionally locked based on their values.
Objective
Protect data integrity by preventing edits to critical attributes.
Ensure consistency across applications.
Version – 2026x GA (On‑Premise) / HotFix 1.32 (Cloud)
Pre-requisites: Owner role
Licenses – TXO, MFN / MGA / RME
Disclaimer: Licenses mentioned above are as per 2026x documentation.
Opening ID: | compute_new_init, ux_init_new_modify, compute_edit_properties_init, ux_init_edit_properties_modify |
Customization intent: | Not Applicable |
Execution context: | Server |
Usage | The goal of the BL is to control and enforce conditional read-only behavior on attributes based on their values in both the New/Insert dialogs and the Properties/Instance panel. |
| Best Suitable Opening Id | ux_init_edit_properties_modify |
Use cases:
The below example describes the flow which ensures that selected attributes meet specific conditions when creating or editing a Manufacturing Item (MI) or other objects based on provided types, and that if these conditions aren’t met, they become read-only or editable based on their values.
| No | Use case |
| 1. | Ensure that Description, Manufacturing Notes, and Certification (reference attributes) are read-only if they contain a value, and editable if empty. |
| 2. | Ensure that Torque (instance attribute) is read-only if its value is greater than 0, and editable if 0. |
Note: Manufacturing notes, Certification and Torque are custom types.
Business Rules:
In this page, only Description is explained in detail. Other scripts follow the same logic pattern.
Example 1: Make Description Read-Only
When the Information page is opened, the Business Logic (BL) is triggered and performs the following checks on attributes:
- Check if
PLMEntity.V_descriptionis non-empty - Check if
PLMEntity.V_descriptionhas the ReadOnly property
Result:
- If both conditions are met →
PLMEntity.V_descriptionis enforced as Read‑Only. - Otherwise → the attribute remains editable.
We can see in images as well:
Other Supported DELMIA Types:
When associated with the type DELLmiFunctionReference, the reference Business Logic (BL) is invoked on the Manufacturing Item (MI).
When associated with the type DELLmiFunctionInstance, the instance BL is invoked on the MI.
The same logic can be extended and applied to other DELMIA types as well.
Business Rule Deployment:
You may refer the below page for Business Rule deployment.
For deployment using Data Setup app following Resource set ID and opening needs to be used:
Resource Set ID:
Opening:
Fact Type:
Deploy the BL using Data Setup for "Fact type" = "DELFmiFunctionReference" ( for Reference)
Deploy the BL using Data Setup for "Fact type" = "DELFmiFunctionInstance" ( for Instance)
Reference
Author
