Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

Can customers in a report be filtered by account type?

(0) ShareShare
ReportReport
Posted on by 45

Hello,

I am looking to clean up my database and have been trying to clean the account types up. I use RMS HQ and Store, so I do most of the editing at the HQ level. All customers are global. Is there a way to in a report to filter customers by account type? Is there also a way to change all customers to one particular account type en mass? With well over 20k customers I can't afford to go through one by one, and god  forbid a mistake occurs, and that one mistake holds me up.

 

Thanks in Advance.

*This post is locked for comments

  • Gerald Rothaus Profile Picture
    Gerald Rothaus 2,930 on at
    Re: Can customers in a report be filtered by account type?

    At the top of the page , replace the old one (Customer - Customer List)

  • Kevin Shamas Profile Picture
    Kevin Shamas 45 on at
    Re: Can customers in a report be filtered by account type?

    Thank you for this, but I just need a little more help and maybe it will work.

    Where do I add  this:

    TablesQueried = "FROM Customer LEFT JOIN AccountType ON Customer.AccountTypeID = AccountType.ID "

    I know where to add the other part . I just don't see where to add the tables queried part.

  • Suggested answer
    Gerald Rothaus Profile Picture
    Gerald Rothaus 2,930 on at
    Re: Can customers in a report be filtered by account type?

    open the report and change tables queried to:

    TablesQueried = "FROM Customer LEFT JOIN AccountType ON Customer.AccountTypeID = AccountType.ID "

    Add this:

    Begin Column

      FieldName = "AccountType.Description"

      DrillDownFieldName = "AccountType.Description"

      DrillDownReportName = "AccountType"

      Title = "Account #"

      VBDataType = vbString

      Formula = ""

      ColHidden = False

      ColNotDisplayable = False

      FilterDisabled = False

      ColWidth = 1245

      GroupMethod = groupmethodNone

      ColFormat = ""

    End Column

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans