Action Checks allow you to add custom validations on manager layouts before data is saved to the database. This is useful when a screen has conditional mandatory fields — for example, requiring either a pre-existing location XID or a full set of address fields, but not both.
Example Scenario:
A custom manager layout allows users to enter PO details. The destination can be set by selecting an existing Location XID, or by entering a new address (address line 1, zip code, etc.) using custom attributes. The validation must ensure that at least one of these two options is populated before the record is saved.
Configuration Steps:
In the screen, configure the following fields:
source_location_gid <> 'DEFAULT' OR the custom attribute OB.Attribute2 (Address Line 1) is not null — meaning at least one destination detail is present.Testing:
If the user tries to save a PO without entering either destination detail, the following error is displayed: