Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Auto enter Look-up vs. Calculated Value


This topic is 5762 days old. Please don't post here. Open a new topic instead.

Recommended Posts

If I want to auto-enter a value into a field based on a relationship, is it better to use a look-up or calculated value? What conditions would drive the use of one over the other? Assuming that I'm just copying a single value.

Link to comment
Share on other sites

Well with calculated value you can use conditions to determine what gets looked by using the Lookup ( sourceField {; failExpression} ) function.

Perhaps one field requests some rate field that you need to grab a value from a Vendor Rate table, but when the field has a different value you can make the condition to use the Customer Rate table to insert the value.

Where as the lookup option is tied usually to the key fields to trigger a lookup and you only have one option as to the source of the data you desire. With a calculation it's easier to trigger a recalculation of the field, as any field that is referenced will initiate the evaluation.

With calculation entry you could even go a step further and use variables that were previously defined in a script and you only need to create records to have the values auto enter in the fields thus avoiding having to use the SetField script step over and over. Thus giving you a layer of abstraction, and can change conditionally based on business logic in the script.

Hope that helps

stephen

Link to comment
Share on other sites

This topic is 5762 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.