Issue with context sensitive DFF in EAM – Update WorkOrder form (OAF form)
Hi All – I have a requirement to capture reason for cancellation (using a DFF) when a work order is cancelled i.e. status changed to ‘Cancelled’.
I have added a Context Sensitive segment to the standard DFF – WIP_DISCRETE_JOBS asApplication Developer; used proper syntax :$PROFILE$.xxxx and used the same in the new screen field of type Flex Item… used reference field as WOCreateUpdateVO.StatusType (which is Status field on Work Order Update form). This field has a LOV with all statuses.
From the Update work Order form - when ‘Cancelled’ is selected from the LOV, the DFF field is getting enabled and requires reason for cancellation but the issue is the Status field retains its previous status (for e.g. “Awaiting Operational Conditions” or whatever it was before selecting “cancelled” status) but not the new status Cancelled even though the DFF is getting enabled based on the new status.