Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Checking/Unchecking scrolling window records in Dynamics GP Bank Deposits Window

(0) ShareShare
ReportReport
Posted on by 5

Hello everybody

We added GP customization add in using Visual Studio Tools for Microsoft Dynamics GP (VST) to the Bank Deposits window for providing the user with the ability to filter by Credit Card type, so our custom code allows the user to populate a text box, so when the user clicks the button Redisplay only the matching records are displayed in the scrolling window.

This "hiding" is done in the scrolling window event handler for event LineFillBeforeOriginal by cancelling the event whenever the required criteria is not met:

if (Microsoft.Dexterity.Applications.DynamicsModified.Forms.CmDepositEntry.Tables.CmReceipt.CardName.Value != cardName)
     e.Cancel = true;

That "hiding" is working fine since the user is only seeing what is valid according to the filter, however there is an issue related to the Mark All/Unmark All functionality, it marks/unmarks everything even if is not visible in the grid.

So for instance:

1. user opens the Bank Deposits window, enters the checkbook id and verifies no transactions are marked

2. Select Credit Card and then AX.(one of the available credit cards)

3. Click Redisplay and 3 AX deposits are displayed - our custom "hiding" is working here -

4. Select "Mark All"

5. Select Credit Card again but VS this time (another available credit card)

6. Click Redisplay and the VS records also got marked, they shouldn't be marked in step 4, only the 3 AX that were previously displayed in the scrolling window


So we need a way for the Mark/Unmark all to only check the ones that are displayed in the scrolling window, i.e. the ones that pass our filter criteria.

Is it possible to do it using VST?

Categories:
  • Almas Mahfooz Profile Picture
    11,009 User Group Leader on at
    RE: Checking/Unchecking scrolling window records in Dynamics GP Bank Deposits Window

    This window with VS Tools is a tricky one. I have done similar kind of work if you want development assistance contact me on my email address

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 601 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 416

#3
Adis Profile Picture

Adis 384 Super User 2025 Season 1

Product updates

Dynamics 365 release plans