Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

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

Summary

Business Object Validation Rule producing bizarre results.

Content

Hello,

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.

Register

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