On Inventory Transaction I want to require the reference 2 field if it is an adjustment, I have that part working, but once they put in text in reference 2 it still fails so essentially once they fill out the reference 2 field they should be able to save. I created a user action overide that looks like be below. Any help would be greatly appreciated.
Unreleased.Create is an ActionOverride
Exit Rules
constraint(InventoryTransaction.InventoryDocumentType = "Adjustment")
"Reference2RequiredOnAdjustment"