Monday, 16 March 2020

How to make DFF field(attributes) uneditable or Disable through Form Personalization


How to make DFF field(attributes) uneditable or Disable through Form Personalization



When the Disposition Fields = ('Complete','Accept','Accept with Variance','Reject')

Then Disable or READ ONLY the DFF



Help -> diagnose -> custom code-> personalize
Condition:
Trigger Event: WHEN-NEW-ITEM-INSTANCE
Trigger Object: GMDQSMPL.SAMPLE_NO
Condition:
:GMDQSMPL.SAMPLE_DISPOSITION_DESC in ('Complete','Accept','Accept with Variance','Reject')

Action:
Type: Property
Object Type : Block
Target Object: GMDQSMPL
Property : UPDATE_ALLOWED
Value: False

It works and disable all the DFF field.




Result is OK: We can See the Result when the Disposition = Accept
Then all DFF is Disable or READ ONLY.

No comments:

Post a Comment

How to change Employee Number Generation from Manual to Automatic in Oracle HRMS (When attempting to apply for a job in iRecruitment)

When attempting to apply for a job in iRecruitment, the following error occurs: ERROR: You must enter an Application Number. Solution: How t...