Go to primary content
Oracle® Retail Merchandising System Custom Flex Attribute Solution Implementation Guide
Release 15.0
E65438-01
  Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
 

4 CFAS Maintenance Screens

Once the attribute structure and other relevant details have been planned out, you can set the attributes up in the system using the CFAS Maintenance screens. The CFAS Maintenance screens are set of screens that appear under the Custom Flex Attribute Setup group in the RMS Start Menu. This chapter describes how you can use the CFAS Maintenance screens to set up the CFAS attributes. It includes the following sections:

Additional Considerations

The following considerations apply to all the screens mentioned in this chapter:

CFAS Administration Role

To access the Custom Flex Attribute Setup group and CFAS Maintenance screens, ensure that you have the CFAS Administrator (CFAS_ADMIN) role associated with your user account. For more information, see CFAS Administration Role.

Character Limit for Labels

The CFAS Maintenance screens enable you to set up labels for the attribute, attribute groups, attribute group sets, record groups, codes, and entities. When activated, the labels set for the attribute group sets are the screen text that appear on the Options menu and labels set for other objects are the field prompts in the CFAS UI. To avoid any overlap issues in the user interface and data consistency, it is recommended that you maintain a 60 character limit for all the labels and 40 character limit for the entity key labels.

Setting Up Entities and Entity Labels

The Entity Maintenance screen enables you to review and set up entities and entity labels for your CFAS-based implementation. For more information on entities, see Entities.

To set up entity labels:

  1. From the main menu, expand Custom Flex Attributes Setup, and then click Entity Setup.

  2. From the Contents of Entity Setup area, double click Edit. The Entity Maintenance screen appears.

    Figure 4-1 Entity Maintenance Screen

    Surrounding text describes Figure 4-1 .
  3. On the Entity Maintenance screen, select the base RMS table corresponding to the entity you want. For more information, see Adding an Entity.

  4. Click Label.The Entity Labels Maintenance screen appears.

    Figure 4-2 Entity Labels Maintenance Screen

    Surrounding text describes Figure 4-2 .
  5. On the Entity Labels Maintenance screen, select the relevant language from the Language list of values, and then click Show Labels.

  6. Under the Labels column, enter the labels for the relevant columns, enter a relevant function name under Description Code. Description Code column must contain the function that will display the description of the relevant key. For example, SUPPS_SQL.GET_SUPP_NAME will retrieve the supplier name.

  7. In case you want to set the selected language as the default, click Set Lang Default. The Default Language check box appears selected.

  8. Click OK+Repeat to set labels for another language.

  9. Once the labels are set up, click OK to close the Entity Labels Maintenance screen.

  10. Click OK to close the Entity Maintenance screen.

Adding an Entity

To add an entity that is not currently extended, click Add. A new line entry appears on screen.

  1. Under Base RMS Table, enter the relevant base RMS table name using the LOV button. The List of Base RMS tables window appears.

  2. Find and select the table that is not currently extended, and click OK. Notice that the base RMS table name gets added under the Base RMS Table column and a new corresponding extension table name (with the _CFA_EXT suffix) gets added under the Custom Extension Table column.

  3. Optional. Under the Validation Function column, you can choose to specify any validation function you have planned at the entity level.

  4. Click Label and follow steps 4 through 10 to set up labels.


Note:

On the Entity Maintenance screen, the Active check box indicates that the CFAS attribute is active for the relevant entity. It also means that the relevant database tables and views are created and ready for use. The Base check box indicates that the relevant entity is pre-enabled by default in RMS.

Setting Up Codes

The Code Header Maintenance screen enables you to set up codes that will be used as values in the attributes with the List Item widget type. For more information on codes, see Codes.

To set up codes:

  1. From the main menu, expand Custom Flex Attributes Setup, and then click Code Setup.

  2. From the Contents of Code Setup area, double click Edit. The Code Header Maintenance screen appears.

    Figure 4-3 Code Header Maintenance Screen

    Surrounding text describes Figure 4-3 .
  3. On the Code Header Maintenance screen, click Add. A new line entry appears on screen.

  4. Enter a valid code type under Code Type, and add a relevant description.

  5. Keeping the new code type selected, click Code Detail. The Code Detail Maintenance screen appears.

    Figure 4-4 Code Detail Maintenance Screen

    Surrounding text describes Figure 4-4 .
  6. In the Code Detail Maintenance screen, select the relevant language using the Language LOV button, and then click Edit Code.

  7. Enter relevant code, associated descriptions, and set a display order.

  8. In case you want to set the current language as the default, click Set Lang Default.

  9. Click OK+Repeat to set codes in other languages.

  10. Click OK to apply and close the Code Detail Maintenance screen.

  11. Click OK to close the Code Header Maintenance screen.

Setting Up Record Groups

The Record Group Maintenance screen enables you to set up record groups for the attributes with List of Values (LOV) widget type. For more information on record groups, see Record Groups.

To set up record groups:

  1. From the main menu, expand Custom Flex Attributes Setup, and then click Record Group Setup.

  2. From the Contents of Record Group Setup area, double click Edit. The Record Group Maintenance screen appears.

    Figure 4-5 Record Group Maintenance Screen

    Surrounding text describes Figure 4-5 .
  3. On the Record Group Maintenance screen, click Add. A new line entry appears on screen.

  4. Under Record Group Name, enter a valid name for the record group.

  5. Under Query Type, select one of the following query types:

    • For simple queries:

      1. Under Query Type, select Simple. The Table Name field gets enabled.

      2. Use the Table LOV button and select the relevant database table for the query. Once you select the table, the other fields get enabled.

      3. Select the relevant column and description column for the query in the Value Column and Description Column fields.

      4. Set a condition for the query by specifying values under Where Column, Operator, and Condition columns.

      5. Click Build Query. Notice that the record group query gets added under the Record Group Query column.

    • For complex queries:

      • Under Query Type, select Complex. Unlike simple queries, the user interface does not provide you the ability to set a query. You must work with your database administrator to build and record the query for your record group.

  6. Once the query is set up, click Label. The Record Group Labels Maintenance screen appears.

    Figure 4-6 Record Group Labels Maintenance Screen

    Surrounding text describes Figure 4-6 .
  7. On the Record Group Labels Maintenance screen, select the language using the Language LOV button.

  8. Under LOV Title, set a relevant list of values title.

  9. Under Value Column Header and Desc Column Header, set a header name for the value column and description column.

  10. Add more lines to enter similar information for other languages.

  11. Under Default, select the check box next to the language you want to set as the default language.

  12. Click OK to apply and close the Record Group Labels Maintenance screen.

  13. Click OK to close the Record Group Maintenance screen.

Setting Up Attribute Group Sets

The Attribute Group Set Maintenance screen enables you to set up attribute group sets. For more information on attribute group sets, see Attribute Group Sets.

To set up attribute group sets:

  1. From the main menu, expand Custom Flex Attributes Setup, and then click Group Set Setup.

  2. From the Contents of Group Set Setup area, double click Edit. The Attribute Group Set Maintenance screen appears.

    Figure 4-7 Attribute Group Set Maintenance Screen

    Surrounding text describes Figure 4-7 .
  3. On the Attribute Group Set Maintenance screen, click Add to add a new attribute group set. A new line entry appears on screen.

  4. Enter relevant information in the following columns:

    1. Under Entity ID, enter the relevant Entity ID using the list of values button. This will be the identification code of the entity you set up in the Entity Maintenance screen.

    2. Under Display Order, enter a valid number that indicates the order in which the attribute group set label will appear in the Options menu of the relevant RMS base form.

    3. Under Group Set View Name, enter a valid group set view name for the attribute group set. It is recommended that you start the name with V_.

    4. Under Staging Table Name, enter a staging table name that you want to create and associate with this attribute group set. It is recommended that you start the name with STG_.

    5. Under Qualifier Function, Validation Function, and Default Function, enter the planned functions for the attribute group set. For more information, see Attribute Group Sets.

  5. Click Label. The Attribute Group Labels Maintenance screen appears.

    Figure 4-8 Attribute Group Labels Maintenance Screen

    Surrounding text describes Figure 4-8 .
  6. On the Attribute Group Labels Maintenance screen, under Language, select the relevant language code using the list of values button.

  7. Under Label, enter the name that will appear for the attribute group set in the Options menu of the base RMS form.

    You can define a hot key by putting a & character before any character in the label you want. This makes the attribute group set label in the Options menu to appear with a hot key. It can be used as a keyboard shortcut to quickly access the CFAS user interface.

    For example, consider that you want to set up a attribute group set label as Create Special Order. To set up the letter S as the hot key, enter the & character before the letter S in the Attribute Group Labels Maintenance screen. The label will then read as Create &Special Order. Once activated, the label name in the Options menu will read as Create Special Order. Notice the underline under the letter S which indicates that it is the designated hot key for the menu option. Ensure that you maintain a list of assigned hot keys to ensure that they remain unique for each base RMS form.

  8. You can choose to set up the labels for more languages. In case you set up more languages, ensure that you select the relevant check box under Default for the default language.

  9. Once done, click OK to close the Attribute Group Labels Maintenance screen.

  10. Once all attribute group sets are set up, click OK to close the Attribute Group Set Maintenance screen.

You must now set up attribute groups. To open the Attribute Group Maintenance screen, you can access the screen from the main menu or click the Group button on the Attribute Group Set Maintenance screen.

Setting Up Attribute Groups

The Attribute Group Maintenance screen enables you to set up attribute groups. For more information on attribute groups, see Attribute Groups.

To set up attribute groups:

  1. From the main menu, expand Custom Flex Attributes Setup, and then click Group Setup.

  2. From the Contents of Group Setup area, double click Edit. The Attribute Group Maintenance screen appears.

    Figure 4-9 Attribute Group Maintenance Screen

    Surrounding text describes Figure 4-9 .
  3. On the Attribute Group Maintenance screen, click Add to add a new attribute group. A new line entry appears on screen.

  4. Enter the following information in the columns:

    1. Under Group Set ID, enter the relevant group set ID using the list of values button. This will be the identification code of the attribute group set you set up in the Attribute Group Set Maintenance screen.

    2. Under Display Order, enter a valid number that indicates the order in which the attribute group label will appear.

    3. Under Group View Name, enter a valid group view name for the attribute group. It is recommended that you start the name with V_.

    4. Under Validation Function, enter the planned function for the attribute group set. For more information, see Attribute Groups.

  5. Click Label. The Attribute Group Labels Maintenance screen appears.

    Figure 4-10 Attribute Group Labels Maintenance Screen

    Surrounding text describes Figure 4-10 .
  6. On the Attribute Group Labels Maintenance screen, under Language, select the relevant language code using the list of values button.

  7. Under Label, enter the name that will appear for the attribute group set in the Options menu of the base RMS form.

  8. You can choose to set up the labels for more languages. In case you set up more languages, ensure that you select the relevant check box under Default for the default language.

  9. Once done, click OK to close the Attribute Group Labels Maintenance screen.

  10. Once all attribute group sets are set up, click OK to close the Attribute Group Maintenance screen.

You must now set up attributes. To open the Attribute Maintenance screen, you can access the screen from the main menu or click the Attributes button on the Attribute Group Maintenance screen.

Setting Up Attributes

The Attribute Maintenance screen enables you to set up attributes. For more information on attributes, see Attributes.

To set up attributes:

  1. From the main menu, expand Custom Flex Attributes Setup, and then click Attribute Setup.

  2. From the Contents of Attribute Setup area, double click Edit. The Attribute Maintenance screen appears.

    Figure 4-11 Attribute Maintenance Screen

    Surrounding text describes Figure 4-11 .
  3. On the Attribute Maintenance screen, select the relevant entity ID, attribute group set ID, and group ID set up in the Entity Maintenance, Attribute Group Set Maintenance, and Attribute Group Maintenance screens.

  4. Click Add to add a new attribute.

  5. Enter information in the following fields:

    1. In the View Col Name field, enter a valid column name.

    2. In the Data Type drop-down list, select a relevant data type. You can choose from VARCHAR2, NUMBER, and DATE.

    3. In case you selected VARCHAR2 or NUMBER in the Data Type field, the UI Widget Type drop-down list gets enabled.

    4. In the UI Widget Type drop-down list, select a relevant widget type. Based on the data type you selected, the following options appear in the UI Widget Type drop-down list:

      For VARCHAR2 data type, the Text Item, List of Values, List Item, and Check Box widget types appear.

      For NUMBER data type, the Text Item and List of Values widget types appear.

    5. Set a display order in the Display Order field.

    6. In case you selected List of Values widget type, the Record Group field gets enabled. Use the LOV button to select one of the available record groups. Record groups are set up in the Record Groups Maintenance screen. For more information, see Setting Up Record Groups.

    7. In case you selected List Item widget type, the Code Type field gets enabled. Use the LOV button to select one of the available code types. Code types are set up in the Code Type Maintenance screen. For more information, see Setting Up Codes.


      Note:

      A current limitation in Oracle Forms causes the check box label to offset when selected. This may occur when you set up a single attribute with the Check box widget type.

      To avoid this issue, it is recommended that you add another attribute to the screen.


    8. In the Validation Function field, enter a valid validation function planned for the attribute.

    9. In case you want to keep this attribute enabled in the CFAS user interface, keep the Enabled check box selected.

    10. In case you selected the Text Item widget type, the Max Length field gets enabled. Set the maximum number of characters allowed in the field.

    11. In case you selected the Number data type, the Lowest Allowed Val and Highest Allowed Val fields get enabled. Set the lowest and highest allowed values in the field.

    12. In case you want to set this field as mandatory, select the Required check box. You must also ensure that the Enabled check box is selected.

  6. Click Apply. Notice that a new attribute is added.

  7. Once the attributes are added, click Label. The Attribute Labels Maintenance screen appears.

    Figure 4-12 Attribute Labels Maintenance Screen

    Surrounding text describes Figure 4-12 .
  8. In the Attribute Labels Maintenance screen, select the relevant language using the Language LOV button, and then click Show Labels.

  9. Under Label, enter relevant labels for the attributes. Click OK+Repeat to set up labels for other languages.

  10. Click OK to close the Attribute Labels Maintenance screen.

Once you have set up all the information into the system, it is recommended that you test and review all the attribute group sets for each entity using the View UI button and View CFAS UI Parameters menu option in the Attribute Maintenance screen.

After verifying that all the screen layouts look correct and work as expected, you can proceed with running the cfagen.ksh batch script and make the CFAS attributes available for use in RMS. For more information on the database scripts, see CFAS Database Scripts.