web
You’re offline. This is a read only version of the page.
close
Skip to main content
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

I have the same question (0)
  • Suggested answer
    Gerald Rothaus Profile Picture
    2,934 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

  • Kevin Shamas Profile Picture
    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.

  • Gerald Rothaus Profile Picture
    2,934 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)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans