Monday, January 20, 2014
Define Context-Sensitive Segment for Descriptive Flexfield(DFF)


How to create Context-Sensitive DFF?

 Here, I will be discussing in detail on how to create Context-Sensitive Segments for Descriptive Flex-field.

Navigate to System Administrator Responsibility --> Applications --> Flexfield --> Descriptive --> Segments 
Query the DFF “Additional Information for Agents” (Or any DFF in any Module in my case its "Additional Information for Agents")

In the Prompt Field enter as “Component Received”. See that the Check boxes “Required” and “Enabled” are checked.
Now, keep the cursor in the second line of the Context Field Values and Type Code as NO and provide a description
Same way enter as YES in the next line and Keep the cursor on the YES line and Click the Segments Button.
Segments Summary Window Opens. Enter Name as Inspection Status and Assign Column Attribute.

 Click on Value Set Button, Value Set window opens. Type the Value Set Name, Security Type, Maximum Size and Validation Type. Save and Close the Record.


Now, Click on Open Button in the Segments Summary window. Segments window opens. Type the Description and Check the Security Enables check box. Save and close the window.
 Assign the Value Set “Component Received” we have created already. Save and Close.
 Check the Freeze the Flexfield check box and compile the changes.
 Now, Navigate to System Administrator Responsibility --> Application --> Validation --> Values. Find Value Set window opens. Enter the Value Set Name we have already created and click find.
 Enter the Values as Accepted, Rejected and Under Inspection line by line and Save.
 Now, go to the Service Request screen and check the DFF. If we select the Component Received as NO, no further fields will be visible.
 If we select the Component Received as YES, it will ask for the Inspection Status.

So, this is how we will be creating context-sensitive segments for a Descriptive Flex-field.

0 comments: