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 disables all the DFF field.

Recent Posts

Start typing and press Enter to search