Skip to main content

Notifications

Announcements

No record found.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans