Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / How to check blank ema...
Finance forum
Suggested answer

How to check blank email id in customerv3 entity

editSubscribe (3) ShareShare
ReportReport
Posted on by 91
Hi,
How to check blank email id in customerv3 entity filter query, if there is no record created in contact info of the customer.
If contact record is created of email & id is not updated than we can check with CustomersV3?$filter=PrimaryContactEmail eq '' statement but if record itself is not created same condition is not fetching the data.
There is one more field /PrimaryContactEmailRecordId/ which shows 0 value , in case contact info is not created but since it is recid field,checking with NULL or 0 or '' not working.
 
Need help in how to check recid field blank checking in filter query or any alternate solution.
 
Thanks in advance..
 
  • Suggested answer
    GuyUK Profile Picture
    GuyUK 28,293 on at
    How to check blank email id in customerv3 entity
    I found a way to list Customers which have no email address, without using the data entity. I did it from the Global Address Book (Common > Common > Global address book).
     
    Using Advanced filter or sort, I added a join to Global address book -> Customers, and then a separate series of joins Global address book -> Party location relationships -> Locations -> Communications details (Not exists join).
     
    Then I added a filter on Customer account, to make sure it lists only Parties that were customers.
    And then another couple of filters which ensures it lists only Parties which have no Email address.
     
     
  • TU1506 Profile Picture
    TU1506 91 on at
    How to check blank email id in customerv3 entity
    Hi,
    Any suggestions..

Helpful resources

Quick Links

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,361 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,155 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans