You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Business Object Validation Rule

Accepted answer
edited Apr 8, 2019 8:41PM in Visual Builder 2 comments


Business Object Validation Rule producing bizarre results.



I need help.  I hope this makes sense.

I have a business object configuration where one business object connects to four other business objects as follows:

TransactionHeaders >------------------------------------------- TsFundAttributes

TransactionHeaders >------------------------------------------- BudgetLevels

TransactionHeaders >------------------------------------------- TsLines

TransactionHeaders -------------------------------------------< TransactionLines

Here are the related fields for this relationship:

TransactionHeaders >------------------------------------------- TsFundAttributes

--reftreasuryAccountSymbol                                            refTreasuryAccountSymbol  (also reference field)

--reffundValue                                                                  fundValue

I am writing a business rule to validate the following:

   The combination of the two fields in TransactionHeaders exists in TsFundAttributes

I created a validation rule on the TransactionHeaders BO as follows:

Please note the validation rule is based on TransactionHeaders but the view object is TsFundAttributes. I don’t know if that is a problem but I did review the groovy documentation and tried a number of configurations all not working.

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!