Following steps will let you know how to configure DFF's for common lookups and use them while configuring common lookups.
Normal common lookups will let you configure lookup code and corresponding meaning. If you want to configure additional values for a lookup code then you can use DFF's to configure context and use them in lookups.
MANAGE DFF
- Login into Fusion.
- Go to Manage and Setup
- Search for Manage Descriptive Flexfields
- Search for Lookup values descriptive flexfield (Name)
- Edit - Lookup values descriptive flexfield
- Manage Contexts
- Search for existing contexts or Create a new one.
- Create
- Give a display name - XXSCM_SHOP_ORG_MAP_LOOKUP
- API Name - XxscmShopOrgMapLookup
- Save
- Under Context Sensitive Segments add segments - ( additional lookup values )
- Give a Name - Ex: Inventory_Organization
- Data Type as Character
- Table Column will auto populated - Attribute1
- Under Value Set : Either select an existing one or create new
- Create a New Value Set
- Value Set Code - XXSCM_INV_ORG_NAME
- Module - Inventory Management
- Validation Type : Table -- This will allow us to define table, column and where clause.
- Under Definition
- From Clause - Provide Table Name - INV_ORGANIZATION_DEFINITIONS_V
- Value Column Name - Provide Column Name - ORGANIZATION_CODE
- ID Column Name : ORGANIZATION_ID
- WHERE Clause : INVENTORY_ENABLED_FLAG = 'Y'
- Save
- This will validate TABLE and Column Values.
- Save and Close the value set
- Save and Close the Segment
- Follow the above steps to create a new segment for inventory.
- Save and Close the Context
- Go to Manage and Setup
- Search for Manage Common Lookups
- Add Common Lookup +
- Lookup Type : XXSCM_SHOP_ORG_LOOKUP
- Meaning : Give some valid meaning
- Description : Give some value Description
- Module : Common
- REST Access Secured : Authenticated.
- Lookup Code
- Add
- Lookup Code : Shop1
- Meaning : Give a Name
- Enable
- Expand the lookup code
- Select the context created earlier
- Select the Org
- Select the Inventory