web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

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:
I have the same question (0)
  • Almas Mahfooz Profile Picture
    11,009 User Group Leader on at

    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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans