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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Grid selection checkbox

(0) ShareShare
ReportReport
Posted on by 327

Hello,

In SalesTableListPage form, is there a way to prevent user from selecting a record in the grid, when it gets active, based on a condition?

Your help is most appreciated.

I have the same question (0)
  • Martin Dráb Profile Picture
    239,208 Most Valuable Professional on at

    I don't think you should try to block a selection.

    What is the action with the record that you actually want to prevent?

  • NewWatermelon Profile Picture
    327 on at

    I want to prevent the user from invoicing sales order(s) with a certain condition when he/she try to multiselect grid records.

  • Martin Dráb Profile Picture
    239,208 Most Valuable Professional on at

    Then you should put it into the invoicing logic. Then it'll also apply if users do it from a different form (typically SalesTable form).

  • NewWatermelon Profile Picture
    327 on at

    Which class?

  • NewWatermelon Profile Picture
    327 on at

    I use canInvoiceBeUpdated method in SalesTableType class to disable/enable the Invoice button.
    It works fine with individual selection and it is a mess with multiselecting.

  • Verified answer
    Martin Dráb Profile Picture
    239,208 Most Valuable Professional on at

    The actual posing is done by SalesFormLetter_Invoice, SalesInvoiceJournalCreate and related classes.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 657

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 453 Super User 2026 Season 1

#3
Martin Dráb Profile Picture

Martin Dráb 190 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans