Frequently Asked Questions

The following is a list of frequently asked questions and answers in regards to the Configurable Formula functionality.

Are formulas supported on all type of pages/tables?Are formulas supported on all type of pages/tables?

No, Configurable Formulas are only supported on persisted fields defined on the business object.

Can I specify when to trigger the formula?Can I specify when to trigger the formula?

Yes, you can choose an appropriate system event using the Trigger Action options available on the formula record. Advantage will activate the formula when the associated system event is executed.

Is there a required syntax to define formula expression?Is there a required syntax to define formula expression?

Yes, Advantage uses a third party library, Apache JEXL, for expression evaluation and syntax must comply with JEXL rules. Please refer to the Formula Expression Syntax topic for additional details.

Can I use complex formula with multiple fields referenced in the formula expression?Can I use complex formula with multiple fields referenced in the formula expression?

Yes, there is no limitation. Advantage supports any number of fields (of referenced business object) within the expression including baseline and "added" fields created via extensibility. In addition, Advantage supports simple JAVA style conditional elements to run logic and calculate field value. Please refer to the Formula Expression Syntax topic for additional details.

What happens if a Configurable Formula is added for a field that already has a baseline formula?What happens if a Configurable Formula is added for a field that already has a baseline formula?

The system will not allow you to create a Configurable Formula on a field if there is already a formula defined in baseline using Derivation Type Sum, Count, Parent Replicate, or Formula.

Can I override a default value defined on a field in baseline?Can I override a default value defined on a field in baseline?

Yes, a Configurable Formula can be used to override a field’s default value to meet site requirements.

Can I use Configurable Formula on a field and restrict user updates?Can I use Configurable Formula on a field and restrict user updates?

No. The ability to edit a field is not controlled by Configurable Formula and you need to use other extensibility techniques to make the field read-only.

Can I use Configurable Formula to calculate a field value only on the page from online data entry but not during an offline batch process?Can I use Configurable Formula to calculate a field value only on the page from online data entry but not during an offline batch process?

No. Configurable Formula is applied at the data model level and is integrated into business object processing framework. The formula is evaluated from both online and offline activity.