Skip to main content

Notifications

Microsoft Dynamics RMS forum

Can customers in a report be filtered by account type?

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

News and Announcements

Give Back to the Community this Month

Quick Links

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,807 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,135 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans