• ashish shukla 1
  • NEWBIE
  • 35 Points
  • Member since 2015
  • Tech Lead
  • Extentia Information Technology, Pune


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

I have existing implementation surrounding Account object where we have two record types lets say "A" and "B". "B" type records are already related to "A" type record through the standard 'Parent Account' self-lookup. This is working perfectly fine.

Now business wants to add two more type of Accounts lets say "C" and "D" as two new record types and want to relate them to type "A" account records as a parent while creating. So I have created two record types and two more self-lookup on Account respectively for type "C" & "D" with filter criteria of "Account Record type" equals "A" and marked them as *Required. After that, I have created two different page layout for each new record types and added the respective lookup fields on them to select the parent Account of type "A" but while creating the record of type "C" or "D", I am facing issues and not able to create child record. The error that I get is -

"Value does not exist or does not match filter criteria."

I tried putting both lookup fields on single page layout and populating both lookups but still, I am facing the same issue. The parent account of type "A" do exist in the Account object but still, it shows me same error every time while creating "C" or "D" type account record.
One workaround is to make one of them optional but that will differ the requirement from the business.

If anyone has faced or come across similar issues or implemented something similar then please do share your experience or input in order to fox this issue.

Looking forward to some awesome responses from awesome developer out there. Thank you in Advance :)

Thanks,
Nilesh Dethe
 
Hi All,

I have existing implementation surrounding Account object where we have two record types lets say "A" and "B". "B" type records are already related to "A" type record through the standard 'Parent Account' self-lookup. This is working perfectly fine.

Now business wants to add two more type of Accounts lets say "C" and "D" as two new record types and want to relate them to type "A" account records as a parent while creating. So I have created two record types and two more self-lookup on Account respectively for type "C" & "D" with filter criteria of "Account Record type" equals "A" and marked them as *Required. After that, I have created two different page layout for each new record types and added the respective lookup fields on them to select the parent Account of type "A" but while creating the record of type "C" or "D", I am facing issues and not able to create child record. The error that I get is -

"Value does not exist or does not match filter criteria."

I tried putting both lookup fields on single page layout and populating both lookups but still, I am facing the same issue. The parent account of type "A" do exist in the Account object but still, it shows me same error every time while creating "C" or "D" type account record.
One workaround is to make one of them optional but that will differ the requirement from the business.

If anyone has faced or come across similar issues or implemented something similar then please do share your experience or input in order to fox this issue.

Looking forward to some awesome responses from awesome developer out there. Thank you in Advance :)

Thanks,
Nilesh Dethe