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