• hemanth tanguturi 5
  • NEWBIE
  • 10 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 1
    Replies
Hi,

Scenario:
In the account object we have "parent account" lookup field. User is selecting parent account when creating an account.

Acc A ---> grand parent account
    Acc B ----> parent account
        Acc C----> Account

While creating Account B I have selected Account  A as parent account.
While creating Account C I have selected Account  B as parent account.

a) I want to query all parent account of C(which will inclue parent and grand parent). How can I achieve this?

b) For example account B is selected as parent account for both Acc C and Acc D then, I want a query to pull all child accounts for Account B

Thanks in advance

Hemanth
 
Hi,

Scenario:
There are 3 fields in my object- first name, last name, full name. The full name suhould be lastname+first name and need to be unique and auto populated. If the uniqueness fails it should show the error message with out saving the record, The error message should be "full name already exist please check".

When ever the record is getting created, the full name is created by workflow rule if there is no same fullname already, the record will get created, but if the full name already exists it will give error and it is a standard error message(
Error: Invalid Data. 
Review all error messages below to correct your data.
Duplicate value on record: tstt (Related field: full name)
how can I keep the custom error meassage I need??

Thanks in advance
 
What is meant by sandbox refresh time interval?
does it mean the time taken to complete the refresh from prod to test?
What is meant by sandbox refresh time interval?
does it mean the time taken to complete the refresh from prod to test?
Hi,

Scenario:
There are 3 fields in my object- first name, last name, full name. The full name suhould be lastname+first name and need to be unique and auto populated. If the uniqueness fails it should show the error message with out saving the record, The error message should be "full name already exist please check".

When ever the record is getting created, the full name is created by workflow rule if there is no same fullname already, the record will get created, but if the full name already exists it will give error and it is a standard error message(
Error: Invalid Data. 
Review all error messages below to correct your data.
Duplicate value on record: tstt (Related field: full name)
how can I keep the custom error meassage I need??

Thanks in advance