Lookup Related Value
Security:
Custom Field Management
domain in the System functional area.You can configure the calculated field to look up and return the value of a field on a related business object. You can also promote fields from a related business object to the primary business object so that you can perform these actions on the fields:
- Filter
- Group
- Report
- Sort
- Summarize
You can configure the calculated field to use an indexed report data source and indexed field conditions to optimize report performance. When indexing the calculated field, the report can run faster for filtering for all report types except composite and simple. In addition to using the calculated field in reporting, you can also use it in calculations or business process condition rules.
- Access theCreate Calculated Fieldtask.
- SelectLookup Related Valuefrom theFunctionprompt.
- On theCalculationtab, select a self-referencing or single instance field as theLookup Field.
- Select aReturn Valueassociated with the related business object of theLookup Fieldthat you selected.
- (Optional) In theAdvancedsection on theAdditional Infotab, select theUse Return Value Field Formattingcheck box from theOptionsprompt for these field types:
Option Description DateWorkday applies the date precision of theReturn Valuefield to the calculated field.InstanceWorkday uses theAlternate Display ID, if applicable, of theReturn Valuefield on the calculated field.NumericWorkday uses the decimal, integer, or rounding configuration of theReturn Valuefield on the calculated field.TextWorkday retains the formatting of rich text fields.Selecting theUse Return Value Field Formattingcheck box:- Doesn't affect prompts.
- Retains formatting when you run the report or export it to PDF or XML. Workday doesn't retain formatting when you export the report to Microsoft Excel.
You can use the lookup related value calculated field to:
- Include a manager's email address when reporting on workers.
- Require Vice President approval if a worker's one-time retention bonus is greater than 20% of their base pay.
- Expand the availability of field options within business process conditions rules. Business process rules and events determine the business objects available, but you can use the calculated field to reference other fields.
- Promote a field from a related business object (RBO) to a primary business object (PBO) so you can use the field on a matrix report. Matrix reports limit available fields to the PBO.
- Promote a field from an RBO to a PBO so you can use the field for grouping and totaling on an advanced report.
- Promote a field from an RBO to a PBO so you can use it in combination with a field on the PBO to create a calculated field.
There must be a one-to-one relationship between the PBO and RBO in order to use the lookup related value calculated field.
You can create:
- Additional calculated fields.
- New calculated fields from within a lookup related value calculated field.