I need to

I have an Use Case where : 

1. There is one checkbox in Account Module which should get enable or visible only  when : 

a. Account Inofrmation is saved successfully without any error and this account should  have atleat one Address and atleast one case linked to it. 

........................................................................................................................................................................................

What I have done so far : 

1.Created a checkbox in Account module through studio.

2.Added In Record View.

Please suggest some solution.

 

Parents
  • In Studio; you can add a Dependency to only show the field when your criteria are met.

    The formula would have the following as one of your criteria

    Fullscreen
    1
    greaterThan(count("cases"), 0)
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Hi It didn't work out.

    greaterThan(count("add_address"),0)  [add_address = Address Module]

    also tried this as well :

    greaterThan(count("cases"),0) [cases = Cases Module]

    greaterThan(count("<<module name>>"),0) -> Is my understanding is correct ? Any other way ?

    Can we write some kind of  Database Sugar Query in Dependency on studio studio? 

  • You need to know the relationship name to your "Address Module". Since this is not an OOTB module. It will not be as simple as the OOTB names. 

    Fullscreen
    1
    and(greaterThan(count("cases"),0), greaterThan(count("RELATIONSHIP NAME GOES HERE"),0))
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Hi

    please refer above screenshots for the reference if i am missing something , still  it's not working .

Reply Children