Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

VST - Single Select Lists - Remove certain list items

(0) ShareShare
ReportReport
Posted on by 8,515

Has anyone figured out how to manipulate list items in a Single Select List control in Visual Studio Tools?

An example would be removing certain Return Types from the Returns Transaction Entry window.

Thanks

Tim

*This post is locked for comments

  • Tim Foster Profile Picture
    Tim Foster 8,515 on at
    Re: VST - Single Select Lists - Remove certain list items

    What about when the list doesn't have static values - Can VST "catch" the event(s) when the control is being filled with values from a SQL table?  In this case I'm thinking of the Company drop down in the Company Login screen.

    We would like to restrict the companies a user can login or switch to by the client footprint.

    i.e.

    The user has access to company A, B, C and D

    Company A and B should run using the default instance of GP

    Company C and D should be run from a secondary instance (with different customizations than the default instance).

    The user should not login or switch to Comany A or B from the secondary instance.

    The user should not login or switch to Comany C or D from the default instance.

    Maybe I should be using the SDT to accomplish this?

    Thanks

    Tim

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: VST - Single Select Lists - Remove certain list items

    Unfortunately you cannot, your best workaround will be creating your own alternative object and fill the value in the original list in he background.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans