I have buisness rules on an object form, set to dynamic, that validate user input on a field. I have a master Vendor object and when a user enters the Vendor number on a log form, it validates against the master file. This works just fine. If the user enters a valid Vendor Number, the rule retuns the Vendor Name to the form. It's definned as (Condition) Field Value WAS CHABGED then (action1)FIND Vendor from master and (Action2) apply the Vendor Name back to the form.
The issue is I'm not seeing how to REPORT ERROR when the Vendor is NOT found. the FIND has to be part of the actions based on the CHANGED condition. So Far I have
Rule Name = Find Vendor
Condition = VendorLog.Vendor WAS CHANGED
Action1 = FIND VendorMstr WHERE VendrMstr.VENDOR = VendorLog.Vendor
Action2 = VendorLog.VendorName = VendorMstr.VENDOR_VNAME
So whats the setup on NOT finding the Vendor Number?