I see that I can use "User Lov 1" and "User Lov 2" when creating a voucher, logging a timesheet entry and using XOG to create transactions. How can I use these two fields in the application without creating a transaction?
These two fields use two static lookups that can be used to create custom attributes in Studio. Any existing Lookup can be associated with new, user-defined attributes which can then be placed within an object's property page.
Add Lookup Values:
The 'User Lov' lookups are stock static lookup definitions without any pre-defined values. To populate these lookups, enter values for them in Studio:
- Login as an administrator user
- Find the lookups: Administration, Data Administration, Lookups
- Filter by Lookup ID with *lov*, select one from "Time Entry User Lookup field 1" and "Time Entry User Lookup field 2"
- Enter values for this static lookup on the Values subpage. For example, 'Green' and 'Blue' for 'Time Entry User Lookup field 1'
- These lookup values can now be used within the stock functionality for creating actual transactions and if desired, the lookup can be linked to new user-defined attributes
Using LOV Values on a Timesheet:
- First, configure the Timesheet view to show the LOV attributes - Login as an administrator user
- Administration, Project Management: Timesheet Options
- Move 'User Value 1' and/or 'User Value 2' attribute from Available Columns to Selected Columns
- Click 'Save' button
- Open a new Timesheet, you will now have new column(s) to select a value ('Green' or 'Blue' in the example)
Using LOV Values on a Voucher Manual Transaction Entry:
- Login as a Financial Administrator user
- Home, Financial Management: Transaction Entry
- Click 'New' button to create the Voucher Entry Header
- Fill in the required data and click 'Save' button
- Click 'New' button to create a new Transaction Detail Entry
- Select the value on "User Lov 1" and "User Lov 2" fields
Using LOV Values in a XOG write input file:
- Add an attribute such as userLov1="BLUE" to the Transaction element in your XOG XML input file
Using the LOV Lookups on a new attribute:
To create a new, user-defined, custom attribute using these lookups, follow the steps below.
- Login as an administrator user
- Navigate to Administration, Studio: Objects
- Filter for the desired Object - you can use a stock object or a user-defined, custom object
- For our example, we want to add a new attribute to the Resource Object
- Navigate to the Object, Attributes Tab, click 'New' button
- Here you can create a custom attribute. For example new attribute "MyColor" using lookup 'Time Entry User Lookup field 1'.
- Once the attribute is created, add it to a sub-page property view - for this example, add it to the Resource General properties page
- Now you can navigate to the application Home page, Resources and see that "MyColor" is now on the Resource General Properties page and you can use the browse to select 'Green' or 'Blue' for a resource as defined in the example.
Creating a new user-defined lookup to be used in place of the stock, static, User LOV lookups:
The stock Timesheet configuration provides for using the stock, static Lookup for the User LOV lookups to be used ONLY on a Timesheet Entry. A customer may have a business need to create a dynamic query lookup that provides data-driven lookup values. It is possible to extend the stock configuration for Timesheet Entries to use a user-defined Lookup instead of the ''Time Entry User Lookup field 1'' Lookup.
NOTE: The ability to configure the LOV2 to use a different lookup list of values is not possible. The LOV2 field on the Timesheet entries will always reference the 'Time Entry User Lookup Field 2' (ID=PRTIMEENTRY_USER_LOV2). The Administration, Timesheet Options page only shows the ability to configure the "Time Entry User Value 1 Field". Configuring a user-defined lookup for Time Entry User Value 1 can be done for the use with Timesheet entries ONLY ; this configuration will not impact other areas of the application that use the Time Entry User Value 1 lookup.
Reference TEC545084 : How can we use our own user-defined lookup in the Time Entry User Value 1 field for Timesheet Entries?