Skip to content

Check whether a Partner Account is ready for regional assignment

Create a Formula Check that applies only to Partner Accounts and passes when Billing Country is populated. Other Account types are skipped because this requirement does not apply to them.

Account Type decides whether the Check applies, and Billing Country decides whether it passes. Both fields are on the Account, so Verify with a formula handles the rule without SOQL or Apex. Use a Check instead of a Validation Rule when a missing country should guide the assignment process without blocking unrelated Account updates.

  • Open Setup → Object Manager → Account → Fields & Relationships → Type → Values and confirm that Partner is the stored picklist value in your org. Account Type is not Record Type.
  • If your org identifies partners by Record Type or a custom field, replace the applicability formula with your approved rule.
  • Decide whether State and Country/Territory Picklists require BillingCountryCode.
  • Confirm that intended users can read Account Type and Billing Country.
  • Save new configuration inactive and validate it before activation.

You can add this Check to an existing Account Check Set. To create one, open Setup → Custom Metadata Types → Record Health Check Set → Manage Records, select New, and enter:

Salesforce fieldValue
LabelAccount Data Quality
Record Health Check Set NameAccount_Data_Quality
ObjectAccount
Card TitleAccount Data Quality
Card SubtitleConfirm Partner Accounts have a Billing Country.
When Checks RunWhen the user clicks Run
Passed ChecksShow passed count only
Skipped ChecksShow each skipped check
Found/Expected DisplayShow on demand
ActiveUnchecked until validation succeeds

Open Setup → Custom Metadata Types → Record Health Check → Manage Records, select New, and enter:

Salesforce fieldValue
LabelPartner Has Billing Country
Record Health Check NamePartner_Has_Billing_Country
Check SetAccount Data Quality, or your existing Account Check Set
Check TitlePartner has Billing Country
Evaluation TypeVerify with a formula
Pass ConditionNOT(ISBLANK(BillingCountry))
Applies ToWhen a formula is true
Applies When (Formula)ISPICKVAL(Type, "Partner")
Failure SeverityCritical
Message When FailedPartner Account {!record.Name fallback="this record"} must have Billing Country set.
Message When Unable To EvaluateUnable to check Partner billing requirements. Confirm access to Type and Billing Country.
Fix MessageEnter Billing Country on this Partner Account, then run the Check again.
Action LabelEdit billing country
Action URL/lightning/r/Account/{!record.Id}/edit
Evaluation Order60
ActiveUnchecked until validation succeeds

Leave the Found and Expected formulas blank. The failure message already names the missing value. Leave Formula Result Type as Automatic.

  1. Run the configuration-validation Flow.
  2. Correct every error and confirm that Partner matches the picklist value in this org.
  3. Set the Check and Check Set to Active only after validation succeeds.
  4. Add Record Health Check to the Account Lightning record page and select the Check Set.
  5. Assign Record Health Check Card User to the people testing the card.
Account TypeBilling CountryExpected result
PartnerBlankCritical
PartnerPopulatedPass; included in the passed count
Any non-Partner valueAny valueSkipped

Repeat the Partner tests with the field access intended users receive. Missing access to Type or Billing Country must not expose the hidden value or produce a guessed result.

The card evaluates the formula and compares its result with the configured expected value.

Result detailMeaning
PASSThe formula result satisfies the configured comparison.
FAILThe formula result does not satisfy the comparison, and the card shows the configured guidance.
SKIPPEDThe Check does not apply or a configured prerequisite did not pass.
FoundThe evaluated formula result for the current record.
ExpectedThe configured fixed value or evaluated expected formula.
What you seeCheck this first
A Partner Account is skippedConfirm the exact Type picklist value and the Applies When formula
A non-Partner Account runs the CheckConfirm Applies To is When a formula is true
Unable to CheckConfirm Read access to Type and Billing Country
A passing row is not visibleThis Check Set shows only the passed count by design